aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmltooling/qmldbg_debugger/qv4debugservice.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-07-21 18:56:32 +0200
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-08-10 10:05:09 +0000
commitbf5db2bbc1da83a9930832e628e65ec64cd4b831 (patch)
tree201a6b57ac3177ad01c3ffb1e7d6e98d952439ec /src/plugins/qmltooling/qmldbg_debugger/qv4debugservice.h
parentdc341e6c1c524330b838a62ceeaa148a01dc0729 (diff)
Move V4 debugger agent into the debugger plugin
The debugger is the only thing that actually needs it. Note that for this to work we need to make QV4::Debugging::Debugger a QObject and add some signals. The net effect is still a reduction in binary size of about 1kb. Change-Id: Ibecb8cfa140fc26fc13c8cbefb3d027ebdcd28a4 Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmltooling/qmldbg_debugger/qv4debugservice.h')
-rw-r--r--src/plugins/qmltooling/qmldbg_debugger/qv4debugservice.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/plugins/qmltooling/qmldbg_debugger/qv4debugservice.h b/src/plugins/qmltooling/qmldbg_debugger/qv4debugservice.h
index 23bffa368a..6e5113600d 100644
--- a/src/plugins/qmltooling/qmldbg_debugger/qv4debugservice.h
+++ b/src/plugins/qmltooling/qmldbg_debugger/qv4debugservice.h
@@ -46,6 +46,7 @@
//
#include "qqmlconfigurabledebugservice.h"
+#include "qv4debuggeragent.h"
#include <private/qqmldebugserviceinterfaces_p.h>
#include <private/qv4debugging_p.h>
@@ -61,24 +62,6 @@ class V8CommandHandler;
class UnknownV8CommandHandler;
class QV4DebugServiceImpl;
-class QV4DebuggerAgent : public QV4::Debugging::DebuggerAgent
-{
- Q_OBJECT
-public:
- QV4DebuggerAgent(QV4DebugServiceImpl *debugService);
- QV4::Debugging::Debugger *firstDebugger() const;
- bool isRunning() const;
-
-public slots:
- virtual void debuggerPaused(QV4::Debugging::Debugger *debugger,
- QV4::Debugging::PauseReason reason);
- virtual void sourcesCollected(QV4::Debugging::Debugger *debugger, QStringList sources,
- int requestSequenceNr);
-
-private:
- QV4DebugServiceImpl *debugService;
-};
-
class QV4DebugServiceImpl : public QQmlConfigurableDebugService<QV4DebugService>
{
Q_OBJECT