summaryrefslogtreecommitdiff
path: root/src/examples/eio/efl_io_manager_ls.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-08-15 14:44:41 +0100
committerTom Hacohen <tom@stosb.com>2016-08-15 15:07:42 +0100
commite65aae994e72c1d3f8ac6b5360d3772f177b77ef (patch)
tree7ecaf136e45470635889191aded2b47057720a98 /src/examples/eio/efl_io_manager_ls.c
parent35abb3c34d10a4826c98055fb85ecf93915e5ea8 (diff)
Eo: Finish the renaming of Eo to the EFL.
This renames all the rest of the API to the EFL namespace except for Eo_Event that will follow soon. Obviously breaks both API and ABI.
Diffstat (limited to 'src/examples/eio/efl_io_manager_ls.c')
-rw-r--r--src/examples/eio/efl_io_manager_ls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/eio/efl_io_manager_ls.c b/src/examples/eio/efl_io_manager_ls.c
index a411de1efb..ea2dcca422 100644
--- a/src/examples/eio/efl_io_manager_ls.c
+++ b/src/examples/eio/efl_io_manager_ls.c
@@ -15,7 +15,7 @@ void done_cb(void *data, void *value EINA_UNUSED)
15 Efl_Io_Manager *job = data; 15 Efl_Io_Manager *job = data;
16 printf("%s done listing files.\n", __FUNCTION__); 16 printf("%s done listing files.\n", __FUNCTION__);
17 ecore_main_loop_quit(); 17 ecore_main_loop_quit();
18 eo_unref(job); 18 efl_unref(job);
19} 19}
20 20
21void error_cb(void *data, Eina_Error error) 21void error_cb(void *data, Eina_Error error)
@@ -25,7 +25,7 @@ void error_cb(void *data, Eina_Error error)
25 printf("%s error: %s\n", __FUNCTION__, msg); 25 printf("%s error: %s\n", __FUNCTION__, msg);
26 ecore_main_loop_quit(); 26 ecore_main_loop_quit();
27 27
28 eo_unref(job); 28 efl_unref(job);
29} 29}
30 30
31void filter_cb(void *data EINA_UNUSED, const Eo_Event *event) 31void filter_cb(void *data EINA_UNUSED, const Eo_Event *event)
@@ -51,7 +51,7 @@ void list_files(void *data)
51 Eina_Promise *promise; 51 Eina_Promise *promise;
52 const char *path = data; 52 const char *path = data;
53 53
54 Efl_Io_Manager *job = eo_add(EFL_IO_MANAGER_CLASS, NULL); 54 Efl_Io_Manager *job = efl_add(EFL_IO_MANAGER_CLASS, NULL);
55 efl_event_callback_add(job, EFL_IO_MANAGER_EVENT_FILTER_NAME, (Efl_Event_Cb)&filter_cb, NULL); 55 efl_event_callback_add(job, EFL_IO_MANAGER_EVENT_FILTER_NAME, (Efl_Event_Cb)&filter_cb, NULL);
56 promise = efl_io_manager_file_ls(job, path); 56 promise = efl_io_manager_file_ls(job, path);
57 eina_promise_progress_cb_add(promise, (Eina_Promise_Progress_Cb)&progress_cb, NULL, NULL); 57 eina_promise_progress_cb_add(promise, (Eina_Promise_Progress_Cb)&progress_cb, NULL, NULL);