2014-01-21 05:50:35 -08:00
|
|
|
#ifndef ELM_INTEFARCE_FILESELECTOR_H
|
|
|
|
#define ELM_INTEFARCE_FILESELECTOR_H
|
|
|
|
|
2016-08-03 04:46:55 -07:00
|
|
|
#ifdef EFL_EO_API_SUPPORT
|
2014-03-29 21:56:50 -07:00
|
|
|
#include "elm_interface_fileselector.eo.h"
|
2016-08-03 04:46:55 -07:00
|
|
|
#endif
|
|
|
|
#ifndef EFL_NOLEGACY_API_SUPPORT
|
|
|
|
#include "elm_interface_fileselector.eo.legacy.h"
|
|
|
|
#endif
|
2014-01-21 05:50:35 -08:00
|
|
|
|
|
|
|
#define ELM_FILESELECTOR_INTERFACE_CHECK(obj, ...) \
|
2016-08-15 06:44:41 -07:00
|
|
|
if (EINA_UNLIKELY(!efl_isa(obj, ELM_INTERFACE_FILESELECTOR_INTERFACE))) \
|
2014-01-21 05:50:35 -08:00
|
|
|
{ \
|
2014-02-03 08:23:10 -08:00
|
|
|
ERR("The object (%p) doesn't implement the Elementary fileselector" \
|
2014-01-21 05:50:35 -08:00
|
|
|
" interface", obj); \
|
|
|
|
if (getenv("ELM_ERROR_ABORT")) abort(); \
|
|
|
|
return __VA_ARGS__; \
|
|
|
|
}
|
|
|
|
|
2016-07-22 14:43:12 -07:00
|
|
|
void
|
|
|
|
_elm_fileselector_path_set_internal(Evas_Object *obj, const char *path);
|
|
|
|
|
|
|
|
const char *
|
|
|
|
_elm_fileselector_path_get_internal(const Evas_Object *obj);
|
|
|
|
|
2016-09-14 17:02:15 -07:00
|
|
|
Eina_Bool
|
|
|
|
_elm_fileselector_selected_set_internal(Evas_Object *obj, const char *_path);
|
|
|
|
|
|
|
|
const char *
|
|
|
|
_elm_fileselector_selected_get_internal(const Evas_Object *obj);
|
|
|
|
|
|
|
|
const Eina_List *
|
|
|
|
_elm_fileselector_selected_paths_get_internal(const Evas_Object* obj);
|
|
|
|
|
|
|
|
|
2016-07-22 14:43:12 -07:00
|
|
|
void
|
|
|
|
_elm_fileselector_entry_path_set_internal(Evas_Object *obj, const char *path);
|
|
|
|
|
|
|
|
const char *
|
|
|
|
_elm_fileselector_entry_path_get_internal(const Evas_Object *obj);
|
|
|
|
|
2016-09-14 17:02:15 -07:00
|
|
|
Eina_Bool
|
|
|
|
_elm_fileselector_entry_selected_set_internal(Evas_Object *obj, const char *path);
|
|
|
|
|
|
|
|
const char *
|
|
|
|
_elm_fileselector_entry_selected_get_internal(const Evas_Object *obj);
|
|
|
|
|
|
|
|
|
2016-07-04 13:17:38 -07:00
|
|
|
void
|
|
|
|
_elm_fileselector_button_path_set_internal(Evas_Object *obj, const char *path);
|
|
|
|
|
|
|
|
const char *
|
|
|
|
_elm_fileselector_button_path_get_internal(const Evas_Object *obj);
|
|
|
|
|
2016-09-14 17:02:15 -07:00
|
|
|
Eina_Bool
|
|
|
|
_elm_fileselector_button_selected_set_internal(Evas_Object *obj, const char *_path);
|
|
|
|
|
|
|
|
const char *
|
|
|
|
_elm_fileselector_button_selected_get_internal(const Evas_Object *obj);
|
|
|
|
|
|
|
|
const Eina_List *
|
|
|
|
_elm_fileselector_button_selected_paths_get_internal(const Evas_Object *obj);
|
|
|
|
|
|
|
|
|
2016-08-22 17:59:10 -07:00
|
|
|
void
|
|
|
|
_event_to_legacy_call(Eo *obj, const Efl_Event_Description *evt_desc, void *event_info);
|
|
|
|
|
|
|
|
void
|
|
|
|
_model_event_call(Eo *obj, const Efl_Event_Description *evt_desc, Efl_Model *model, const char *path);
|
|
|
|
|
2014-01-21 05:50:35 -08:00
|
|
|
#endif
|