Developer Documentation
simplePlugin.hh
1 #ifndef SIMPLEPLUGIN_HH_INCLUDED
2 #define SIMPLEPLUGIN_HH_INCLUDED
3 
6 
7 class SimplePlugin : public QObject, BaseInterface
8 {
9 Q_OBJECT
10 Q_INTERFACES(BaseInterface)
11 Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.examples.SimplePlugin")
12 
13 public :
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
QString description()
Return a description of what the plugin is doing.
Definition: simplePlugin.hh:19
QString name()
Return a name for the plugin.
Definition: simplePlugin.hh:17
Interface class from which all plugins have to be created.