summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-05 13:59:09 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-05 13:59:09 +0000
commit1227340c122bb7c2d9de6314a81d10edbf35cb7c (patch)
tree6f770da914592081d5278bc014e5cc710a7babd2 /src
parenta332d1c86984c380c1e8d94db12d28b9b71b167f (diff)
efl/ecore_evas: move deprecated functions to separate file, mark them.
mark every deprecated function with EINA_DEPRECATED. move them to a separate file so we can easily delete them in future. SVN revision: 80253
Diffstat (limited to 'src')
-rw-r--r--src/Makefile_Ecore_Evas.am3
-rw-r--r--src/lib/ecore_evas/Ecore_Evas.h12
-rw-r--r--src/lib/ecore_evas/ecore_evas_deprecated.c (renamed from src/lib/ecore_evas/ecore_evas_wince.c)21
-rw-r--r--src/lib/ecore_evas/ecore_evas_directfb.c27
4 files changed, 28 insertions, 35 deletions
diff --git a/src/Makefile_Ecore_Evas.am b/src/Makefile_Ecore_Evas.am
index 70a5579f4e..679feee895 100644
--- a/src/Makefile_Ecore_Evas.am
+++ b/src/Makefile_Ecore_Evas.am
@@ -13,11 +13,10 @@ lib/ecore_evas/ecore_evas_util.c \
13lib/ecore_evas/ecore_evas_x.c \ 13lib/ecore_evas/ecore_evas_x.c \
14lib/ecore_evas/ecore_evas_fb.c \ 14lib/ecore_evas/ecore_evas_fb.c \
15lib/ecore_evas/ecore_evas_buffer.c \ 15lib/ecore_evas/ecore_evas_buffer.c \
16lib/ecore_evas/ecore_evas_directfb.c \ 16lib/ecore_evas/ecore_evas_deprecated.c \
17lib/ecore_evas/ecore_evas_win32.c \ 17lib/ecore_evas/ecore_evas_win32.c \
18lib/ecore_evas/ecore_evas_sdl.c \ 18lib/ecore_evas/ecore_evas_sdl.c \
19lib/ecore_evas/ecore_evas_cocoa.c \ 19lib/ecore_evas/ecore_evas_cocoa.c \
20lib/ecore_evas/ecore_evas_wince.c \
21lib/ecore_evas/ecore_evas_ews.c \ 20lib/ecore_evas/ecore_evas_ews.c \
22lib/ecore_evas/ecore_evas_psl1ght.c \ 21lib/ecore_evas/ecore_evas_psl1ght.c \
23lib/ecore_evas/ecore_evas_wayland_shm.c \ 22lib/ecore_evas/ecore_evas_wayland_shm.c \
diff --git a/src/lib/ecore_evas/Ecore_Evas.h b/src/lib/ecore_evas/Ecore_Evas.h
index 01f13b6fc6..20e7ba37f6 100644
--- a/src/lib/ecore_evas/Ecore_Evas.h
+++ b/src/lib/ecore_evas/Ecore_Evas.h
@@ -1183,33 +1183,33 @@ EAPI Ecore_Evas *ecore_evas_software_wince_new(Ecore_WinCE_Window *parent,
1183 int x, 1183 int x,
1184 int y, 1184 int y,
1185 int width, 1185 int width,
1186 int height); 1186 int height) EINA_DEPRECATED;
1187 1187
1188EAPI Ecore_Evas *ecore_evas_software_wince_fb_new(Ecore_WinCE_Window *parent, 1188EAPI Ecore_Evas *ecore_evas_software_wince_fb_new(Ecore_WinCE_Window *parent,
1189 int x, 1189 int x,
1190 int y, 1190 int y,
1191 int width, 1191 int width,
1192 int height); 1192 int height) EINA_DEPRECATED;
1193 1193
1194EAPI Ecore_Evas *ecore_evas_software_wince_gapi_new(Ecore_WinCE_Window *parent, 1194EAPI Ecore_Evas *ecore_evas_software_wince_gapi_new(Ecore_WinCE_Window *parent,
1195 int x, 1195 int x,
1196 int y, 1196 int y,
1197 int width, 1197 int width,
1198 int height); 1198 int height) EINA_DEPRECATED;
1199 1199
1200EAPI Ecore_Evas *ecore_evas_software_wince_ddraw_new(Ecore_WinCE_Window *parent, 1200EAPI Ecore_Evas *ecore_evas_software_wince_ddraw_new(Ecore_WinCE_Window *parent,
1201 int x, 1201 int x,
1202 int y, 1202 int y,
1203 int width, 1203 int width,
1204 int height); 1204 int height) EINA_DEPRECATED;
1205 1205
1206EAPI Ecore_Evas *ecore_evas_software_wince_gdi_new(Ecore_WinCE_Window *parent, 1206EAPI Ecore_Evas *ecore_evas_software_wince_gdi_new(Ecore_WinCE_Window *parent,
1207 int x, 1207 int x,
1208 int y, 1208 int y,
1209 int width, 1209 int width,
1210 int height); 1210 int height) EINA_DEPRECATED;
1211 1211
1212EAPI Ecore_WinCE_Window *ecore_evas_software_wince_window_get(const Ecore_Evas *ee); 1212EAPI Ecore_WinCE_Window *ecore_evas_software_wince_window_get(const Ecore_Evas *ee) EINA_DEPRECATED;
1213 1213
1214EAPI Ecore_Evas *ecore_evas_cocoa_new(Ecore_Cocoa_Window *parent, 1214EAPI Ecore_Evas *ecore_evas_cocoa_new(Ecore_Cocoa_Window *parent,
1215 int x, 1215 int x,
diff --git a/src/lib/ecore_evas/ecore_evas_wince.c b/src/lib/ecore_evas/ecore_evas_deprecated.c
index 142a85059c..6e0621fa11 100644
--- a/src/lib/ecore_evas/ecore_evas_wince.c
+++ b/src/lib/ecore_evas/ecore_evas_deprecated.c
@@ -10,6 +10,11 @@
10#include "ecore_evas_private.h" 10#include "ecore_evas_private.h"
11#include "Ecore_Evas.h" 11#include "Ecore_Evas.h"
12 12
13
14/* Ecore_Evas WinCE support was removed. However we keep the functions
15 * to not break ABI.
16 */
17
13EAPI Ecore_Evas * 18EAPI Ecore_Evas *
14ecore_evas_software_wince_new(Ecore_WinCE_Window *parent EINA_UNUSED, 19ecore_evas_software_wince_new(Ecore_WinCE_Window *parent EINA_UNUSED,
15 int x EINA_UNUSED, 20 int x EINA_UNUSED,
@@ -65,3 +70,19 @@ ecore_evas_software_wince_window_get(const Ecore_Evas *ee EINA_UNUSED)
65{ 70{
66 return NULL; 71 return NULL;
67} 72}
73
74/* Ecore_Evas DirectFB support was removed. However we keep the functions
75 * to not break ABI.
76 */
77
78EAPI Ecore_Evas *
79ecore_evas_directfb_new(const char *disp_name EINA_UNUSED, int windowed EINA_UNUSED, int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED)
80{
81 return NULL;
82}
83
84EAPI Ecore_DirectFB_Window *
85ecore_evas_directfb_window_get(const Ecore_Evas *ee EINA_UNUSED)
86{
87 return NULL;
88}
diff --git a/src/lib/ecore_evas/ecore_evas_directfb.c b/src/lib/ecore_evas/ecore_evas_directfb.c
deleted file mode 100644
index 9557d12722..0000000000
--- a/src/lib/ecore_evas/ecore_evas_directfb.c
+++ /dev/null
@@ -1,27 +0,0 @@
1#ifdef HAVE_CONFIG_H
2# include <config.h>
3#endif
4
5#include <string.h>
6
7#include <Ecore.h>
8#include "ecore_private.h"
9
10#include "ecore_evas_private.h"
11#include "Ecore_Evas.h"
12
13/* Ecore_Evas DirectFB support was removed. However we keep the functions
14 * to not break ABI.
15 */
16
17EAPI Ecore_Evas *
18ecore_evas_directfb_new(const char *disp_name EINA_UNUSED, int windowed EINA_UNUSED, int x EINA_UNUSED, int y EINA_UNUSED, int w EINA_UNUSED, int h EINA_UNUSED)
19{
20 return NULL;
21}
22
23EAPI Ecore_DirectFB_Window *
24ecore_evas_directfb_window_get(const Ecore_Evas *ee EINA_UNUSED)
25{
26 return NULL;
27}