Neonode zForce(TM) SDK
TouchModeMessage.h
Go to the documentation of this file.
1 
9 #if !defined(MESSAGE_TOUCHMODEMESSAGE_TOUCHMODEMESSAGE_H) && !defined(CONTAINS_TOUCHMODEMESSAGE)
10 
11 #ifndef ZFORCECOMMON_H
12  #error Please include "zForceCommon.h" before this file.
13 #endif // ZFORCECOMMON_H
14 
20 struct TouchModeMessage
21 {
22 #endif // !defined(MESSAGE_TOUCHMODEMESSAGE_TOUCHMODEMESSAGE_H) && !defined(CONTAINS_TOUCHMODEMESSAGE)
23 #if !defined(MESSAGE_TOUCHMODEMESSAGE_TOUCHMODEMESSAGE_H) || defined(CONTAINS_TOUCHMODEMESSAGE)
24  #define CONTAINS_MESSAGE
25  #include <Message.h>
26  #undef CONTAINS_MESSAGE
27  TouchModes TouchMode;
28  bool HasTouchMode;
29  uint32_t ClickOnTouchTime;
30  bool HasClickOnTouchTime;
31  uint32_t ClickOnTouchRadius;
32  bool HasClickOnTouchRadius;
33 #endif // !defined(MESSAGE_TOUCHMODEMESSAGE_TOUCHMODEMESSAGE_H) || defined(CONTAINS_TOUCHMODEMESSAGE)
34 #if !defined(MESSAGE_TOUCHMODEMESSAGE_TOUCHMODEMESSAGE_H) && !defined(CONTAINS_TOUCHMODEMESSAGE)
35 };
36 
37 #ifdef __cplusplus
38 extern "C"
39 {
40 #endif // __cplusplus
41 
57 DLLINTERNAL TouchModeMessage * TouchModeMessage_New (MessageGroup messageGroup, uint32_t size);
58 
59 #ifdef __cplusplus
60 }
61 #endif // __cplusplus
62 
63 #define MESSAGE_TOUCHMODEMESSAGE_TOUCHMODEMESSAGE_H
64 #endif // !defined(MESSAGE_TOUCHMODEMESSAGE_TOUCHMODEMESSAGE_H) && !defined(CONTAINS_TOUCHMODEMESSAGE)
65 
Base class for all Messages.
TouchModes
Enum describing what touch mode a device can be in.
Definition: zForceTypes.h:185
MessageGroup
Enum describing the different groups a message can belong to.
Definition: zForceTypes.h:128
struct TouchModeMessage TouchModeMessage
Definition: zForceTypes.h:81