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