| 1 | #ifndef CONTROLSPLUGIN_H |
| 2 | #define CONTROLSPLUGIN_H |
| 3 | |
| 4 | #include <QtQml/QQmlEngine> |
| 5 | #include <QtQml/QQmlExtensionPlugin> |
| 6 | |
| 7 | class ControlsPlugin : public QQmlExtensionPlugin |
| 8 | { |
| 9 | Q_OBJECT |
| 10 | Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") |
| 11 | |
| 12 | public: |
| 13 | void registerTypes(const char *uri); |
| 14 | void initializeEngine(QQmlEngine *engine, const char *uri); |
| 15 | }; |
| 16 | |
| 17 | #endif // CONTROLSPLUGIN_H |