Debugger: Add VariablesView listener hook.
VariablesView::Listener: - Add hook for requesting value node value updates. TeamWindow: - Implement VariablesView listener hook and forward accordingly to TeamDebugger.
This commit is contained in:
@@ -897,6 +897,14 @@ TeamWindow::ExpressionEvaluationRequested(ExpressionInfo* info,
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
TeamWindow::ValueNodeWriteRequested(ValueNode* node, CpuState* state,
|
||||
Value* newValue)
|
||||
{
|
||||
fListener->ValueNodeWriteRequested(node, state, newValue);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
TeamWindow::ThreadStateChanged(const Team::ThreadEvent& event)
|
||||
{
|
||||
|
||||
@@ -130,6 +130,8 @@ private:
|
||||
ExpressionInfo* info,
|
||||
StackFrame* frame,
|
||||
::Thread* thread);
|
||||
virtual void ValueNodeWriteRequested(ValueNode* node,
|
||||
CpuState* state, Value* value);
|
||||
|
||||
// Team::Listener
|
||||
virtual void ThreadStateChanged(
|
||||
|
||||
@@ -159,6 +159,12 @@ public:
|
||||
ExpressionInfo* info,
|
||||
StackFrame* frame,
|
||||
Thread* thread) = 0;
|
||||
|
||||
virtual void ValueNodeWriteRequested(
|
||||
ValueNode* node,
|
||||
CpuState* state,
|
||||
Value* newValue) = 0;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user