Neonode zForce(TM) SDK
HidDisplaySizeMessage.h
Go to the documentation of this file.
1 
9 #if !defined(MESSAGE_HIDDISPLAYSIZEMESSAGE_HIDDISPLAYSIZEMESSAGE_H) && !defined(CONTAINS_HIDDISPLAYSIZEMESSAGE)
10 
11 #ifndef ZFORCECOMMON_H
12  #error Please include "zForceCommon.h" before this file.
13 #endif // ZFORCECOMMON_H
14 
21 {
22 #endif // !defined(MESSAGE_HIDDISPLAYSIZEMESSAGE_HIDDISPLAYSIZEMESSAGE_H) && !defined(CONTAINS_HIDDISPLAYSIZEMESSAGE)
23 #if !defined(MESSAGE_HIDDISPLAYSIZEMESSAGE_HIDDISPLAYSIZEMESSAGE_H) || defined(CONTAINS_HIDDISPLAYSIZEMESSAGE)
24  #define CONTAINS_MESSAGE
25  #include <Message.h>
26  #undef CONTAINS_MESSAGE
27  uint32_t SizeX;
28  bool HasSizeX;
29  uint32_t SizeY;
30  bool HasSizeY;
31 #endif // !defined(MESSAGE_HIDDISPLAYSIZEMESSAGE_HIDDISPLAYSIZEMESSAGE_H) || defined(CONTAINS_HIDDISPLAYSIZEMESSAGE)
32 #if !defined(MESSAGE_HIDDISPLAYSIZEMESSAGE_HIDDISPLAYSIZEMESSAGE_H) && !defined(CONTAINS_HIDDISPLAYSIZEMESSAGE)
33 };
34 
35 #ifdef __cplusplus
36 extern "C"
37 {
38 #endif // __cplusplus
39 
55 DLLINTERNAL HidDisplaySizeMessage * HidDisplaySizeMessage_New (MessageGroup messageGroup, uint32_t size);
56 
57 #ifdef __cplusplus
58 }
59 #endif // __cplusplus
60 
61 #define MESSAGE_HIDDISPLAYSIZEMESSAGE_HIDDISPLAYSIZEMESSAGE_H
62 #endif // !defined(MESSAGE_HIDDISPLAYSIZEMESSAGE_HIDDISPLAYSIZEMESSAGE_H) && !defined(CONTAINS_HIDDISPLAYSIZEMESSAGE)
63 
Base class for all Messages.
This structure represents a Hid Display Size Message.
Definition: HidDisplaySizeMessage.h:20
uint32_t SizeX
X Size.
Definition: HidDisplaySizeMessage.h:27
MessageGroup
Enum describing the different groups a message can belong to.
Definition: zForceTypes.h:128
uint32_t SizeY
Y Size.
Definition: HidDisplaySizeMessage.h:29
bool HasSizeX
Is the X Size reported?
Definition: HidDisplaySizeMessage.h:28
bool HasSizeY
Is the Y Size reported?
Definition: HidDisplaySizeMessage.h:30
DLLINTERNAL HidDisplaySizeMessage * HidDisplaySizeMessage_New(MessageGroup messageGroup, uint32_t size)
Internal constructor for HidDisplaySizeMessage.