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