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