blob: 8f3194fc6add0f57dc672f30d746a497c4294ade (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#ifndef QMLEXTENSIONPLUGIN_H
#define QMLEXTENSIONPLUGIN_H
#include <QtCore/qplugin.h>
#include "qmlextensioninterface.h"
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
QT_MODULE(Declarative)
class QmlEngine;
class Q_DECLARATIVE_EXPORT QmlExtensionPlugin : public QObject, public QmlExtensionInterface
{
Q_OBJECT
Q_INTERFACES(QmlExtensionInterface)
public:
explicit QmlExtensionPlugin(QObject *parent = 0);
~QmlExtensionPlugin();
virtual void initialize(QmlEngine *engine) = 0;
};
QT_END_NAMESPACE
QT_END_HEADER
#endif // QMLEXTENSIONPLUGIN_H
|