diff options
author | hjk <[email protected]> | 2012-08-15 13:21:37 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2012-08-16 11:27:16 +0200 |
commit | 081fb1f0626a1278d9be2bc0fbf3e62f1d332804 (patch) | |
tree | 7d1a07158e0e83b19524ecbfeab071a16996c12d /src/plugins/debugger/debuggerrunner.h | |
parent | 4b55ea1317d75b2cb30914612abd7837333ad54d (diff) |
debugger: simplify parameter guessing
With profiles we have more reliable information, no need for some
of the guessing anymore.
Change-Id: I1818fbb112d44c99ef96c8643256432805a1b97b
Reviewed-by: Joerg Bornemann <[email protected]>
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerrunner.h')
-rw-r--r-- | src/plugins/debugger/debuggerrunner.h | 29 |
1 files changed, 4 insertions, 25 deletions
diff --git a/src/plugins/debugger/debuggerrunner.h b/src/plugins/debugger/debuggerrunner.h index 08c385c26bd..d8b9d4e4d90 100644 --- a/src/plugins/debugger/debuggerrunner.h +++ b/src/plugins/debugger/debuggerrunner.h @@ -55,35 +55,14 @@ class DebuggerRunControlFactory; } // namespace Internal -class DEBUGGER_EXPORT ConfigurationCheck -{ -public: - ConfigurationCheck(); - operator bool() const; - QString errorDetailsString() const; - - QString errorMessage; - QStringList errorDetails; - QString settingsCategory; - QString settingsPage; - QPair<DebuggerEngineType, DebuggerEngineType> masterSlaveEngineTypes; -}; - -DEBUGGER_EXPORT ConfigurationCheck checkDebugConfiguration(const DebuggerStartParameters &sp); - -// This is a job description containing all data "local" to the jobs, including -// the models of the individual debugger views. class DEBUGGER_EXPORT DebuggerRunControl : public ProjectExplorer::RunControl { Q_OBJECT public: - typedef ProjectExplorer::RunConfiguration RunConfiguration; - explicit DebuggerRunControl(RunConfiguration *runConfiguration, - const DebuggerStartParameters &sp, - const QPair<DebuggerEngineType, DebuggerEngineType> &masterSlaveEngineTypes); - + DebuggerRunControl(ProjectExplorer::RunConfiguration *runConfiguration, + const DebuggerStartParameters &sp); ~DebuggerRunControl(); // ProjectExplorer::RunControl @@ -97,7 +76,7 @@ public: void setCustomEnvironment(Utils::Environment env); void startFailed(); void debuggingFinished(); - RunConfiguration *runConfiguration() const; + ProjectExplorer::RunConfiguration *runConfiguration() const; DebuggerEngine *engine(); // FIXME: Remove. Only used by Maemo support. void showMessage(const QString &msg, int channel); @@ -112,7 +91,7 @@ protected: const DebuggerStartParameters &startParameters() const; private: - friend class Internal::DebuggerRunControlFactory; + //friend class Internal::DebuggerRunControlFactory; Internal::DebuggerRunControlPrivate *d; }; |