Neonode zForce(TM) SDK
LightingDevice.h
Go to the documentation of this file.
1 
12 #if !defined(DEVICE_LIGHTINGDEVICE_LIGHTINGDEVICE_H) && !defined(CONTAINS_LIGHTINGDEVICE)
13 
14 #ifndef ZFORCECOMMON_H
15  #error Please include "zForceCommon.h" before this file.
16 #endif // ZFORCECOMMON_H
17 
24 struct LightingDevice
25 {
26 #endif // !defined(DEVICE_LIGHTINGDEVICE_LIGHTINGDEVICE_H) && !defined(CONTAINS_LIGHTINGDEVICE)
27 #if !defined(DEVICE_LIGHTINGDEVICE_LIGHTINGDEVICE_H) || defined(CONTAINS_LIGHTINGDEVICE)
28  #define CONTAINS_DEVICE
29  #include <Device.h>
30  #undef CONTAINS_DEVICE
31 #endif // !defined(DEVICE_LIGHTINGDEVICE_LIGHTINGDEVICE_H) || defined(CONTAINS_LIGHTINGDEVICE)
32 #if !defined(DEVICE_LIGHTINGDEVICE_LIGHTINGDEVICE_H) && !defined(CONTAINS_LIGHTINGDEVICE)
33 };
34 
35 #ifdef __cplusplus
36 extern "C"
37 {
38 #endif // __cplusplus
39 
54 DLLINTERNAL LightingDevice * LightingDevice_New (Connection * connection,
55  DeviceType deviceType,
56  uint32_t deviceIndex,
57  size_t size);
58 
59 #ifdef __cplusplus
60 }
61 #endif // __cplusplus
62 
63 #define DEVICE_LIGHTINGDEVICE_LIGHTINGDEVICE_H
64 #endif // !defined(DEVICE_LIGHTINGDEVICE_LIGHTINGDEVICE_H) && !defined(CONTAINS_LIGHTINGDEVICE)
65 
The main Connection struct.
Definition: Connection.h:64
struct LightingDevice LightingDevice
Definition: zForceTypes.h:31
DeviceType
Enum describing the different device types that exists.
Definition: zForceTypes.h:86
Base Device class.