1// Copyright (C) 2024 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 QMLLSPLUGIN_P_H
5#define QMLLSPLUGIN_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <memory>
19
20#include <QtCore/qtclasshelpermacros.h>
21#include <QtCore/qobject.h>
22#include <QtQmlLS/private/qqmllscompletionplugin_p.h>
23
24QT_BEGIN_NAMESPACE
25
26class QQmlLSPlugin
27{
28public:
29 QQmlLSPlugin() = default;
30 virtual ~QQmlLSPlugin() = default;
31
32 Q_DISABLE_COPY_MOVE(QQmlLSPlugin)
33
34 virtual std::unique_ptr<QQmlLSCompletionPlugin> createCompletionPlugin() const = 0;
35};
36
37#define QmlLSPluginInterface_iid "org.qt-project.Qt.QmlLS.Plugin/1.0"
38Q_DECLARE_INTERFACE(QQmlLSPlugin, QmlLSPluginInterface_iid)
39
40QT_END_NAMESPACE
41
42#endif // QMLLSPLUGIN_P_H
43

Provided by KDAB

Privacy Policy
Start learning QML with our Intro Training
Find out more

source code of qtdeclarative/src/qmlls/qqmllsplugin_p.h