From 2c0ed9491e55bdc96bc2deb5ec3c40df6e3271f6 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Tue, 14 Jul 2015 14:45:50 +0200 Subject: 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 --- src/qml/debugger/qqmlprofilerservice_p.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/qml/debugger/qqmlprofilerservice_p.h') 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, +class Q_QML_PRIVATE_EXPORT QQmlProfilerServiceImpl : + public QQmlConfigurableDebugService, 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::max()); void stopProfiling(QQmlEngine *engine); - QQmlProfilerService(); - ~QQmlProfilerService(); + QQmlProfilerServiceImpl(); + ~QQmlProfilerServiceImpl(); void dataReady(QQmlAbstractProfilerAdapter *profiler); -- cgit v1.2.3