Neonode zForce(TM) SDK
DisableMessage.h
Go to the documentation of this file.
1 
9 #if !defined(MESSAGE_DISABLEMESSAGE_DISABLEMESSAGE_H) && !defined(CONTAINS_DISABLEMESSAGE)
10 
11 #ifndef ZFORCECOMMON_H
12  #error Please include "zForceCommon.h" before this file.
13 #endif // ZFORCECOMMON_H
14 
22 {
23 #endif // !defined(MESSAGE_DISABLEMESSAGE_DISABLEMESSAGE_H) && !defined(CONTAINS_DISABLEMESSAGE)
24 #if !defined(MESSAGE_DISABLEMESSAGE_DISABLEMESSAGE_H) || defined(CONTAINS_DISABLEMESSAGE)
25  #define CONTAINS_MESSAGE
26  #include <Message.h>
27  #undef CONTAINS_MESSAGE
28  bool Disabled;
29 #endif // !defined(MESSAGE_DISABLEMESSAGE_DISABLEMESSAGE_H) || defined(CONTAINS_DISABLEMESSAGE)
30 #if !defined(MESSAGE_DISABLEMESSAGE_DISABLEMESSAGE_H) && !defined(CONTAINS_DISABLEMESSAGE)
31 };
32 
33 #ifdef __cplusplus
34 extern "C"
35 {
36 #endif // __cplusplus
37 
53 DLLINTERNAL DisableMessage * DisableMessage_New (MessageGroup messageGroup, uint32_t size);
54 
55 #ifdef __cplusplus
56 }
57 #endif // __cplusplus
58 
59 #define MESSAGE_DISABLEMESSAGE_DISABLEMESSAGE_H
60 #endif // !defined(MESSAGE_DISABLEMESSAGE_DISABLEMESSAGE_H) && !defined(CONTAINS_DISABLEMESSAGE)
61 
Base class for all Messages.
bool Disabled
Is Device Disabled.
Definition: DisableMessage.h:28
This structure represents a disable message.
Definition: DisableMessage.h:21
MessageGroup
Enum describing the different groups a message can belong to.
Definition: zForceTypes.h:128
DLLINTERNAL DisableMessage * DisableMessage_New(MessageGroup messageGroup, uint32_t size)
Internal constructor for DisableMessage.