##// END OF EJS Templates
Creates scalar series
Creates scalar series

File last commit:

r99:be11fc26511e
r126:2c63a29c9c11
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