Developer Documentation

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