evas: add a bunch of interfaces type includes and typedefs
authorMike Blumenkrantz <zmike@samsung.com>
Thu, 7 Mar 2019 23:40:20 +0000 (18:40 -0500)
committerJunsuChoi <jsuya.choi@samsung.com>
Fri, 15 Mar 2019 04:23:18 +0000 (13:23 +0900)
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 <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8248

src/lib/evas/Evas.h
src/lib/evas/Evas_Common.h

index 67cdfa2..525ca7d 100644 (file)
 extern "C" {
 #endif
 
+#include <interfaces/efl_gfx_types.eot.h>
+#include <interfaces/efl_gfx_path.eo.h>
+#include <interfaces/efl_input_types.eot.h>
+#include <interfaces/efl_text_types.eot.h>
 #include <Evas_Common.h>
+
+
 #ifndef EFL_NOLEGACY_API_SUPPORT
 #include <Evas_Legacy.h>
 #endif
index 8de865a..b64ce93 100644 (file)
@@ -3498,6 +3498,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
+
 /**
  * @}
  */