gazetk / GazeTkHub / GazeTkLib / include / gazetkinterfaces.h @ 6b3a8f8f
History | View | Annotate | Download (585 Bytes)
1 | 2eb54f9d | Thies Pfeiffer | #ifndef GAZETKINTERFACES_H
|
---|---|---|---|
2 | #define GAZETKINTERFACES_H
|
||
3 | |||
4 | #include <QtPlugin> |
||
5 | |||
6 | namespace gazetk |
||
7 | { |
||
8 | /**
|
||
9 | * @brief The PluginInterface class
|
||
10 | *
|
||
11 | * This is the plugin interface that describes the contract the different plugins with
|
||
12 | * which GazeTkHub can be extended has to meet.
|
||
13 | */
|
||
14 | class PluginInterface |
||
15 | { |
||
16 | public:
|
||
17 | virtual ~PluginInterface() {} |
||
18 | |||
19 | virtual void postMessage() = 0; |
||
20 | }; |
||
21 | |||
22 | } // namespace gazetk
|
||
23 | |||
24 | #define PluginInterface_iid "com.eyemovementresearch.gazetk.PluginInterface/1.0" |
||
25 | Q_DECLARE_INTERFACE(gazetk::PluginInterface, PluginInterface_iid) |
||
26 | |||
27 | #endif // GAZETKINTERFACES_H |