forked from qt-creator/qt-creator
Debugger: Provide a way for plugins to init a local DebuggerRunControl
In order for plugins to create their own local DebuggerRunControl without the need to copy lots of code, the fillParametersFromRunConfiguration is introduced and exported. Change-Id: I50edc3f6f048a9f34e358b4104ef75c94c74dbb8 Reviewed-by: hjk <hjk@theqtcompany.com> Reviewed-by: Benjamin Zeller <benjamin.zeller@canonical.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -50,6 +50,10 @@ DebuggerRunControl *createDebuggerRunControlInternal(const DebuggerRunParameters
|
||||
DEBUGGER_EXPORT DebuggerRunControl *createDebuggerRunControl(const DebuggerStartParameters &sp,
|
||||
QString *errorMessage);
|
||||
|
||||
DEBUGGER_EXPORT bool fillParametersFromRunConfiguration(DebuggerStartParameters *sp,
|
||||
const ProjectExplorer::RunConfiguration *runConfig,
|
||||
QString *errorMessage);
|
||||
|
||||
namespace Internal { class DebuggerEngine; }
|
||||
|
||||
class DEBUGGER_EXPORT DebuggerRunControl
|
||||
|
||||
Reference in New Issue
Block a user