Commit 688f5d59 authored by hjk's avatar hjk
Browse files

debugger: more interface cleanup

Looks like DebuggerPlugin::mainWindow() was used after all.
parent 3282c1af
......@@ -3340,6 +3340,11 @@ bool DebuggerPlugin::isActiveDebugLanguage(int language)
return theDebuggerCore->isActiveDebugLanguage(language);
}
DebuggerMainWindow *DebuggerPlugin::mainWindow()
{
return theDebuggerCore->m_mainWindow;
}
QWidget *DebugMode::widget()
{
if (!m_widget) {
......
......@@ -43,6 +43,7 @@ class RunControl;
namespace Debugger {
class DebuggerMainWindow;
class DebuggerRunControl;
class DebuggerStartParameters;
......@@ -59,11 +60,15 @@ public:
DebuggerPlugin();
~DebuggerPlugin();
// Used by Maemo debugging support.
static DebuggerRunControl *createDebugger(const DebuggerStartParameters &sp,
ProjectExplorer::RunConfiguration *rc = 0);
static void startDebugger(ProjectExplorer::RunControl *runControl);
static void displayDebugger(ProjectExplorer::RunControl *runControl);
// Used by QmlJSInspector.
static bool isActiveDebugLanguage(int language);
static DebuggerMainWindow *mainWindow();
private:
// IPlugin implementation.
......
......@@ -54,7 +54,6 @@
using namespace Core;
using namespace Debugger;
using namespace Debugger::Internal;
using namespace ProjectExplorer;
namespace Qt4ProjectManager {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment