summaryrefslogtreecommitdiff
path: root/src/examples/elementary/filemvc.c
diff options
context:
space:
mode:
authorSangHyeon Jade Lee <sh10233.lee@samsung.com>2019-01-31 13:35:34 +0900
committerSangHyeon Jade Lee <sh10233.lee@samsung.com>2019-01-31 14:59:37 +0900
commit5525c89a3d1091cd17c5df6fbdc7378f0d0b4ff3 (patch)
tree16e710a757db55ef1f6de3201b5f4542de3a7680 /src/examples/elementary/filemvc.c
parentc713bb90d3fe4a56ebd5f4f88cd5a248c5b7e482 (diff)
efl_model : rename all efl_model based classes.
Summary: As the result of discussion in T7458, we need to rename all efl_model based classes with efl_XXX_Model sequence. I've run few vote for this, see V42, V43 few classes are totally renamed as our consideration of misnaming. | Efl.Model_Loop | Efl.Loop_Model | | Efl.Model_Item | Efl.Generic_Model | | Efl.Model_Container | Efl.Container_Model | | Efl.Model_Container_Item | Efl.Container_Model_Item | | Efl.Model_Composite | Efl.Composite_Model | | Efl.Model_Composite_Boolean | Efl.Boolean_Model | | Efl.Model_Composite_Boolean_Chlidren | Efl.Boolean_Model_Item | | Efl.Model_Composite_Selection | Efl.Select_Model | | Efl.Model_Composite_Selection_Chlidren | Efl.Select_Model_Item | | Efl.Model_View | Efl.View_Model | | Eio.Model | Efl.Io.Model | | Efl.Ui.Model_State | Efl.Ui.State_Model | | Efl.Ui.Model_Size | Efl.Ui.Size_Model | | Efl.Ui.Model_Exact | Efl.Ui.Exact_Model | | Efl.Ui.Model_Average | Efl.Ui.Average_Model | | Efl.Ui.Model_Homogeneous | Efl.Ui.Homogeneous_Model | I worried about Efl.Io.Model changes, cause it is widely used, but as I tested, there is no issue found yet. Eldbus.Model also may can changed Efl.Dbus.Model, but I cannot found any class who using Efl.Dbus namespace, so I left it future work. Test Plan: Run the Make Test, it works well except Efl test about selection. there are class inheritance problem exist in select_model, I reported it and will fix it in another patch. Reviewers: cedric, felipealmeida, woohyun, Hermet Reviewed By: cedric Subscribers: lauromoura Tags: #efl, #do_not_merge Differential Revision: https://phab.enlightenment.org/D7533
Diffstat (limited to 'src/examples/elementary/filemvc.c')
-rw-r--r--src/examples/elementary/filemvc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/examples/elementary/filemvc.c b/src/examples/elementary/filemvc.c
index 6935e9387b..051d5f4ccc 100644
--- a/src/examples/elementary/filemvc.c
+++ b/src/examples/elementary/filemvc.c
@@ -10,7 +10,7 @@
10#include <Elementary.h> 10#include <Elementary.h>
11#include <Efl.h> 11#include <Efl.h>
12#include <Eio.h> 12#include <Eio.h>
13#include <eio_model.eo.h> 13#include <efl_io_model.eo.h>
14#include <stdio.h> 14#include <stdio.h>
15#include <Eio.h> 15#include <Eio.h>
16#include <elm_view_form.h> 16#include <elm_view_form.h>
@@ -38,7 +38,7 @@ _cleanup_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
38} 38}
39 39
40static int 40static int
41_filter_cb(void *data EINA_UNUSED, Eio_Model *model, Eina_File_Direct_Info *info) 41_filter_cb(void *data EINA_UNUSED, Efl_Io_Model *model, Eina_File_Direct_Info *info)
42{ 42{
43 if (info->type == EINA_FILE_DIR && info->path[info->name_start] != '.') return 1; 43 if (info->type == EINA_FILE_DIR && info->path[info->name_start] != '.') return 1;
44 44
@@ -124,8 +124,8 @@ elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
124 else dirname = EFL_MODEL_TEST_FILENAME_PATH; 124 else dirname = EFL_MODEL_TEST_FILENAME_PATH;
125 125
126 //treemodel 126 //treemodel
127 priv.treemodel = efl_add(EIO_MODEL_CLASS, win, eio_model_path_set(efl_added, dirname)); 127 priv.treemodel = efl_add(EFL_IO_MODEL_CLASS, win, efl_io_model_path_set(efl_added, dirname));
128 eio_model_children_filter_set(priv.treemodel, NULL, _filter_cb, NULL); 128 efl_io_model_children_filter_set(priv.treemodel, NULL, _filter_cb, NULL);
129 129
130 //treeview 130 //treeview
131 genlist = elm_genlist_add(win); 131 genlist = elm_genlist_add(win);