Changeset View
Changeset View
Standalone View
Standalone View
src/lib/marble/declarative/MarbleDeclarativePlugin.h
Show All 15 Lines | |||||
16 | #include <QQmlExtensionPlugin> | 16 | #include <QQmlExtensionPlugin> | ||
17 | 17 | | |||
18 | /** | 18 | /** | ||
19 | * Registers MarbleQuickItem, MarbleRunnerManager and MarbleThemeManager | 19 | * Registers MarbleQuickItem, MarbleRunnerManager and MarbleThemeManager | ||
20 | * as QQml extensions for use in QML. | 20 | * as QQml extensions for use in QML. | ||
21 | */ | 21 | */ | ||
22 | class MARBLE_DECLARATIVE_EXPORT MarbleDeclarativePlugin : public QQmlExtensionPlugin | 22 | class MARBLE_DECLARATIVE_EXPORT MarbleDeclarativePlugin : public QQmlExtensionPlugin | ||
23 | { | 23 | { | ||
24 | Q_PLUGIN_METADATA(IID "org.kde.marble.MarbleDeclarativePlugin") | 24 | // Disabled for now while libmarbledeclarative is used as shared library | ||
25 | // Q_PLUGIN_METADATA(IID "org.kde.marble.MarbleDeclarativePlugin") | ||||
25 | Q_OBJECT | 26 | Q_OBJECT | ||
26 | public: | 27 | public: | ||
27 | /** Overriding QQmlExtensionPlugin to register types */ | 28 | /** Overriding QQmlExtensionPlugin to register types */ | ||
28 | virtual void registerTypes( const char *uri ); | 29 | virtual void registerTypes( const char *uri ); | ||
29 | 30 | | |||
30 | void initializeEngine( QQmlEngine *engine, const char *); | 31 | void initializeEngine( QQmlEngine *engine, const char *); | ||
31 | }; | 32 | }; | ||
32 | 33 | | |||
33 | #endif | 34 | #endif |