1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
4#ifndef QMLPROFILERCLIENT_H
5#define QMLPROFILERCLIENT_H
6
7#include <private/qqmlprofilerclient_p.h>
8#include <private/qqmlprofilerclientdefinitions_p.h>
9#include <private/qqmlprofilereventlocation_p.h>
10
11class QmlProfilerData;
12class QmlProfilerClientPrivate;
13class QmlProfilerClient : public QQmlProfilerClient
14{
15 Q_OBJECT
16 Q_DECLARE_PRIVATE(QmlProfilerClient)
17
18public:
19 QmlProfilerClient(QQmlDebugConnection *connection, QmlProfilerData *data);
20
21Q_SIGNALS:
22 void enabledChanged(bool enabled);
23 void error(const QString &error);
24
25private:
26 void onStateChanged(State state);
27};
28
29#endif // QMLPROFILERCLIENT_H
30

source code of qtdeclarative/tools/qmlprofiler/qmlprofilerclient.h