forked from enlightenment/efl
ecore_cocoa: don't export Ecore_Cocoa_Keys.h
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
4ab8471ef0
commit
967d2fe7fa
|
@ -7,11 +7,11 @@ lib_LTLIBRARIES += lib/ecore_cocoa/libecore_cocoa.la
|
|||
installed_ecorecocoamainheadersdir = $(includedir)/ecore-cocoa-@VMAJ@
|
||||
dist_installed_ecorecocoamainheaders_DATA = \
|
||||
lib/ecore_cocoa/Ecore_Cocoa.h \
|
||||
lib/ecore_cocoa/Ecore_Cocoa_Cursor.h \
|
||||
lib/ecore_cocoa/Ecore_Cocoa_Keys.h
|
||||
lib/ecore_cocoa/Ecore_Cocoa_Cursor.h
|
||||
|
||||
lib_ecore_cocoa_libecore_cocoa_la_SOURCES = \
|
||||
lib/ecore_cocoa/ecore_cocoa.m \
|
||||
lib/ecore_cocoa/ecore_cocoa_keys.h \
|
||||
lib/ecore_cocoa/ecore_cocoa_window.h \
|
||||
lib/ecore_cocoa/ecore_cocoa_window.m \
|
||||
lib/ecore_cocoa/ecore_cocoa_cnp.m \
|
||||
|
|
|
@ -12,7 +12,11 @@
|
|||
#include <Ecore_Input.h>
|
||||
|
||||
#include "Ecore_Cocoa.h"
|
||||
#include "Ecore_Cocoa_Keys.h"
|
||||
|
||||
#define _ECORE_COCOA_KEYS_MANUAL_GUARD_
|
||||
#include "ecore_cocoa_keys.h"
|
||||
#undef _ECORE_COCOA_KEYS_MANUAL_GUARD_
|
||||
|
||||
#include "ecore_cocoa_private.h"
|
||||
|
||||
EAPI int ECORE_COCOA_EVENT_GOT_FOCUS = 0;
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
#ifndef ECORE_COCOA_KEYS_H__
|
||||
#define ECORE_COCOA_KEYS_H__
|
||||
|
||||
/* Prevent innocent devs to include this directly. */
|
||||
#ifndef _ECORE_COCOA_KEYS_MANUAL_GUARD_
|
||||
# error This header must be be included directly!
|
||||
#endif
|
||||
|
||||
|
||||
struct _ecore_cocoa_keys_s
|
||||
{
|
||||
int code;
|
Loading…
Reference in New Issue