Developer Documentation
simplePlugin.hh
1#ifndef SIMPLEPLUGIN_HH_INCLUDED
2#define SIMPLEPLUGIN_HH_INCLUDED
3
6
7class SimplePlugin : public QObject, BaseInterface
8{
9Q_OBJECT
10Q_INTERFACES(BaseInterface)
11Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.examples.SimplePlugin")
12
13public :
14
15 ~SimplePlugin() {};
16
17 QString name() { return QString("SimplePlugin"); };
18
19 QString description() { return QString("Does actually nothing but works!"); };
20
21};
22
23
24#endif
Interface class from which all plugins have to be created.
QString name()
Return a name for the plugin.
Definition: simplePlugin.hh:17
QString description()
Return a description of what the plugin is doing.
Definition: simplePlugin.hh:19