summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlextensioninterface.h
blob: d336e6ef1308c6703be50a894da3b2ea68ad49f4 (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
#ifndef QMLEXTENSIONINTERFACE_H
#define QMLEXTENSIONINTERFACE_H

#include <QtCore/qobject.h>

QT_BEGIN_HEADER

QT_BEGIN_NAMESPACE

QT_MODULE(Declarative)

class QmlEngine;

struct Q_DECLARATIVE_EXPORT QmlExtensionInterface
{
    virtual void initialize(QmlEngine *engine) = 0;
};

Q_DECLARE_INTERFACE(QmlExtensionInterface, "com.trolltech.Qt.QmlExtensionInterface/1.0")

QT_END_NAMESPACE

QT_END_HEADER

#endif // QMLEXTENSIONINTERFACE_H