summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_fileselector_entry_eo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_fileselector_entry_eo.c')
-rw-r--r--src/lib/elementary/elm_fileselector_entry_eo.c91
1 files changed, 91 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_fileselector_entry_eo.c b/src/lib/elementary/elm_fileselector_entry_eo.c
new file mode 100644
index 0000000..58c0092
--- /dev/null
+++ b/src/lib/elementary/elm_fileselector_entry_eo.c
@@ -0,0 +1,91 @@
1EWAPI const Efl_Event_Description _ELM_FILESELECTOR_ENTRY_EVENT_CHANGED =
2 EFL_EVENT_DESCRIPTION("changed");
3EWAPI const Efl_Event_Description _ELM_FILESELECTOR_ENTRY_EVENT_ACTIVATED =
4 EFL_EVENT_DESCRIPTION("activated");
5EWAPI const Efl_Event_Description _ELM_FILESELECTOR_ENTRY_EVENT_FILE_CHOSEN =
6 EFL_EVENT_DESCRIPTION("file,chosen");
7EWAPI const Efl_Event_Description _ELM_FILESELECTOR_ENTRY_EVENT_PRESS =
8 EFL_EVENT_DESCRIPTION("press");
9
10Efl_Object *_elm_fileselector_entry_efl_object_constructor(Eo *obj, Elm_Fileselector_Entry_Data *pd);
11
12
13Eina_Error _elm_fileselector_entry_efl_ui_widget_theme_apply(Eo *obj, Elm_Fileselector_Entry_Data *pd);
14
15
16Eina_Bool _elm_fileselector_entry_elm_interface_fileselector_selected_model_set(Eo *obj, Elm_Fileselector_Entry_Data *pd, Efl_Io_Model *model);
17
18
19Efl_Io_Model *_elm_fileselector_entry_elm_interface_fileselector_selected_model_get(const Eo *obj, Elm_Fileselector_Entry_Data *pd);
20
21
22void _elm_fileselector_entry_elm_interface_fileselector_folder_only_set(Eo *obj, Elm_Fileselector_Entry_Data *pd, Eina_Bool only);
23
24
25Eina_Bool _elm_fileselector_entry_elm_interface_fileselector_folder_only_get(const Eo *obj, Elm_Fileselector_Entry_Data *pd);
26
27
28void _elm_fileselector_entry_elm_interface_fileselector_is_save_set(Eo *obj, Elm_Fileselector_Entry_Data *pd, Eina_Bool is_save);
29
30
31Eina_Bool _elm_fileselector_entry_elm_interface_fileselector_is_save_get(const Eo *obj, Elm_Fileselector_Entry_Data *pd);
32
33
34void _elm_fileselector_entry_efl_ui_view_model_set(Eo *obj, Elm_Fileselector_Entry_Data *pd, Efl_Model *model);
35
36
37Efl_Model *_elm_fileselector_entry_efl_ui_view_model_get(const Eo *obj, Elm_Fileselector_Entry_Data *pd);
38
39
40void _elm_fileselector_entry_elm_interface_fileselector_expandable_set(Eo *obj, Elm_Fileselector_Entry_Data *pd, Eina_Bool expand);
41
42
43Eina_Bool _elm_fileselector_entry_elm_interface_fileselector_expandable_get(const Eo *obj, Elm_Fileselector_Entry_Data *pd);
44
45
46Efl_Object *_elm_fileselector_entry_efl_part_part_get(const Eo *obj, Elm_Fileselector_Entry_Data *pd, const char *name);
47
48
49static Eina_Bool
50_elm_fileselector_entry_class_initializer(Efl_Class *klass)
51{
52 const Efl_Object_Ops *opsp = NULL;
53
54 const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
55
56#ifndef ELM_FILESELECTOR_ENTRY_EXTRA_OPS
57#define ELM_FILESELECTOR_ENTRY_EXTRA_OPS
58#endif
59
60 EFL_OPS_DEFINE(ops,
61 EFL_OBJECT_OP_FUNC(efl_constructor, _elm_fileselector_entry_efl_object_constructor),
62 EFL_OBJECT_OP_FUNC(efl_ui_widget_theme_apply, _elm_fileselector_entry_efl_ui_widget_theme_apply),
63 EFL_OBJECT_OP_FUNC(elm_interface_fileselector_selected_model_set, _elm_fileselector_entry_elm_interface_fileselector_selected_model_set),
64 EFL_OBJECT_OP_FUNC(elm_interface_fileselector_selected_model_get, _elm_fileselector_entry_elm_interface_fileselector_selected_model_get),
65 EFL_OBJECT_OP_FUNC(elm_interface_fileselector_folder_only_set, _elm_fileselector_entry_elm_interface_fileselector_folder_only_set),
66 EFL_OBJECT_OP_FUNC(elm_interface_fileselector_folder_only_get, _elm_fileselector_entry_elm_interface_fileselector_folder_only_get),
67 EFL_OBJECT_OP_FUNC(elm_interface_fileselector_is_save_set, _elm_fileselector_entry_elm_interface_fileselector_is_save_set),
68 EFL_OBJECT_OP_FUNC(elm_interface_fileselector_is_save_get, _elm_fileselector_entry_elm_interface_fileselector_is_save_get),
69 EFL_OBJECT_OP_FUNC(efl_ui_view_model_set, _elm_fileselector_entry_efl_ui_view_model_set),
70 EFL_OBJECT_OP_FUNC(efl_ui_view_model_get, _elm_fileselector_entry_efl_ui_view_model_get),
71 EFL_OBJECT_OP_FUNC(elm_interface_fileselector_expandable_set, _elm_fileselector_entry_elm_interface_fileselector_expandable_set),
72 EFL_OBJECT_OP_FUNC(elm_interface_fileselector_expandable_get, _elm_fileselector_entry_elm_interface_fileselector_expandable_get),
73 EFL_OBJECT_OP_FUNC(efl_part_get, _elm_fileselector_entry_efl_part_part_get),
74 ELM_FILESELECTOR_ENTRY_EXTRA_OPS
75 );
76 opsp = &ops;
77
78 return efl_class_functions_set(klass, opsp, ropsp);
79}
80
81static const Efl_Class_Description _elm_fileselector_entry_class_desc = {
82 EO_VERSION,
83 "Elm.Fileselector_Entry",
84 EFL_CLASS_TYPE_REGULAR,
85 sizeof(Elm_Fileselector_Entry_Data),
86 _elm_fileselector_entry_class_initializer,
87 _elm_fileselector_entry_class_constructor,
88 NULL
89};
90
91EFL_DEFINE_CLASS(elm_fileselector_entry_class_get, &_elm_fileselector_entry_class_desc, EFL_UI_LAYOUT_BASE_CLASS, ELM_INTERFACE_FILESELECTOR_INTERFACE, EFL_UI_CLICKABLE_INTERFACE, EFL_UI_SELECTABLE_INTERFACE, EFL_UI_LEGACY_INTERFACE, NULL);