aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/debugger/qqmlprofilerservice_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/qqmlprofilerservice_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/qqmlprofilerservice_p.h')
-rw-r--r--src/qml/debugger/qqmlprofilerservice_p.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/qml/debugger/qqmlprofilerservice_p.h b/src/qml/debugger/qqmlprofilerservice_p.h
index d593c43b9c..ea73216010 100644
--- a/src/qml/debugger/qqmlprofilerservice_p.h
+++ b/src/qml/debugger/qqmlprofilerservice_p.h
@@ -46,6 +46,7 @@
//
#include "qqmlconfigurabledebugservice_p.h"
+#include "qqmldebugserviceinterfaces_p.h"
#include "qqmlprofilerdefinitions_p.h"
#include "qqmlabstractprofileradapter_p.h"
@@ -67,14 +68,14 @@ class QUrl;
class QQmlEngine;
-class Q_QML_PRIVATE_EXPORT QQmlProfilerService :
- public QQmlConfigurableDebugService<QQmlDebugService>,
+class Q_QML_PRIVATE_EXPORT QQmlProfilerServiceImpl :
+ public QQmlConfigurableDebugService<QQmlProfilerService>,
public QQmlProfilerDefinitions
{
Q_OBJECT
public:
- static QQmlProfilerService *instance();
+ static QQmlProfilerServiceImpl *instance();
void engineAboutToBeAdded(QQmlEngine *engine);
void engineAboutToBeRemoved(QQmlEngine *engine);
void engineAdded(QQmlEngine *engine);
@@ -86,8 +87,8 @@ public:
void startProfiling(QQmlEngine *engine, quint64 features = std::numeric_limits<quint64>::max());
void stopProfiling(QQmlEngine *engine);
- QQmlProfilerService();
- ~QQmlProfilerService();
+ QQmlProfilerServiceImpl();
+ ~QQmlProfilerServiceImpl();
void dataReady(QQmlAbstractProfilerAdapter *profiler);