1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QQMLDEBUGSERVERFACTORY_H
5#define QQMLDEBUGSERVERFACTORY_H
6
7#include <private/qqmldebugconnector_p.h>
8
9//
10// W A R N I N G
11// -------------
12//
13// This file is not part of the Qt API. It exists purely as an
14// ementation detail. This header file may change from version to
15// version without notice, or even be removed.
16//
17// We mean it.
18//
19
20QT_BEGIN_NAMESPACE
21
22class QQmlDebugServerFactory : public QQmlDebugConnectorFactory
23{
24 Q_OBJECT
25
26 // The interface for the code that loads this thing is QQmlDebugConnector.
27 // QQmlDebugServer is for connection plugins.
28 Q_PLUGIN_METADATA(IID QQmlDebugConnectorFactory_iid FILE "qqmldebugserver.json")
29public:
30 QQmlDebugConnector *create(const QString &key) override;
31};
32
33QT_END_NAMESPACE
34
35#endif // QQMLDEBUGSERVERFACTORY_H
36

source code of qtdeclarative/src/plugins/qmltooling/qmldbg_server/qqmldebugserverfactory.h