File indexing completed on 2024-04-28 11:22:08
0001 /* GCompris - GComprisPlugin.h 0002 * 0003 * SPDX-FileCopyrightText: 2018 Johnny Jazeix <jazeix@gmail.com> 0004 * 0005 * Authors: 0006 * Johnny Jazeix <jazeix@gmail.com> 0007 * 0008 * SPDX-License-Identifier: GPL-3.0-or-later 0009 */ 0010 #ifndef GCOMPRISPLUGIN_H 0011 #define GCOMPRISPLUGIN_H 0012 0013 #include <QQmlExtensionPlugin> 0014 0015 /** 0016 * A plugin that exposes GCompris to QML in the form of declarative items. 0017 */ 0018 class Q_DECL_EXPORT GComprisPlugin : public QQmlExtensionPlugin 0019 { 0020 Q_OBJECT 0021 #if !defined(STATIC_PLUGIN_GCOMPRIS) 0022 Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") 0023 #endif 0024 0025 public: 0026 explicit GComprisPlugin(QObject *parent = nullptr); 0027 0028 void registerTypes(const char *uri) override; 0029 }; 0030 0031 #endif