##// END OF EJS Templates
Adds basic demo plugin to explain how to write custom plugins in C++...
Adds basic demo plugin to explain how to write custom plugins in C++ Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1509:3eb0350f563b
r1509:3eb0350f563b
Show More
DemoPlugin.hpp
19 lines | 427 B | text/x-c++hdr | CppLexer
#ifndef SCIQLOP_DEMOPLUGIN_H
#define SCIQLOP_DEMOPLUGIN_H
#include <IPlugin.h>
#include <QtPlugin>
#define PLUGIN_JSON_FILE_PATH "DemoPlugin.json"
class DemoPlugin : public QObject, public IPlugin {
Q_OBJECT
Q_INTERFACES(IPlugin)
Q_PLUGIN_METADATA(IID "sciqlop.plugin.IPlugin" FILE PLUGIN_JSON_FILE_PATH)
public:
/// @sa IPlugin::initialize()
void initialize() final;
};
#endif // SCIQLOP_DEMOPLUGIN_H