aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/evas/src/lib/canvas/evas_common_interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/evas/src/lib/canvas/evas_common_interface.c')
-rw-r--r--legacy/evas/src/lib/canvas/evas_common_interface.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_common_interface.c b/legacy/evas/src/lib/canvas/evas_common_interface.c
new file mode 100644
index 0000000000..8f16d5ae73
--- /dev/null
+++ b/legacy/evas/src/lib/canvas/evas_common_interface.c
@@ -0,0 +1,24 @@
+#include "evas_common.h"
+#include "evas_private.h"
+
+#include "Eo.h"
+
+EAPI Eo_Op EVAS_COMMON_BASE_ID = EO_NOOP;
+
+static const Eo_Op_Description op_desc[] = {
+ EO_OP_DESCRIPTION(EVAS_COMMON_SUB_ID_EVAS_GET, "Return the evas parent attached to the object"),
+ EO_OP_DESCRIPTION_SENTINEL
+};
+
+static const Eo_Class_Description class_desc = {
+ EO_VERSION,
+ "Evas_Common_Interface",
+ EO_CLASS_TYPE_INTERFACE,
+ EO_CLASS_DESCRIPTION_OPS(&EVAS_COMMON_BASE_ID, op_desc, EVAS_COMMON_SUB_ID_LAST),
+ NULL,
+ 0,
+ NULL,
+ NULL,
+};
+
+EO_DEFINE_CLASS(evas_common_class_get, &class_desc, NULL, NULL)