diff options
author | hjk <hjk121@nokiamail.com> | 2014-10-17 13:40:04 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-10-20 10:23:56 +0200 |
commit | 55b2bb16dccc68010e855da48e8a8f6c25a3527a (patch) | |
tree | c270a4f050a223973580a4689962fa3d1f3c2e4b /src/plugins/debugger/debuggerplugin.h | |
parent | ca9ed45016ad16042dd59d44b1ea100661293c36 (diff) | |
download | qt-creator-55b2bb16dccc68010e855da48e8a8f6c25a3527a.tar.gz |
Debugger: Consolidate RunControl creation
Export factory, de-export plugin, to remove one indirection
Change-Id: I13a46460d07d5ded6b26f2b5ceccd01142fb10e8
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.h')
-rw-r--r-- | src/plugins/debugger/debuggerplugin.h | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/src/plugins/debugger/debuggerplugin.h b/src/plugins/debugger/debuggerplugin.h index 2ca7a59644..ae1b41175b 100644 --- a/src/plugins/debugger/debuggerplugin.h +++ b/src/plugins/debugger/debuggerplugin.h @@ -32,23 +32,12 @@ #define DEBUGGERPLUGIN_H #include "debugger_global.h" - #include <extensionsystem/iplugin.h> -QT_FORWARD_DECLARE_CLASS(QAction) - -namespace ProjectExplorer { -class RunConfiguration; -class RunControl; -} - namespace Debugger { +namespace Internal { -class DebuggerMainWindow; -class DebuggerRunControl; -class DebuggerStartParameters; - -class DEBUGGER_EXPORT DebuggerPlugin : public ExtensionSystem::IPlugin +class DebuggerPlugin : public ExtensionSystem::IPlugin { Q_OBJECT Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "Debugger.json") @@ -57,10 +46,6 @@ public: DebuggerPlugin(); ~DebuggerPlugin(); - static DebuggerRunControl *createDebugger(const DebuggerStartParameters &sp, - ProjectExplorer::RunConfiguration *rc, - QString *errorMessage); - private: // IPlugin implementation. bool initialize(const QStringList &arguments, QString *errorMessage); @@ -78,6 +63,7 @@ private slots: #endif }; +} // namespace Internal } // namespace Debugger #endif // DEBUGGERPLUGIN_H |