summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_sdl/Ecore_Sdl.h
diff options
context:
space:
mode:
authordoursse <doursse>2008-05-26 05:16:34 +0000
committerdoursse <doursse@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2008-05-26 05:16:34 +0000
commitcc0ca9325ecd23d25a2d8511c9f5d2af9c275b96 (patch)
tree756d2493d85d4a4191264f1df91af21986533ea2 /legacy/ecore/src/lib/ecore_sdl/Ecore_Sdl.h
parent550d4473201ebef6c450f558bd358d42ad874ace (diff)
integration of evil in ecore. It's compiling on windows and my ubuntu. The commit is big, please report any problem
SVN revision: 34671
Diffstat (limited to 'legacy/ecore/src/lib/ecore_sdl/Ecore_Sdl.h')
-rw-r--r--legacy/ecore/src/lib/ecore_sdl/Ecore_Sdl.h23
1 files changed, 17 insertions, 6 deletions
diff --git a/legacy/ecore/src/lib/ecore_sdl/Ecore_Sdl.h b/legacy/ecore/src/lib/ecore_sdl/Ecore_Sdl.h
index 3aa6c79bd6..ea81358702 100644
--- a/legacy/ecore/src/lib/ecore_sdl/Ecore_Sdl.h
+++ b/legacy/ecore/src/lib/ecore_sdl/Ecore_Sdl.h
@@ -1,15 +1,24 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
1#ifndef _ECORE_SDL_H 5#ifndef _ECORE_SDL_H
2#define _ECORE_SDL_H 6#define _ECORE_SDL_H
3 7
4#ifdef EAPI 8#ifdef EAPI
5#undef EAPI 9# undef EAPI
6#endif 10#endif
7#ifdef _MSC_VER 11
8# ifdef BUILDING_DLL 12#ifdef _WIN32
9# define EAPI __declspec(dllexport) 13# ifdef EFL_ECORE_SDL_BUILD
14# ifdef DLL_EXPORT
15# define EAPI __declspec(dllexport)
16# else
17# define EAPI
18# endif /* ! DLL_EXPORT */
10# else 19# else
11# define EAPI __declspec(dllimport) 20# define EAPI __declspec(dllimport)
12# endif 21# endif /* ! EFL_ECORE_SDL_BUILD */
13#else 22#else
14# ifdef __GNUC__ 23# ifdef __GNUC__
15# if __GNUC__ >= 4 24# if __GNUC__ >= 4
@@ -20,15 +29,17 @@
20# else 29# else
21# define EAPI 30# define EAPI
22# endif 31# endif
23#endif 32#endif /* ! _WIN32 */
24 33
25/** 34/**
26 * @file 35 * @file
27 * @brief Ecore SDL system functions. 36 * @brief Ecore SDL system functions.
28 */ 37 */
38
29#ifdef __cplusplus 39#ifdef __cplusplus
30extern "C" { 40extern "C" {
31#endif 41#endif
42
32EAPI extern int ECORE_SDL_EVENT_KEY_DOWN; /**< SDL Key Down event */ 43EAPI extern int ECORE_SDL_EVENT_KEY_DOWN; /**< SDL Key Down event */
33EAPI extern int ECORE_SDL_EVENT_KEY_UP; /**< SDL Key Up event */ 44EAPI extern int ECORE_SDL_EVENT_KEY_UP; /**< SDL Key Up event */
34EAPI extern int ECORE_SDL_EVENT_MOUSE_BUTTON_DOWN; /**< SDL Mouse Down event */ 45EAPI extern int ECORE_SDL_EVENT_MOUSE_BUTTON_DOWN; /**< SDL Mouse Down event */