summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyuan Choi <ryuan.choi@gmail.com>2014-01-21 22:50:35 +0900
committerRyuan Choi <ryuan.choi@gmail.com>2014-01-21 22:50:35 +0900
commit0b4b942bfc2ebb9c4ac7349232ff6fd428d21e1a (patch)
treef0a56014b6c91a88c3c1521b069378949ce67f51
parent5eee2aa4162193c600764fcd81248b6fde305cb2 (diff)
Introduce fileselector interface and applied to elm_fileselector.
Summary: fileselector_button and fileselector_entry should have almost same interfaces with fileselector. Previously , we exposed them individually such as elm_fileselector_is_save_set(). Instead of adding the same APIs three times, we can reuse one fileselector's API using Eo interface. This patch introduced fileselector interface and applied it to elm_fileselector. Reviewers: seoz, raster Reviewed By: raster Differential Revision: https://phab.enlightenment.org/D475
-rw-r--r--src/bin/test_fileselector_button.c8
-rw-r--r--src/bin/test_fileselector_entry.c10
-rw-r--r--src/edje_externals/elm_fileselector_button.c24
-rw-r--r--src/edje_externals/elm_fileselector_entry.c24
-rw-r--r--src/lib/Makefile.am2
-rw-r--r--src/lib/elc_fileselector.c172
-rw-r--r--src/lib/elc_fileselector_button.c60
-rw-r--r--src/lib/elc_fileselector_button_eo.h125
-rw-r--r--src/lib/elc_fileselector_button_legacy.h16
-rw-r--r--src/lib/elc_fileselector_entry.c97
-rw-r--r--src/lib/elc_fileselector_entry_eo.h158
-rw-r--r--src/lib/elc_fileselector_entry_legacy.h20
-rw-r--r--src/lib/elc_fileselector_eo.h327
-rw-r--r--src/lib/elm_interface_fileselector.c47
-rw-r--r--src/lib/elm_interface_fileselector.h376
15 files changed, 623 insertions, 843 deletions
diff --git a/src/bin/test_fileselector_button.c b/src/bin/test_fileselector_button.c
index cba4462a6..f87db9d0e 100644
--- a/src/bin/test_fileselector_button.c
+++ b/src/bin/test_fileselector_button.c
@@ -119,7 +119,7 @@ _current_sel_toggle(void *data,
119{ 119{
120 Evas_Object *fs_bt = data; 120 Evas_Object *fs_bt = data;
121 Eina_Bool value = elm_check_state_get(obj); 121 Eina_Bool value = elm_check_state_get(obj);
122 elm_fileselector_button_is_save_set(fs_bt, value); 122 elm_fileselector_is_save_set(fs_bt, value);
123 printf("Current selection editable entry set to: %s\n", 123 printf("Current selection editable entry set to: %s\n",
124 value ? "true" : "false"); 124 value ? "true" : "false");
125} 125}
@@ -131,7 +131,7 @@ _folder_only_toggle(void *data,
131{ 131{
132 Evas_Object *fs_bt = data; 132 Evas_Object *fs_bt = data;
133 Eina_Bool value = elm_check_state_get(obj); 133 Eina_Bool value = elm_check_state_get(obj);
134 elm_fileselector_button_folder_only_set(fs_bt, value); 134 elm_fileselector_folder_only_set(fs_bt, value);
135 printf("Folder only flag set to: %s\n", value ? "true" : "false"); 135 printf("Folder only flag set to: %s\n", value ? "true" : "false");
136} 136}
137 137
@@ -142,7 +142,7 @@ _expandable_toggle(void *data,
142{ 142{
143 Evas_Object *fs_bt = data; 143 Evas_Object *fs_bt = data;
144 Eina_Bool value = elm_check_state_get(obj); 144 Eina_Bool value = elm_check_state_get(obj);
145 elm_fileselector_button_expandable_set(fs_bt, value); 145 elm_fileselector_expandable_set(fs_bt, value);
146 printf("Expandable flag set to: %s\n", value ? "true" : "false"); 146 printf("Expandable flag set to: %s\n", value ? "true" : "false");
147} 147}
148 148
@@ -190,7 +190,7 @@ test_fileselector_button(void *data EINA_UNUSED,
190 fs_bt = elm_fileselector_button_add(win); 190 fs_bt = elm_fileselector_button_add(win);
191 elm_object_text_set(fs_bt, "Select a file"); 191 elm_object_text_set(fs_bt, "Select a file");
192 elm_object_part_content_set(fs_bt, "icon", ic); 192 elm_object_part_content_set(fs_bt, "icon", ic);
193 elm_fileselector_button_path_set(fs_bt, "/tmp/test_fs_bt"); 193 elm_fileselector_path_set(fs_bt, "/tmp/test_fs_bt");
194 194
195 elm_box_pack_end(vbox, fs_bt); 195 elm_box_pack_end(vbox, fs_bt);
196 evas_object_show(fs_bt); 196 evas_object_show(fs_bt);
diff --git a/src/bin/test_fileselector_entry.c b/src/bin/test_fileselector_entry.c
index 60aa144de..8e41ac196 100644
--- a/src/bin/test_fileselector_entry.c
+++ b/src/bin/test_fileselector_entry.c
@@ -116,8 +116,8 @@ _folder_only_toggle(void *data,
116{ 116{
117 Evas_Object *fs_en = data; 117 Evas_Object *fs_en = data;
118 Evas_Object *ic = elm_object_part_content_get(fs_en, "button icon"); 118 Evas_Object *ic = elm_object_part_content_get(fs_en, "button icon");
119 Eina_Bool value = elm_fileselector_entry_folder_only_get(fs_en); 119 Eina_Bool value = elm_fileselector_folder_only_get(fs_en);
120 elm_fileselector_entry_folder_only_set(fs_en, !value); 120 elm_fileselector_folder_only_set(fs_en, !value);
121 printf("Folder only flag set to: %s\n", value ? "false" : "true"); 121 printf("Folder only flag set to: %s\n", value ? "false" : "true");
122 if (!value) 122 if (!value)
123 { 123 {
@@ -137,8 +137,8 @@ _expandable_toggle(void *data,
137 void *event_info EINA_UNUSED) 137 void *event_info EINA_UNUSED)
138{ 138{
139 Evas_Object *fs_en = data; 139 Evas_Object *fs_en = data;
140 Eina_Bool value = elm_fileselector_entry_expandable_get(fs_en); 140 Eina_Bool value = elm_fileselector_expandable_get(fs_en);
141 elm_fileselector_entry_expandable_set(fs_en, !value); 141 elm_fileselector_expandable_set(fs_en, !value);
142 printf("Expandable flag set to: %s\n", value ? "false" : "true"); 142 printf("Expandable flag set to: %s\n", value ? "false" : "true");
143} 143}
144 144
@@ -197,7 +197,7 @@ test_fileselector_entry(void *data EINA_UNUSED,
197 elm_icon_standard_set(ic, "file"); 197 elm_icon_standard_set(ic, "file");
198 evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1); 198 evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
199 fs_en = elm_fileselector_entry_add(win); 199 fs_en = elm_fileselector_entry_add(win);
200 elm_fileselector_entry_path_set(fs_en, "/tmp/test_fs_bt"); 200 elm_fileselector_path_set(fs_en, "/tmp/test_fs_bt");
201 elm_object_text_set(fs_en, "Select a file"); 201 elm_object_text_set(fs_en, "Select a file");
202 elm_object_part_content_set(fs_en, "button icon", ic); 202 elm_object_part_content_set(fs_en, "button icon", ic);
203 evas_object_size_hint_weight_set(fs_en, EVAS_HINT_EXPAND, 0.0); 203 evas_object_size_hint_weight_set(fs_en, EVAS_HINT_EXPAND, 0.0);
diff --git a/src/edje_externals/elm_fileselector_button.c b/src/edje_externals/elm_fileselector_button.c
index 6b74fba52..5b485f63e 100644
--- a/src/edje_externals/elm_fileselector_button.c
+++ b/src/edje_externals/elm_fileselector_button.c
@@ -31,13 +31,13 @@ external_fileselector_button_state_set(void *data EINA_UNUSED, Evas_Object *obj,
31 if (p->label) 31 if (p->label)
32 elm_object_text_set(obj, p->label); 32 elm_object_text_set(obj, p->label);
33 if (p->icon) elm_object_part_content_set(obj, "icon", p->icon); 33 if (p->icon) elm_object_part_content_set(obj, "icon", p->icon);
34 if (p->fs.path) elm_fileselector_button_path_set(obj, p->fs.path); 34 if (p->fs.path) elm_fileselector_path_set(obj, p->fs.path);
35 if (p->fs.is_save_set) 35 if (p->fs.is_save_set)
36 elm_fileselector_button_is_save_set(obj, p->fs.is_save); 36 elm_fileselector_is_save_set(obj, p->fs.is_save);
37 if (p->fs.folder_only_set) 37 if (p->fs.folder_only_set)
38 elm_fileselector_button_folder_only_set(obj, p->fs.folder_only); 38 elm_fileselector_folder_only_set(obj, p->fs.folder_only);
39 if (p->fs.expandable_set) 39 if (p->fs.expandable_set)
40 elm_fileselector_button_expandable_set(obj, p->fs.expandable); 40 elm_fileselector_expandable_set(obj, p->fs.expandable);
41 if (p->fs.inwin_mode_set) 41 if (p->fs.inwin_mode_set)
42 elm_fileselector_button_inwin_mode_set(obj, p->fs.inwin_mode); 42 elm_fileselector_button_inwin_mode_set(obj, p->fs.inwin_mode);
43} 43}
@@ -67,7 +67,7 @@ external_fileselector_button_param_set(void *data EINA_UNUSED, Evas_Object *obj,
67 { 67 {
68 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING) 68 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
69 { 69 {
70 elm_fileselector_button_path_set(obj, param->s); 70 elm_fileselector_path_set(obj, param->s);
71 return EINA_TRUE; 71 return EINA_TRUE;
72 } 72 }
73 } 73 }
@@ -75,7 +75,7 @@ external_fileselector_button_param_set(void *data EINA_UNUSED, Evas_Object *obj,
75 { 75 {
76 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 76 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
77 { 77 {
78 elm_fileselector_button_is_save_set(obj, param->i); 78 elm_fileselector_is_save_set(obj, param->i);
79 return EINA_TRUE; 79 return EINA_TRUE;
80 } 80 }
81 } 81 }
@@ -83,7 +83,7 @@ external_fileselector_button_param_set(void *data EINA_UNUSED, Evas_Object *obj,
83 { 83 {
84 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 84 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
85 { 85 {
86 elm_fileselector_button_folder_only_set(obj, param->i); 86 elm_fileselector_folder_only_set(obj, param->i);
87 return EINA_TRUE; 87 return EINA_TRUE;
88 } 88 }
89 } 89 }
@@ -91,7 +91,7 @@ external_fileselector_button_param_set(void *data EINA_UNUSED, Evas_Object *obj,
91 { 91 {
92 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 92 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
93 { 93 {
94 elm_fileselector_button_expandable_set(obj, param->i); 94 elm_fileselector_expandable_set(obj, param->i);
95 return EINA_TRUE; 95 return EINA_TRUE;
96 } 96 }
97 } 97 }
@@ -130,7 +130,7 @@ external_fileselector_button_param_get(void *data EINA_UNUSED, const Evas_Object
130 { 130 {
131 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING) 131 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
132 { 132 {
133 param->s = elm_fileselector_button_path_get(obj); 133 param->s = elm_fileselector_path_get(obj);
134 return EINA_TRUE; 134 return EINA_TRUE;
135 } 135 }
136 } 136 }
@@ -138,7 +138,7 @@ external_fileselector_button_param_get(void *data EINA_UNUSED, const Evas_Object
138 { 138 {
139 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 139 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
140 { 140 {
141 param->i = elm_fileselector_button_is_save_get(obj); 141 param->i = elm_fileselector_is_save_get(obj);
142 return EINA_TRUE; 142 return EINA_TRUE;
143 } 143 }
144 } 144 }
@@ -146,7 +146,7 @@ external_fileselector_button_param_get(void *data EINA_UNUSED, const Evas_Object
146 { 146 {
147 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 147 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
148 { 148 {
149 param->i = elm_fileselector_button_folder_only_get(obj); 149 param->i = elm_fileselector_folder_only_get(obj);
150 return EINA_TRUE; 150 return EINA_TRUE;
151 } 151 }
152 } 152 }
@@ -154,7 +154,7 @@ external_fileselector_button_param_get(void *data EINA_UNUSED, const Evas_Object
154 { 154 {
155 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 155 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
156 { 156 {
157 param->i = elm_fileselector_button_expandable_get(obj); 157 param->i = elm_fileselector_expandable_get(obj);
158 return EINA_TRUE; 158 return EINA_TRUE;
159 } 159 }
160 } 160 }
diff --git a/src/edje_externals/elm_fileselector_entry.c b/src/edje_externals/elm_fileselector_entry.c
index e3c9125ee..62263d314 100644
--- a/src/edje_externals/elm_fileselector_entry.c
+++ b/src/edje_externals/elm_fileselector_entry.c
@@ -31,13 +31,13 @@ external_fileselector_entry_state_set(void *data EINA_UNUSED, Evas_Object *obj,
31 if (p->label) 31 if (p->label)
32 elm_object_text_set(obj, p->label); 32 elm_object_text_set(obj, p->label);
33 if (p->icon) elm_object_part_content_set(obj, "button icon", p->icon); 33 if (p->icon) elm_object_part_content_set(obj, "button icon", p->icon);
34 if (p->fs.path) elm_fileselector_entry_selected_set(obj, p->fs.path); 34 if (p->fs.path) elm_fileselector_selected_set(obj, p->fs.path);
35 if (p->fs.is_save_set) 35 if (p->fs.is_save_set)
36 elm_fileselector_entry_is_save_set(obj, p->fs.is_save); 36 elm_fileselector_is_save_set(obj, p->fs.is_save);
37 if (p->fs.folder_only_set) 37 if (p->fs.folder_only_set)
38 elm_fileselector_entry_folder_only_set(obj, p->fs.folder_only); 38 elm_fileselector_folder_only_set(obj, p->fs.folder_only);
39 if (p->fs.expandable_set) 39 if (p->fs.expandable_set)
40 elm_fileselector_entry_expandable_set(obj, p->fs.expandable); 40 elm_fileselector_expandable_set(obj, p->fs.expandable);
41 if (p->fs.inwin_mode_set) 41 if (p->fs.inwin_mode_set)
42 elm_fileselector_entry_inwin_mode_set(obj, p->fs.inwin_mode); 42 elm_fileselector_entry_inwin_mode_set(obj, p->fs.inwin_mode);
43} 43}
@@ -67,7 +67,7 @@ external_fileselector_entry_param_set(void *data EINA_UNUSED, Evas_Object *obj,
67 { 67 {
68 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING) 68 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
69 { 69 {
70 elm_fileselector_entry_selected_set(obj, param->s); 70 elm_fileselector_selected_set(obj, param->s);
71 return EINA_TRUE; 71 return EINA_TRUE;
72 } 72 }
73 } 73 }
@@ -75,7 +75,7 @@ external_fileselector_entry_param_set(void *data EINA_UNUSED, Evas_Object *obj,
75 { 75 {
76 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 76 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
77 { 77 {
78 elm_fileselector_entry_is_save_set(obj, param->i); 78 elm_fileselector_is_save_set(obj, param->i);
79 return EINA_TRUE; 79 return EINA_TRUE;
80 } 80 }
81 } 81 }
@@ -83,7 +83,7 @@ external_fileselector_entry_param_set(void *data EINA_UNUSED, Evas_Object *obj,
83 { 83 {
84 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 84 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
85 { 85 {
86 elm_fileselector_entry_folder_only_set(obj, param->i); 86 elm_fileselector_folder_only_set(obj, param->i);
87 return EINA_TRUE; 87 return EINA_TRUE;
88 } 88 }
89 } 89 }
@@ -91,7 +91,7 @@ external_fileselector_entry_param_set(void *data EINA_UNUSED, Evas_Object *obj,
91 { 91 {
92 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 92 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
93 { 93 {
94 elm_fileselector_entry_expandable_set(obj, param->i); 94 elm_fileselector_expandable_set(obj, param->i);
95 return EINA_TRUE; 95 return EINA_TRUE;
96 } 96 }
97 } 97 }
@@ -130,7 +130,7 @@ external_fileselector_entry_param_get(void *data EINA_UNUSED, const Evas_Object
130 { 130 {
131 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING) 131 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
132 { 132 {
133 param->s = elm_fileselector_entry_selected_get(obj); 133 param->s = elm_fileselector_selected_get(obj);
134 return EINA_TRUE; 134 return EINA_TRUE;
135 } 135 }
136 } 136 }
@@ -138,7 +138,7 @@ external_fileselector_entry_param_get(void *data EINA_UNUSED, const Evas_Object
138 { 138 {
139 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 139 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
140 { 140 {
141 param->i = elm_fileselector_entry_is_save_get(obj); 141 param->i = elm_fileselector_is_save_get(obj);
142 return EINA_TRUE; 142 return EINA_TRUE;
143 } 143 }
144 } 144 }
@@ -146,7 +146,7 @@ external_fileselector_entry_param_get(void *data EINA_UNUSED, const Evas_Object
146 { 146 {
147 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 147 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
148 { 148 {
149 param->i = elm_fileselector_entry_folder_only_get(obj); 149 param->i = elm_fileselector_folder_only_get(obj);
150 return EINA_TRUE; 150 return EINA_TRUE;
151 } 151 }
152 } 152 }
@@ -154,7 +154,7 @@ external_fileselector_entry_param_get(void *data EINA_UNUSED, const Evas_Object
154 { 154 {
155 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 155 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
156 { 156 {
157 param->i = elm_fileselector_entry_expandable_get(obj); 157 param->i = elm_fileselector_expandable_get(obj);
158 return EINA_TRUE; 158 return EINA_TRUE;
159 } 159 }
160 } 160 }
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index a1347efc9..cee3dfb18 100644
--- a/src/lib/Makefile.am
+++ b/src/lib/Makefile.am
@@ -39,6 +39,7 @@ Elementary_Cursor.h
39includesdir = $(includedir)/elementary-@VMAJ@ 39includesdir = $(includedir)/elementary-@VMAJ@
40 40
41includesunstable_HEADERS = \ 41includesunstable_HEADERS = \
42elm_interface_fileselector.h \
42elm_interface_scrollable.h \ 43elm_interface_scrollable.h \
43elm_widget.h \ 44elm_widget.h \
44elm_widget_actionslider.h \ 45elm_widget_actionslider.h \
@@ -441,6 +442,7 @@ elm_hover.c \
441elm_icon.c \ 442elm_icon.c \
442elm_image.c \ 443elm_image.c \
443elm_index.c \ 444elm_index.c \
445elm_interface_fileselector.c \
444elm_interface_scrollable.c \ 446elm_interface_scrollable.c \
445elm_inwin.c \ 447elm_inwin.c \
446elm_label.c \ 448elm_label.c \
diff --git a/src/lib/elc_fileselector.c b/src/lib/elc_fileselector.c
index 8e37a822f..ab6f051f4 100644
--- a/src/lib/elc_fileselector.c
+++ b/src/lib/elc_fileselector.c
@@ -11,6 +11,7 @@
11 11
12#include <Elementary.h> 12#include <Elementary.h>
13#include "elm_priv.h" 13#include "elm_priv.h"
14#include "elm_interface_fileselector.h"
14#include "elm_widget_fileselector.h" 15#include "elm_widget_fileselector.h"
15 16
16EAPI Eo_Op ELM_OBJ_FILESELECTOR_BASE_ID = EO_NOOP; 17EAPI Eo_Op ELM_OBJ_FILESELECTOR_BASE_ID = EO_NOOP;
@@ -1471,8 +1472,8 @@ EAPI void
1471elm_fileselector_is_save_set(Evas_Object *obj, 1472elm_fileselector_is_save_set(Evas_Object *obj,
1472 Eina_Bool is_save) 1473 Eina_Bool is_save)
1473{ 1474{
1474 ELM_FILESELECTOR_CHECK(obj); 1475 ELM_FILESELECTOR_INTERFACE_CHECK(obj);
1475 eo_do(obj, elm_obj_fileselector_is_save_set(is_save)); 1476 eo_do(obj, elm_fileselector_interface_is_save_set(is_save));
1476} 1477}
1477 1478
1478static void 1479static void
@@ -1490,9 +1491,9 @@ _is_save_set(Eo *obj, void *_pd, va_list *list)
1490EAPI Eina_Bool 1491EAPI Eina_Bool
1491elm_fileselector_is_save_get(const Evas_Object *obj) 1492elm_fileselector_is_save_get(const Evas_Object *obj)
1492{ 1493{
1493 ELM_FILESELECTOR_CHECK(obj) EINA_FALSE; 1494 ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
1494 Eina_Bool ret = EINA_FALSE; 1495 Eina_Bool ret = EINA_FALSE;
1495 eo_do((Eo *) obj, elm_obj_fileselector_is_save_get(&ret)); 1496 eo_do((Eo *) obj, elm_fileselector_interface_is_save_get(&ret));
1496 return ret; 1497 return ret;
1497} 1498}
1498 1499
@@ -1508,8 +1509,8 @@ EAPI void
1508elm_fileselector_folder_only_set(Evas_Object *obj, 1509elm_fileselector_folder_only_set(Evas_Object *obj,
1509 Eina_Bool only) 1510 Eina_Bool only)
1510{ 1511{
1511 ELM_FILESELECTOR_CHECK(obj); 1512 ELM_FILESELECTOR_INTERFACE_CHECK(obj);
1512 eo_do(obj, elm_obj_fileselector_folder_only_set(only)); 1513 eo_do(obj, elm_fileselector_interface_folder_only_set(only));
1513} 1514}
1514 1515
1515static void 1516static void
@@ -1527,9 +1528,9 @@ _folder_only_set(Eo *obj, void *_pd, va_list *list)
1527EAPI Eina_Bool 1528EAPI Eina_Bool
1528elm_fileselector_folder_only_get(const Evas_Object *obj) 1529elm_fileselector_folder_only_get(const Evas_Object *obj)
1529{ 1530{
1530 ELM_FILESELECTOR_CHECK(obj) EINA_FALSE; 1531 ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
1531 Eina_Bool ret = EINA_FALSE; 1532 Eina_Bool ret = EINA_FALSE;
1532 eo_do((Eo *) obj, elm_obj_fileselector_folder_only_get(&ret)); 1533 eo_do((Eo *) obj, elm_fileselector_interface_folder_only_get(&ret));
1533 return ret; 1534 return ret;
1534} 1535}
1535 1536
@@ -1592,7 +1593,7 @@ _buttons_ok_cancel_set(Eo *obj, void *_pd, va_list *list)
1592EAPI Eina_Bool 1593EAPI Eina_Bool
1593elm_fileselector_buttons_ok_cancel_get(const Evas_Object *obj) 1594elm_fileselector_buttons_ok_cancel_get(const Evas_Object *obj)
1594{ 1595{
1595 ELM_FILESELECTOR_CHECK(obj) EINA_FALSE; 1596 ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
1596 Eina_Bool ret = EINA_FALSE; 1597 Eina_Bool ret = EINA_FALSE;
1597 eo_do((Eo *) obj, elm_obj_fileselector_buttons_ok_cancel_get(&ret)); 1598 eo_do((Eo *) obj, elm_obj_fileselector_buttons_ok_cancel_get(&ret));
1598 return ret; 1599 return ret;
@@ -1610,8 +1611,8 @@ EAPI void
1610elm_fileselector_expandable_set(Evas_Object *obj, 1611elm_fileselector_expandable_set(Evas_Object *obj,
1611 Eina_Bool expand) 1612 Eina_Bool expand)
1612{ 1613{
1613 ELM_FILESELECTOR_CHECK(obj); 1614 ELM_FILESELECTOR_INTERFACE_CHECK(obj);
1614 eo_do(obj, elm_obj_fileselector_expandable_set(expand)); 1615 eo_do(obj, elm_fileselector_interface_expandable_set(expand));
1615} 1616}
1616 1617
1617static void 1618static void
@@ -1628,9 +1629,9 @@ _expandable_set(Eo *obj, void *_pd, va_list *list)
1628EAPI Eina_Bool 1629EAPI Eina_Bool
1629elm_fileselector_expandable_get(const Evas_Object *obj) 1630elm_fileselector_expandable_get(const Evas_Object *obj)
1630{ 1631{
1631 ELM_FILESELECTOR_CHECK(obj) EINA_FALSE; 1632 ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
1632 Eina_Bool ret = EINA_FALSE; 1633 Eina_Bool ret = EINA_FALSE;
1633 eo_do((Eo *) obj, elm_obj_fileselector_expandable_get(&ret)); 1634 eo_do((Eo *) obj, elm_fileselector_interface_expandable_get(&ret));
1634 return ret; 1635 return ret;
1635} 1636}
1636 1637
@@ -1646,8 +1647,8 @@ EAPI void
1646elm_fileselector_path_set(Evas_Object *obj, 1647elm_fileselector_path_set(Evas_Object *obj,
1647 const char *_path) 1648 const char *_path)
1648{ 1649{
1649 ELM_FILESELECTOR_CHECK(obj); 1650 ELM_FILESELECTOR_INTERFACE_CHECK(obj);
1650 eo_do(obj, elm_obj_fileselector_path_set(_path)); 1651 eo_do(obj, elm_fileselector_interface_path_set(_path));
1651} 1652}
1652 1653
1653static void 1654static void
@@ -1664,9 +1665,9 @@ _path_set(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
1664EAPI const char * 1665EAPI const char *
1665elm_fileselector_path_get(const Evas_Object *obj) 1666elm_fileselector_path_get(const Evas_Object *obj)
1666{ 1667{
1667 ELM_FILESELECTOR_CHECK(obj) NULL; 1668 ELM_FILESELECTOR_INTERFACE_CHECK(obj, NULL);
1668 const char *ret = NULL; 1669 const char *ret = NULL;
1669 eo_do((Eo *) obj, elm_obj_fileselector_path_get(&ret)); 1670 eo_do((Eo *) obj, elm_fileselector_interface_path_get(&ret));
1670 return ret; 1671 return ret;
1671} 1672}
1672 1673
@@ -1682,8 +1683,8 @@ EAPI void
1682elm_fileselector_mode_set(Evas_Object *obj, 1683elm_fileselector_mode_set(Evas_Object *obj,
1683 Elm_Fileselector_Mode mode) 1684 Elm_Fileselector_Mode mode)
1684{ 1685{
1685 ELM_FILESELECTOR_CHECK(obj); 1686 ELM_FILESELECTOR_INTERFACE_CHECK(obj);
1686 eo_do(obj, elm_obj_fileselector_mode_set(mode)); 1687 eo_do(obj, elm_fileselector_interface_mode_set(mode));
1687} 1688}
1688 1689
1689static void 1690static void
@@ -1723,9 +1724,9 @@ _mode_set(Eo *obj, void *_pd, va_list *list)
1723EAPI Elm_Fileselector_Mode 1724EAPI Elm_Fileselector_Mode
1724elm_fileselector_mode_get(const Evas_Object *obj) 1725elm_fileselector_mode_get(const Evas_Object *obj)
1725{ 1726{
1726 ELM_FILESELECTOR_CHECK(obj) ELM_FILESELECTOR_LAST; 1727 ELM_FILESELECTOR_INTERFACE_CHECK(obj, ELM_FILESELECTOR_LAST);
1727 Elm_Fileselector_Mode ret = ELM_FILESELECTOR_LAST; 1728 Elm_Fileselector_Mode ret = ELM_FILESELECTOR_LAST;
1728 eo_do((Eo *) obj, elm_obj_fileselector_mode_get(&ret)); 1729 eo_do((Eo *) obj, elm_fileselector_interface_mode_get(&ret));
1729 return ret; 1730 return ret;
1730} 1731}
1731 1732
@@ -1740,8 +1741,8 @@ _mode_get(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
1740EAPI void 1741EAPI void
1741elm_fileselector_multi_select_set(Evas_Object *obj, Eina_Bool multi) 1742elm_fileselector_multi_select_set(Evas_Object *obj, Eina_Bool multi)
1742{ 1743{
1743 ELM_FILESELECTOR_CHECK(obj); 1744 ELM_FILESELECTOR_INTERFACE_CHECK(obj);
1744 eo_do(obj, elm_obj_fileselector_multi_select_set(multi)); 1745 eo_do(obj, elm_fileselector_interface_multi_select_set(multi));
1745} 1746}
1746 1747
1747static void 1748static void
@@ -1788,9 +1789,9 @@ _multi_select_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list EINA_UNUSED)
1788EAPI Eina_Bool 1789EAPI Eina_Bool
1789elm_fileselector_multi_select_get(const Evas_Object *obj) 1790elm_fileselector_multi_select_get(const Evas_Object *obj)
1790{ 1791{
1791 ELM_FILESELECTOR_CHECK(obj) EINA_FALSE; 1792 ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
1792 Eina_Bool ret = EINA_FALSE; 1793 Eina_Bool ret = EINA_FALSE;
1793 eo_do((Eo *) obj, elm_obj_fileselector_multi_select_get(&ret)); 1794 eo_do((Eo *) obj, elm_fileselector_interface_multi_select_get(&ret));
1794 return ret; 1795 return ret;
1795} 1796}
1796 1797
@@ -1806,9 +1807,9 @@ _multi_select_get(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
1806EAPI const char * 1807EAPI const char *
1807elm_fileselector_selected_get(const Evas_Object *obj) 1808elm_fileselector_selected_get(const Evas_Object *obj)
1808{ 1809{
1809 ELM_FILESELECTOR_CHECK(obj) NULL; 1810 ELM_FILESELECTOR_INTERFACE_CHECK(obj, NULL);
1810 const char *ret = NULL; 1811 const char *ret = NULL;
1811 eo_do((Eo *) obj, elm_obj_fileselector_selected_get(&ret)); 1812 eo_do((Eo *) obj, elm_fileselector_interface_selected_get(&ret));
1812 return ret; 1813 return ret;
1813} 1814}
1814 1815
@@ -1855,9 +1856,9 @@ EAPI Eina_Bool
1855elm_fileselector_selected_set(Evas_Object *obj, 1856elm_fileselector_selected_set(Evas_Object *obj,
1856 const char *_path) 1857 const char *_path)
1857{ 1858{
1858 ELM_FILESELECTOR_CHECK(obj) EINA_FALSE; 1859 ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
1859 Eina_Bool ret = EINA_FALSE; 1860 Eina_Bool ret = EINA_FALSE;
1860 eo_do(obj, elm_obj_fileselector_selected_set(_path, &ret)); 1861 eo_do(obj, elm_fileselector_interface_selected_set(_path, &ret));
1861 return ret; 1862 return ret;
1862} 1863}
1863 1864
@@ -1897,9 +1898,9 @@ clean_up:
1897EAPI const Eina_List * 1898EAPI const Eina_List *
1898elm_fileselector_selected_paths_get(const Evas_Object* obj) 1899elm_fileselector_selected_paths_get(const Evas_Object* obj)
1899{ 1900{
1900 ELM_FILESELECTOR_CHECK(obj) NULL; 1901 ELM_FILESELECTOR_INTERFACE_CHECK(obj, NULL);
1901 const Eina_List *ret = NULL; 1902 const Eina_List *ret = NULL;
1902 eo_do((Eo *) obj, elm_obj_fileselector_selected_paths_get(&ret)); 1903 eo_do((Eo *) obj, elm_fileselector_interface_selected_paths_get(&ret));
1903 return ret; 1904 return ret;
1904} 1905}
1905 1906
@@ -1934,7 +1935,7 @@ elm_fileselector_mime_types_filter_append(Evas_Object *obj, const char *mime_typ
1934{ 1935{
1935 ELM_FILESELECTOR_CHECK(obj) EINA_FALSE; 1936 ELM_FILESELECTOR_CHECK(obj) EINA_FALSE;
1936 Eina_Bool ret = EINA_FALSE; 1937 Eina_Bool ret = EINA_FALSE;
1937 eo_do(obj, elm_obj_fileselector_mime_types_filter_append(mime_type, filter_name, &ret)); 1938 eo_do(obj, elm_fileselector_interface_mime_types_filter_append(mime_type, filter_name, &ret));
1938 return ret; 1939 return ret;
1939} 1940}
1940 1941
@@ -1984,9 +1985,9 @@ end:
1984EAPI Eina_Bool 1985EAPI Eina_Bool
1985elm_fileselector_custom_filter_append(Evas_Object *obj, Elm_Fileselector_Filter_Func func, void *data, const char *filter_name) 1986elm_fileselector_custom_filter_append(Evas_Object *obj, Elm_Fileselector_Filter_Func func, void *data, const char *filter_name)
1986{ 1987{
1987 ELM_FILESELECTOR_CHECK(obj) EINA_FALSE; 1988 ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
1988 Eina_Bool ret = EINA_FALSE; 1989 Eina_Bool ret = EINA_FALSE;
1989 eo_do(obj, elm_obj_fileselector_custom_filter_append(func, data, filter_name, &ret)); 1990 eo_do(obj, elm_fileselector_interface_custom_filter_append(func, data, filter_name, &ret));
1990 return ret; 1991 return ret;
1991} 1992}
1992 1993
@@ -2038,8 +2039,8 @@ end:
2038EAPI void 2039EAPI void
2039elm_fileselector_filters_clear(Evas_Object *obj) 2040elm_fileselector_filters_clear(Evas_Object *obj)
2040{ 2041{
2041 ELM_FILESELECTOR_CHECK(obj); 2042 ELM_FILESELECTOR_INTERFACE_CHECK(obj);
2042 eo_do(obj, elm_obj_fileselector_filters_clear()); 2043 eo_do(obj, elm_fileselector_interface_filters_clear());
2043} 2044}
2044 2045
2045static void 2046static void
@@ -2071,8 +2072,8 @@ _filters_clear(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
2071EAPI void 2072EAPI void
2072elm_fileselector_hidden_visible_set(Evas_Object *obj, Eina_Bool visible) 2073elm_fileselector_hidden_visible_set(Evas_Object *obj, Eina_Bool visible)
2073{ 2074{
2074 ELM_FILESELECTOR_CHECK(obj); 2075 ELM_FILESELECTOR_INTERFACE_CHECK(obj);
2075 eo_do(obj, elm_obj_fileselector_hidden_visible_set(visible)); 2076 eo_do(obj, elm_fileselector_interface_hidden_visible_set(visible));
2076} 2077}
2077 2078
2078static void 2079static void
@@ -2092,9 +2093,9 @@ _hidden_visible_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list EINA_UNUSED)
2092EAPI Eina_Bool 2093EAPI Eina_Bool
2093elm_fileselector_hidden_visible_get(const Evas_Object *obj) 2094elm_fileselector_hidden_visible_get(const Evas_Object *obj)
2094{ 2095{
2095 ELM_FILESELECTOR_CHECK(obj) EINA_FALSE; 2096 ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
2096 Eina_Bool ret = EINA_FALSE; 2097 Eina_Bool ret = EINA_FALSE;
2097 eo_do((Eo *) obj, elm_obj_fileselector_hidden_visible_get(&ret)); 2098 eo_do((Eo *) obj, elm_fileselector_interface_hidden_visible_get(&ret));
2098 return ret; 2099 return ret;
2099} 2100}
2100 2101
@@ -2112,8 +2113,8 @@ elm_fileselector_thumbnail_size_set(Evas_Object *obj,
2112 Evas_Coord w, 2113 Evas_Coord w,
2113 Evas_Coord h) 2114 Evas_Coord h)
2114{ 2115{
2115 ELM_FILESELECTOR_CHECK(obj); 2116 ELM_FILESELECTOR_INTERFACE_CHECK(obj);
2116 eo_do(obj, elm_obj_fileselector_thumbnail_size_set(w, h)); 2117 eo_do(obj, elm_fileselector_interface_thumbnail_size_set(w, h));
2117} 2118}
2118 2119
2119static void 2120static void
@@ -2142,8 +2143,8 @@ elm_fileselector_thumbnail_size_get(const Evas_Object *obj,
2142 Evas_Coord *w, 2143 Evas_Coord *w,
2143 Evas_Coord *h) 2144 Evas_Coord *h)
2144{ 2145{
2145 ELM_FILESELECTOR_CHECK(obj); 2146 ELM_FILESELECTOR_INTERFACE_CHECK(obj);
2146 eo_do((Eo *) obj, elm_obj_fileselector_thumbnail_size_get(w, h)); 2147 eo_do((Eo *) obj, elm_fileselector_interface_thumbnail_size_get(w, h));
2147} 2148}
2148 2149
2149static void 2150static void
@@ -2160,8 +2161,8 @@ _thumbnail_size_get(Eo *obj EINA_UNUSED, void *_pd, va_list *list EINA_UNUSED)
2160EAPI void 2161EAPI void
2161elm_fileselector_sort_method_set(Evas_Object *obj, Elm_Fileselector_Sort sort) 2162elm_fileselector_sort_method_set(Evas_Object *obj, Elm_Fileselector_Sort sort)
2162{ 2163{
2163 ELM_FILESELECTOR_CHECK(obj); 2164 ELM_FILESELECTOR_INTERFACE_CHECK(obj);
2164 eo_do(obj, elm_obj_fileselector_sort_method_set(sort)); 2165 eo_do(obj, elm_fileselector_interface_sort_method_set(sort));
2165} 2166}
2166 2167
2167static void 2168static void
@@ -2210,9 +2211,9 @@ _sort_method_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list EINA_UNUSED)
2210EAPI Elm_Fileselector_Sort 2211EAPI Elm_Fileselector_Sort
2211elm_fileselector_sort_method_get(const Evas_Object *obj) 2212elm_fileselector_sort_method_get(const Evas_Object *obj)
2212{ 2213{
2213 ELM_FILESELECTOR_CHECK(obj) ELM_FILESELECTOR_SORT_LAST; 2214 ELM_FILESELECTOR_INTERFACE_CHECK(obj, ELM_FILESELECTOR_SORT_LAST);
2214 Elm_Fileselector_Sort ret = ELM_FILESELECTOR_SORT_LAST; 2215 Elm_Fileselector_Sort ret = ELM_FILESELECTOR_SORT_LAST;
2215 eo_do((Eo *) obj, elm_obj_fileselector_sort_method_get(&ret)); 2216 eo_do((Eo *) obj, elm_fileselector_interface_sort_method_get(&ret));
2216 2217
2217 return ret; 2218 return ret;
2218} 2219}
@@ -2287,32 +2288,33 @@ _class_constructor(Eo_Class *klass)
2287 EO_OP_FUNC(ELM_OBJ_LAYOUT_ID(ELM_OBJ_LAYOUT_SUB_ID_SIZING_EVAL), _elm_fileselector_smart_sizing_eval), 2288 EO_OP_FUNC(ELM_OBJ_LAYOUT_ID(ELM_OBJ_LAYOUT_SUB_ID_SIZING_EVAL), _elm_fileselector_smart_sizing_eval),
2288 EO_OP_FUNC(ELM_OBJ_LAYOUT_ID(ELM_OBJ_LAYOUT_SUB_ID_TEXT_SET), _elm_fileselector_smart_text_set), 2289 EO_OP_FUNC(ELM_OBJ_LAYOUT_ID(ELM_OBJ_LAYOUT_SUB_ID_TEXT_SET), _elm_fileselector_smart_text_set),
2289 2290
2290 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_IS_SAVE_SET), _is_save_set), 2291 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_FOLDER_ONLY_SET), _folder_only_set),
2291 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_IS_SAVE_GET), _is_save_get), 2292 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_FOLDER_ONLY_GET), _folder_only_get),
2292 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_FOLDER_ONLY_SET), _folder_only_set), 2293 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_IS_SAVE_SET), _is_save_set),
2293 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_FOLDER_ONLY_GET), _folder_only_get), 2294 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_IS_SAVE_GET), _is_save_get),
2295 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_EXPANDABLE_SET), _expandable_set),
2296 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_EXPANDABLE_GET), _expandable_get),
2297 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_PATH_SET), _path_set),
2298 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_PATH_GET), _path_get),
2299 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_MODE_SET), _mode_set),
2300 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_MODE_GET), _mode_get),
2301 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_MULTI_SELECT_SET), _multi_select_set),
2302 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_MULTI_SELECT_GET), _multi_select_get),
2303 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_SELECTED_GET), _selected_get),
2304 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_SELECTED_SET), _selected_set),
2305 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_SELECTED_PATHS_GET), _selected_paths_get),
2306 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_MIME_TYPES_FILTER_APPEND), _mime_types_filter_append),
2307 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_CUSTOM_FILTER_APPEND), _custom_filter_append),
2308 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_FILTERS_CLEAR), _filters_clear),
2309 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_HIDDEN_VISIBLE_SET), _hidden_visible_set),
2310 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_HIDDEN_VISIBLE_GET), _hidden_visible_get),
2311 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_THUMBNAIL_SIZE_SET), _thumbnail_size_set),
2312 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_THUMBNAIL_SIZE_GET), _thumbnail_size_get),
2313 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_SORT_METHOD_SET), _sort_method_set),
2314 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_SORT_METHOD_GET), _sort_method_get),
2315
2294 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_BUTTONS_OK_CANCEL_SET), _buttons_ok_cancel_set), 2316 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_BUTTONS_OK_CANCEL_SET), _buttons_ok_cancel_set),
2295 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_BUTTONS_OK_CANCEL_GET), _buttons_ok_cancel_get), 2317 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_BUTTONS_OK_CANCEL_GET), _buttons_ok_cancel_get),
2296 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_EXPANDABLE_SET), _expandable_set),
2297 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_EXPANDABLE_GET), _expandable_get),
2298 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_PATH_SET), _path_set),
2299 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_PATH_GET), _path_get),
2300 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_MODE_SET), _mode_set),
2301 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_MODE_GET), _mode_get),
2302 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_MULTI_SELECT_SET), _multi_select_set),
2303 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_MULTI_SELECT_GET), _multi_select_get),
2304 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_SELECTED_GET), _selected_get),
2305 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_SELECTED_SET), _selected_set),
2306 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_SELECTED_PATHS_GET), _selected_paths_get),
2307 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_MIME_TYPES_FILTER_APPEND), _mime_types_filter_append),
2308 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_CUSTOM_FILTER_APPEND), _custom_filter_append),
2309 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_FILTERS_CLEAR), _filters_clear),
2310 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_HIDDEN_VISIBLE_SET), _hidden_visible_set),
2311 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_HIDDEN_VISIBLE_GET), _hidden_visible_get),
2312 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_THUMBNAIL_SIZE_SET), _thumbnail_size_set),
2313 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_THUMBNAIL_SIZE_GET), _thumbnail_size_get),
2314 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_SORT_METHOD_SET), _sort_method_set),
2315 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_SORT_METHOD_GET), _sort_method_get),
2316 EO_OP_FUNC_SENTINEL 2318 EO_OP_FUNC_SENTINEL
2317 }; 2319 };
2318 eo_class_funcs_set(klass, func_desc); 2320 eo_class_funcs_set(klass, func_desc);
@@ -2354,32 +2356,8 @@ _class_destructor(Eo_Class *klass EINA_UNUSED)
2354} 2356}
2355 2357
2356static const Eo_Op_Description op_desc[] = { 2358static const Eo_Op_Description op_desc[] = {
2357 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_IS_SAVE_SET, "Enable/disable the file name entry box where the user can type in a name for a file, in a given file selector widget."),
2358 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_IS_SAVE_GET, "Get whether the given file selector is in 'saving dialog' mode."),
2359 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_FOLDER_ONLY_SET, "Enable/disable folder-only view for a given file selector widget."),
2360 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_FOLDER_ONLY_GET, "Get whether folder-only view is set for a given file selector widget."),
2361 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_BUTTONS_OK_CANCEL_SET, "Enable/disable the 'ok' and 'cancel' buttons on a given file selector widget."), 2359 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_BUTTONS_OK_CANCEL_SET, "Enable/disable the 'ok' and 'cancel' buttons on a given file selector widget."),
2362 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_BUTTONS_OK_CANCEL_GET, "Get whether the 'ok' and 'cancel' buttons on a given file selector widget are being shown."), 2360 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_BUTTONS_OK_CANCEL_GET, "Get whether the 'ok' and 'cancel' buttons on a given file selector widget are being shown."),
2363 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_EXPANDABLE_SET, "Enable/disable a tree view in the given file selector widget, if it's in #ELM_FILESELECTOR_LIST mode."),
2364 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_EXPANDABLE_GET, "Get whether tree view is enabled for the given file selector widget."),
2365 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_PATH_SET, "Set, programmatically, the directory that a given file selector widget will display contents from."),
2366 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_PATH_GET, "Get the parent directory's path that a given file selector widget is displaying."),
2367 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_MODE_SET, "Set the mode in which a given file selector widget will display (layout) file system entries in its view."),
2368 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_MODE_GET, "Get the mode in which a given file selector widget is displaying (layouting) file system entries in its view."),
2369 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_MULTI_SELECT_SET, "Enable or disable multi-selection in the file selector widget."),
2370 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_MULTI_SELECT_GET, "Get if multi-selection in file selector widget is enabled or disabled."),
2371 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_SELECTED_GET, "Get the currently selected item's (full) path, in the given file selector widget."),
2372 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_SELECTED_SET, "Set, programmatically, the currently selected file/directory in the given file selector widget."),
2373 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_SELECTED_PATHS_GET, "Get the currently selected item's (full) path, in the given file selector widget."),
2374 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_MIME_TYPES_FILTER_APPEND, "Append mime type filter"),
2375 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_CUSTOM_FILTER_APPEND, "Append custom filter"),
2376 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_FILTERS_CLEAR, "Clear filters"),
2377 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_HIDDEN_VISIBLE_SET, "Enable or disable visibility of hidden files/directories in the file selector widget."),
2378 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_HIDDEN_VISIBLE_GET, "Get if visibility of hidden files/directories in the file selector widget is enabled or disabled."),
2379 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_THUMBNAIL_SIZE_SET, "Set the size for the thumbnail of the file selector widget's view, if it's in #ELM_FILESELECTOR_GRID mode"),
2380 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_THUMBNAIL_SIZE_GET, "Get the size for the thumbnails of a given file selector widget."),
2381 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_SORT_METHOD_SET, "Set the sort method of the file selector widget."),
2382 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_SUB_ID_SORT_METHOD_GET, "Get the sort method of the file selector widget."),
2383 EO_OP_DESCRIPTION_SENTINEL 2361 EO_OP_DESCRIPTION_SENTINEL
2384}; 2362};
2385static const Eo_Class_Description class_desc = { 2363static const Eo_Class_Description class_desc = {
@@ -2392,4 +2370,4 @@ static const Eo_Class_Description class_desc = {
2392 _class_constructor, 2370 _class_constructor,
2393 _class_destructor 2371 _class_destructor
2394}; 2372};
2395EO_DEFINE_CLASS(elm_obj_fileselector_class_get, &class_desc, ELM_OBJ_LAYOUT_CLASS, NULL); 2373EO_DEFINE_CLASS(elm_obj_fileselector_class_get, &class_desc, ELM_OBJ_LAYOUT_CLASS, ELM_FILESELECTOR_INTERFACE, NULL);
diff --git a/src/lib/elc_fileselector_button.c b/src/lib/elc_fileselector_button.c
index 859165c8e..14259b06c 100644
--- a/src/lib/elc_fileselector_button.c
+++ b/src/lib/elc_fileselector_button.c
@@ -4,6 +4,7 @@
4 4
5#include <Elementary.h> 5#include <Elementary.h>
6#include "elm_priv.h" 6#include "elm_priv.h"
7#include "elm_interface_fileselector.h"
7#include "elm_widget_fileselector_button.h" 8#include "elm_widget_fileselector_button.h"
8 9
9EAPI Eo_Op ELM_OBJ_FILESELECTOR_BUTTON_BASE_ID = EO_NOOP; 10EAPI Eo_Op ELM_OBJ_FILESELECTOR_BUTTON_BASE_ID = EO_NOOP;
@@ -318,8 +319,8 @@ EAPI void
318elm_fileselector_button_path_set(Evas_Object *obj, 319elm_fileselector_button_path_set(Evas_Object *obj,
319 const char *path) 320 const char *path)
320{ 321{
321 ELM_FILESELECTOR_BUTTON_CHECK(obj); 322 ELM_FILESELECTOR_INTERFACE_CHECK(obj);
322 eo_do(obj, elm_obj_fileselector_button_path_set(path)); 323 eo_do(obj, elm_fileselector_interface_path_set(path));
323} 324}
324 325
325static void 326static void
@@ -336,9 +337,9 @@ _path_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
336EAPI const char * 337EAPI const char *
337elm_fileselector_button_path_get(const Evas_Object *obj) 338elm_fileselector_button_path_get(const Evas_Object *obj)
338{ 339{
339 ELM_FILESELECTOR_BUTTON_CHECK(obj) NULL; 340 ELM_FILESELECTOR_INTERFACE_CHECK(obj, NULL);
340 const char *ret = NULL; 341 const char *ret = NULL;
341 eo_do((Eo *) obj, elm_obj_fileselector_button_path_get(&ret)); 342 eo_do((Eo *) obj, elm_fileselector_interface_path_get(&ret));
342 return ret; 343 return ret;
343} 344}
344 345
@@ -355,8 +356,8 @@ EAPI void
355elm_fileselector_button_expandable_set(Evas_Object *obj, 356elm_fileselector_button_expandable_set(Evas_Object *obj,
356 Eina_Bool value) 357 Eina_Bool value)
357{ 358{
358 ELM_FILESELECTOR_BUTTON_CHECK(obj); 359 ELM_FILESELECTOR_INTERFACE_CHECK(obj);
359 eo_do(obj, elm_obj_fileselector_button_expandable_set(value)); 360 eo_do(obj, elm_fileselector_interface_expandable_set(value));
360} 361}
361 362
362static void 363static void
@@ -373,9 +374,9 @@ _expandable_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
373EAPI Eina_Bool 374EAPI Eina_Bool
374elm_fileselector_button_expandable_get(const Evas_Object *obj) 375elm_fileselector_button_expandable_get(const Evas_Object *obj)
375{ 376{
376 ELM_FILESELECTOR_BUTTON_CHECK(obj) EINA_FALSE; 377 ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
377 Eina_Bool ret = EINA_FALSE; 378 Eina_Bool ret = EINA_FALSE;
378 eo_do((Eo *) obj, elm_obj_fileselector_button_expandable_get(&ret)); 379 eo_do((Eo *) obj, elm_fileselector_interface_expandable_get(&ret));
379 return ret; 380 return ret;
380} 381}
381 382
@@ -392,8 +393,8 @@ EAPI void
392elm_fileselector_button_folder_only_set(Evas_Object *obj, 393elm_fileselector_button_folder_only_set(Evas_Object *obj,
393 Eina_Bool value) 394 Eina_Bool value)
394{ 395{
395 ELM_FILESELECTOR_BUTTON_CHECK(obj); 396 ELM_FILESELECTOR_INTERFACE_CHECK(obj);
396 eo_do(obj, elm_obj_fileselector_button_folder_only_set(value)); 397 eo_do(obj, elm_fileselector_interface_folder_only_set(value));
397} 398}
398 399
399static void 400static void
@@ -410,9 +411,9 @@ _folder_only_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
410EAPI Eina_Bool 411EAPI Eina_Bool
411elm_fileselector_button_folder_only_get(const Evas_Object *obj) 412elm_fileselector_button_folder_only_get(const Evas_Object *obj)
412{ 413{
413 ELM_FILESELECTOR_BUTTON_CHECK(obj) EINA_FALSE; 414 ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
414 Eina_Bool ret = EINA_FALSE; 415 Eina_Bool ret = EINA_FALSE;
415 eo_do((Eo *) obj, elm_obj_fileselector_button_folder_only_get(&ret)); 416 eo_do((Eo *) obj, elm_fileselector_interface_folder_only_get(&ret));
416 return ret; 417 return ret;
417} 418}
418 419
@@ -429,8 +430,8 @@ EAPI void
429elm_fileselector_button_is_save_set(Evas_Object *obj, 430elm_fileselector_button_is_save_set(Evas_Object *obj,
430 Eina_Bool value) 431 Eina_Bool value)
431{ 432{
432 ELM_FILESELECTOR_BUTTON_CHECK(obj); 433 ELM_FILESELECTOR_INTERFACE_CHECK(obj);
433 eo_do(obj, elm_obj_fileselector_button_is_save_set(value)); 434 eo_do(obj, elm_fileselector_interface_is_save_set(value));
434} 435}
435 436
436static void 437static void
@@ -447,9 +448,9 @@ _is_save_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
447EAPI Eina_Bool 448EAPI Eina_Bool
448elm_fileselector_button_is_save_get(const Evas_Object *obj) 449elm_fileselector_button_is_save_get(const Evas_Object *obj)
449{ 450{
450 ELM_FILESELECTOR_BUTTON_CHECK(obj) EINA_FALSE; 451 ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
451 Eina_Bool ret = EINA_FALSE; 452 Eina_Bool ret = EINA_FALSE;
452 eo_do((Eo *) obj, elm_obj_fileselector_button_is_save_get(&ret)); 453 eo_do((Eo *) obj, elm_fileselector_interface_is_save_get(&ret));
453 return ret; 454 return ret;
454} 455}
455 456
@@ -510,18 +511,19 @@ _class_constructor(Eo_Class *klass)
510 511
511 EO_OP_FUNC(ELM_OBJ_BUTTON_ID(ELM_OBJ_BUTTON_SUB_ID_ADMITS_AUTOREPEAT_GET), _elm_fileselector_button_smart_admits_autorepeat_get), 512 EO_OP_FUNC(ELM_OBJ_BUTTON_ID(ELM_OBJ_BUTTON_SUB_ID_ADMITS_AUTOREPEAT_GET), _elm_fileselector_button_smart_admits_autorepeat_get),
512 513
514 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_PATH_SET), _path_set),
515 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_PATH_GET), _path_get),
516 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_EXPANDABLE_SET), _expandable_set),
517 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_EXPANDABLE_GET), _expandable_get),
518 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_FOLDER_ONLY_SET), _folder_only_set),
519 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_FOLDER_ONLY_GET), _folder_only_get),
520 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_IS_SAVE_SET), _is_save_set),
521 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_IS_SAVE_GET), _is_save_get),
522
513 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_TITLE_SET), _window_title_set), 523 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_TITLE_SET), _window_title_set),
514 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_TITLE_GET), _window_title_get), 524 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_TITLE_GET), _window_title_get),
515 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_SIZE_SET), _window_size_set), 525 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_SIZE_SET), _window_size_set),
516 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_SIZE_GET), _window_size_get), 526 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_SIZE_GET), _window_size_get),
517 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_PATH_SET), _path_set),
518 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_PATH_GET), _path_get),
519 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_EXPANDABLE_SET), _expandable_set),
520 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_EXPANDABLE_GET), _expandable_get),
521 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_FOLDER_ONLY_SET), _folder_only_set),
522 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_FOLDER_ONLY_GET), _folder_only_get),
523 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_IS_SAVE_SET), _is_save_set),
524 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_IS_SAVE_GET), _is_save_get),
525 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_INWIN_MODE_SET), _inwin_mode_set), 527 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_INWIN_MODE_SET), _inwin_mode_set),
526 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_INWIN_MODE_GET), _inwin_mode_get), 528 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_INWIN_MODE_GET), _inwin_mode_get),
527 EO_OP_FUNC_SENTINEL 529 EO_OP_FUNC_SENTINEL
@@ -536,14 +538,6 @@ static const Eo_Op_Description op_desc[] = {
536 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_TITLE_GET, "Get the title for a given file selector button widget's window."), 538 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_TITLE_GET, "Get the title for a given file selector button widget's window."),
537 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_SIZE_SET, "Set the size of a given file selector button widget's window, holding the file selector itself."), 539 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_SIZE_SET, "Set the size of a given file selector button widget's window, holding the file selector itself."),
538 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_SIZE_GET, "Get the size of a given file selector button widget's window, holding the file selector itself."), 540 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_SIZE_GET, "Get the size of a given file selector button widget's window, holding the file selector itself."),
539 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_PATH_SET, "Set the initial file system path for a given file selector button widget."),
540 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_PATH_GET, "Get the initial file system path set for a given file selector button widget."),
541 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_EXPANDABLE_SET, "Enable/disable a tree view in the given file selector button widget's internal file selector."),
542 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_EXPANDABLE_GET, "Get whether tree view is enabled for the given file selector button widget's internal file selector."),
543 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_FOLDER_ONLY_SET, "Set whether a given file selector button widget's internal file selector is to display folders only or the directory contents, as well."),
544 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_FOLDER_ONLY_GET, "Get whether a given file selector button widget's internal file selector is displaying folders only or the directory contents, as well."),
545 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_IS_SAVE_SET, "Enable/disable the file name entry box where the user can type in a name for a file, in a given file selector button widget's internal file selector."),
546 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_IS_SAVE_GET, "Get whether the given file selector button widget's internal file selector is in 'saving dialog' mode."),
547 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_INWIN_MODE_SET, "Set whether a given file selector button widget's internal file selector will raise an Elementary 'inner window', instead of a dedicated Elementary window."), 541 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_INWIN_MODE_SET, "Set whether a given file selector button widget's internal file selector will raise an Elementary 'inner window', instead of a dedicated Elementary window."),
548 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_INWIN_MODE_GET, "Get whether a given file selector button widget's internal file selector will raise an Elementary 'inner window', instead of a dedicated Elementary window."), 542 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_INWIN_MODE_GET, "Get whether a given file selector button widget's internal file selector will raise an Elementary 'inner window', instead of a dedicated Elementary window."),
549 EO_OP_DESCRIPTION_SENTINEL 543 EO_OP_DESCRIPTION_SENTINEL
@@ -560,4 +554,4 @@ static const Eo_Class_Description class_desc = {
560 NULL 554 NULL
561}; 555};
562 556
563EO_DEFINE_CLASS(elm_obj_fileselector_button_class_get, &class_desc, ELM_OBJ_BUTTON_CLASS, NULL); 557EO_DEFINE_CLASS(elm_obj_fileselector_button_class_get, &class_desc, ELM_OBJ_BUTTON_CLASS, ELM_FILESELECTOR_INTERFACE, NULL);
diff --git a/src/lib/elc_fileselector_button_eo.h b/src/lib/elc_fileselector_button_eo.h
index bfa8d25d6..4fae45127 100644
--- a/src/lib/elc_fileselector_button_eo.h
+++ b/src/lib/elc_fileselector_button_eo.h
@@ -10,14 +10,6 @@ enum
10 ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_TITLE_GET, 10 ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_TITLE_GET,
11 ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_SIZE_SET, 11 ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_SIZE_SET,
12 ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_SIZE_GET, 12 ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_SIZE_GET,
13 ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_PATH_SET,
14 ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_PATH_GET,
15 ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_EXPANDABLE_SET,
16 ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_EXPANDABLE_GET,
17 ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_FOLDER_ONLY_SET,
18 ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_FOLDER_ONLY_GET,
19 ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_IS_SAVE_SET,
20 ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_IS_SAVE_GET,
21 ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_INWIN_MODE_SET, 13 ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_INWIN_MODE_SET,
22 ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_INWIN_MODE_GET, 14 ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_INWIN_MODE_GET,
23 ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_LAST 15 ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_LAST
@@ -87,123 +79,6 @@ enum
87#define elm_obj_fileselector_button_window_size_get(width, height) ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_SIZE_GET), EO_TYPECHECK(Evas_Coord *, width), EO_TYPECHECK(Evas_Coord *, height) 79#define elm_obj_fileselector_button_window_size_get(width, height) ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_WINDOW_SIZE_GET), EO_TYPECHECK(Evas_Coord *, width), EO_TYPECHECK(Evas_Coord *, height)
88 80
89/** 81/**
90 * @def elm_obj_fileselector_button_path_set
91 * @since 1.8
92 *
93 * Set the initial file system path for a given file selector
94 *
95 * @param[in] path
96 *
97 * @see elm_fileselector_button_path_set
98 *
99 * @ingroup File_Selector_Button
100 */
101#define elm_obj_fileselector_button_path_set(path) ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_PATH_SET), EO_TYPECHECK(const char *, path)
102
103/**
104 * @def elm_obj_fileselector_button_path_get
105 * @since 1.8
106 *
107 * Get the initial file system path set for a given file selector
108 *
109 * @param[out] ret
110 *
111 * @see elm_fileselector_button_path_get
112 *
113 * @ingroup File_Selector_Button
114 */
115#define elm_obj_fileselector_button_path_get(ret) ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_PATH_GET), EO_TYPECHECK(const char **, ret)
116
117/**
118 * @def elm_obj_fileselector_button_expandable_set
119 * @since 1.8
120 *
121 * Enable/disable a tree view in the given file selector button
122 *
123 * @param[in] value
124 *
125 * @see elm_fileselector_button_expandable_set
126 *
127 * @ingroup File_Selector_Button
128 */
129#define elm_obj_fileselector_button_expandable_set(value) ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_EXPANDABLE_SET), EO_TYPECHECK(Eina_Bool, value)
130
131/**
132 * @def elm_obj_fileselector_button_expandable_get
133 * @since 1.8
134 *
135 * Get whether tree view is enabled for the given file selector
136 *
137 * @param[out] ret
138 *
139 * @see elm_fileselector_button_expandable_get
140 *
141 * @ingroup File_Selector_Button
142 */
143#define elm_obj_fileselector_button_expandable_get(ret) ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_EXPANDABLE_GET), EO_TYPECHECK(Eina_Bool *, ret)
144
145/**
146 * @def elm_obj_fileselector_button_folder_only_set
147 * @since 1.8
148 *
149 * Set whether a given file selector button widget's internal file
150 * selector is to display folders only or the directory contents,
151 * as well.
152 *
153 * @param[in] value
154 *
155 * @see elm_fileselector_button_folder_only_set
156 *
157 * @ingroup File_Selector_Button
158 */
159#define elm_obj_fileselector_button_folder_only_set(value) ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_FOLDER_ONLY_SET), EO_TYPECHECK(Eina_Bool, value)
160
161/**
162 * @def elm_obj_fileselector_button_folder_only_get
163 * @since 1.8
164 *
165 * Get whether a given file selector button widget's internal file
166 * selector is displaying folders only or the directory contents,
167 * as well.
168 *
169 * @param[out] ret
170 *
171 * @see elm_fileselector_button_folder_only_get
172 *
173 * @ingroup File_Selector_Button
174 */
175#define elm_obj_fileselector_button_folder_only_get(ret) ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_FOLDER_ONLY_GET), EO_TYPECHECK(Eina_Bool *, ret)
176
177/**
178 * @def elm_obj_fileselector_button_is_save_set
179 * @since 1.8
180 *
181 * Enable/disable the file name entry box where the user can type
182 *
183 * @param[in] value
184 *
185 * @see elm_fileselector_button_is_save_set
186 *
187 * @ingroup File_Selector_Button
188 */
189#define elm_obj_fileselector_button_is_save_set(value) ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_IS_SAVE_SET), EO_TYPECHECK(Eina_Bool, value)
190
191/**
192 * @def elm_obj_fileselector_button_is_save_get
193 * @since 1.8
194 *
195 * Get whether the given file selector button widget's internal
196 * file selector is in "saving dialog" mode
197 *
198 * @param[out] ret
199 *
200 * @see elm_fileselector_button_is_save_get
201 *
202 * @ingroup File_Selector_Button
203 */
204#define elm_obj_fileselector_button_is_save_get(ret) ELM_OBJ_FILESELECTOR_BUTTON_ID(ELM_OBJ_FILESELECTOR_BUTTON_SUB_ID_IS_SAVE_GET), EO_TYPECHECK(Eina_Bool *, ret)
205
206/**
207 * @def elm_obj_fileselector_button_inwin_mode_set 82 * @def elm_obj_fileselector_button_inwin_mode_set
208 * @since 1.8 83 * @since 1.8
209 * 84 *
diff --git a/src/lib/elc_fileselector_button_legacy.h b/src/lib/elc_fileselector_button_legacy.h
index 4afbef110..2cf33aafc 100644
--- a/src/lib/elc_fileselector_button_legacy.h
+++ b/src/lib/elc_fileselector_button_legacy.h
@@ -93,7 +93,7 @@ EAPI void elm_fileselector_button_window_size_get(const E
93 * 93 *
94 * @ingroup File_Selector_Button 94 * @ingroup File_Selector_Button
95 */ 95 */
96EAPI void elm_fileselector_button_path_set(Evas_Object *obj, const char *path); 96EINA_DEPRECATED EAPI void elm_fileselector_button_path_set(Evas_Object *obj, const char *path);
97 97
98/** 98/**
99 * Get the initial file system path set for a given file selector 99 * Get the initial file system path set for a given file selector
@@ -106,7 +106,7 @@ EAPI void elm_fileselector_button_path_set(Evas_Object *o
106 * 106 *
107 * @ingroup File_Selector_Button 107 * @ingroup File_Selector_Button
108 */ 108 */
109EAPI const char *elm_fileselector_button_path_get(const Evas_Object *obj); 109EINA_DEPRECATED EAPI const char *elm_fileselector_button_path_get(const Evas_Object *obj);
110 110
111/** 111/**
112 * Enable/disable a tree view in the given file selector button 112 * Enable/disable a tree view in the given file selector button
@@ -128,7 +128,7 @@ EAPI const char *elm_fileselector_button_path_get(const Evas_Obj
128 * 128 *
129 * @ingroup File_Selector_Button 129 * @ingroup File_Selector_Button
130 */ 130 */
131EAPI void elm_fileselector_button_expandable_set(Evas_Object *obj, Eina_Bool value); 131EINA_DEPRECATED EAPI void elm_fileselector_button_expandable_set(Evas_Object *obj, Eina_Bool value);
132 132
133/** 133/**
134 * Get whether tree view is enabled for the given file selector 134 * Get whether tree view is enabled for the given file selector
@@ -142,7 +142,7 @@ EAPI void elm_fileselector_button_expandable_set(Evas_Obj
142 * 142 *
143 * @ingroup File_Selector_Button 143 * @ingroup File_Selector_Button
144 */ 144 */
145EAPI Eina_Bool elm_fileselector_button_expandable_get(const Evas_Object *obj); 145EINA_DEPRECATED EAPI Eina_Bool elm_fileselector_button_expandable_get(const Evas_Object *obj);
146 146
147/** 147/**
148 * Set whether a given file selector button widget's internal file 148 * Set whether a given file selector button widget's internal file
@@ -162,7 +162,7 @@ EAPI Eina_Bool elm_fileselector_button_expandable_get(const Ev
162 * 162 *
163 * @ingroup File_Selector_Button 163 * @ingroup File_Selector_Button
164 */ 164 */
165EAPI void elm_fileselector_button_folder_only_set(Evas_Object *obj, Eina_Bool value); 165EINA_DEPRECATED EAPI void elm_fileselector_button_folder_only_set(Evas_Object *obj, Eina_Bool value);
166 166
167/** 167/**
168 * Get whether a given file selector button widget's internal file 168 * Get whether a given file selector button widget's internal file
@@ -178,7 +178,7 @@ EAPI void elm_fileselector_button_folder_only_set(Evas_Ob
178 * 178 *
179 * @ingroup File_Selector_Button 179 * @ingroup File_Selector_Button
180 */ 180 */
181EAPI Eina_Bool elm_fileselector_button_folder_only_get(const Evas_Object *obj); 181EINA_DEPRECATED EAPI Eina_Bool elm_fileselector_button_folder_only_get(const Evas_Object *obj);
182 182
183/** 183/**
184 * Enable/disable the file name entry box where the user can type 184 * Enable/disable the file name entry box where the user can type
@@ -197,7 +197,7 @@ EAPI Eina_Bool elm_fileselector_button_folder_only_get(const E
197 * 197 *
198 * @ingroup File_Selector_Button 198 * @ingroup File_Selector_Button
199 */ 199 */
200EAPI void elm_fileselector_button_is_save_set(Evas_Object *obj, Eina_Bool value); 200EINA_DEPRECATED EAPI void elm_fileselector_button_is_save_set(Evas_Object *obj, Eina_Bool value);
201 201
202/** 202/**
203 * Get whether the given file selector button widget's internal 203 * Get whether the given file selector button widget's internal
@@ -212,7 +212,7 @@ EAPI void elm_fileselector_button_is_save_set(Evas_Object
212 * 212 *
213 * @ingroup File_Selector_Button 213 * @ingroup File_Selector_Button
214 */ 214 */
215EAPI Eina_Bool elm_fileselector_button_is_save_get(const Evas_Object *obj); 215EINA_DEPRECATED EAPI Eina_Bool elm_fileselector_button_is_save_get(const Evas_Object *obj);
216 216
217/** 217/**
218 * Set whether a given file selector button widget's internal file 218 * Set whether a given file selector button widget's internal file
diff --git a/src/lib/elc_fileselector_entry.c b/src/lib/elc_fileselector_entry.c
index 89c1ce3a8..8d2452f76 100644
--- a/src/lib/elc_fileselector_entry.c
+++ b/src/lib/elc_fileselector_entry.c
@@ -5,6 +5,7 @@
5 5
6#include <Elementary.h> 6#include <Elementary.h>
7#include "elm_priv.h" 7#include "elm_priv.h"
8#include "elm_interface_fileselector.h"
8#include "elm_widget_fileselector_entry.h" 9#include "elm_widget_fileselector_entry.h"
9 10
10EAPI Eo_Op ELM_OBJ_FILESELECTOR_ENTRY_BASE_ID = EO_NOOP; 11EAPI Eo_Op ELM_OBJ_FILESELECTOR_ENTRY_BASE_ID = EO_NOOP;
@@ -87,7 +88,7 @@ _ACTIVATED_fwd(void *data,
87 ELM_FILESELECTOR_ENTRY_DATA_GET(data, sd); 88 ELM_FILESELECTOR_ENTRY_DATA_GET(data, sd);
88 89
89 file = elm_object_text_get(sd->entry); 90 file = elm_object_text_get(sd->entry);
90 elm_fileselector_button_path_set(sd->button, file); 91 elm_fileselector_path_set(sd->button, file);
91 evas_object_smart_callback_call(data, SIG_ACTIVATED, event_info); 92 evas_object_smart_callback_call(data, SIG_ACTIVATED, event_info);
92} 93}
93 94
@@ -345,7 +346,7 @@ _elm_fileselector_entry_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED)
345 elm_widget_mirrored_set(priv->button, elm_widget_mirrored_get(obj)); 346 elm_widget_mirrored_set(priv->button, elm_widget_mirrored_get(obj));
346 elm_widget_style_set(priv->button, "fileselector_entry/default"); 347 elm_widget_style_set(priv->button, "fileselector_entry/default");
347 348
348 elm_fileselector_button_expandable_set 349 elm_fileselector_expandable_set
349 (priv->button, _elm_config->fileselector_expand_enable); 350 (priv->button, _elm_config->fileselector_expand_enable);
350 351
351#define SIG_FWD(name) \ 352#define SIG_FWD(name) \
@@ -423,8 +424,9 @@ EAPI void
423elm_fileselector_entry_selected_set(Evas_Object *obj, 424elm_fileselector_entry_selected_set(Evas_Object *obj,
424 const char *path) 425 const char *path)
425{ 426{
426 ELM_FILESELECTOR_ENTRY_CHECK(obj); 427 ELM_FILESELECTOR_INTERFACE_CHECK(obj);
427 eo_do(obj, elm_obj_fileselector_entry_selected_set(path)); 428 Eina_Bool ret = EINA_FALSE;
429 eo_do(obj, elm_fileselector_interface_selected_set(path, &ret));
428} 430}
429 431
430static void 432static void
@@ -433,15 +435,15 @@ _selected_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
433 const char *path = va_arg(*list, const char *); 435 const char *path = va_arg(*list, const char *);
434 Elm_Fileselector_Entry_Smart_Data *sd = _pd; 436 Elm_Fileselector_Entry_Smart_Data *sd = _pd;
435 437
436 elm_fileselector_button_path_set(sd->button, path); 438 elm_fileselector_path_set(sd->button, path);
437} 439}
438 440
439EAPI const char * 441EAPI const char *
440elm_fileselector_entry_selected_get(const Evas_Object *obj) 442elm_fileselector_entry_selected_get(const Evas_Object *obj)
441{ 443{
442 ELM_FILESELECTOR_ENTRY_CHECK(obj) NULL; 444 ELM_FILESELECTOR_INTERFACE_CHECK(obj, NULL);
443 const char *ret = NULL; 445 const char *ret = NULL;
444 eo_do((Eo *) obj, elm_obj_fileselector_entry_selected_get(&ret)); 446 eo_do((Eo *) obj, elm_fileselector_interface_selected_get(&ret));
445 return ret; 447 return ret;
446} 448}
447 449
@@ -451,7 +453,7 @@ _selected_get(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
451 const char **ret = va_arg(*list, const char **); 453 const char **ret = va_arg(*list, const char **);
452 Elm_Fileselector_Entry_Smart_Data *sd = _pd; 454 Elm_Fileselector_Entry_Smart_Data *sd = _pd;
453 455
454 *ret = elm_fileselector_button_path_get(sd->button); 456 *ret = elm_fileselector_path_get(sd->button);
455} 457}
456 458
457EAPI void 459EAPI void
@@ -531,8 +533,8 @@ EAPI void
531elm_fileselector_entry_path_set(Evas_Object *obj, 533elm_fileselector_entry_path_set(Evas_Object *obj,
532 const char *path) 534 const char *path)
533{ 535{
534 ELM_FILESELECTOR_ENTRY_CHECK(obj); 536 ELM_FILESELECTOR_INTERFACE_CHECK(obj);
535 eo_do(obj, elm_obj_fileselector_entry_path_set(path)); 537 eo_do(obj, elm_fileselector_interface_path_set(path));
536} 538}
537 539
538static void 540static void
@@ -543,7 +545,7 @@ _path_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
543 Elm_Fileselector_Entry_Smart_Data *sd = _pd; 545 Elm_Fileselector_Entry_Smart_Data *sd = _pd;
544 const char *path = va_arg(*list, const char *); 546 const char *path = va_arg(*list, const char *);
545 547
546 elm_fileselector_button_path_set(sd->button, path); 548 elm_fileselector_path_set(sd->button, path);
547 s = elm_entry_utf8_to_markup(path); 549 s = elm_entry_utf8_to_markup(path);
548 if (s) 550 if (s)
549 { 551 {
@@ -555,9 +557,9 @@ _path_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
555EAPI const char * 557EAPI const char *
556elm_fileselector_entry_path_get(const Evas_Object *obj) 558elm_fileselector_entry_path_get(const Evas_Object *obj)
557{ 559{
558 ELM_FILESELECTOR_ENTRY_CHECK(obj) NULL; 560 ELM_FILESELECTOR_INTERFACE_CHECK(obj, NULL);
559 const char *ret = NULL; 561 const char *ret = NULL;
560 eo_do((Eo *) obj, elm_obj_fileselector_entry_path_get(&ret)); 562 eo_do((Eo *) obj, elm_fileselector_interface_path_get(&ret));
561 return ret; 563 return ret;
562} 564}
563 565
@@ -576,8 +578,8 @@ EAPI void
576elm_fileselector_entry_expandable_set(Evas_Object *obj, 578elm_fileselector_entry_expandable_set(Evas_Object *obj,
577 Eina_Bool value) 579 Eina_Bool value)
578{ 580{
579 ELM_FILESELECTOR_ENTRY_CHECK(obj); 581 ELM_FILESELECTOR_INTERFACE_CHECK(obj);
580 eo_do(obj, elm_obj_fileselector_entry_expandable_set(value)); 582 eo_do(obj, elm_fileselector_interface_expandable_set(value));
581} 583}
582 584
583static void 585static void
@@ -586,15 +588,15 @@ _expandable_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
586 Eina_Bool value = va_arg(*list, int); 588 Eina_Bool value = va_arg(*list, int);
587 Elm_Fileselector_Entry_Smart_Data *sd = _pd; 589 Elm_Fileselector_Entry_Smart_Data *sd = _pd;
588 590
589 elm_fileselector_button_expandable_set(sd->button, value); 591 elm_fileselector_expandable_set(sd->button, value);
590} 592}
591 593
592EAPI Eina_Bool 594EAPI Eina_Bool
593elm_fileselector_entry_expandable_get(const Evas_Object *obj) 595elm_fileselector_entry_expandable_get(const Evas_Object *obj)
594{ 596{
595 ELM_FILESELECTOR_ENTRY_CHECK(obj) EINA_FALSE; 597 ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
596 Eina_Bool ret = EINA_FALSE; 598 Eina_Bool ret = EINA_FALSE;
597 eo_do((Eo *) obj, elm_obj_fileselector_entry_expandable_get(&ret)); 599 eo_do((Eo *) obj, elm_fileselector_interface_expandable_get(&ret));
598 return ret; 600 return ret;
599} 601}
600 602
@@ -604,15 +606,15 @@ _expandable_get(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
604 Eina_Bool *ret = va_arg(*list, Eina_Bool *); 606 Eina_Bool *ret = va_arg(*list, Eina_Bool *);
605 Elm_Fileselector_Entry_Smart_Data *sd = _pd; 607 Elm_Fileselector_Entry_Smart_Data *sd = _pd;
606 608
607 *ret = elm_fileselector_button_expandable_get(sd->button); 609 *ret = elm_fileselector_expandable_get(sd->button);
608} 610}
609 611
610EAPI void 612EAPI void
611elm_fileselector_entry_folder_only_set(Evas_Object *obj, 613elm_fileselector_entry_folder_only_set(Evas_Object *obj,
612 Eina_Bool value) 614 Eina_Bool value)
613{ 615{
614 ELM_FILESELECTOR_ENTRY_CHECK(obj); 616 ELM_FILESELECTOR_INTERFACE_CHECK(obj);
615 eo_do(obj, elm_obj_fileselector_entry_folder_only_set(value)); 617 eo_do(obj, elm_fileselector_interface_folder_only_set(value));
616} 618}
617 619
618static void 620static void
@@ -621,15 +623,15 @@ _folder_only_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
621 Eina_Bool value = va_arg(*list, int); 623 Eina_Bool value = va_arg(*list, int);
622 Elm_Fileselector_Entry_Smart_Data *sd = _pd; 624 Elm_Fileselector_Entry_Smart_Data *sd = _pd;
623 625
624 elm_fileselector_button_folder_only_set(sd->button, value); 626 elm_fileselector_folder_only_set(sd->button, value);
625} 627}
626 628
627EAPI Eina_Bool 629EAPI Eina_Bool
628elm_fileselector_entry_folder_only_get(const Evas_Object *obj) 630elm_fileselector_entry_folder_only_get(const Evas_Object *obj)
629{ 631{
630 ELM_FILESELECTOR_ENTRY_CHECK(obj) EINA_FALSE; 632 ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
631 Eina_Bool ret = EINA_FALSE; 633 Eina_Bool ret = EINA_FALSE;
632 eo_do((Eo *) obj, elm_obj_fileselector_entry_folder_only_get(&ret)); 634 eo_do((Eo *) obj, elm_fileselector_interface_folder_only_get(&ret));
633 return ret; 635 return ret;
634} 636}
635 637
@@ -639,15 +641,15 @@ _folder_only_get(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
639 Eina_Bool *ret = va_arg(*list, Eina_Bool *); 641 Eina_Bool *ret = va_arg(*list, Eina_Bool *);
640 Elm_Fileselector_Entry_Smart_Data *sd = _pd; 642 Elm_Fileselector_Entry_Smart_Data *sd = _pd;
641 643
642 *ret = elm_fileselector_button_folder_only_get(sd->button); 644 *ret = elm_fileselector_folder_only_get(sd->button);
643} 645}
644 646
645EAPI void 647EAPI void
646elm_fileselector_entry_is_save_set(Evas_Object *obj, 648elm_fileselector_entry_is_save_set(Evas_Object *obj,
647 Eina_Bool value) 649 Eina_Bool value)
648{ 650{
649 ELM_FILESELECTOR_ENTRY_CHECK(obj); 651 ELM_FILESELECTOR_INTERFACE_CHECK(obj);
650 eo_do(obj, elm_obj_fileselector_entry_is_save_set(value)); 652 eo_do(obj, elm_fileselector_interface_is_save_set(value));
651} 653}
652 654
653static void 655static void
@@ -656,15 +658,15 @@ _is_save_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
656 Eina_Bool value = va_arg(*list, int); 658 Eina_Bool value = va_arg(*list, int);
657 Elm_Fileselector_Entry_Smart_Data *sd = _pd; 659 Elm_Fileselector_Entry_Smart_Data *sd = _pd;
658 660
659 elm_fileselector_button_is_save_set(sd->button, value); 661 elm_fileselector_is_save_set(sd->button, value);
660} 662}
661 663
662EAPI Eina_Bool 664EAPI Eina_Bool
663elm_fileselector_entry_is_save_get(const Evas_Object *obj) 665elm_fileselector_entry_is_save_get(const Evas_Object *obj)
664{ 666{
665 ELM_FILESELECTOR_ENTRY_CHECK(obj) EINA_FALSE; 667 ELM_FILESELECTOR_INTERFACE_CHECK(obj, EINA_FALSE);
666 Eina_Bool ret = EINA_FALSE; 668 Eina_Bool ret = EINA_FALSE;
667 eo_do((Eo *) obj, elm_obj_fileselector_entry_is_save_get(&ret)); 669 eo_do((Eo *) obj, elm_fileselector_interface_is_save_get(&ret));
668 return ret; 670 return ret;
669} 671}
670 672
@@ -674,7 +676,7 @@ _is_save_get(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
674 Eina_Bool *ret = va_arg(*list, Eina_Bool *); 676 Eina_Bool *ret = va_arg(*list, Eina_Bool *);
675 Elm_Fileselector_Entry_Smart_Data *sd = _pd; 677 Elm_Fileselector_Entry_Smart_Data *sd = _pd;
676 678
677 *ret = elm_fileselector_button_is_save_get(sd->button); 679 *ret = elm_fileselector_is_save_get(sd->button);
678} 680}
679 681
680EAPI void 682EAPI void
@@ -736,20 +738,21 @@ _class_constructor(Eo_Class *klass)
736 EO_OP_FUNC(ELM_OBJ_LAYOUT_ID(ELM_OBJ_LAYOUT_SUB_ID_TEXT_GET), _elm_fileselector_entry_smart_text_get), 738 EO_OP_FUNC(ELM_OBJ_LAYOUT_ID(ELM_OBJ_LAYOUT_SUB_ID_TEXT_GET), _elm_fileselector_entry_smart_text_get),
737 EO_OP_FUNC(ELM_OBJ_LAYOUT_ID(ELM_OBJ_LAYOUT_SUB_ID_SIZING_EVAL), _elm_fileselector_entry_smart_sizing_eval), 739 EO_OP_FUNC(ELM_OBJ_LAYOUT_ID(ELM_OBJ_LAYOUT_SUB_ID_SIZING_EVAL), _elm_fileselector_entry_smart_sizing_eval),
738 740
739 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_SELECTED_SET), _selected_set), 741 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_SELECTED_SET), _selected_set),
740 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_SELECTED_GET), _selected_get), 742 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_SELECTED_GET), _selected_get),
743 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_PATH_SET), _path_set),
744 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_PATH_GET), _path_get),
745 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_EXPANDABLE_SET), _expandable_set),
746 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_EXPANDABLE_GET), _expandable_get),
747 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_FOLDER_ONLY_SET), _folder_only_set),
748 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_FOLDER_ONLY_GET), _folder_only_get),
749 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_IS_SAVE_SET), _is_save_set),
750 EO_OP_FUNC(ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_IS_SAVE_GET), _is_save_get),
751
741 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_TITLE_SET), _window_title_set), 752 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_TITLE_SET), _window_title_set),
742 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_TITLE_GET), _window_title_get), 753 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_TITLE_GET), _window_title_get),
743 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_SIZE_SET), _window_size_set), 754 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_SIZE_SET), _window_size_set),
744 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_SIZE_GET), _window_size_get), 755 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_SIZE_GET), _window_size_get),
745 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_PATH_SET), _path_set),
746 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_PATH_GET), _path_get),
747 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_EXPANDABLE_SET), _expandable_set),
748 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_EXPANDABLE_GET), _expandable_get),
749 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_FOLDER_ONLY_SET), _folder_only_set),
750 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_FOLDER_ONLY_GET), _folder_only_get),
751 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_IS_SAVE_SET), _is_save_set),
752 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_IS_SAVE_GET), _is_save_get),
753 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_INWIN_MODE_SET), _inwin_mode_set), 756 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_INWIN_MODE_SET), _inwin_mode_set),
754 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_INWIN_MODE_GET), _inwin_mode_get), 757 EO_OP_FUNC(ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_INWIN_MODE_GET), _inwin_mode_get),
755 EO_OP_FUNC_SENTINEL 758 EO_OP_FUNC_SENTINEL
@@ -759,20 +762,10 @@ _class_constructor(Eo_Class *klass)
759 evas_smart_legacy_type_register(MY_CLASS_NAME_LEGACY, klass); 762 evas_smart_legacy_type_register(MY_CLASS_NAME_LEGACY, klass);
760} 763}
761static const Eo_Op_Description op_desc[] = { 764static const Eo_Op_Description op_desc[] = {
762 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_SELECTED_SET, "Set the initial file system path for a given file selector entry widget."),
763 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_SELECTED_GET, "Get the parent directory's path to the latest file selection on a given filer selector entry widget."),
764 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_TITLE_SET, "Set the title for a given file selector entry widget's window."), 765 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_TITLE_SET, "Set the title for a given file selector entry widget's window."),
765 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_TITLE_GET, "Get the title set for a given file selector entry widget's window."), 766 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_TITLE_GET, "Get the title set for a given file selector entry widget's window."),
766 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_SIZE_SET, "Set the size of a given file selector entry widget's window, holding the file selector itself."), 767 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_SIZE_SET, "Set the size of a given file selector entry widget's window, holding the file selector itself."),
767 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_SIZE_GET, "Get the size of a given file selector entry widget's window, holding the file selector itself."), 768 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_SIZE_GET, "Get the size of a given file selector entry widget's window, holding the file selector itself."),
768 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_PATH_SET, "Set the initial file system path and the entry's path string for a given file selector entry widget."),
769 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_PATH_GET, "Get the entry's path string for a given file selector entry widget."),
770 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_EXPANDABLE_SET, "Enable/disable a tree view in the given file selector entry widget's internal file selector."),
771 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_EXPANDABLE_GET, "Get whether tree view is enabled for the given file selector entry widget's internal file selector."),
772 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_FOLDER_ONLY_SET, "Set whether a given file selector entry widget's internal file selector is to display folders only or the directory contents, as well."),
773 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_FOLDER_ONLY_GET, "Get whether a given file selector entry widget's internal file selector is to display folders only or the directory contents, as well."),
774 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_IS_SAVE_SET, "Enable/disable the file name entry box where the user can type in a name for a file, in a given file selector entry widget's internal file selector."),
775 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_IS_SAVE_GET, "Get whether the given file selector entry widget's internal file selector is in 'saving dialog' mode."),
776 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_INWIN_MODE_SET, "Set whether a given file selector entry widget's internal file selector will raise an Elementary 'inner window', instead of a dedicated Elementary window."), 769 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_INWIN_MODE_SET, "Set whether a given file selector entry widget's internal file selector will raise an Elementary 'inner window', instead of a dedicated Elementary window."),
777 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_INWIN_MODE_GET, "Get whether a given file selector entry widget's internal file selector will raise an Elementary 'inner window', instead of a dedicated Elementary window."), 770 EO_OP_DESCRIPTION(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_INWIN_MODE_GET, "Get whether a given file selector entry widget's internal file selector will raise an Elementary 'inner window', instead of a dedicated Elementary window."),
778 EO_OP_DESCRIPTION_SENTINEL 771 EO_OP_DESCRIPTION_SENTINEL
@@ -787,4 +780,4 @@ static const Eo_Class_Description class_desc = {
787 _class_constructor, 780 _class_constructor,
788 NULL 781 NULL
789}; 782};
790EO_DEFINE_CLASS(elm_obj_fileselector_entry_class_get, &class_desc, ELM_OBJ_LAYOUT_CLASS, NULL); 783EO_DEFINE_CLASS(elm_obj_fileselector_entry_class_get, &class_desc, ELM_OBJ_LAYOUT_CLASS, ELM_FILESELECTOR_INTERFACE, NULL);
diff --git a/src/lib/elc_fileselector_entry_eo.h b/src/lib/elc_fileselector_entry_eo.h
index 459e07a0c..a5670987b 100644
--- a/src/lib/elc_fileselector_entry_eo.h
+++ b/src/lib/elc_fileselector_entry_eo.h
@@ -6,20 +6,10 @@ extern EAPI Eo_Op ELM_OBJ_FILESELECTOR_ENTRY_BASE_ID;
6 6
7enum 7enum
8{ 8{
9 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_SELECTED_SET,
10 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_SELECTED_GET,
11 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_TITLE_SET, 9 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_TITLE_SET,
12 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_TITLE_GET, 10 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_TITLE_GET,
13 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_SIZE_SET, 11 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_SIZE_SET,
14 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_SIZE_GET, 12 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_SIZE_GET,
15 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_PATH_SET,
16 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_PATH_GET,
17 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_EXPANDABLE_SET,
18 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_EXPANDABLE_GET,
19 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_FOLDER_ONLY_SET,
20 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_FOLDER_ONLY_GET,
21 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_IS_SAVE_SET,
22 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_IS_SAVE_GET,
23 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_INWIN_MODE_SET, 13 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_INWIN_MODE_SET,
24 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_INWIN_MODE_GET, 14 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_INWIN_MODE_GET,
25 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_LAST 15 ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_LAST
@@ -27,36 +17,6 @@ enum
27 17
28#define ELM_OBJ_FILESELECTOR_ENTRY_ID(sub_id) (ELM_OBJ_FILESELECTOR_ENTRY_BASE_ID + sub_id) 18#define ELM_OBJ_FILESELECTOR_ENTRY_ID(sub_id) (ELM_OBJ_FILESELECTOR_ENTRY_BASE_ID + sub_id)
29 19
30
31/**
32 * @def elm_obj_fileselector_entry_selected_set
33 * @since 1.8
34 *
35 * Set the initial file system path for a given file selector entry
36 *
37 * @param[in] path
38 *
39 * @see elm_fileselector_entry_selected_set
40 *
41 * @ingroup File_Selector_Entry
42 */
43#define elm_obj_fileselector_entry_selected_set(path) ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_SELECTED_SET), EO_TYPECHECK(const char *, path)
44
45/**
46 * @def elm_obj_fileselector_entry_selected_get
47 * @since 1.8
48 *
49 * Get the parent directory's path to the latest file selection on
50 * a given filer selector entry widget
51 *
52 * @param[out] ret
53 *
54 * @see elm_fileselector_entry_selected_get
55 *
56 * @ingroup File_Selector_Entry
57 */
58#define elm_obj_fileselector_entry_selected_get(ret) ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_SELECTED_GET), EO_TYPECHECK(const char **, ret)
59
60/** 20/**
61 * @def elm_obj_fileselector_entry_window_title_set 21 * @def elm_obj_fileselector_entry_window_title_set
62 * @since 1.8 22 * @since 1.8
@@ -119,124 +79,6 @@ enum
119#define elm_obj_fileselector_entry_window_size_get(width, height) ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_SIZE_GET), EO_TYPECHECK(Evas_Coord *, width), EO_TYPECHECK(Evas_Coord *, height) 79#define elm_obj_fileselector_entry_window_size_get(width, height) ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_WINDOW_SIZE_GET), EO_TYPECHECK(Evas_Coord *, width), EO_TYPECHECK(Evas_Coord *, height)
120 80
121/** 81/**
122 * @def elm_obj_fileselector_entry_path_set
123 * @since 1.8
124 *
125 * Set the initial file system path and the entry's path string for
126 * a given file selector entry widget
127 *
128 * @param[in] path
129 *
130 * @see elm_fileselector_entry_path_set
131 *
132 * @ingroup File_Selector_Entry
133 */
134#define elm_obj_fileselector_entry_path_set(path) ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_PATH_SET), EO_TYPECHECK(const char *, path)
135
136/**
137 * @def elm_obj_fileselector_entry_path_get
138 * @since 1.8
139 *
140 * Get the entry's path string for a given file selector entry
141 * widget
142 *
143 * @param[out] ret
144 *
145 * @see elm_fileselector_entry_path_get
146 *
147 * @ingroup File_Selector_Entry
148 */
149#define elm_obj_fileselector_entry_path_get(ret) ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_PATH_GET), EO_TYPECHECK(const char **, ret)
150
151/**
152 * @def elm_obj_fileselector_entry_expandable_set
153 * @since 1.8
154 *
155 * Enable/disable a tree view in the given file selector entry
156 *
157 * @param[in] value
158 *
159 * @see elm_fileselector_entry_expandable_set
160 *
161 * @ingroup File_Selector_Entry
162 */
163#define elm_obj_fileselector_entry_expandable_set(value) ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_EXPANDABLE_SET), EO_TYPECHECK(Eina_Bool, value)
164
165/**
166 * @def elm_obj_fileselector_entry_expandable_get
167 * @since 1.8
168 *
169 * Get whether tree view is enabled for the given file selector
170 *
171 * @param[out] ret
172 *
173 * @see elm_fileselector_entry_expandable_get
174 *
175 * @ingroup File_Selector_Entry
176 */
177#define elm_obj_fileselector_entry_expandable_get(ret) ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_EXPANDABLE_GET), EO_TYPECHECK(Eina_Bool *, ret)
178
179/**
180 * @def elm_obj_fileselector_entry_folder_only_set
181 * @since 1.8
182 *
183 * Set whether a given file selector entry widget's internal file
184 * selector is to display folders only or the directory contents,
185 * as well.
186 *
187 * @param[in] value
188 *
189 * @see elm_fileselector_entry_folder_only_set
190 *
191 * @ingroup File_Selector_Entry
192 */
193#define elm_obj_fileselector_entry_folder_only_set(value) ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_FOLDER_ONLY_SET), EO_TYPECHECK(Eina_Bool, value)
194
195/**
196 * @def elm_obj_fileselector_entry_folder_only_get
197 * @since 1.8
198 *
199 * Get whether a given file selector entry widget's internal file
200 * selector is displaying folders only or the directory contents,
201 * as well.
202 *
203 * @param[out] ret
204 *
205 * @see elm_fileselector_entry_folder_only_get
206 *
207 * @ingroup File_Selector_Entry
208 */
209#define elm_obj_fileselector_entry_folder_only_get(ret) ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_FOLDER_ONLY_GET), EO_TYPECHECK(Eina_Bool *, ret)
210
211/**
212 * @def elm_obj_fileselector_entry_is_save_set
213 * @since 1.8
214 *
215 * Enable/disable the file name entry box where the user can type
216 *
217 * @param[in] value
218 *
219 * @see elm_fileselector_entry_is_save_set
220 *
221 * @ingroup File_Selector_Entry
222 */
223#define elm_obj_fileselector_entry_is_save_set(value) ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_IS_SAVE_SET), EO_TYPECHECK(Eina_Bool, value)
224
225/**
226 * @def elm_obj_fileselector_entry_is_save_get
227 * @since 1.8
228 *
229 * Get whether the given file selector entry widget's internal
230 *
231 * @param[out] ret
232 *
233 * @see elm_fileselector_entry_is_save_get
234 *
235 * @ingroup File_Selector_Entry
236 */
237#define elm_obj_fileselector_entry_is_save_get(ret) ELM_OBJ_FILESELECTOR_ENTRY_ID(ELM_OBJ_FILESELECTOR_ENTRY_SUB_ID_IS_SAVE_GET), EO_TYPECHECK(Eina_Bool *, ret)
238
239/**
240 * @def elm_obj_fileselector_entry_inwin_mode_set 82 * @def elm_obj_fileselector_entry_inwin_mode_set
241 * @since 1.8 83 * @since 1.8
242 * 84 *
diff --git a/src/lib/elc_fileselector_entry_legacy.h b/src/lib/elc_fileselector_entry_legacy.h
index 475b47627..89d9ce519 100644
--- a/src/lib/elc_fileselector_entry_legacy.h
+++ b/src/lib/elc_fileselector_entry_legacy.h
@@ -94,7 +94,7 @@ EAPI void elm_fileselector_entry_window_size_get(const Ev
94 * 94 *
95 * @ingroup File_Selector_Entry 95 * @ingroup File_Selector_Entry
96 */ 96 */
97EAPI void elm_fileselector_entry_path_set(Evas_Object *obj, const char *path); 97EINA_DEPRECATED EAPI void elm_fileselector_entry_path_set(Evas_Object *obj, const char *path);
98 98
99/** 99/**
100 * Get the entry's path string for a given file selector entry 100 * Get the entry's path string for a given file selector entry
@@ -107,7 +107,7 @@ EAPI void elm_fileselector_entry_path_set(Evas_Object *ob
107 * 107 *
108 * @ingroup File_Selector_Entry 108 * @ingroup File_Selector_Entry
109 */ 109 */
110EAPI const char *elm_fileselector_entry_path_get(const Evas_Object *obj); 110EINA_DEPRECATED EAPI const char *elm_fileselector_entry_path_get(const Evas_Object *obj);
111 111
112/** 112/**
113 * Enable/disable a tree view in the given file selector entry 113 * Enable/disable a tree view in the given file selector entry
@@ -128,7 +128,7 @@ EAPI const char *elm_fileselector_entry_path_get(const Evas_Obje
128 * 128 *
129 * @ingroup File_Selector_Entry 129 * @ingroup File_Selector_Entry
130 */ 130 */
131EAPI void elm_fileselector_entry_expandable_set(Evas_Object *obj, Eina_Bool value); 131EINA_DEPRECATED EAPI void elm_fileselector_entry_expandable_set(Evas_Object *obj, Eina_Bool value);
132 132
133/** 133/**
134 * Get whether tree view is enabled for the given file selector 134 * Get whether tree view is enabled for the given file selector
@@ -142,7 +142,7 @@ EAPI void elm_fileselector_entry_expandable_set(Evas_Obje
142 * 142 *
143 * @ingroup File_Selector_Entry 143 * @ingroup File_Selector_Entry
144 */ 144 */
145EAPI Eina_Bool elm_fileselector_entry_expandable_get(const Evas_Object *obj); 145EINA_DEPRECATED EAPI Eina_Bool elm_fileselector_entry_expandable_get(const Evas_Object *obj);
146 146
147/** 147/**
148 * Set whether a given file selector entry widget's internal file 148 * Set whether a given file selector entry widget's internal file
@@ -162,7 +162,7 @@ EAPI Eina_Bool elm_fileselector_entry_expandable_get(const Eva
162 * 162 *
163 * @ingroup File_Selector_Entry 163 * @ingroup File_Selector_Entry
164 */ 164 */
165EAPI void elm_fileselector_entry_folder_only_set(Evas_Object *obj, Eina_Bool value); 165EINA_DEPRECATED EAPI void elm_fileselector_entry_folder_only_set(Evas_Object *obj, Eina_Bool value);
166 166
167/** 167/**
168 * Get whether a given file selector entry widget's internal file 168 * Get whether a given file selector entry widget's internal file
@@ -178,7 +178,7 @@ EAPI void elm_fileselector_entry_folder_only_set(Evas_Obj
178 * 178 *
179 * @ingroup File_Selector_Entry 179 * @ingroup File_Selector_Entry
180 */ 180 */
181EAPI Eina_Bool elm_fileselector_entry_folder_only_get(const Evas_Object *obj); 181EINA_DEPRECATED EAPI Eina_Bool elm_fileselector_entry_folder_only_get(const Evas_Object *obj);
182 182
183/** 183/**
184 * Enable/disable the file name entry box where the user can type 184 * Enable/disable the file name entry box where the user can type
@@ -197,7 +197,7 @@ EAPI Eina_Bool elm_fileselector_entry_folder_only_get(const Ev
197 * 197 *
198 * @ingroup File_Selector_Entry 198 * @ingroup File_Selector_Entry
199 */ 199 */
200EAPI void elm_fileselector_entry_is_save_set(Evas_Object *obj, Eina_Bool value); 200EINA_DEPRECATED EAPI void elm_fileselector_entry_is_save_set(Evas_Object *obj, Eina_Bool value);
201 201
202/** 202/**
203 * Get whether the given file selector entry widget's internal 203 * Get whether the given file selector entry widget's internal
@@ -212,7 +212,7 @@ EAPI void elm_fileselector_entry_is_save_set(Evas_Object
212 * 212 *
213 * @ingroup File_Selector_Entry 213 * @ingroup File_Selector_Entry
214 */ 214 */
215EAPI Eina_Bool elm_fileselector_entry_is_save_get(const Evas_Object *obj); 215EINA_DEPRECATED EAPI Eina_Bool elm_fileselector_entry_is_save_get(const Evas_Object *obj);
216 216
217/** 217/**
218 * Set whether a given file selector entry widget's internal file 218 * Set whether a given file selector entry widget's internal file
@@ -262,7 +262,7 @@ EAPI Eina_Bool elm_fileselector_entry_inwin_mode_get(const Eva
262 * 262 *
263 * @ingroup File_Selector_Entry 263 * @ingroup File_Selector_Entry
264 */ 264 */
265EAPI void elm_fileselector_entry_selected_set(Evas_Object *obj, const char *path); 265EINA_DEPRECATED EAPI void elm_fileselector_entry_selected_set(Evas_Object *obj, const char *path);
266 266
267/** 267/**
268 * Get the parent directory's path to the latest file selection on 268 * Get the parent directory's path to the latest file selection on
@@ -276,4 +276,4 @@ EAPI void elm_fileselector_entry_selected_set(Evas_Object
276 * 276 *
277 * @ingroup File_Selector_Entry 277 * @ingroup File_Selector_Entry
278 */ 278 */
279EAPI const char *elm_fileselector_entry_selected_get(const Evas_Object *obj); 279EINA_DEPRECATED EAPI const char *elm_fileselector_entry_selected_get(const Evas_Object *obj);
diff --git a/src/lib/elc_fileselector_eo.h b/src/lib/elc_fileselector_eo.h
index b8a38f94f..c056bedd0 100644
--- a/src/lib/elc_fileselector_eo.h
+++ b/src/lib/elc_fileselector_eo.h
@@ -11,87 +11,13 @@ extern EAPI Eo_Op ELM_OBJ_FILESELECTOR_BASE_ID;
11 11
12enum 12enum
13{ 13{
14 ELM_OBJ_FILESELECTOR_SUB_ID_IS_SAVE_SET,
15 ELM_OBJ_FILESELECTOR_SUB_ID_IS_SAVE_GET,
16 ELM_OBJ_FILESELECTOR_SUB_ID_FOLDER_ONLY_SET,
17 ELM_OBJ_FILESELECTOR_SUB_ID_FOLDER_ONLY_GET,
18 ELM_OBJ_FILESELECTOR_SUB_ID_BUTTONS_OK_CANCEL_SET, 14 ELM_OBJ_FILESELECTOR_SUB_ID_BUTTONS_OK_CANCEL_SET,
19 ELM_OBJ_FILESELECTOR_SUB_ID_BUTTONS_OK_CANCEL_GET, 15 ELM_OBJ_FILESELECTOR_SUB_ID_BUTTONS_OK_CANCEL_GET,
20 ELM_OBJ_FILESELECTOR_SUB_ID_EXPANDABLE_SET,
21 ELM_OBJ_FILESELECTOR_SUB_ID_EXPANDABLE_GET,
22 ELM_OBJ_FILESELECTOR_SUB_ID_PATH_SET,
23 ELM_OBJ_FILESELECTOR_SUB_ID_PATH_GET,
24 ELM_OBJ_FILESELECTOR_SUB_ID_MODE_SET,
25 ELM_OBJ_FILESELECTOR_SUB_ID_MODE_GET,
26 ELM_OBJ_FILESELECTOR_SUB_ID_MULTI_SELECT_SET,
27 ELM_OBJ_FILESELECTOR_SUB_ID_MULTI_SELECT_GET,
28 ELM_OBJ_FILESELECTOR_SUB_ID_SELECTED_GET,
29 ELM_OBJ_FILESELECTOR_SUB_ID_SELECTED_SET,
30 ELM_OBJ_FILESELECTOR_SUB_ID_SELECTED_PATHS_GET,
31 ELM_OBJ_FILESELECTOR_SUB_ID_MIME_TYPES_FILTER_APPEND,
32 ELM_OBJ_FILESELECTOR_SUB_ID_CUSTOM_FILTER_APPEND,
33 ELM_OBJ_FILESELECTOR_SUB_ID_FILTERS_CLEAR,
34 ELM_OBJ_FILESELECTOR_SUB_ID_HIDDEN_VISIBLE_SET,
35 ELM_OBJ_FILESELECTOR_SUB_ID_HIDDEN_VISIBLE_GET,
36 ELM_OBJ_FILESELECTOR_SUB_ID_THUMBNAIL_SIZE_SET,
37 ELM_OBJ_FILESELECTOR_SUB_ID_THUMBNAIL_SIZE_GET,
38 ELM_OBJ_FILESELECTOR_SUB_ID_SORT_METHOD_SET,
39 ELM_OBJ_FILESELECTOR_SUB_ID_SORT_METHOD_GET,
40 ELM_OBJ_FILESELECTOR_SUB_ID_LAST 16 ELM_OBJ_FILESELECTOR_SUB_ID_LAST
41}; 17};
42 18
43#define ELM_OBJ_FILESELECTOR_ID(sub_id) (ELM_OBJ_FILESELECTOR_BASE_ID + sub_id) 19#define ELM_OBJ_FILESELECTOR_ID(sub_id) (ELM_OBJ_FILESELECTOR_BASE_ID + sub_id)
44 20
45
46/**
47 * @def elm_obj_fileselector_is_save_set
48 * @since 1.8
49 *
50 * Enable/disable the file name entry box where the user can type
51 * in a name for a file, in a given file selector widget
52 *
53 * @param[in] is_save
54 *
55 * @see elm_fileselector_is_save_set
56 */
57#define elm_obj_fileselector_is_save_set(is_save) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_IS_SAVE_SET), EO_TYPECHECK(Eina_Bool, is_save)
58
59/**
60 * @def elm_obj_fileselector_is_save_get
61 * @since 1.8
62 *
63 * Get whether the given file selector is in "saving dialog" mode
64 *
65 * @param[out] ret
66 *
67 * @see elm_fileselector_is_save_get
68 */
69#define elm_obj_fileselector_is_save_get(ret) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_IS_SAVE_GET), EO_TYPECHECK(Eina_Bool *, ret)
70
71/**
72 * @def elm_obj_fileselector_folder_only_set
73 * @since 1.8
74 *
75 * Enable/disable folder-only view for a given file selector widget
76 *
77 * @param[in] only
78 *
79 * @see elm_fileselector_folder_only_set
80 */
81#define elm_obj_fileselector_folder_only_set(only) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_FOLDER_ONLY_SET), EO_TYPECHECK(Eina_Bool, only)
82
83/**
84 * @def elm_obj_fileselector_folder_only_get
85 * @since 1.8
86 *
87 * Get whether folder-only view is set for a given file selector
88 *
89 * @param[out] ret
90 *
91 * @see elm_fileselector_folder_only_get
92 */
93#define elm_obj_fileselector_folder_only_get(ret) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_FOLDER_ONLY_GET), EO_TYPECHECK(Eina_Bool *, ret)
94
95/** 21/**
96 * @def elm_obj_fileselector_buttons_ok_cancel_set 22 * @def elm_obj_fileselector_buttons_ok_cancel_set
97 * @since 1.8 23 * @since 1.8
@@ -117,258 +43,5 @@ enum
117#define elm_obj_fileselector_buttons_ok_cancel_get(ret) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_BUTTONS_OK_CANCEL_GET), EO_TYPECHECK(Eina_Bool *, ret) 43#define elm_obj_fileselector_buttons_ok_cancel_get(ret) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_BUTTONS_OK_CANCEL_GET), EO_TYPECHECK(Eina_Bool *, ret)
118 44
119/** 45/**
120 * @def elm_obj_fileselector_expandable_set
121 * @since 1.8
122 *
123 * Enable/disable a tree view in the given file selector widget,
124 * <b>if it's in @c #ELM_FILESELECTOR_LIST mode</b>
125 *
126 * @param[in] expand
127 *
128 * @see elm_fileselector_expandable_set
129 */
130#define elm_obj_fileselector_expandable_set(expand) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_EXPANDABLE_SET), EO_TYPECHECK(Eina_Bool, expand)
131
132/**
133 * @def elm_obj_fileselector_expandable_get
134 * @since 1.8
135 *
136 * Get whether tree view is enabled for the given file selector
137 *
138 * @param[out] ret
139 *
140 * @see elm_fileselector_expandable_get
141 */
142#define elm_obj_fileselector_expandable_get(ret) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_EXPANDABLE_GET), EO_TYPECHECK(Eina_Bool *, ret)
143
144/**
145 * @def elm_obj_fileselector_path_set
146 * @since 1.8
147 *
148 * Set, programmatically, the directory that a given file
149 * selector widget will display contents from
150 *
151 * @param[in] path
152 *
153 * @see elm_fileselector_path_set
154 */
155#define elm_obj_fileselector_path_set(path) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_PATH_SET), EO_TYPECHECK(const char *, path)
156
157/**
158 * @def elm_obj_fileselector_path_get
159 * @since 1.8
160 *
161 * Get the parent directory's path that a given file selector
162 * selector widget will display contents from
163 *
164 * @param[out] ret
165 *
166 * @see elm_fileselector_path_get
167 */
168#define elm_obj_fileselector_path_get(ret) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_PATH_GET), EO_TYPECHECK(const char **, ret)
169
170/**
171 * @def elm_obj_fileselector_mode_set
172 * @since 1.8
173 *
174 * Set the mode in which a given file selector widget will display
175 * (layout) file system entries in its view
176 *
177 * @param[in] mode
178 *
179 * @see elm_fileselector_mode_set
180 */
181#define elm_obj_fileselector_mode_set(mode) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_MODE_SET), EO_TYPECHECK(Elm_Fileselector_Mode, mode)
182
183/**
184 * @def elm_obj_fileselector_mode_get
185 * @since 1.8
186 *
187 * Get the mode in which a given file selector widget is displaying
188 *
189 * @param[out] ret
190 *
191 * @see elm_fileselector_mode_get
192 */
193#define elm_obj_fileselector_mode_get(ret) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_MODE_GET), EO_TYPECHECK(Elm_Fileselector_Mode *, ret)
194
195/**
196 * @def elm_obj_fileselector_multi_select_set
197 * @since 1.8
198 *
199 * Enable or disable multi-selection in the fileselector
200 *
201 * @param[in] multi
202 *
203 * @see elm_fileselector_multi_select_set
204 */
205#define elm_obj_fileselector_multi_select_set(multi) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_MULTI_SELECT_SET), EO_TYPECHECK(Eina_Bool, multi)
206
207/**
208 * @def elm_obj_fileselector_multi_select_get
209 * @since 1.8
210 *
211 * Gets if multi-selection in fileselector is enabled or disabled.
212 *
213 * @param[out] multi
214 *
215 * @see elm_fileselector_multi_select_get
216 */
217#define elm_obj_fileselector_multi_select_get(ret) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_MULTI_SELECT_GET), EO_TYPECHECK(Eina_Bool *, ret)
218
219/**
220 * @def elm_obj_fileselector_selected_get
221 * @since 1.8
222 *
223 * Get the currently selected item's (full) path, in the given file
224 * the given file selector widget
225 *
226 * @param[out] ret
227 *
228 * @see elm_fileselector_selected_get
229 */
230#define elm_obj_fileselector_selected_get(ret) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_SELECTED_GET), EO_TYPECHECK(const char **, ret)
231
232/**
233 * @def elm_obj_fileselector_selected_set
234 * @since 1.8
235 *
236 * Set, programmatically, the currently selected file/directory in
237 * the given file selector widget
238 *
239 * @param[in] path
240 * @param[out] ret
241 *
242 * @see elm_fileselector_selected_set
243 */
244#define elm_obj_fileselector_selected_set(path, ret) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_SELECTED_SET), EO_TYPECHECK(const char *, path), EO_TYPECHECK(Eina_Bool *, ret)
245
246/**
247 * @def elm_obj_fileselector_selected_paths_get
248 * @since 1.8
249 *
250 * Get a list of selected paths in the fileselector.
251 *
252 * @param[out] ret
253 *
254 * @see elm_fileselector_selected_paths_get
255 */
256#define elm_obj_fileselector_selected_paths_get(ret) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_SELECTED_PATHS_GET), EO_TYPECHECK(const Eina_List **, ret)
257
258/**
259 * @def elm_obj_fileselector_mime_types_filter_append
260 * @since 1.8
261 *
262 * Append mime type based filter into filter list
263 *
264 * @param[in] mime_types
265 * @param[in] filter_name
266 * @param[out] ret
267 *
268 * @see elm_fileselector_mime_types_filter_append
269 */
270#define elm_obj_fileselector_mime_types_filter_append(mime_types, filter_name, ret) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_MIME_TYPES_FILTER_APPEND), EO_TYPECHECK(const char *, mime_types), EO_TYPECHECK(const char *, filter_name), EO_TYPECHECK(Eina_Bool *, ret)
271
272/**
273 * @def elm_obj_fileselector_custom_filter_append
274 * @since 1.9
275 *
276 * Append custom filter into filter list
277 *
278 * @param[in] mime_types
279 * @param[in] filter_name
280 * @param[out] ret
281 *
282 * @see elm_fileselector_custom_filter_append
283 */
284#define elm_obj_fileselector_custom_filter_append(func, data, filter_name, ret) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_CUSTOM_FILTER_APPEND), EO_TYPECHECK(Elm_Fileselector_Filter_Func, func), EO_TYPECHECK(void *, data), EO_TYPECHECK(const char *, filter_name), EO_TYPECHECK(Eina_Bool *, ret)
285
286/**
287 * @def elm_obj_fileselector_filters_clear
288 * @since 1.8
289 *
290 * Clear all filters registered
291 *
292 *
293 * @see elm_fileselector_mime_type_filter_append
294 */
295#define elm_obj_fileselector_filters_clear() ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_FILTERS_CLEAR)
296
297/**
298 * @def elm_obj_fileselector_hidden_visible_set
299 * @since 1.8
300 *
301 * Enable or disable visibility of hidden files/directories
302 * in the file selector widget.
303 *
304 * @param[in] visible
305 *
306 * @see elm_fileselector_hidden_visible_get
307 */
308#define elm_obj_fileselector_hidden_visible_set(multi) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_HIDDEN_VISIBLE_SET), EO_TYPECHECK(Eina_Bool, multi)
309
310/**
311 * @def elm_obj_fileselector_hidden_visible_get
312 * @since 1.8
313 *
314 * Get if hiden files/directories in the file selector are visible or not.
315 *
316 * @param[out] visible
317 *
318 * @see elm_fileselector_hidden_visible_set
319 */
320#define elm_obj_fileselector_hidden_visible_get(ret) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_HIDDEN_VISIBLE_GET), EO_TYPECHECK(Eina_Bool *, ret)
321
322/**
323 * @def elm_obj_fileselector_thumbnail_size_get
324 * @since 1.9
325 *
326 * Get the size for the thumbnail of a given file selector widget
327 *
328 * @param[out] w
329 * @param[out] h
330 *
331 * @see elm_fileselector_thumbnail_size_get
332 */
333#define elm_obj_fileselector_thumbnail_size_get(w, h) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_THUMBNAIL_SIZE_GET), EO_TYPECHECK(Evas_Coord *, w), EO_TYPECHECK(Evas_Coord *, h)
334
335/**
336 * @def elm_obj_fileselector_group_thumbnail_size_set
337 * @since 1.9
338 *
339 * Set the size for the thumbnail of the file selector widget's view.
340 *
341 * @param[in] w
342 * @param[in] h
343 *
344 * @see elm_fileselector_thumbnail_size_set
345 */
346#define elm_obj_fileselector_thumbnail_size_set(w, h) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_THUMBNAIL_SIZE_SET), EO_TYPECHECK(Evas_Coord, w), EO_TYPECHECK(Evas_Coord, h)
347
348/**
349 * @def elm_obj_fileselector_sort_method_get
350 * @since 1.9
351 *
352 * Get the sort method of the file selector widget.
353 *
354 * @param[out] ret
355 *
356 * @see elm_fileselector_sort_method_get
357 */
358#define elm_obj_fileselector_sort_method_get(ret) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_SORT_METHOD_GET), EO_TYPECHECK(Elm_Fileselector_Sort *, ret)
359
360/**
361 * @def elm_obj_fileselector_sort_method_set
362 * @since 1.9
363 *
364 * Set the sort method of the file selector widget.
365 *
366 * @param[in] sort
367 *
368 * @see elm_fileselector_sort_method_set
369 */
370#define elm_obj_fileselector_sort_method_set(sort) ELM_OBJ_FILESELECTOR_ID(ELM_OBJ_FILESELECTOR_SUB_ID_SORT_METHOD_SET), EO_TYPECHECK(Elm_Fileselector_Sort, sort)
371
372/**
373 * @} 46 * @}
374 */ 47 */
diff --git a/src/lib/elm_interface_fileselector.c b/src/lib/elm_interface_fileselector.c
new file mode 100644
index 000000000..ad959899d
--- /dev/null
+++ b/src/lib/elm_interface_fileselector.c
@@ -0,0 +1,47 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4
5#include <Elementary.h>
6#include "elm_interface_fileselector.h"
7
8EAPI Eo_Op ELM_FILESELECTOR_INTERFACE_BASE_ID = EO_NOOP;
9
10#define MY_FILESELECTOR_INTERFACE_NAME "Elm_Interface_Fileselector"
11
12static const Eo_Op_Description op_desc[] = {
13 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_IS_SAVE_SET, "Enable/disable the file name entry box where the user can type in a name for a file, in a given file selector widget."),
14 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_IS_SAVE_GET, "Get whether the given file selector is in 'saving dialog' mode."),
15 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_FOLDER_ONLY_SET, "Enable/disable folder-only view for a given file selector widget."),
16 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_FOLDER_ONLY_GET, "Get whether folder-only view is set for a given file selector widget."),
17 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_EXPANDABLE_SET, "Enable/disable a tree view in the given file selector widget, if it's in #ELM_FILESELECTOR_LIST mode."),
18 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_EXPANDABLE_GET, "Get whether tree view is enabled for the given file selector widget."),
19 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_PATH_SET, "Set, programmatically, the directory that a given file selector widget will display contents from."),
20 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_PATH_GET, "Get the parent directory's path that a given file selector widget is displaying."),
21 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_MODE_SET, "Set the mode in which a given file selector widget will display (layout) file system entries in its view."),
22 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_MODE_GET, "Get the mode in which a given file selector widget is displaying (layouting) file system entries in its view."),
23 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_MULTI_SELECT_SET, "Enable or disable multi-selection in the file selector widget."),
24 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_MULTI_SELECT_GET, "Get if multi-selection in file selector widget is enabled or disabled."),
25 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_SELECTED_GET, "Get the currently selected item's (full) path, in the given file selector widget."),
26 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_SELECTED_SET, "Set, programmatically, the currently selected file/directory in the given file selector widget."),
27 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_SELECTED_PATHS_GET, "Get the currently selected item's (full) path, in the given file selector widget."),
28 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_MIME_TYPES_FILTER_APPEND, "Append mime type filter"),
29 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_CUSTOM_FILTER_APPEND, "Append custom filter"),
30 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_FILTERS_CLEAR, "Clear filters"),
31 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_HIDDEN_VISIBLE_SET, "Enable or disable visibility of hidden files/directories in the file selector widget."),
32 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_HIDDEN_VISIBLE_GET, "Get if visibility of hidden files/directories in the file selector widget is enabled or disabled."),
33 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_THUMBNAIL_SIZE_SET, "Set the size for the thumbnail of the file selector widget's view, if it's in #ELM_FILESELECTOR_GRID mode"),
34 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_THUMBNAIL_SIZE_GET, "Get the size for the thumbnails of a given file selector widget."),
35 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_SORT_METHOD_SET, "Set the sort method of the file selector widget."),
36 EO_OP_DESCRIPTION(ELM_FILESELECTOR_INTERFACE_SUB_ID_SORT_METHOD_GET, "Get the sort method of the file selector widget."),
37 EO_OP_DESCRIPTION_SENTINEL
38};
39static const Eo_Class_Description _elm_fileselector_interface_desc = {
40 EO_VERSION,
41 MY_FILESELECTOR_INTERFACE_NAME,
42 EO_CLASS_TYPE_INTERFACE,
43 EO_CLASS_DESCRIPTION_OPS(&ELM_FILESELECTOR_INTERFACE_BASE_ID, op_desc, ELM_FILESELECTOR_INTERFACE_SUB_ID_LAST),
44 NULL, 0, NULL, NULL
45};
46
47EO_DEFINE_CLASS(elm_fileselector_interface_get, &_elm_fileselector_interface_desc, NULL, NULL);
diff --git a/src/lib/elm_interface_fileselector.h b/src/lib/elm_interface_fileselector.h
new file mode 100644
index 000000000..74dfda789
--- /dev/null
+++ b/src/lib/elm_interface_fileselector.h
@@ -0,0 +1,376 @@
1#ifndef ELM_INTEFARCE_FILESELECTOR_H
2#define ELM_INTEFARCE_FILESELECTOR_H
3
4#define ELM_FILESELECTOR_INTERFACE elm_fileselector_interface_get()
5
6const Eo_Class *elm_fileselector_interface_get(void) EINA_CONST;
7
8extern EAPI Eo_Op ELM_FILESELECTOR_INTERFACE_BASE_ID;
9
10enum
11{
12 ELM_FILESELECTOR_INTERFACE_SUB_ID_IS_SAVE_SET,
13 ELM_FILESELECTOR_INTERFACE_SUB_ID_IS_SAVE_GET,
14 ELM_FILESELECTOR_INTERFACE_SUB_ID_FOLDER_ONLY_SET,
15 ELM_FILESELECTOR_INTERFACE_SUB_ID_FOLDER_ONLY_GET,
16 ELM_FILESELECTOR_INTERFACE_SUB_ID_EXPANDABLE_SET,
17 ELM_FILESELECTOR_INTERFACE_SUB_ID_EXPANDABLE_GET,
18 ELM_FILESELECTOR_INTERFACE_SUB_ID_PATH_SET,
19 ELM_FILESELECTOR_INTERFACE_SUB_ID_PATH_GET,
20 ELM_FILESELECTOR_INTERFACE_SUB_ID_MODE_SET,
21 ELM_FILESELECTOR_INTERFACE_SUB_ID_MODE_GET,
22 ELM_FILESELECTOR_INTERFACE_SUB_ID_MULTI_SELECT_SET,
23 ELM_FILESELECTOR_INTERFACE_SUB_ID_MULTI_SELECT_GET,
24 ELM_FILESELECTOR_INTERFACE_SUB_ID_SELECTED_GET,
25 ELM_FILESELECTOR_INTERFACE_SUB_ID_SELECTED_SET,
26 ELM_FILESELECTOR_INTERFACE_SUB_ID_SELECTED_PATHS_GET,
27 ELM_FILESELECTOR_INTERFACE_SUB_ID_MIME_TYPES_FILTER_APPEND,
28 ELM_FILESELECTOR_INTERFACE_SUB_ID_CUSTOM_FILTER_APPEND,
29 ELM_FILESELECTOR_INTERFACE_SUB_ID_FILTERS_CLEAR,
30 ELM_FILESELECTOR_INTERFACE_SUB_ID_HIDDEN_VISIBLE_SET,
31 ELM_FILESELECTOR_INTERFACE_SUB_ID_HIDDEN_VISIBLE_GET,
32 ELM_FILESELECTOR_INTERFACE_SUB_ID_THUMBNAIL_SIZE_SET,
33 ELM_FILESELECTOR_INTERFACE_SUB_ID_THUMBNAIL_SIZE_GET,
34 ELM_FILESELECTOR_INTERFACE_SUB_ID_SORT_METHOD_SET,
35 ELM_FILESELECTOR_INTERFACE_SUB_ID_SORT_METHOD_GET,
36 ELM_FILESELECTOR_INTERFACE_SUB_ID_LAST
37};
38
39#define ELM_FILESELECTOR_INTERFACE_ID(sub_id) (ELM_FILESELECTOR_INTERFACE_BASE_ID + sub_id)
40
41/**
42 * @def elm_fileselector_interface_is_save_set
43 * @since 1.9
44 *
45 * Enable/disable the file name entry box where the user can type
46 * in a name for a file, in a given file selector widget
47 *
48 * @param[in] is_save
49 *
50 * @see elm_fileselector_is_save_set
51 */
52#define elm_fileselector_interface_is_save_set(is_save) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_IS_SAVE_SET), EO_TYPECHECK(Eina_Bool, is_save)
53
54/**
55 * @def elm_fileselector_interface_is_save_get
56 * @since 1.9
57 *
58 * Get whether the given file selector is in "saving dialog" mode
59 *
60 * @param[out] ret
61 *
62 * @see elm_fileselector_is_save_get
63 */
64#define elm_fileselector_interface_is_save_get(ret) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_IS_SAVE_GET), EO_TYPECHECK(Eina_Bool *, ret)
65
66/**
67 * @def elm_fileselector_interface_folder_only_set
68 * @since 1.9
69 *
70 * Enable/disable folder-only view for a given file selector widget
71 *
72 * @param[in] only
73 *
74 * @see elm_fileselector_folder_only_set
75 */
76#define elm_fileselector_interface_folder_only_set(only) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_FOLDER_ONLY_SET), EO_TYPECHECK(Eina_Bool, only)
77
78/**
79 * @def elm_fileselector_interface_folder_only_get
80 * @since 1.9
81 *
82 * Get whether folder-only view is set for a given file selector
83 *
84 * @param[out] ret
85 *
86 * @see elm_fileselector_folder_only_get
87 */
88#define elm_fileselector_interface_folder_only_get(ret) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_FOLDER_ONLY_GET), EO_TYPECHECK(Eina_Bool *, ret)
89
90/**
91 * @def elm_fileselector_interface_buttons_ok_cancel_set
92 * @since 1.9
93 *
94 * Enable/disable the "ok" and "cancel" buttons on a given file
95 *
96 * @param[in] visible
97 *
98 * @see elm_fileselector_buttons_ok_cancel_set
99 */
100#define elm_fileselector_interface_buttons_ok_cancel_set(visible) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_BUTTONS_OK_CANCEL_SET), EO_TYPECHECK(Eina_Bool, visible)
101
102/**
103 * @def elm_fileselector_interface_buttons_ok_cancel_get
104 * @since 1.9
105 *
106 * Get whether the "ok" and "cancel" buttons on a given file
107 *
108 * @param[out] ret
109 *
110 * @see elm_fileselector_buttons_ok_cancel_get
111 */
112#define elm_fileselector_interface_buttons_ok_cancel_get(ret) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_BUTTONS_OK_CANCEL_GET), EO_TYPECHECK(Eina_Bool *, ret)
113
114/**
115 * @def elm_fileselector_interface_expandable_set
116 * @since 1.9
117 *
118 * Enable/disable a tree view in the given file selector widget,
119 * <b>if it's in @c #ELM_FILESELECTOR_LIST mode</b>
120 *
121 * @param[in] expand
122 *
123 * @see elm_fileselector_expandable_set
124 */
125#define elm_fileselector_interface_expandable_set(expand) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_EXPANDABLE_SET), EO_TYPECHECK(Eina_Bool, expand)
126
127/**
128 * @def elm_fileselector_interface_expandable_get
129 * @since 1.9
130 *
131 * Get whether tree view is enabled for the given file selector
132 *
133 * @param[out] ret
134 *
135 * @see elm_fileselector_expandable_get
136 */
137#define elm_fileselector_interface_expandable_get(ret) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_EXPANDABLE_GET), EO_TYPECHECK(Eina_Bool *, ret)
138
139/**
140 * @def elm_fileselector_interface_path_set
141 * @since 1.9
142 *
143 * Set, programmatically, the directory that a given file
144 * selector widget will display contents from
145 *
146 * @param[in] path
147 *
148 * @see elm_fileselector_path_set
149 */
150#define elm_fileselector_interface_path_set(path) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_PATH_SET), EO_TYPECHECK(const char *, path)
151
152/**
153 * @def elm_fileselector_interface_path_get
154 * @since 1.9
155 *
156 * Get the parent directory's path that a given file selector
157 * selector widget will display contents from
158 *
159 * @param[out] ret
160 *
161 * @see elm_fileselector_path_get
162 */
163#define elm_fileselector_interface_path_get(ret) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_PATH_GET), EO_TYPECHECK(const char **, ret)
164
165/**
166 * @def elm_fileselector_interface_mode_set
167 * @since 1.9
168 *
169 * Set the mode in which a given file selector widget will display
170 * (layout) file system entries in its view
171 *
172 * @param[in] mode
173 *
174 * @see elm_fileselector_mode_set
175 */
176#define elm_fileselector_interface_mode_set(mode) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_MODE_SET), EO_TYPECHECK(Elm_Fileselector_Mode, mode)
177
178/**
179 * @def elm_fileselector_interface_mode_get
180 * @since 1.9
181 *
182 * Get the mode in which a given file selector widget is displaying
183 *
184 * @param[out] ret
185 *
186 * @see elm_fileselector_mode_get
187 */
188#define elm_fileselector_interface_mode_get(ret) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_MODE_GET), EO_TYPECHECK(Elm_Fileselector_Mode *, ret)
189
190/**
191 * @def elm_fileselector_interface_multi_select_set
192 * @since 1.9
193 *
194 * Enable or disable multi-selection in the fileselector
195 *
196 * @param[in] multi
197 *
198 * @see elm_fileselector_multi_select_set
199 */
200#define elm_fileselector_interface_multi_select_set(multi) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_MULTI_SELECT_SET), EO_TYPECHECK(Eina_Bool, multi)
201
202/**
203 * @def elm_fileselector_interface_multi_select_get
204 * @since 1.9
205 *
206 * Gets if multi-selection in fileselector is enabled or disabled.
207 *
208 * @param[out] multi
209 *
210 * @see elm_fileselector_multi_select_get
211 */
212#define elm_fileselector_interface_multi_select_get(ret) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_MULTI_SELECT_GET), EO_TYPECHECK(Eina_Bool *, ret)
213
214/**
215 * @def elm_fileselector_interface_selected_get
216 * @since 1.9
217 *
218 * Get the currently selected item's (full) path, in the given file
219 * the given file selector widget
220 *
221 * @param[out] ret
222 *
223 * @see elm_fileselector_selected_get
224 */
225#define elm_fileselector_interface_selected_get(ret) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_SELECTED_GET), EO_TYPECHECK(const char **, ret)
226
227/**
228 * @def elm_fileselector_interface_selected_set
229 * @since 1.9
230 *
231 * Set, programmatically, the currently selected file/directory in
232 * the given file selector widget
233 *
234 * @param[in] path
235 * @param[out] ret
236 *
237 * @see elm_fileselector_selected_set
238 */
239#define elm_fileselector_interface_selected_set(path, ret) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_SELECTED_SET), EO_TYPECHECK(const char *, path), EO_TYPECHECK(Eina_Bool *, ret)
240
241/**
242 * @def elm_fileselector_interface_selected_paths_get
243 * @since 1.9
244 *
245 * Get a list of selected paths in the fileselector.
246 *
247 * @param[out] ret
248 *
249 * @see elm_fileselector_selected_paths_get
250 */
251#define elm_fileselector_interface_selected_paths_get(ret) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_SELECTED_PATHS_GET), EO_TYPECHECK(const Eina_List **, ret)
252
253/**
254 * @def elm_fileselector_interface_mime_types_filter_append
255 * @since 1.9
256 *
257 * Append mime type based filter into filter list
258 *
259 * @param[in] mime_types
260 * @param[in] filter_name
261 * @param[out] ret
262 *
263 * @see elm_fileselector_mime_types_filter_append
264 */
265#define elm_fileselector_interface_mime_types_filter_append(mime_types, filter_name, ret) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_MIME_TYPES_FILTER_APPEND), EO_TYPECHECK(const char *, mime_types), EO_TYPECHECK(const char *, filter_name), EO_TYPECHECK(Eina_Bool *, ret)
266
267/**
268 * @def elm_fileselector_interface_custom_filter_append
269 * @since 1.9
270 *
271 * Append custom filter into filter list
272 *
273 * @param[in] mime_types
274 * @param[in] filter_name
275 * @param[out] ret
276 *
277 * @see elm_fileselector_custom_filter_append
278 */
279#define elm_fileselector_interface_custom_filter_append(func, data, filter_name, ret) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_CUSTOM_FILTER_APPEND), EO_TYPECHECK(Elm_Fileselector_Filter_Func, func), EO_TYPECHECK(void *, data), EO_TYPECHECK(const char *, filter_name), EO_TYPECHECK(Eina_Bool *, ret)
280
281/**
282 * @def elm_fileselector_interface_filters_clear
283 * @since 1.9
284 *
285 * Clear all filters registered
286 *
287 *
288 * @see elm_fileselector_mime_type_filter_append
289 */
290#define elm_fileselector_interface_filters_clear() ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_FILTERS_CLEAR)
291
292/**
293 * @def elm_fileselector_interface_hidden_visible_set
294 * @since 1.9
295 *
296 * Enable or disable visibility of hidden files/directories
297 * in the file selector widget.
298 *
299 * @param[in] visible
300 *
301 * @see elm_fileselector_hidden_visible_get
302 */
303#define elm_fileselector_interface_hidden_visible_set(multi) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_HIDDEN_VISIBLE_SET), EO_TYPECHECK(Eina_Bool, multi)
304
305/**
306 * @def elm_fileselector_interface_hidden_visible_get
307 * @since 1.9
308 *
309 * Get if hiden files/directories in the file selector are visible or not.
310 *
311 * @param[out] visible
312 *
313 * @see elm_fileselector_hidden_visible_set
314 */
315#define elm_fileselector_interface_hidden_visible_get(ret) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_HIDDEN_VISIBLE_GET), EO_TYPECHECK(Eina_Bool *, ret)
316
317/**
318 * @def elm_fileselector_interface_thumbnail_size_get
319 * @since 1.9
320 *
321 * Get the size for the thumbnail of a given file selector widget
322 *
323 * @param[out] w
324 * @param[out] h
325 *
326 * @see elm_fileselector_thumbnail_size_get
327 */
328#define elm_fileselector_interface_thumbnail_size_get(w, h) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_THUMBNAIL_SIZE_GET), EO_TYPECHECK(Evas_Coord *, w), EO_TYPECHECK(Evas_Coord *, h)
329
330/**
331 * @def elm_fileselector_interface_group_thumbnail_size_set
332 * @since 1.9
333 *
334 * Set the size for the thumbnail of the file selector widget's view.
335 *
336 * @param[in] w
337 * @param[in] h
338 *
339 * @see elm_fileselector_thumbnail_size_set
340 */
341#define elm_fileselector_interface_thumbnail_size_set(w, h) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_THUMBNAIL_SIZE_SET), EO_TYPECHECK(Evas_Coord, w), EO_TYPECHECK(Evas_Coord, h)
342
343/**
344 * @def elm_fileselector_interface_sort_method_get
345 * @since 1.9
346 *
347 * Get the sort method of the file selector widget.
348 *
349 * @param[out] ret
350 *
351 * @see elm_fileselector_sort_method_get
352 */
353#define elm_fileselector_interface_sort_method_get(ret) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_SORT_METHOD_GET), EO_TYPECHECK(Elm_Fileselector_Sort *, ret)
354
355/**
356 * @def elm_fileselector_interface_sort_method_set
357 * @since 1.9
358 *
359 * Set the sort method of the file selector widget.
360 *
361 * @param[in] sort
362 *
363 * @see elm_fileselector_sort_method_set
364 */
365#define elm_fileselector_interface_sort_method_set(sort) ELM_FILESELECTOR_INTERFACE_ID(ELM_FILESELECTOR_INTERFACE_SUB_ID_SORT_METHOD_SET), EO_TYPECHECK(Elm_Fileselector_Sort, sort)
366
367#define ELM_FILESELECTOR_INTERFACE_CHECK(obj, ...) \
368 if (EINA_UNLIKELY(!eo_isa(obj, ELM_FILESELECTOR_INTERFACE))) \
369 { \
370 ERR("The object (%p) doesn't implement the Elementary scrollable" \
371 " interface", obj); \
372 if (getenv("ELM_ERROR_ABORT")) abort(); \
373 return __VA_ARGS__; \
374 }
375
376#endif