AmdaPlugin.h
29 lines
| 607 B
| text/x-c
|
CLexer
Alexandre Leroux
|
r325 | #ifndef SCIQLOP_AMDAPLUGIN_H | ||
#define SCIQLOP_AMDAPLUGIN_H | ||||
#include "AmdaGlobal.h" | ||||
#include <Plugin/IPlugin.h> | ||||
#include <QLoggingCategory> | ||||
#include <memory> | ||||
Q_DECLARE_LOGGING_CATEGORY(LOG_AmdaPlugin) | ||||
r579 | #ifndef PLUGIN_JSON_FILE_PATH | |||
r590 | #define PLUGIN_JSON_FILE_PATH "amda.json" | |||
r579 | #endif | |||
Alexandre Leroux
|
r325 | class DataSourceItem; | ||
class SCIQLOP_AMDA_EXPORT AmdaPlugin : public QObject, public IPlugin { | ||||
Q_OBJECT | ||||
Q_INTERFACES(IPlugin) | ||||
r579 | Q_PLUGIN_METADATA(IID "sciqlop.plugin.IPlugin" FILE PLUGIN_JSON_FILE_PATH) | |||
Alexandre Leroux
|
r325 | public: | ||
/// @sa IPlugin::initialize() | ||||
void initialize() override; | ||||
}; | ||||
#endif // SCIQLOP_AMDAPLUGIN_H | ||||