forked from qt-creator/qt-creator
debugger: more interface cleanup
Looks like DebuggerPlugin::mainWindow() was used after all.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user