forked from qt-creator/qt-creator
Debugger: Split off runtime-only items from DebuggerStartParameters
Right now, DebuggerStartParameter is part of the debugger plugin external interface. Better not make it fatter than necessary. Change-Id: I3b9205089f971dd314ccba1335b5ca2d4d9fe7c6 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
@@ -41,11 +41,13 @@ namespace ProjectExplorer { class Kit; }
|
||||
namespace Debugger {
|
||||
|
||||
class RemoteSetupResult;
|
||||
|
||||
namespace Internal { class DebuggerEngine; }
|
||||
|
||||
class DebuggerStartParameters;
|
||||
|
||||
namespace Internal {
|
||||
class DebuggerEngine;
|
||||
class DebuggerRunParameters;
|
||||
}
|
||||
|
||||
class DEBUGGER_EXPORT DebuggerRunControl
|
||||
: public ProjectExplorer::RunControl
|
||||
{
|
||||
@@ -104,24 +106,15 @@ public:
|
||||
bool canRun(ProjectExplorer::RunConfiguration *runConfig,
|
||||
ProjectExplorer::RunMode mode) const;
|
||||
|
||||
static Internal::DebuggerEngine *createEngine(DebuggerEngineType et,
|
||||
const DebuggerStartParameters &sp,
|
||||
QString *errorMessage);
|
||||
|
||||
static bool fillParametersFromKit(DebuggerStartParameters *sp,
|
||||
const ProjectExplorer::Kit *kit, QString *errorMessage = 0);
|
||||
|
||||
static bool fillParametersFromLocalRunConfiguration(DebuggerStartParameters *sp,
|
||||
const ProjectExplorer::RunConfiguration *runConfig, QString *errorMessage = 0);
|
||||
|
||||
static DebuggerRunControl *createAndScheduleRun(const DebuggerStartParameters &sp);
|
||||
|
||||
static DebuggerRunControl *doCreate(const DebuggerStartParameters &sp, QString *errorMessage);
|
||||
|
||||
ProjectExplorer::IRunConfigurationAspect *createRunConfigurationAspect(
|
||||
ProjectExplorer::RunConfiguration *rc);
|
||||
};
|
||||
|
||||
DEBUGGER_EXPORT DebuggerRunControl *createDebuggerRunControl(const DebuggerStartParameters &sp,
|
||||
QString *errorMessage);
|
||||
|
||||
} // namespace Debugger
|
||||
|
||||
#endif // DEBUGGERRUNCONTROL_H
|
||||
|
||||
Reference in New Issue
Block a user