forked from enlightenment/efl
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
This commit is contained in:
parent
a332d1c869
commit
1227340c12
|
@ -13,11 +13,10 @@ lib/ecore_evas/ecore_evas_util.c \
|
|||
lib/ecore_evas/ecore_evas_x.c \
|
||||
lib/ecore_evas/ecore_evas_fb.c \
|
||||
lib/ecore_evas/ecore_evas_buffer.c \
|
||||
lib/ecore_evas/ecore_evas_directfb.c \
|
||||
lib/ecore_evas/ecore_evas_deprecated.c \
|
||||
lib/ecore_evas/ecore_evas_win32.c \
|
||||
lib/ecore_evas/ecore_evas_sdl.c \
|
||||
lib/ecore_evas/ecore_evas_cocoa.c \
|
||||
lib/ecore_evas/ecore_evas_wince.c \
|
||||
lib/ecore_evas/ecore_evas_ews.c \
|
||||
lib/ecore_evas/ecore_evas_psl1ght.c \
|
||||
lib/ecore_evas/ecore_evas_wayland_shm.c \
|
||||
|
|
|
@ -1183,33 +1183,33 @@ EAPI Ecore_Evas *ecore_evas_software_wince_new(Ecore_WinCE_Window *parent,
|
|||
int x,
|
||||
int y,
|
||||
int width,
|
||||
int height);
|
||||
int height) EINA_DEPRECATED;
|
||||
|
||||
EAPI Ecore_Evas *ecore_evas_software_wince_fb_new(Ecore_WinCE_Window *parent,
|
||||
int x,
|
||||
int y,
|
||||
int width,
|
||||
int height);
|
||||
int height) EINA_DEPRECATED;
|
||||
|
||||
EAPI Ecore_Evas *ecore_evas_software_wince_gapi_new(Ecore_WinCE_Window *parent,
|
||||
int x,
|
||||
int y,
|
||||
int width,
|
||||
int height);
|
||||
int height) EINA_DEPRECATED;
|
||||
|
||||
EAPI Ecore_Evas *ecore_evas_software_wince_ddraw_new(Ecore_WinCE_Window *parent,
|
||||
int x,
|
||||
int y,
|
||||
int width,
|
||||
int height);
|
||||
int height) EINA_DEPRECATED;
|
||||
|
||||
EAPI Ecore_Evas *ecore_evas_software_wince_gdi_new(Ecore_WinCE_Window *parent,
|
||||
int x,
|
||||
int y,
|
||||
int width,
|
||||
int height);
|
||||
int height) EINA_DEPRECATED;
|
||||
|
||||
EAPI Ecore_WinCE_Window *ecore_evas_software_wince_window_get(const Ecore_Evas *ee);
|
||||
EAPI Ecore_WinCE_Window *ecore_evas_software_wince_window_get(const Ecore_Evas *ee) EINA_DEPRECATED;
|
||||
|
||||
EAPI Ecore_Evas *ecore_evas_cocoa_new(Ecore_Cocoa_Window *parent,
|
||||
int x,
|
||||
|
|
|
@ -10,6 +10,11 @@
|
|||
#include "ecore_evas_private.h"
|
||||
#include "Ecore_Evas.h"
|
||||
|
||||
|
||||
/* Ecore_Evas WinCE support was removed. However we keep the functions
|
||||
* to not break ABI.
|
||||
*/
|
||||
|
||||
EAPI Ecore_Evas *
|
||||
ecore_evas_software_wince_new(Ecore_WinCE_Window *parent EINA_UNUSED,
|
||||
int x EINA_UNUSED,
|
||||
|
@ -65,3 +70,19 @@ ecore_evas_software_wince_window_get(const Ecore_Evas *ee EINA_UNUSED)
|
|||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Ecore_Evas DirectFB support was removed. However we keep the functions
|
||||
* to not break ABI.
|
||||
*/
|
||||
|
||||
EAPI Ecore_Evas *
|
||||
ecore_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)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
EAPI Ecore_DirectFB_Window *
|
||||
ecore_evas_directfb_window_get(const Ecore_Evas *ee EINA_UNUSED)
|
||||
{
|
||||
return NULL;
|
||||
}
|
|
@ -1,27 +0,0 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <Ecore.h>
|
||||
#include "ecore_private.h"
|
||||
|
||||
#include "ecore_evas_private.h"
|
||||
#include "Ecore_Evas.h"
|
||||
|
||||
/* Ecore_Evas DirectFB support was removed. However we keep the functions
|
||||
* to not break ABI.
|
||||
*/
|
||||
|
||||
EAPI Ecore_Evas *
|
||||
ecore_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)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
EAPI Ecore_DirectFB_Window *
|
||||
ecore_evas_directfb_window_get(const Ecore_Evas *ee EINA_UNUSED)
|
||||
{
|
||||
return NULL;
|
||||
}
|
Loading…
Reference in New Issue