diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-07-14 14:45:50 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-08-04 13:34:26 +0000 |
commit | 2c0ed9491e55bdc96bc2deb5ec3c40df6e3271f6 (patch) | |
tree | 029e73dddfb3202acbc2ce862fb68b8ff85146ae /src/qml/debugger/qqmlinspectorservice_p.h | |
parent | 4e6de08ba154e541587b2939137a3da1081750be (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/qqmlinspectorservice_p.h')
-rw-r--r-- | src/qml/debugger/qqmlinspectorservice_p.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/qml/debugger/qqmlinspectorservice_p.h b/src/qml/debugger/qqmlinspectorservice_p.h index e69575788a..61a350cf8d 100644 --- a/src/qml/debugger/qqmlinspectorservice_p.h +++ b/src/qml/debugger/qqmlinspectorservice_p.h @@ -46,22 +46,24 @@ // #include "qqmldebugservice_p.h" +#include "qqmldebugserviceinterfaces_p.h" #include <QtQml/qtqmlglobal.h> #include <QtCore/QList> QT_BEGIN_NAMESPACE +namespace QmlJSDebugger { class AbstractViewInspector; } class QQmlInspectorInterface; -class Q_QML_PRIVATE_EXPORT QQmlInspectorService : public QQmlDebugService +class Q_QML_PRIVATE_EXPORT QQmlInspectorServiceImpl : public QQmlInspectorService { Q_OBJECT public: - QQmlInspectorService(); - static QQmlInspectorService *instance(); + QQmlInspectorServiceImpl(); + static QQmlInspectorServiceImpl *instance(); void addView(QObject *); void removeView(QObject *); @@ -75,6 +77,7 @@ private Q_SLOTS: void updateState(); private: + friend class QmlJSDebugger::AbstractViewInspector; void loadInspectorPlugins(); QList<QObject*> m_views; |