aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/debugger/qv4debugservice_p.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-07-14 14:45:50 +0200
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-08-04 13:34:26 +0000
commit2c0ed9491e55bdc96bc2deb5ec3c40df6e3271f6 (patch)
tree029e73dddfb3202acbc2ce862fb68b8ff85146ae /src/qml/debugger/qv4debugservice_p.h
parent4e6de08ba154e541587b2939137a3da1081750be (diff)
Extract minimal abstract interfaces from debug services.
We will access the services' functionality through those interfaces once they live in their own plugins. Change-Id: I0a0d7e73c07cb874b3b507cc4a9d304588c87bca Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/debugger/qv4debugservice_p.h')
-rw-r--r--src/qml/debugger/qv4debugservice_p.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/qml/debugger/qv4debugservice_p.h b/src/qml/debugger/qv4debugservice_p.h
index 4e7806f5f9..fee0e0ac89 100644
--- a/src/qml/debugger/qv4debugservice_p.h
+++ b/src/qml/debugger/qv4debugservice_p.h
@@ -46,6 +46,7 @@
//
#include "qqmlconfigurabledebugservice_p.h"
+#include "qqmldebugserviceinterfaces_p.h"
#include <private/qv4debugging_p.h>
#include <QtCore/QJsonValue>
@@ -58,13 +59,13 @@ class QQmlEngine;
class VariableCollector;
class V8CommandHandler;
class UnknownV8CommandHandler;
-class QV4DebugService;
+class QV4DebugServiceImpl;
class QV4DebuggerAgent : public QV4::Debugging::DebuggerAgent
{
Q_OBJECT
public:
- QV4DebuggerAgent(QV4DebugService *debugService);
+ QV4DebuggerAgent(QV4DebugServiceImpl *debugService);
QV4::Debugging::Debugger *firstDebugger() const;
bool isRunning() const;
@@ -75,17 +76,17 @@ public slots:
int requestSequenceNr);
private:
- QV4DebugService *debugService;
+ QV4DebugServiceImpl *debugService;
};
-class QV4DebugService : public QQmlConfigurableDebugService<QQmlDebugService>
+class QV4DebugServiceImpl : public QQmlConfigurableDebugService<QV4DebugService>
{
Q_OBJECT
public:
- explicit QV4DebugService(QObject *parent = 0);
- ~QV4DebugService();
+ explicit QV4DebugServiceImpl(QObject *parent = 0);
+ ~QV4DebugServiceImpl();
- static QV4DebugService *instance();
+ static QV4DebugServiceImpl *instance();
void engineAboutToBeAdded(QQmlEngine *engine);
void engineAboutToBeRemoved(QQmlEngine *engine);