##// END OF EJS Templates
Correction on AmdaPlugin.h
perrinel -
r631:8f78264330ae
parent child
Show More
@@ -1,29 +1,29
1 #ifndef SCIQLOP_AMDAPLUGIN_H
1 #ifndef SCIQLOP_AMDAPLUGIN_H
2 #define SCIQLOP_AMDAPLUGIN_H
2 #define SCIQLOP_AMDAPLUGIN_H
3
3
4 #include "AmdaGlobal.h"
4 #include "AmdaGlobal.h"
5
5
6 #include <Plugin/IPlugin.h>
6 #include <Plugin/IPlugin.h>
7
7
8 #include <QLoggingCategory>
8 #include <QLoggingCategory>
9
9
10 #include <memory>
10 #include <memory>
11
11
12 Q_DECLARE_LOGGING_CATEGORY(LOG_AmdaPlugin)
12 Q_DECLARE_LOGGING_CATEGORY(LOG_AmdaPlugin)
13
13
14 #ifndef PLUGIN_JSON_FILE_PATH
14 #ifndef PLUGIN_JSON_FILE_PATH
15 #define PLUGIN_JSON_FILE_PATH "mockplugin.json"
15 #define PLUGIN_JSON_FILE_PATH "amda.json"
16 #endif
16 #endif
17
17
18 class DataSourceItem;
18 class DataSourceItem;
19
19
20 class SCIQLOP_AMDA_EXPORT AmdaPlugin : public QObject, public IPlugin {
20 class SCIQLOP_AMDA_EXPORT AmdaPlugin : public QObject, public IPlugin {
21 Q_OBJECT
21 Q_OBJECT
22 Q_INTERFACES(IPlugin)
22 Q_INTERFACES(IPlugin)
23 Q_PLUGIN_METADATA(IID "sciqlop.plugin.IPlugin" FILE PLUGIN_JSON_FILE_PATH)
23 Q_PLUGIN_METADATA(IID "sciqlop.plugin.IPlugin" FILE PLUGIN_JSON_FILE_PATH)
24 public:
24 public:
25 /// @sa IPlugin::initialize()
25 /// @sa IPlugin::initialize()
26 void initialize() override;
26 void initialize() override;
27 };
27 };
28
28
29 #endif // SCIQLOP_AMDAPLUGIN_H
29 #endif // SCIQLOP_AMDAPLUGIN_H
General Comments 0
You need to be logged in to leave comments. Login now