| 1 |
/* This file is part of lomiri-action-api |
| 2 |
* Copyright 2013 Canonical Ltd. |
| 3 |
* |
| 4 |
* lomiri-action-api is free software: you can redistribute it and/or modify it |
| 5 |
* under the terms of the GNU Lesser General Public License version 3, |
| 6 |
* as published by the Free Software Foundation. |
| 7 |
* |
| 8 |
* lomiri-action-api is distributed in the hope that it will be useful, but |
| 9 |
* WITHOUT ANY WARRANTY; without even the implied warranties of |
| 10 |
* MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR |
| 11 |
* PURPOSE. See the GNU Lesser General Public License for more details. |
| 12 |
* |
| 13 |
* You should have received a copy of the GNU Lesser General Public License |
| 14 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 |
*/ |
| 16 |
|
| 17 |
#ifndef LOMIRI_ACTION_QML_PLUGIN_H |
| 18 |
#define LOMIRI_ACTION_QML_PLUGIN_H |
| 19 |
|
| 20 |
#include <QQmlExtensionPlugin> |
| 21 |
|
| 22 |
class LomiriActionQmlPlugin : public QQmlExtensionPlugin { |
| 23 |
Q_OBJECT |
| 24 |
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") |
| 25 |
Q_INTERFACES(QQmlExtensionInterface) |
| 26 |
|
| 27 |
public: |
| 28 |
void registerTypes(const char *uri); |
| 29 |
void initializeEngine(QQmlEngine *engine, const char *uri); |
| 30 |
}; |
| 31 |
|
| 32 |
#endif // LOMIRI_ACTION_QML_PLUGIN_H |
| 33 |
|