summaryrefslogtreecommitdiff
path: root/src/lib/ecore_input
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-10 02:18:10 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-10 02:18:10 +0000
commit532284dbbe4259a9f2291f44d3eff376849e8031 (patch)
tree17ea441edf31210f852f2067f23d41320d52eefa /src/lib/ecore_input
parent7b0ae69adcb1314c3b2a87f69d7634e357820d1c (diff)
efl: forward typedef to avoid including useless headers.
do not include Ecore_Input.h just to get Ecore_Window and Ecore_Getopt to get handful typedefs. NOTE: why do we have the #ifdefs around these predefs? At least GCC does not warn if we typedef twice the same thing (if they are identical) SVN revision: 82499
Diffstat (limited to 'src/lib/ecore_input')
-rw-r--r--src/lib/ecore_input/Ecore_Input.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/ecore_input/Ecore_Input.h b/src/lib/ecore_input/Ecore_Input.h
index d1feb220e1..ec40af8062 100644
--- a/src/lib/ecore_input/Ecore_Input.h
+++ b/src/lib/ecore_input/Ecore_Input.h
@@ -61,7 +61,11 @@ extern "C" {
61#define ECORE_EVENT_LOCK_SHIFT 0x0300 61#define ECORE_EVENT_LOCK_SHIFT 0x0300
62#define ECORE_EVENT_MODIFIER_ALTGR 0x0400 /**< @since 1.7 */ 62#define ECORE_EVENT_MODIFIER_ALTGR 0x0400 /**< @since 1.7 */
63 63
64#ifndef _ECORE_WINDOW_PREDEF
64 typedef uintptr_t Ecore_Window; 65 typedef uintptr_t Ecore_Window;
66#define _ECORE_WINDOW_PREDEF 1
67#endif
68
65 typedef struct _Ecore_Event_Key Ecore_Event_Key; 69 typedef struct _Ecore_Event_Key Ecore_Event_Key;
66 typedef struct _Ecore_Event_Mouse_Button Ecore_Event_Mouse_Button; 70 typedef struct _Ecore_Event_Mouse_Button Ecore_Event_Mouse_Button;
67 typedef struct _Ecore_Event_Mouse_Wheel Ecore_Event_Mouse_Wheel; 71 typedef struct _Ecore_Event_Mouse_Wheel Ecore_Event_Mouse_Wheel;