MockPlugin.h
29 lines
| 625 B
| text/x-c
|
CLexer
Alexandre Leroux
|
r96 | #ifndef SCIQLOP_MOCKPLUGIN_H | ||
#define SCIQLOP_MOCKPLUGIN_H | ||||
Alexandre Leroux
|
r324 | #include "MockPluginGlobal.h" | ||
Alexandre Leroux
|
r96 | #include <Plugin/IPlugin.h> | ||
#include <QLoggingCategory> | ||||
#include <memory> | ||||
r579 | #ifndef PLUGIN_JSON_FILE_PATH | |||
#define PLUGIN_JSON_FILE_PATH "mockplugin.json" | ||||
#endif | ||||
Alexandre Leroux
|
r96 | Q_DECLARE_LOGGING_CATEGORY(LOG_MockPlugin) | ||
class DataSourceItem; | ||||
Alexandre Leroux
|
r324 | class SCIQLOP_MOCKPLUGIN_EXPORT MockPlugin : public QObject, public IPlugin { | ||
Alexandre Leroux
|
r96 | Q_OBJECT | ||
Q_INTERFACES(IPlugin) | ||||
r579 | Q_PLUGIN_METADATA(IID "sciqlop.plugin.IPlugin" FILE PLUGIN_JSON_FILE_PATH) | |||
Alexandre Leroux
|
r96 | public: | ||
/// @sa IPlugin::initialize() | ||||
void initialize() override; | ||||
}; | ||||
#endif // SCIQLOP_MOCKPLUGIN_H | ||||