forked from qt-creator/qt-creator
Debugger et al: Move code from DebuggerRunControl to DebuggerRunTool
It's tool specific, so put it into the tool (only) related code. The additional level of indirection will go again, plus the original one will be removed once the *DebugSupport classes can directly use DebuggerRunTool as base. Change-Id: Ieaa386a0f7d724b09cedaaba8fb7d1e6dc4ad55b Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -200,7 +200,9 @@ public:
|
||||
|
||||
const DebuggerRunParameters &runParameters() const;
|
||||
DebuggerRunParameters &runParameters();
|
||||
void setRunTool(DebuggerRunTool *runTool);
|
||||
DebuggerRunTool *runTool() const;
|
||||
void startDebugger();
|
||||
|
||||
enum {
|
||||
// Remove need to qualify each use.
|
||||
@@ -224,7 +226,6 @@ public:
|
||||
void updateWatchData(const QString &iname); // FIXME: Merge with above.
|
||||
virtual void selectWatchData(const QString &iname);
|
||||
|
||||
virtual void startDebugger(DebuggerRunControl *runControl);
|
||||
virtual void prepareForRestart() {}
|
||||
|
||||
virtual void watchPoint(const QPoint &pnt);
|
||||
|
||||
Reference in New Issue
Block a user