Revision 2eb54f9d GazeTkHub/Plugins/DeviceEyetrackerDummy/deviceeyetrackerdummy.h
GazeTkHub/Plugins/DeviceEyetrackerDummy/deviceeyetrackerdummy.h | ||
---|---|---|
1 | 1 |
#ifndef DEVICEEYETRACKERDUMMY_H |
2 | 2 |
#define DEVICEEYETRACKERDUMMY_H |
3 | 3 |
|
4 |
#include <QGenericPlugin>
|
|
4 |
#include "gazetkinterfaces.h"
|
|
5 | 5 |
|
6 |
namespace gazetk |
|
7 |
{ |
|
8 |
namespace plugins |
|
9 |
{ |
|
6 | 10 |
|
7 |
class DeviceEyetrackerDummy : public QGenericPlugin |
|
11 |
/** |
|
12 |
* @brief The DeviceEyetrackerDummy class |
|
13 |
* |
|
14 |
* A dummy implementation of an eye tracking device |
|
15 |
*/ |
|
16 |
class DeviceEyetrackerDummy : public QObject, gazetk::PluginInterface |
|
8 | 17 |
{ |
9 | 18 |
Q_OBJECT |
10 |
#if QT_VERSION >= 0x050000 |
|
11 |
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QGenericPluginFactoryInterface" FILE "DeviceEyetrackerDummy.json") |
|
12 |
#endif // QT_VERSION >= 0x050000 |
|
19 |
Q_INTERFACES(gazetk::PluginInterface) |
|
20 |
Q_PLUGIN_METADATA(IID "com.eyemovementresearch.gazetk.PluginInterface" FILE "DeviceEyetrackerDummy.json") |
|
13 | 21 |
|
14 | 22 |
public: |
15 | 23 |
DeviceEyetrackerDummy(QObject *parent = 0); |
24 |
|
|
25 |
virtual void postMessage() {}; |
|
16 | 26 |
}; |
17 | 27 |
|
28 |
} // namespace plugins |
|
29 |
|
|
30 |
} // namespace gazetk |
|
31 |
|
|
18 | 32 |
#endif // DEVICEEYETRACKERDUMMY_H |
Also available in: Unified diff