##// END OF EJS Templates
Merge pull request 142 from SCIQLOP-Initialisation develop...
Merge pull request 142 from SCIQLOP-Initialisation develop Develop

File last commit:

r99:be11fc26511e
r103:0e87458642fc merge
Show More
MockPlugin.h
27 lines | 623 B | text/x-c | CLexer
#ifndef SCIQLOP_MOCKPLUGIN_H
#define SCIQLOP_MOCKPLUGIN_H
#include <Plugin/IPlugin.h>
#include <QLoggingCategory>
#include <memory>
Q_DECLARE_LOGGING_CATEGORY(LOG_MockPlugin)
class DataSourceItem;
class MockPlugin : public QObject, public IPlugin {
Q_OBJECT
Q_INTERFACES(IPlugin)
Q_PLUGIN_METADATA(IID "sciqlop.plugin.IPlugin" FILE "mockplugin.json")
public:
/// @sa IPlugin::initialize()
void initialize() override;
private:
/// Creates the data source item relative to the plugin
std::unique_ptr<DataSourceItem> createDataSourceItem() const noexcept;
};
#endif // SCIQLOP_MOCKPLUGIN_H