forked from qt-creator/qt-creator
ProjectExplorer: use enum instead of QString for run mode
Change-Id: Ia906944a489b09afdea59f74afbf759b4caebe37 Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com> Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -49,13 +49,14 @@ public:
|
||||
// FIXME: What to do in case of a 0 runConfiguration?
|
||||
typedef ProjectExplorer::RunConfiguration RunConfiguration;
|
||||
typedef ProjectExplorer::RunControl RunControl;
|
||||
typedef ProjectExplorer::RunMode RunMode;
|
||||
DebuggerRunControl *create(const DebuggerStartParameters &sp,
|
||||
RunConfiguration *runConfiguration = 0);
|
||||
|
||||
// ProjectExplorer::IRunControlFactory
|
||||
// FIXME: Used by qmljsinspector.cpp:469
|
||||
RunControl *create(RunConfiguration *runConfiguration, const QString &mode);
|
||||
bool canRun(RunConfiguration *runConfiguration, const QString &mode) const;
|
||||
RunControl *create(RunConfiguration *runConfiguration, RunMode mode);
|
||||
bool canRun(RunConfiguration *runConfiguration, RunMode mode) const;
|
||||
|
||||
static DebuggerEngine *createEngine(DebuggerEngineType et,
|
||||
const DebuggerStartParameters &sp,
|
||||
|
||||
Reference in New Issue
Block a user