1 #ifndef ELM_INTEFARCE_FILESELECTOR_H
2 #define ELM_INTEFARCE_FILESELECTOR_H
3 
4 #ifndef EFL_NOLEGACY_API_SUPPORT
5 #include "elm_interface_fileselector_eo.legacy.h"
6 #endif
7 
8 #define ELM_FILESELECTOR_INTERFACE_CHECK(obj, ...) \
9   if (EINA_UNLIKELY(!efl_isa(obj, ELM_INTERFACE_FILESELECTOR_INTERFACE))) \
10     { \
11        ERR("The object (%p) doesn't implement the Elementary fileselector" \
12             " interface", obj); \
13        if (getenv("ELM_ERROR_ABORT")) abort(); \
14        return __VA_ARGS__; \
15     }
16 
17 void
18 _elm_fileselector_path_set_internal(Evas_Object *obj, const char *path);
19 
20 const char *
21 _elm_fileselector_path_get_internal(const Evas_Object *obj);
22 
23 Eina_Bool
24 _elm_fileselector_selected_set_internal(Evas_Object *obj, const char *_path);
25 
26 const char *
27 _elm_fileselector_selected_get_internal(const Evas_Object *obj);
28 
29 const Eina_List *
30 _elm_fileselector_selected_paths_get_internal(const Evas_Object* obj);
31 
32 
33 void
34 _elm_fileselector_entry_path_set_internal(Evas_Object *obj, const char *path);
35 
36 const char *
37 _elm_fileselector_entry_path_get_internal(const Evas_Object *obj);
38 
39 Eina_Bool
40 _elm_fileselector_entry_selected_set_internal(Evas_Object *obj, const char *path);
41 
42 const char *
43 _elm_fileselector_entry_selected_get_internal(const Evas_Object *obj);
44 
45 
46 void
47 _elm_fileselector_button_path_set_internal(Evas_Object *obj, const char *path);
48 
49 const char *
50 _elm_fileselector_button_path_get_internal(const Evas_Object *obj);
51 
52 Eina_Bool
53 _elm_fileselector_button_selected_set_internal(Evas_Object *obj, const char *_path);
54 
55 const char *
56 _elm_fileselector_button_selected_get_internal(const Evas_Object *obj);
57 
58 const Eina_List *
59 _elm_fileselector_button_selected_paths_get_internal(const Evas_Object *obj);
60 
61 
62 void
63 _event_to_legacy_call(Eo *obj, const char *evt, void *event_info);
64 
65 void
66 _model_event_call(Eo *obj, const Efl_Event_Description *evt_desc, const char *legacy_evt, Efl_Model *model, const char *path);
67 
68 #endif
69