Neonode zForce(TM) SDK

MergeTouchesMessage.h
Go to the documentation of this file.
1
9 #ifndef MESSAGE_MERGETOUCHESMESSAGE_MERGETOUCHESMESSAGE_H
10 #define MESSAGE_MERGETOUCHESMESSAGE_MERGETOUCHESMESSAGE_H 1
11
12 #ifndef ZFORCECOMMON_H
13 #error Please include "zForceCommon.h" before this file.
14 #endif // ZFORCECOMMON_H
15
21 struct MergeTouchesMessage
22 {
28 MessageType MessageType;
34 MessageGroup MessageGroup;
40 bool Error;
46 int ErrorCode;
52 uint64_t SerialNumber;
58 void ( * Destructor)(Message * self);
59 bool AreTouchesMerged;
60 };
61
62 #ifdef __cplusplus
63 extern "C"
64 {
65 #endif // __cplusplus
66
82 DLLINTERNAL MergeTouchesMessage * MergeTouchesMessage_New (MessageGroup messageGroup, uint32_t size);
83
84 #ifdef __cplusplus
85 }
86 #endif // __cplusplus
87
88 #endif // MESSAGE_MERGETOUCHESMESSAGE_MERGETOUCHESMESSAGE_H
MergeTouchesMessage_New
DLLINTERNAL MergeTouchesMessage * MergeTouchesMessage_New(MessageGroup messageGroup, uint32_t size)
Internal constructor for MergeTouchesMessage.
MergeTouchesMessage
This structure represents a merge touches message.
Definition: MergeTouchesMessage.h:22
MergeTouchesMessage::AreTouchesMerged
bool AreTouchesMerged
True when touches are merged.
Definition: MergeTouchesMessage.h:59
MergeTouchesMessage::MessageType
MessageType MessageType
Definition: MergeTouchesMessage.h:28
MergeTouchesMessage::MessageGroup
MessageGroup MessageGroup
Definition: MergeTouchesMessage.h:34
MergeTouchesMessage::SerialNumber
uint64_t SerialNumber
Definition: MergeTouchesMessage.h:52
MergeTouchesMessage::Error
bool Error
Definition: MergeTouchesMessage.h:40
MergeTouchesMessage::ErrorCode
int ErrorCode
Definition: MergeTouchesMessage.h:46
MergeTouchesMessage::Destructor
void(* Destructor)(Message *self)
Definition: MergeTouchesMessage.h:58
Message
The main Message struct.
Definition: Message.h:21
MessageGroup
MessageGroup
Enum describing the different groups a message can belong to.
Definition: zForceTypes.h:134
MessageType
MessageType
Enum describing the different message types that exists.
Definition: zForceTypes.h:104