Neonode zForce(TM) SDK

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

AirDevice.h
Go to the documentation of this file.
1
11 #if !defined(DEVICE_SENSORDEVICE_AIRDEVICE_AIRDEVICE_H) && !defined(CONTAINS_AIRDEVICE)
12
13 #ifndef ZFORCECOMMON_H
14 #error Please include "zForceCommon.h" before this file.
15 #endif // ZFORCECOMMON_H
16
24 struct AirDevice
25 {
26 #endif // !defined(DEVICE_SENSORDEVICE_AIRDEVICE_AIRDEVICE_H) && !defined(CONTAINS_AIRDEVICE)
27 #if !defined(DEVICE_SENSORDEVICE_AIRDEVICE_AIRDEVICE_H) || defined(CONTAINS_AIRDEVICE)
28 #define CONTAINS_SENSORDEVICE
29 #include <SensorDevice.h>
30 #undef CONTAINS_SENSORDEVICE
31 #endif // !defined(DEVICE_SENSORDEVICE_AIRDEVICE_AIRDEVICE_H) || defined(CONTAINS_AIRDEVICE)
32 #if !defined(DEVICE_SENSORDEVICE_AIRDEVICE_AIRDEVICE_H) && !defined(CONTAINS_AIRDEVICE)
33 };
34
35 #ifdef __cplusplus
36 extern "C"
37 {
38 #endif // __cplusplus
39
54 DLLINTERNAL AirDevice * AirDevice_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_AIRDEVICE_AIRDEVICE_H
63 #endif // !defined(DEVICE_SENSORDEVICE_AIRDEVICE_AIRDEVICE_H) && !defined(CONTAINS_AIRDEVICE)
Connection
The main Connection struct.
Definition: Connection.h:64
AirDevice_New
DLLINTERNAL AirDevice * AirDevice_New(Connection *connection, DeviceType deviceType, uint32_t deviceIndex, size_t size)
Internal call used to create a new AirDevice.
SensorDevice.h
Handles requests to the SensorDevice, a meta device.
DeviceType
DeviceType
Enum describing the different device types that exists.
Definition: zForceTypes.h:86
AirDevice
Struct representing an AirDevice.
Definition: AirDevice.h:24