forked from qt-creator/qt-creator
Debugger: Reduce explicit DebuggerRunControl use
Aim is to replace it with its ProjectExplorer::RunControl base. Change-Id: I30f837050e7c016887dc4b6cfef10b947f4f88ed Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -37,10 +37,11 @@ class RemoteSetupResult;
|
||||
class DebuggerStartParameters;
|
||||
class DebuggerRunControl;
|
||||
|
||||
DEBUGGER_EXPORT DebuggerRunControl *createDebuggerRunControl(const DebuggerStartParameters &sp,
|
||||
ProjectExplorer::RunConfiguration *runConfig,
|
||||
QString *errorMessage,
|
||||
Core::Id runMode = ProjectExplorer::Constants::DEBUG_RUN_MODE);
|
||||
DEBUGGER_EXPORT ProjectExplorer::RunControl *
|
||||
createDebuggerRunControl(const DebuggerStartParameters &sp,
|
||||
ProjectExplorer::RunConfiguration *runConfig,
|
||||
QString *errorMessage,
|
||||
Core::Id runMode = ProjectExplorer::Constants::DEBUG_RUN_MODE);
|
||||
|
||||
class DEBUGGER_EXPORT DebuggerRunTool : public ProjectExplorer::ToolRunner
|
||||
{
|
||||
@@ -76,6 +77,11 @@ public:
|
||||
|
||||
DebuggerStartParameters &startParameters(); // Used in Boot2Qt.
|
||||
|
||||
signals:
|
||||
void stateChanged(Debugger::DebuggerState state);
|
||||
void aboutToNotifyInferiorSetupOk();
|
||||
void requestRemoteSetup();
|
||||
|
||||
private:
|
||||
Internal::DebuggerEngine *m_engine = nullptr; // Master engine
|
||||
QStringList m_errors;
|
||||
@@ -94,11 +100,6 @@ public:
|
||||
|
||||
DebuggerRunTool *toolRunner() const;
|
||||
|
||||
signals:
|
||||
void requestRemoteSetup();
|
||||
void aboutToNotifyInferiorSetupOk();
|
||||
void stateChanged(Debugger::DebuggerState state);
|
||||
|
||||
public:
|
||||
DebuggerRunTool *m_debuggerTool = nullptr;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user