Neonode zForce(TM) SDK

DoubleClickPreventionMessage.h
Go to the documentation of this file.
1
8 #ifndef MESSAGE_DOUBLECLICKPREVENTIONMESSAGE_DOUBLECLICKPREVENTIONMESSAGE_H
9 #define MESSAGE_DOUBLECLICKPREVENTIONMESSAGE_DOUBLECLICKPREVENTIONMESSAGE_H 1
10
11 #ifndef ZFORCECOMMON_H
12 #error Please include "zForceCommon.h" before this file.
13 #endif // ZFORCECOMMON_H
14
20 struct DoubleClickPreventionMessage
21 {
27 MessageType MessageType;
33 MessageGroup MessageGroup;
39 bool Error;
45 int ErrorCode;
51 uint64_t SerialNumber;
57 void ( * Destructor)(Message * self);
58 bool Enabled;
59 bool HasEnabled;
60 uint32_t DoubleClickPreventionTime;
62 bool HasDoubleClickPreventionTime;
63 uint32_t DoubleClickPreventionRadius;
65 bool HasDoubleClickPreventionRadius;
66 };
67
68 #ifdef __cplusplus
69 extern "C"
70 {
71 #endif // __cplusplus
72
88 DLLINTERNAL DoubleClickPreventionMessage * DoubleClickPreventionMessage_New (MessageGroup messageGroup, uint32_t size);
89
90 #ifdef __cplusplus
91 }
92 #endif // __cplusplus
93
94 #endif // MESSAGE_DOUBLECLICKPREVENTIONMESSAGE_DOUBLECLICKPREVENTIONMESSAGE_H
DoubleClickPreventionMessage_New
DLLINTERNAL DoubleClickPreventionMessage * DoubleClickPreventionMessage_New(MessageGroup messageGroup, uint32_t size)
Internal constructor for DoubleClickPreventionMessage.
DoubleClickPreventionMessage
This structure represents a double-click prevention message.
Definition: DoubleClickPreventionMessage.h:21
DoubleClickPreventionMessage::HasEnabled
bool HasEnabled
True when Enabled is valid.
Definition: DoubleClickPreventionMessage.h:59
DoubleClickPreventionMessage::HasDoubleClickPreventionRadius
bool HasDoubleClickPreventionRadius
True when DoubleClickPreventionRadius is valid.
Definition: DoubleClickPreventionMessage.h:65
DoubleClickPreventionMessage::ErrorCode
int ErrorCode
Definition: DoubleClickPreventionMessage.h:45
DoubleClickPreventionMessage::HasDoubleClickPreventionTime
bool HasDoubleClickPreventionTime
True when DoubleClickPreventionTime is valid.
Definition: DoubleClickPreventionMessage.h:62
DoubleClickPreventionMessage::MessageType
MessageType MessageType
Definition: DoubleClickPreventionMessage.h:27
DoubleClickPreventionMessage::Destructor
void(* Destructor)(Message *self)
Definition: DoubleClickPreventionMessage.h:57
DoubleClickPreventionMessage::SerialNumber
uint64_t SerialNumber
Definition: DoubleClickPreventionMessage.h:51
DoubleClickPreventionMessage::MessageGroup
MessageGroup MessageGroup
Definition: DoubleClickPreventionMessage.h:33
DoubleClickPreventionMessage::DoubleClickPreventionTime
uint32_t DoubleClickPreventionTime
Definition: DoubleClickPreventionMessage.h:60
DoubleClickPreventionMessage::Error
bool Error
Definition: DoubleClickPreventionMessage.h:39
DoubleClickPreventionMessage::DoubleClickPreventionRadius
uint32_t DoubleClickPreventionRadius
Definition: DoubleClickPreventionMessage.h:63
DoubleClickPreventionMessage::Enabled
bool Enabled
True when Double-Click Prevention is enabled.
Definition: DoubleClickPreventionMessage.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