summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_inwin_eo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_inwin_eo.c')
-rw-r--r--src/lib/elementary/elm_inwin_eo.c58
1 files changed, 58 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_inwin_eo.c b/src/lib/elementary/elm_inwin_eo.c
new file mode 100644
index 0000000..0cd70e6
--- /dev/null
+++ b/src/lib/elementary/elm_inwin_eo.c
@@ -0,0 +1,58 @@
1
2void _elm_inwin_activate(Eo *obj, Elm_Inwin_Data *pd);
3
4EOAPI EFL_VOID_FUNC_BODY(elm_obj_win_inwin_activate);
5
6Efl_Object *_elm_inwin_efl_object_constructor(Eo *obj, Elm_Inwin_Data *pd);
7
8
9void _elm_inwin_efl_ui_widget_widget_parent_set(Eo *obj, Elm_Inwin_Data *pd, Efl_Ui_Widget *parent);
10
11
12Eina_Bool _elm_inwin_efl_content_content_set(Eo *obj, Elm_Inwin_Data *pd, Efl_Gfx_Entity *content);
13
14
15Efl_Gfx_Entity *_elm_inwin_efl_content_content_get(const Eo *obj, Elm_Inwin_Data *pd);
16
17
18Efl_Gfx_Entity *_elm_inwin_efl_content_content_unset(Eo *obj, Elm_Inwin_Data *pd);
19
20
21static Eina_Bool
22_elm_inwin_class_initializer(Efl_Class *klass)
23{
24 const Efl_Object_Ops *opsp = NULL;
25
26 const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
27
28#ifndef ELM_INWIN_EXTRA_OPS
29#define ELM_INWIN_EXTRA_OPS
30#endif
31
32 EFL_OPS_DEFINE(ops,
33 EFL_OBJECT_OP_FUNC(elm_obj_win_inwin_activate, _elm_inwin_activate),
34 EFL_OBJECT_OP_FUNC(efl_constructor, _elm_inwin_efl_object_constructor),
35 EFL_OBJECT_OP_FUNC(efl_ui_widget_parent_set, _elm_inwin_efl_ui_widget_widget_parent_set),
36 EFL_OBJECT_OP_FUNC(efl_content_set, _elm_inwin_efl_content_content_set),
37 EFL_OBJECT_OP_FUNC(efl_content_get, _elm_inwin_efl_content_content_get),
38 EFL_OBJECT_OP_FUNC(efl_content_unset, _elm_inwin_efl_content_content_unset),
39 ELM_INWIN_EXTRA_OPS
40 );
41 opsp = &ops;
42
43 return efl_class_functions_set(klass, opsp, ropsp);
44}
45
46static const Efl_Class_Description _elm_inwin_class_desc = {
47 EO_VERSION,
48 "Elm.Inwin",
49 EFL_CLASS_TYPE_REGULAR,
50 sizeof(Elm_Inwin_Data),
51 _elm_inwin_class_initializer,
52 _elm_inwin_class_constructor,
53 NULL
54};
55
56EFL_DEFINE_CLASS(elm_inwin_class_get, &_elm_inwin_class_desc, EFL_UI_LAYOUT_BASE_CLASS, EFL_UI_FOCUS_LAYER_MIXIN, EFL_CONTENT_INTERFACE, EFL_UI_LEGACY_INTERFACE, NULL);
57
58#include "elm_inwin_eo.legacy.c"