Kooky
cInterface.h
Go to the documentation of this file.
1 
21 #ifndef CINTERFACE_H
22 #define CINTERFACE_H
23 
24 
25 #include <QString>
26 
27 
32 {
33 public:
38  enum iType
39  {
42  iTypeDB = 2,
43  };
44 
52  virtual qint16 pluginAPIVersion() = 0;
61  virtual QString pluginName() = 0;
69  virtual qint16 pluginVersion() = 0;
77  virtual iType pluginType() = 0;
78 
86  virtual bool config() = 0;
87 protected:
88 };
89 
90 
91 #endif // CINTERFACE_H
Definition: cInterface.h:41
Definition: cInterface.h:42
virtual qint16 pluginVersion()=0
Version of the plugin.
Definition: cInterface.h:40
This is the base class for all plugins.
Definition: cInterface.h:31
iType
Defines the type of the interface.
Definition: cInterface.h:38
virtual qint16 pluginAPIVersion()=0
Returns the version of the API.
virtual iType pluginType()=0
Returns the type of the plugin.
virtual QString pluginName()=0
Returns the name of the plugin.
virtual bool config()=0
Calls the configuration dialog (if any).