##// END OF EJS Templates
Creates IDataSeries interface and its default implementation
Creates IDataSeries interface and its default implementation

File last commit:

r96:be11fc26511e
r117:15702be3360f
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