Neonode zForce(TM) SDK
HidDisplaySizeMessage.h
Go to the documentation of this file.
1 
8 #ifndef MESSAGE_HIDDISPLAYSIZEMESSAGE_HIDDISPLAYSIZEMESSAGE_H
9 #define MESSAGE_HIDDISPLAYSIZEMESSAGE_HIDDISPLAYSIZEMESSAGE_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  uint32_t SizeX;
59  bool HasSizeX;
60  uint32_t SizeY;
61  bool HasSizeY;
62 };
63 
64 #ifdef __cplusplus
65 extern "C"
66 {
67 #endif // __cplusplus
68 
84 DLLINTERNAL HidDisplaySizeMessage * HidDisplaySizeMessage_New (MessageGroup messageGroup, uint32_t size);
85 
86 #ifdef __cplusplus
87 }
88 #endif // __cplusplus
89 
90 #endif // MESSAGE_HIDDISPLAYSIZEMESSAGE_HIDDISPLAYSIZEMESSAGE_H
DLLINTERNAL HidDisplaySizeMessage * HidDisplaySizeMessage_New(MessageGroup messageGroup, uint32_t size)
Internal constructor for HidDisplaySizeMessage.
This structure represents a HID Display Size Message.
Definition: HidDisplaySizeMessage.h:21
uint64_t SerialNumber
Definition: HidDisplaySizeMessage.h:51
MessageGroup MessageGroup
Definition: HidDisplaySizeMessage.h:33
bool HasSizeX
True when SizeX is valid.
Definition: HidDisplaySizeMessage.h:59
void(* Destructor)(Message *self)
Definition: HidDisplaySizeMessage.h:57
bool HasSizeY
True when SizeY is valid.
Definition: HidDisplaySizeMessage.h:61
uint32_t SizeY
Y Size.
Definition: HidDisplaySizeMessage.h:60
bool Error
Definition: HidDisplaySizeMessage.h:39
uint32_t SizeX
X Size.
Definition: HidDisplaySizeMessage.h:58
MessageType MessageType
Definition: HidDisplaySizeMessage.h:27
int ErrorCode
Definition: HidDisplaySizeMessage.h:45
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