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
20 struct HidDisplaySizeMessage
21 {
27 MessageType MessageType;
33 MessageGroup MessageGroup;
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
HidDisplaySizeMessage_New
DLLINTERNAL HidDisplaySizeMessage * HidDisplaySizeMessage_New(MessageGroup messageGroup, uint32_t size)
Internal constructor for HidDisplaySizeMessage.
HidDisplaySizeMessage
This structure represents a HID Display Size Message.
Definition: HidDisplaySizeMessage.h:21
HidDisplaySizeMessage::SerialNumber
uint64_t SerialNumber
Definition: HidDisplaySizeMessage.h:51
HidDisplaySizeMessage::MessageGroup
MessageGroup MessageGroup
Definition: HidDisplaySizeMessage.h:33
HidDisplaySizeMessage::HasSizeX
bool HasSizeX
True when SizeX is valid.
Definition: HidDisplaySizeMessage.h:59
HidDisplaySizeMessage::Destructor
void(* Destructor)(Message *self)
Definition: HidDisplaySizeMessage.h:57
HidDisplaySizeMessage::HasSizeY
bool HasSizeY
True when SizeY is valid.
Definition: HidDisplaySizeMessage.h:61
HidDisplaySizeMessage::SizeY
uint32_t SizeY
Y Size.
Definition: HidDisplaySizeMessage.h:60
HidDisplaySizeMessage::Error
bool Error
Definition: HidDisplaySizeMessage.h:39
HidDisplaySizeMessage::SizeX
uint32_t SizeX
X Size.
Definition: HidDisplaySizeMessage.h:58
HidDisplaySizeMessage::MessageType
MessageType MessageType
Definition: HidDisplaySizeMessage.h:27
HidDisplaySizeMessage::ErrorCode
int ErrorCode
Definition: HidDisplaySizeMessage.h:45
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