Initial commit
[raptor.git] / lib / raptorlet.h
blob0c0f891a0365eb2ba7c5e0d24b8532e6a6e0f728
1 #ifndef RAPTORLET_H
2 #define RAPTORLET_H
4 #include <QObject>
5 #include "plasmicraptor_export.h"
7 class PLASMICRAPTOR_EXPORT Raptorlet : public QObject
9 Q_OBJECT
10 public:
11 typedef enum { STATIC,STREAMING,ONUPDATE} EngineMode;
12 Raptorlet(QObject * parent=0);
13 ~Raptorlet();
14 QString name() { return QString("Test ok \n"); }
18 #define K_EXPORT_RAPTORLET(libname, classname) \
19 K_EXPORT_COMPONENT_FACTORY( \
20 raptorlet_##libname, \
21 KGenericFactory<classname>("raptorlet_" #libname))
22 #endif