summaryrefslogtreecommitdiff
path: root/src/lib/eo
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-02-21 15:33:55 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-02-21 19:13:39 +0100
commit078ccd1ca9d53421f0a378e77957abd0d11f3704 (patch)
tree21f1050a8806f17c600d4d3f663801c632b889ff /src/lib/eo
parente4b98a243b0b5bc626c6601d4144ccd51d6000be (diff)
efl_loop / efl_app: make efl_app / efl_loop abstract
this is done inorder to ensure that noone ever thinks of creating theire own app/loop object. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7982
Diffstat (limited to 'src/lib/eo')
-rw-r--r--src/lib/eo/eo_internal.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/eo/eo_internal.h b/src/lib/eo/eo_internal.h
index f57d2698d5..0eecdf2eb2 100644
--- a/src/lib/eo/eo_internal.h
+++ b/src/lib/eo/eo_internal.h
@@ -35,6 +35,15 @@ EAPI void ___efl_auto_unref_set(Eo *obj_id, Eina_Bool enable);
35EAPI int ___efl_ref2_count(const Eo *obj_id); 35EAPI int ___efl_ref2_count(const Eo *obj_id);
36EAPI void ___efl_ref2_reset(const Eo *obj_id); 36EAPI void ___efl_ref2_reset(const Eo *obj_id);
37 37
38#define EFL_CLASS_SIMPLE_CLASS(FUNC, NAME, ABSTRACT_CLASS) \
39static const Efl_Class_Description FUNC ##_realized_class_desc = { \
40 EO_VERSION, \
41 #NAME"_Realized", \
42 EFL_CLASS_TYPE_REGULAR, \
43 0, NULL, NULL, NULL \
44}; \
45EFL_DEFINE_CLASS(FUNC ##_realized_class_get, &FUNC ##_realized_class_desc, ABSTRACT_CLASS, NULL)
46
38#undef EAPI 47#undef EAPI
39#define EAPI 48#define EAPI
40 49