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 
21 {
39  bool Error;
45  int ErrorCode;
51  uint64_t SerialNumber;
57  void ( * Destructor)(Message * self);
58  bool Enabled;
59  bool HasEnabled;
66 };
67 
68 #ifdef __cplusplus
69 extern "C"
70 {
71 #endif // __cplusplus
72 
89 
90 #ifdef __cplusplus
91 }
92 #endif // __cplusplus
93 
94 #endif // MESSAGE_DOUBLECLICKPREVENTIONMESSAGE_DOUBLECLICKPREVENTIONMESSAGE_H
DLLINTERNAL DoubleClickPreventionMessage * DoubleClickPreventionMessage_New(MessageGroup messageGroup, uint32_t size)
Internal constructor for DoubleClickPreventionMessage.
This structure represents a double-click prevention message.
Definition: DoubleClickPreventionMessage.h:21
bool HasEnabled
True when Enabled is valid.
Definition: DoubleClickPreventionMessage.h:59
bool HasDoubleClickPreventionRadius
True when DoubleClickPreventionRadius is valid.
Definition: DoubleClickPreventionMessage.h:65
int ErrorCode
Definition: DoubleClickPreventionMessage.h:45
bool HasDoubleClickPreventionTime
True when DoubleClickPreventionTime is valid.
Definition: DoubleClickPreventionMessage.h:62
MessageType MessageType
Definition: DoubleClickPreventionMessage.h:27
void(* Destructor)(Message *self)
Definition: DoubleClickPreventionMessage.h:57
uint64_t SerialNumber
Definition: DoubleClickPreventionMessage.h:51
MessageGroup MessageGroup
Definition: DoubleClickPreventionMessage.h:33
uint32_t DoubleClickPreventionTime
Definition: DoubleClickPreventionMessage.h:60
bool Error
Definition: DoubleClickPreventionMessage.h:39
uint32_t DoubleClickPreventionRadius
Definition: DoubleClickPreventionMessage.h:63
bool Enabled
True when Double-Click Prevention is enabled.
Definition: DoubleClickPreventionMessage.h:58
The main Message struct.
Definition: Message.h:21
MessageGroup
Enum describing the different groups a message can belong to.
Definition: zForceTypes.h:134
MessageType
Enum describing the different message types that exists.
Definition: zForceTypes.h:104