summaryrefslogtreecommitdiff
path: root/include/lldb/Interpreter/OptionValueProperties.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lldb/Interpreter/OptionValueProperties.h')
-rw-r--r--include/lldb/Interpreter/OptionValueProperties.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/lldb/Interpreter/OptionValueProperties.h b/include/lldb/Interpreter/OptionValueProperties.h
index 0024f20e2ff6..a67ea5d66e54 100644
--- a/include/lldb/Interpreter/OptionValueProperties.h
+++ b/include/lldb/Interpreter/OptionValueProperties.h
@@ -243,8 +243,20 @@ public:
GetSubProperty (const ExecutionContext *exe_ctx,
const ConstString &name);
+ void
+ SetValueChangedCallback (uint32_t property_idx,
+ OptionValueChangedCallback callback,
+ void *baton);
protected:
-
+
+ Property *
+ ProtectedGetPropertyAtIndex (uint32_t idx)
+ {
+ if (idx < m_properties.size())
+ return &m_properties[idx];
+ return NULL;
+ }
+
const Property *
ProtectedGetPropertyAtIndex (uint32_t idx) const
{