Neonode zForce(TM) SDK

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

OffsetMessage.h
Go to the documentation of this file.
1
9 #if !defined(MESSAGE_OFFSETMESSAGE_OFFSETMESSAGE_H) && !defined(CONTAINS_OFFSETMESSAGE)
10
11 #ifndef ZFORCECOMMON_H
12 #error Please include "zForceCommon.h" before this file.
13 #endif // ZFORCECOMMON_H
14
20 struct OffsetMessage
21 {
22 #endif // !defined(MESSAGE_OFFSETMESSAGE_OFFSETMESSAGE_H) && !defined(CONTAINS_OFFSETMESSAGE)
23 #if !defined(MESSAGE_OFFSETMESSAGE_OFFSETMESSAGE_H) || defined(CONTAINS_OFFSETMESSAGE)
24 #define CONTAINS_MESSAGE
25 #include <Message.h>
26 #undef CONTAINS_MESSAGE
27 uint32_t OffsetX;
28 bool HasOffsetX;
29 uint32_t OffsetY;
30 bool HasOffsetY;
31 #endif // !defined(MESSAGE_OFFSETMESSAGE_OFFSETMESSAGE_H) || defined(CONTAINS_OFFSETMESSAGE)
32 #if !defined(MESSAGE_OFFSETMESSAGE_OFFSETMESSAGE_H) && !defined(CONTAINS_OFFSETMESSAGE)
33 };
34
35 #ifdef __cplusplus
36 extern "C"
37 {
38 #endif // __cplusplus
39
55 DLLINTERNAL OffsetMessage * OffsetMessage_New (MessageGroup messageGroup, uint32_t size);
56
57 #ifdef __cplusplus
58 }
59 #endif // __cplusplus
60
61 #define MESSAGE_OFFSETMESSAGE_OFFSETMESSAGE_H
62 #endif // !defined(MESSAGE_OFFSETMESSAGE_OFFSETMESSAGE_H) && !defined(CONTAINS_OFFSETMESSAGE)
63
Message.h
Base class for all Messages.
OffsetMessage
struct OffsetMessage OffsetMessage
Definition: zForceTypes.h:71
MessageGroup
MessageGroup
Enum describing the different groups a message can belong to.
Definition: zForceTypes.h:128