Adding properties to the SBBreakpoint class

llvm-svn: 183707
diff --git a/lldb/scripts/Python/interface/SBBreakpoint.i b/lldb/scripts/Python/interface/SBBreakpoint.i
index 08a1f96..34274dd 100644
--- a/lldb/scripts/Python/interface/SBBreakpoint.i
+++ b/lldb/scripts/Python/interface/SBBreakpoint.i
@@ -209,6 +209,26 @@
     
     static uint32_t
     GetNumBreakpointLocationsFromEvent (const lldb::SBEvent &event_sp);
+    
+    %pythoncode %{
+        
+        __swig_getmethods__["id"] = GetID
+        if _newclass: id = property(GetID, None, doc='''A read only property that returns the ID of this breakpoint.''')
+            
+        __swig_getmethods__["enabled"] = IsEnabled
+        __swig_setmethods__["enabled"] = SetEnabled
+        if _newclass: enabled = property(IsEnabled, SetEnabled, doc='''A read/write property that configures whether this breakpoint is enabled or not.''')
+
+        __swig_getmethods__["one_shot"] = IsOneShot
+        __swig_setmethods__["one_shot"] = SetOneShot
+        if _newclass: one_shot = property(IsOneShot, SetOneShot, doc='''A read/write property that configures whether this breakpoint is one-shot (deleted when hit) or not.''')
+            
+        __swig_getmethods__["num_locations"] = GetNumLocations
+        if _newclass: num_locations = property(GetNumLocations, None, doc='''A read only property that returns the count of locations of this breakpoint.''')
+
+    %}
+
+    
 };
 
 } // namespace lldb