Neonode zForce(TM) SDK

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

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
20 struct HidDisplaySizeMessage
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
Message.h
Base class for all Messages.
HidDisplaySizeMessage
This structure represents a Hid Display Size Message.
Definition: HidDisplaySizeMessage.h:20
HidDisplaySizeMessage::SizeX
uint32_t SizeX
X Size.
Definition: HidDisplaySizeMessage.h:27
MessageGroup
MessageGroup
Enum describing the different groups a message can belong to.
Definition: zForceTypes.h:128
HidDisplaySizeMessage::SizeY
uint32_t SizeY
Y Size.
Definition: HidDisplaySizeMessage.h:29
HidDisplaySizeMessage::HasSizeX
bool HasSizeX
Is the X Size reported?
Definition: HidDisplaySizeMessage.h:28
HidDisplaySizeMessage::HasSizeY
bool HasSizeY
Is the Y Size reported?
Definition: HidDisplaySizeMessage.h:30
HidDisplaySizeMessage_New
DLLINTERNAL HidDisplaySizeMessage * HidDisplaySizeMessage_New(MessageGroup messageGroup, uint32_t size)
Internal constructor for HidDisplaySizeMessage.