summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-03-07 18:40:20 -0500
committerCedric BAIL <cedric.bail@free.fr>2019-03-08 12:06:28 -0800
commit1d1effea906dc4f784625af7dfba2518ef1e90b7 (patch)
treee6b0f9dc8584e796f6fcc018e40816933e2a1561
parent0616c31fda2bccd1b413443a5daf02ccb11c578b (diff)
downloadefl-1d1effea906dc4f784625af7dfba2518ef1e90b7.tar.gz
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 <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8248
-rw-r--r--src/lib/evas/Evas.h6
-rw-r--r--src/lib/evas/Evas_Common.h34
2 files changed, 40 insertions, 0 deletions
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 <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
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
+
/**
* @}
*/