Debugger: Move DebuggerEngine/QmlEngine/QmlCppEngine into Debugger{}

namespace (from Debugger::Internal) as they are exported classes.
Introduce private classes to avoid exposing private JS debugger
headers.
This commit is contained in:
Friedemann Kleint
2010-09-13 13:30:35 +02:00
parent 6dec1c6ffd
commit f7b19f8114
31 changed files with 618 additions and 450 deletions

View File

@@ -39,15 +39,13 @@ namespace ProjectExplorer {
class Environment;
}
namespace Debugger {
class DebuggerEngine;
class DebuggerRunControl;
class QmlEngine;
class DebuggerStartParameters;
namespace Internal {
class DebuggerEngine;
class QmlEngine;
class GdbEngine;
class AbstractGdbAdapter;
}
@@ -111,7 +109,7 @@ public:
RunConfiguration *runConfiguration() const { return m_myRunConfiguration.data(); }
DebuggerState state() const;
Internal::DebuggerEngine *engine();
DebuggerEngine *engine();
void showMessage(const QString &msg, int channel);
@@ -126,6 +124,10 @@ public:
signals:
void gdbAdapterRequestSetup();
public slots:
void emitAddToOutputWindow(const QString &line, bool onStdErr);
void emitAppendMessage(const QString &, bool isError);
private slots:
void handleFinished();
@@ -139,14 +141,13 @@ private:
Internal::GdbEngine *gdbEngine() const;
Internal::AbstractGdbAdapter *gdbAdapter() const;
Internal::DebuggerEngine *m_engine;
DebuggerEngine *m_engine;
const QWeakPointer<RunConfiguration> m_myRunConfiguration;
bool m_running;
bool m_started;
DebuggerEngineType m_enabledEngines;
QString m_errorMessage;
QString m_settingsIdHint;
friend class Internal::QmlEngine;
};
} // namespace Debugger