Nooba Plugin API  0.12
API for the Nooba Video Surveillance System
 All Classes Namespaces Functions Enumerations Enumerator
noobapluginbase.h
1 #ifndef NOOBAPLUGINBASE_H
2 #define NOOBAPLUGINBASE_H
3 
4 #include <QObject>
5 
6 #define API_MAJOR_VERSION 0
7 #define API_MINOR_VERSION 12
8 
10 
11 class NoobaPluginAPIBase: public QObject
12 {
13  Q_OBJECT
14 
15 public:
16 
17  static int APIMajorVersion() { return API_MAJOR_VERSION; }
18  static int APIMinorVersion() { return API_MINOR_VERSION; }
19 
20 protected:
21 
23  virtual ~NoobaPluginAPIBase() {}
24 
25 private:
26 
27  NoobaPluginAPIBasePrivate* const _d; // d pointer, refer http://qt-project.org/wiki/Dpointer
28  Q_DECLARE_PRIVATE(NoobaPluginAPIBase);
29 };
30 
31 #endif // NOOBAPLUGINBASE_H