Debugger: Make DebuggerRunTool publicly accessible

That's a temporary move to be able to port the per-target
Debug*Support classes one by one.

Change-Id: I3cf5f9ea367a68058add8713ed23f44da080a175
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2017-04-21 10:10:25 +02:00
parent dfb825e2a7
commit d87afd4b89
3 changed files with 43 additions and 35 deletions

View File

@@ -55,6 +55,7 @@ namespace Debugger {
class DebuggerRunControl;
class RemoteSetupResult;
class DebuggerRunTool;
DEBUGGER_EXPORT QDebug operator<<(QDebug str, DebuggerState state);
@@ -62,7 +63,6 @@ namespace Internal {
class DebuggerEnginePrivate;
class DebuggerPluginPrivate;
class DebuggerRunTool;
class DisassemblerAgent;
class MemoryAgent;
class WatchItem;
@@ -475,31 +475,6 @@ private:
DebuggerEnginePrivate *d;
};
class DebuggerRunTool : public ProjectExplorer::ToolRunner
{
Q_OBJECT
public:
DebuggerRunTool(ProjectExplorer::RunControl *runControl,
const DebuggerRunParameters &rp,
QString *errorMessage = nullptr);
~DebuggerRunTool();
DebuggerEngine *engine() const { return m_engine; }
DebuggerRunControl *runControl() const;
void showMessage(const QString &msg, int channel, int timeout = -1);
void handleFinished();
private:
bool fixup();
DebuggerRunParameters m_rp;
DebuggerEngine *m_engine = nullptr; // Master engine
QStringList m_errors;
};
class LocationMark : public TextEditor::TextMark
{
public: