Debugger: Rework start parameter completion.

It's again a linear process now, with explicit entrance point for
all users.

Task-number: QTCREATORBUG-14618
Change-Id: I96c08947270ce34d7bc6c8be1d7f350dbfa14794
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-06-24 08:26:35 +02:00
parent f886c70199
commit 60a8442d8c
12 changed files with 395 additions and 375 deletions

View File

@@ -43,8 +43,8 @@ class DebuggerStartParameters;
class DebuggerRunControl;
namespace Internal {
class DebuggerRunParameters;
DebuggerRunControl *createDebuggerRunControlInternal(const DebuggerRunParameters &, QString *);
class DebuggerEngine;
class DebuggerRunControlCreator;
}
DEBUGGER_EXPORT DebuggerRunControl *createDebuggerRunControl(const DebuggerStartParameters &sp,
@@ -54,8 +54,6 @@ DEBUGGER_EXPORT bool fillParametersFromRunConfiguration(DebuggerStartParameters
const ProjectExplorer::RunConfiguration *runConfig,
QString *errorMessage);
namespace Internal { class DebuggerEngine; }
class DEBUGGER_EXPORT DebuggerRunControl
: public ProjectExplorer::RunControl
{
@@ -92,8 +90,7 @@ signals:
private:
void handleFinished();
friend DebuggerRunControl *Debugger::Internal::createDebuggerRunControlInternal(
const Internal::DebuggerRunParameters &rp, QString *errorMessage);
friend class Internal::DebuggerRunControlCreator;
DebuggerRunControl(ProjectExplorer::RunConfiguration *runConfig,
Internal::DebuggerEngine *engine);