diff options
author | Jean Guyomarc'h <jean.guyomarch@openwide.fr> | 2015-10-15 11:45:41 +0200 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-12-01 12:15:32 -0800 |
commit | 967d2fe7fa5327675f830dbc3a334a2ea56ddde5 (patch) | |
tree | 3137747d2b76f0e44fa18979fc71a52f318fe3e1 /src/lib/ecore_cocoa | |
parent | 4ab8471ef05f42269a7bed02250801577b8bbd1a (diff) |
ecore_cocoa: don't export Ecore_Cocoa_Keys.h
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/ecore_cocoa')
-rw-r--r-- | src/lib/ecore_cocoa/ecore_cocoa.m | 6 | ||||
-rw-r--r-- | src/lib/ecore_cocoa/ecore_cocoa_keys.h (renamed from src/lib/ecore_cocoa/Ecore_Cocoa_Keys.h) | 6 |
2 files changed, 11 insertions, 1 deletions
diff --git a/src/lib/ecore_cocoa/ecore_cocoa.m b/src/lib/ecore_cocoa/ecore_cocoa.m index 55a7f70602..89afc8a421 100644 --- a/src/lib/ecore_cocoa/ecore_cocoa.m +++ b/src/lib/ecore_cocoa/ecore_cocoa.m | |||
@@ -12,7 +12,11 @@ | |||
12 | #include <Ecore_Input.h> | 12 | #include <Ecore_Input.h> |
13 | 13 | ||
14 | #include "Ecore_Cocoa.h" | 14 | #include "Ecore_Cocoa.h" |
15 | #include "Ecore_Cocoa_Keys.h" | 15 | |
16 | #define _ECORE_COCOA_KEYS_MANUAL_GUARD_ | ||
17 | #include "ecore_cocoa_keys.h" | ||
18 | #undef _ECORE_COCOA_KEYS_MANUAL_GUARD_ | ||
19 | |||
16 | #include "ecore_cocoa_private.h" | 20 | #include "ecore_cocoa_private.h" |
17 | 21 | ||
18 | EAPI int ECORE_COCOA_EVENT_GOT_FOCUS = 0; | 22 | EAPI int ECORE_COCOA_EVENT_GOT_FOCUS = 0; |
diff --git a/src/lib/ecore_cocoa/Ecore_Cocoa_Keys.h b/src/lib/ecore_cocoa/ecore_cocoa_keys.h index 89004d2b00..4eda272cf3 100644 --- a/src/lib/ecore_cocoa/Ecore_Cocoa_Keys.h +++ b/src/lib/ecore_cocoa/ecore_cocoa_keys.h | |||
@@ -1,6 +1,12 @@ | |||
1 | #ifndef ECORE_COCOA_KEYS_H__ | 1 | #ifndef ECORE_COCOA_KEYS_H__ |
2 | #define ECORE_COCOA_KEYS_H__ | 2 | #define ECORE_COCOA_KEYS_H__ |
3 | 3 | ||
4 | /* Prevent innocent devs to include this directly. */ | ||
5 | #ifndef _ECORE_COCOA_KEYS_MANUAL_GUARD_ | ||
6 | # error This header must be be included directly! | ||
7 | #endif | ||
8 | |||
9 | |||
4 | struct _ecore_cocoa_keys_s | 10 | struct _ecore_cocoa_keys_s |
5 | { | 11 | { |
6 | int code; | 12 | int code; |