From 1d1effea906dc4f784625af7dfba2518ef1e90b7 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 7 Mar 2019 18:40:20 -0500 Subject: [PATCH] evas: add a bunch of interfaces type includes and typedefs this sucks but we've been using these types in legacy headers for years and it's not something we can rush in a fix for Reviewed-by: Cedric BAIL Differential Revision: https://phab.enlightenment.org/D8248 --- src/lib/evas/Evas.h | 6 ++++++ src/lib/evas/Evas_Common.h | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/src/lib/evas/Evas.h b/src/lib/evas/Evas.h index 67cdfa262e..525ca7d785 100644 --- a/src/lib/evas/Evas.h +++ b/src/lib/evas/Evas.h @@ -206,7 +206,13 @@ extern "C" { #endif +#include +#include +#include +#include #include + + #ifndef EFL_NOLEGACY_API_SUPPORT #include #endif diff --git a/src/lib/evas/Evas_Common.h b/src/lib/evas/Evas_Common.h index 2df4faeed8..bb710a9825 100644 --- a/src/lib/evas/Evas_Common.h +++ b/src/lib/evas/Evas_Common.h @@ -3483,6 +3483,40 @@ typedef Eo Efl_Animation_Group_Sequential; #define EFL_ANIMATION_REPEAT_INFINITE -1 #define EFL_ANIMATION_PLAYER_REPEAT_INFINITE -1 +#ifndef _EFL_INPUT_DEVICE_EO_H_ +#define _EFL_INPUT_DEVICE_EO_H_ +typedef Eo Efl_Input_Device; +typedef unsigned int Efl_Input_Device_Type; + +#endif + +#ifndef _EFL_H +#define _EFL_H +typedef Efl_Gfx_Path_Command_Type Efl_Gfx_Path_Command; +typedef struct tm Efl_Time; +#endif + +#ifndef _EFL_TEXT_CURSOR_EO_H_ +#define _EFL_TEXT_CURSOR_EO_H_ + +#ifndef _EFL_TEXT_CURSOR_EO_CLASS_TYPE +#define _EFL_TEXT_CURSOR_EO_CLASS_TYPE +#endif +typedef Eo Efl_Text_Cursor; +typedef Eo Efl_Text_Cursor_Cursor; + +#endif +#ifndef _EFL_GFX_ENTITY_EO_H_ +#define _EFL_GFX_ENTITY_EO_H_ + +#ifndef _EFL_GFX_ENTITY_EO_CLASS_TYPE +#define _EFL_GFX_ENTITY_EO_CLASS_TYPE + +typedef Eo Efl_Gfx_Entity; + +#endif +#endif + /** * @} */