2013-08-21 17:28:11 +01:00
|
|
|
/**
|
2020-08-17 10:48:10 +01:00
|
|
|
* SPDX-FileCopyrightText: 2013 Albert Vaca <albertvaka@gmail.com>
|
2013-08-21 17:28:11 +01:00
|
|
|
*
|
2020-08-17 10:48:10 +01:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
2013-08-21 17:28:11 +01:00
|
|
|
*/
|
|
|
|
|
2014-09-09 16:54:16 +01:00
|
|
|
#ifndef KDECONNECTDECLARATIVEPLUGIN_H
|
|
|
|
#define KDECONNECTDECLARATIVEPLUGIN_H
|
2013-08-21 17:28:11 +01:00
|
|
|
|
2014-06-16 19:02:07 +01:00
|
|
|
#include <QQmlExtensionPlugin>
|
2013-08-21 17:28:11 +01:00
|
|
|
|
2014-06-16 19:02:07 +01:00
|
|
|
class KdeConnectDeclarativePlugin : public QQmlExtensionPlugin
|
2013-08-21 17:28:11 +01:00
|
|
|
{
|
2014-06-16 19:02:07 +01:00
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
|
|
|
|
|
2016-06-20 08:05:02 +01:00
|
|
|
void registerTypes(const char* uri) override;
|
2017-09-03 20:39:44 +01:00
|
|
|
void initializeEngine(QQmlEngine* engine, const char* uri) override;
|
2013-08-21 17:28:11 +01:00
|
|
|
};
|
|
|
|
|
2014-09-09 16:54:16 +01:00
|
|
|
#endif // KDECONNECTDECLARATIVEPLUGIN_H
|