diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-12-20 16:16:08 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-12-20 16:16:08 +0100 |
commit | 4a2c039c135aabac55b2d88a5f5548d52d7a3cdf (patch) | |
tree | accc28c6a87bd5579c6b6817a224340d9a905f18 /lib | |
parent | ab327d12ebf90a352f5db0a4e434464b0e576863 (diff) | |
download | ffi-efl-4a2c039c135aabac55b2d88a5f5548d52d7a3cdf.zip ffi-efl-4a2c039c135aabac55b2d88a5f5548d52d7a3cdf.tar.gz |
wip-index-state
Diffstat (limited to 'lib')
-rw-r--r-- | lib/efl/native/ecore.rb | 214 | ||||
-rw-r--r-- | lib/efl/native/ecore_evas.rb | 36 | ||||
-rw-r--r-- | lib/efl/native/ecore_getopt.rb | 10 | ||||
-rw-r--r-- | lib/efl/native/edje.rb | 650 | ||||
-rw-r--r-- | lib/efl/native/eet.rb | 9 | ||||
-rw-r--r-- | lib/efl/native/efreet_base.rb | 16 | ||||
-rw-r--r-- | lib/efl/native/efreet_menu.rb | 8 | ||||
-rw-r--r-- | lib/efl/native/eina_file.rb | 29 | ||||
-rw-r--r-- | lib/efl/native/eina_list.rb | 2 | ||||
-rw-r--r-- | lib/efl/native/eina_log.rb | 6 | ||||
-rw-r--r-- | lib/efl/native/eina_types.rb | 2 | ||||
-rw-r--r-- | lib/efl/native/eina_xattr.rb | 12 | ||||
-rw-r--r-- | lib/efl/native/elm/elm_app.rb | 13 | ||||
-rw-r--r-- | lib/efl/native/elm/elm_calendar.rb | 5 |
14 files changed, 589 insertions, 423 deletions
diff --git a/lib/efl/native/ecore.rb b/lib/efl/native/ecore.rb index 0ab99b1..a9301c3 100644 --- a/lib/efl/native/ecore.rb +++ b/lib/efl/native/ecore.rb @@ -21,6 +21,10 @@ module Efl ffi_lib 'ecore.so.1' # # ENUMS + # enum _Ecore_Memory_State {...} Ecore_Memory_State; + enum :ecore_memory_state, [ :ecore_memory_state_normal, :ecore_memory_state_low ] + # enum _Ecore_Power_State {...} Ecore_Power_State; + enum :ecore_power_state, [ :ecore_power_state_mains, :ecore_power_state_battery, :ecore_power_state_low ] # enum _Ecore_Exe_Flags {...} Ecore_Exe_Flags; enum :ecore_exe_flags, [ :ecore_exe_none, 0, :ecore_exe_pipe_read, 1, :ecore_exe_pipe_write, 2, :ecore_exe_pipe_error, 4, :ecore_exe_pipe_read_line_buffered, 8, :ecore_exe_pipe_error_line_buffered, 16, :ecore_exe_pipe_auto, 32, :ecore_exe_respawn, 64, :ecore_exe_use_sh, @@ -35,7 +39,7 @@ module Efl # enum _Ecore_Pos_Map {...} Ecore_Pos_Map; enum :ecore_pos_map, [ :ecore_pos_map_linear, :ecore_pos_map_accelerate, :ecore_pos_map_decelerate, :ecore_pos_map_sinusoidal, :ecore_pos_map_accelerate_factor, :ecore_pos_map_decelerate_factor, :ecore_pos_map_sinusoidal_factor, :ecore_pos_map_divisor_interp, - :ecore_pos_map_bounce, :ecore_pos_map_spring ] + :ecore_pos_map_bounce, :ecore_pos_map_spring, :ecore_pos_map_cubic_bezier ] # enum _Ecore_Animator_Source {...} Ecore_Animator_Source; enum :ecore_animator_source, [ :ecore_animator_source_timer, :ecore_animator_source_custom ] # @@ -72,23 +76,23 @@ module Efl typedef :pointer, :ecore_exe_event_data # typedef struct _Ecore_Fd_Handler Ecore_Fd_Handler; typedef :pointer, :ecore_fd_handler - # typedef struct _Ecore_Poller Ecore_Poller; + # typedef struct _Ecore_Thread Ecore_Thread; + typedef :pointer, :ecore_thread + # typedef struct _Ecore_Pipe Ecore_Pipe; + typedef :pointer, :ecore_pipe + # typedef Eo Ecore_Poller; typedef :pointer, :ecore_poller - # typedef struct _Ecore_Animator Ecore_Animator; + # typedef Eo Ecore_Animator; typedef :pointer, :ecore_animator - # typedef struct _Ecore_Timer Ecore_Timer; + # typedef Eo Ecore_Timer; typedef :pointer, :ecore_timer - # typedef struct _Ecore_Idler Ecore_Idler; + # typedef Eo Ecore_Idler; typedef :pointer, :ecore_idler - # typedef struct _Ecore_Idle_Enterer Ecore_Idle_Enterer; + # typedef Eo Ecore_Idle_Enterer; typedef :pointer, :ecore_idle_enterer - # typedef struct _Ecore_Idle_Exiter Ecore_Idle_Exiter; + # typedef Eo Ecore_Idle_Exiter; typedef :pointer, :ecore_idle_exiter - # typedef struct _Ecore_Thread Ecore_Thread; - typedef :pointer, :ecore_thread - # typedef struct _Ecore_Pipe Ecore_Pipe; - typedef :pointer, :ecore_pipe - # typedef struct _Ecore_Job Ecore_Job; + # typedef Eo Ecore_Job; typedef :pointer, :ecore_job # # CALLBACKS @@ -114,14 +118,14 @@ module Efl callback :ecore_fd_prep_cb, [ :pointer, :ecore_fd_handler ], :void # typedef Eina_Bool (*Ecore_Win32_Handle_Cb) (void *data, Ecore_Win32_Handler *wh); callback :ecore_win32_handle_cb, [ :pointer, :ecore_win32_handler ], :bool - # typedef Eina_Bool (*Ecore_Timeline_Cb) (void *data, double pos); - callback :ecore_timeline_cb, [ :pointer, :double ], :bool # typedef void (*Ecore_Thread_Cb) (void *data, Ecore_Thread *thread); callback :ecore_thread_cb, [ :pointer, :ecore_thread ], :void # typedef void (*Ecore_Thread_Notify_Cb) (void *data, Ecore_Thread *thread, void *msg_data); callback :ecore_thread_notify_cb, [ :pointer, :ecore_thread, :pointer ], :void # typedef void (*Ecore_Pipe_Cb) (void *data, void *buffer, unsigned int nbyte); callback :ecore_pipe_cb, [ :pointer, :pointer, :uint ], :void + # typedef Eina_Bool (*Ecore_Timeline_Cb) (void *data, double pos); + callback :ecore_timeline_cb, [ :pointer, :double ], :bool # # VARIABLES # EAPI extern Ecore_Version *ecore_version; @@ -191,6 +195,14 @@ module Efl [ :ecore_event_current_type_get, [ ], :int ], # EAPI void *ecore_event_current_event_get(void); [ :ecore_event_current_event_get, [ ], :pointer ], + # EAPI Ecore_Memory_State ecore_memory_state_get(void); + [ :ecore_memory_state_get, [ ], :ecore_memory_state ], + # EAPI void ecore_memory_state_set(Ecore_Memory_State state); + [ :ecore_memory_state_set, [ :ecore_memory_state ], :void ], + # EAPI Ecore_Power_State ecore_power_state_get(void); + [ :ecore_power_state_get, [ ], :ecore_power_state ], + # EAPI void ecore_power_state_set(Ecore_Power_State state); + [ :ecore_power_state_set, [ :ecore_power_state ], :void ], # EAPI void ecore_exe_run_priority_set(int pri); [ :ecore_exe_run_priority_set, [ :int ], :void ], # EAPI int ecore_exe_run_priority_get(void); @@ -261,90 +273,12 @@ module Efl [ :ecore_main_win32_handler_add, [ :pointer, :ecore_win32_handle_cb, :pointer ], :ecore_win32_handler ], # EAPI void *ecore_main_win32_handler_del(Ecore_Win32_Handler *win32_handler); [ :ecore_main_win32_handler_del, [ :ecore_win32_handler ], :pointer ], - # EAPI void ecore_poller_poll_interval_set(Ecore_Poller_Type type, double poll_time); - [ :ecore_poller_poll_interval_set, [ :ecore_poller_type, :double ], :void ], - # EAPI double ecore_poller_poll_interval_get(Ecore_Poller_Type type); - [ :ecore_poller_poll_interval_get, [ :ecore_poller_type ], :double ], - # EAPI Eina_Bool ecore_poller_poller_interval_set(Ecore_Poller *poller, int interval); - [ :ecore_poller_poller_interval_set, [ :ecore_poller, :int ], :bool ], - # EAPI int ecore_poller_poller_interval_get(Ecore_Poller *poller); - [ :ecore_poller_poller_interval_get, [ :ecore_poller ], :int ], - # EAPI Ecore_Poller *ecore_poller_add(Ecore_Poller_Type type, int interval, Ecore_Task_Cb func, const void *data); - [ :ecore_poller_add, [ :ecore_poller_type, :int, :ecore_task_cb, :pointer ], :ecore_poller ], - # EAPI void *ecore_poller_del(Ecore_Poller *poller); - [ :ecore_poller_del, [ :ecore_poller ], :pointer ], - # EAPI Ecore_Animator *ecore_animator_add(Ecore_Task_Cb func, const void *data); - [ :ecore_animator_add, [ :ecore_task_cb, :pointer ], :ecore_animator ], - # EAPI Ecore_Animator *ecore_animator_timeline_add(double runtime, Ecore_Timeline_Cb func, const void *data); - [ :ecore_animator_timeline_add, [ :double, :ecore_timeline_cb, :pointer ], :ecore_animator ], - # EAPI void *ecore_animator_del(Ecore_Animator *animator); - [ :ecore_animator_del, [ :ecore_animator ], :pointer ], - # EAPI void ecore_animator_freeze(Ecore_Animator *animator); - [ :ecore_animator_freeze, [ :ecore_animator ], :void ], - # EAPI void ecore_animator_thaw(Ecore_Animator *animator); - [ :ecore_animator_thaw, [ :ecore_animator ], :void ], - # EAPI void ecore_animator_frametime_set(double frametime); - [ :ecore_animator_frametime_set, [ :double ], :void ], - # EAPI double ecore_animator_frametime_get(void); - [ :ecore_animator_frametime_get, [ ], :double ], - # EAPI double ecore_animator_pos_map(double pos, Ecore_Pos_Map map, double v1, double v2); - [ :ecore_animator_pos_map, [ :double, :ecore_pos_map, :double, :double ], :double ], - # EAPI void ecore_animator_source_set(Ecore_Animator_Source source); - [ :ecore_animator_source_set, [ :ecore_animator_source ], :void ], - # EAPI Ecore_Animator_Source ecore_animator_source_get(void); - [ :ecore_animator_source_get, [ ], :ecore_animator_source ], - # EAPI void ecore_animator_custom_source_tick_begin_callback_set(Ecore_Cb func, const void *data); - [ :ecore_animator_custom_source_tick_begin_callback_set, [ :ecore_cb, :pointer ], :void ], - # EAPI void ecore_animator_custom_source_tick_end_callback_set(Ecore_Cb func, const void *data); - [ :ecore_animator_custom_source_tick_end_callback_set, [ :ecore_cb, :pointer ], :void ], - # EAPI void ecore_animator_custom_tick(void); - [ :ecore_animator_custom_tick, [ ], :void ], # EAPI double ecore_time_get(void); [ :ecore_time_get, [ ], :double ], # EAPI double ecore_time_unix_get(void); [ :ecore_time_unix_get, [ ], :double ], # EAPI double ecore_loop_time_get(void); [ :ecore_loop_time_get, [ ], :double ], - # EAPI Ecore_Timer *ecore_timer_add(double in, Ecore_Task_Cb func, const void *data); - [ :ecore_timer_add, [ :double, :ecore_task_cb, :pointer ], :ecore_timer ], - # EAPI Ecore_Timer *ecore_timer_loop_add(double in, Ecore_Task_Cb func, const void *data); - [ :ecore_timer_loop_add, [ :double, :ecore_task_cb, :pointer ], :ecore_timer ], - # EAPI void *ecore_timer_del(Ecore_Timer *timer); - [ :ecore_timer_del, [ :ecore_timer ], :pointer ], - # EAPI void ecore_timer_interval_set(Ecore_Timer *timer, double in); - [ :ecore_timer_interval_set, [ :ecore_timer, :double ], :void ], - # EAPI double ecore_timer_interval_get(Ecore_Timer *timer); - [ :ecore_timer_interval_get, [ :ecore_timer ], :double ], - # EAPI void ecore_timer_freeze(Ecore_Timer *timer); - [ :ecore_timer_freeze, [ :ecore_timer ], :void ], - # EAPI void ecore_timer_thaw(Ecore_Timer *timer); - [ :ecore_timer_thaw, [ :ecore_timer ], :void ], - # EAPI void ecore_timer_delay(Ecore_Timer *timer, double add); - [ :ecore_timer_delay, [ :ecore_timer, :double ], :void ], - # EAPI void ecore_timer_reset(Ecore_Timer *timer); - [ :ecore_timer_reset, [ :ecore_timer ], :void ], - # EAPI double ecore_timer_pending_get(Ecore_Timer *timer); - [ :ecore_timer_pending_get, [ :ecore_timer ], :double ], - # EAPI double ecore_timer_precision_get(void); - [ :ecore_timer_precision_get, [ ], :double ], - # EAPI void ecore_timer_precision_set(double precision); - [ :ecore_timer_precision_set, [ :double ], :void ], - # EAPI char *ecore_timer_dump(void); - [ :ecore_timer_dump, [ ], :string ], - # EAPI Ecore_Idler *ecore_idler_add(Ecore_Task_Cb func, const void *data); - [ :ecore_idler_add, [ :ecore_task_cb, :pointer ], :ecore_idler ], - # EAPI void *ecore_idler_del(Ecore_Idler *idler); - [ :ecore_idler_del, [ :ecore_idler ], :pointer ], - # EAPI Ecore_Idle_Enterer *ecore_idle_enterer_add(Ecore_Task_Cb func, const void *data); - [ :ecore_idle_enterer_add, [ :ecore_task_cb, :pointer ], :ecore_idle_enterer ], - # EAPI Ecore_Idle_Enterer *ecore_idle_enterer_before_add(Ecore_Task_Cb func, const void *data); - [ :ecore_idle_enterer_before_add, [ :ecore_task_cb, :pointer ], :ecore_idle_enterer ], - # EAPI void *ecore_idle_enterer_del(Ecore_Idle_Enterer *idle_enterer); - [ :ecore_idle_enterer_del, [ :ecore_idle_enterer ], :pointer ], - # EAPI Ecore_Idle_Exiter *ecore_idle_exiter_add(Ecore_Task_Cb func, const void *data); - [ :ecore_idle_exiter_add, [ :ecore_task_cb, :pointer ], :ecore_idle_exiter ], - # EAPI void *ecore_idle_exiter_del(Ecore_Idle_Exiter *idle_exiter); - [ :ecore_idle_exiter_del, [ :ecore_idle_exiter ], :pointer ], # EAPI Ecore_Thread *ecore_thread_run(Ecore_Thread_Cb func_blocking, Ecore_Thread_Cb func_end, Ecore_Thread_Cb func_cancel, const void *data); [ :ecore_thread_run, [ :ecore_thread_cb, :ecore_thread_cb, :ecore_thread_cb, :pointer ], :ecore_thread ], # EAPI Ecore_Thread *ecore_thread_feedback_run(Ecore_Thread_Cb func_heavy, Ecore_Thread_Notify_Cb func_notify, Ecore_Thread_Cb func_end, Ecore_Thread_Cb func_cancel, const void *data, Eina_Bool try_no_queue); @@ -394,6 +328,8 @@ module Efl [ :ecore_thread_global_data_wait, [ :string, :double ], :pointer ], # EAPI Ecore_Pipe *ecore_pipe_add(Ecore_Pipe_Cb handler, const void *data); [ :ecore_pipe_add, [ :ecore_pipe_cb, :pointer ], :ecore_pipe ], + # EAPI Ecore_Pipe *ecore_pipe_full_add(Ecore_Pipe_Cb handler, const void *data, int fd_read, int fd_write, Eina_Bool read_survive_fork, Eina_Bool write_survive_fork); + [ :ecore_pipe_full_add, [ :ecore_pipe_cb, :pointer, :int, :int, :bool, :bool ], :ecore_pipe ], # EAPI void *ecore_pipe_del(Ecore_Pipe *p); [ :ecore_pipe_del, [ :ecore_pipe ], :pointer ], # EAPI Eina_Bool ecore_pipe_write(Ecore_Pipe *p, const void *buffer, unsigned int nbytes); @@ -402,26 +338,112 @@ module Efl [ :ecore_pipe_write_close, [ :ecore_pipe ], :void ], # EAPI void ecore_pipe_read_close(Ecore_Pipe *p); [ :ecore_pipe_read_close, [ :ecore_pipe ], :void ], + # EAPI int ecore_pipe_read_fd(Ecore_Pipe *p); + [ :ecore_pipe_read_fd, [ :ecore_pipe ], :int ], + # EAPI int ecore_pipe_write_fd(Ecore_Pipe *p); + [ :ecore_pipe_write_fd, [ :ecore_pipe ], :int ], # EAPI void ecore_pipe_thaw(Ecore_Pipe *p); [ :ecore_pipe_thaw, [ :ecore_pipe ], :void ], # EAPI void ecore_pipe_freeze(Ecore_Pipe *p); [ :ecore_pipe_freeze, [ :ecore_pipe ], :void ], # EAPI int ecore_pipe_wait(Ecore_Pipe *p, int message_count, double wait); [ :ecore_pipe_wait, [ :ecore_pipe, :int, :double ], :int ], - # EAPI Ecore_Job *ecore_job_add(Ecore_Cb func, const void *data); - [ :ecore_job_add, [ :ecore_cb, :pointer ], :ecore_job ], - # EAPI void *ecore_job_del(Ecore_Job *job); - [ :ecore_job_del, [ :ecore_job ], :pointer ], # EAPI void ecore_app_args_set(int argc, const char **argv); [ :ecore_app_args_set, [ :int, :pointer ], :void ], # EAPI void ecore_app_args_get(int *argc, char ***argv); [ :ecore_app_args_get, [ :pointer, :pointer ], :void ], # EAPI void ecore_app_restart(void); [ :ecore_app_restart, [ ], :void ], + # EAPI void ecore_app_no_system_modules(void); + [ :ecore_app_no_system_modules, [ ], :void ], # EAPI void ecore_throttle_adjust(double amount); [ :ecore_throttle_adjust, [ :double ], :void ], # EAPI double ecore_throttle_get(void); [ :ecore_throttle_get, [ ], :double ], + # EAPI void ecore_poller_poll_interval_set(Ecore_Poller_Type type, double poll_time); + [ :ecore_poller_poll_interval_set, [ :ecore_poller_type, :double ], :void ], + # EAPI double ecore_poller_poll_interval_get(Ecore_Poller_Type type); + [ :ecore_poller_poll_interval_get, [ :ecore_poller_type ], :double ], + # EAPI void ecore_animator_frametime_set(double frametime); + [ :ecore_animator_frametime_set, [ :double ], :void ], + # EAPI double ecore_animator_frametime_get(void); + [ :ecore_animator_frametime_get, [ ], :double ], + # EAPI double ecore_animator_pos_map(double pos, Ecore_Pos_Map map, double v1, double v2); + [ :ecore_animator_pos_map, [ :double, :ecore_pos_map, :double, :double ], :double ], + # EAPI double ecore_animator_pos_map_n(double pos, Ecore_Pos_Map map, int v_size, double v[]); + # FIXME + # EAPI void ecore_animator_source_set(Ecore_Animator_Source source); + [ :ecore_animator_source_set, [ :ecore_animator_source ], :void ], + # EAPI Ecore_Animator_Source ecore_animator_source_get(void); + [ :ecore_animator_source_get, [ ], :ecore_animator_source ], + # EAPI void ecore_animator_custom_source_tick_begin_callback_set(Ecore_Cb func, const void *data); + [ :ecore_animator_custom_source_tick_begin_callback_set, [ :ecore_cb, :pointer ], :void ], + # EAPI void ecore_animator_custom_source_tick_end_callback_set(Ecore_Cb func, const void *data); + [ :ecore_animator_custom_source_tick_end_callback_set, [ :ecore_cb, :pointer ], :void ], + # EAPI void ecore_animator_custom_tick(void); + [ :ecore_animator_custom_tick, [ ], :void ], + # EAPI double ecore_timer_precision_get(void); + [ :ecore_timer_precision_get, [ ], :double ], + # EAPI void ecore_timer_precision_set(double precision); + [ :ecore_timer_precision_set, [ :double ], :void ], + # EAPI char *ecore_timer_dump(void); + [ :ecore_timer_dump, [ ], :string ], + # EAPI Eina_Bool ecore_poller_poller_interval_set(Ecore_Poller *poller, int interval); + [ :ecore_poller_poller_interval_set, [ :pointer, :int ], :bool ], + # EAPI int ecore_poller_poller_interval_get(Ecore_Poller *poller); + [ :ecore_poller_poller_interval_get, [ :pointer ], :int ], + # EAPI Ecore_Poller *ecore_poller_add(Ecore_Poller_Type type, int interval, Ecore_Task_Cb func, const void *data); + [ :ecore_poller_add, [ :ecore_poller_type, :int, :ecore_task_cb, :pointer ], :pointer ], + # EAPI void *ecore_poller_del(Ecore_Poller *poller); + [ :ecore_poller_del, [ :pointer ], :pointer ], + # EAPI Ecore_Animator *ecore_animator_add(Ecore_Task_Cb func, const void *data); + [ :ecore_animator_add, [ :ecore_task_cb, :pointer ], :pointer ], + # EAPI Ecore_Animator *ecore_animator_timeline_add(double runtime, Ecore_Timeline_Cb func, const void *data); + [ :ecore_animator_timeline_add, [ :double, :ecore_timeline_cb, :pointer ], :pointer ], + # EAPI void *ecore_animator_del(Ecore_Animator *animator); + [ :ecore_animator_del, [ :pointer ], :pointer ], + # EAPI void ecore_animator_freeze(Ecore_Animator *animator); + [ :ecore_animator_freeze, [ :pointer ], :void ], + # EAPI void ecore_animator_thaw(Ecore_Animator *animator); + [ :ecore_animator_thaw, [ :pointer ], :void ], + # EAPI Ecore_Timer *ecore_timer_add(double in, Ecore_Task_Cb func, const void *data); + [ :ecore_timer_add, [ :double, :ecore_task_cb, :pointer ], :pointer ], + # EAPI Ecore_Timer *ecore_timer_loop_add(double in, Ecore_Task_Cb func, const void *data); + [ :ecore_timer_loop_add, [ :double, :ecore_task_cb, :pointer ], :pointer ], + # EAPI void *ecore_timer_del(Ecore_Timer *timer); + [ :ecore_timer_del, [ :pointer ], :pointer ], + # EAPI void ecore_timer_interval_set(Ecore_Timer *timer, double in); + [ :ecore_timer_interval_set, [ :pointer, :double ], :void ], + # EAPI double ecore_timer_interval_get(Ecore_Timer *timer); + [ :ecore_timer_interval_get, [ :pointer ], :double ], + # EAPI void ecore_timer_freeze(Ecore_Timer *timer); + [ :ecore_timer_freeze, [ :pointer ], :void ], + # EAPI void ecore_timer_thaw(Ecore_Timer *timer); + [ :ecore_timer_thaw, [ :pointer ], :void ], + # EAPI void ecore_timer_delay(Ecore_Timer *timer, double add); + [ :ecore_timer_delay, [ :pointer, :double ], :void ], + # EAPI void ecore_timer_reset(Ecore_Timer *timer); + [ :ecore_timer_reset, [ :pointer ], :void ], + # EAPI double ecore_timer_pending_get(Ecore_Timer *timer); + [ :ecore_timer_pending_get, [ :pointer ], :double ], + # EAPI Ecore_Idler *ecore_idler_add(Ecore_Task_Cb func, const void *data); + [ :ecore_idler_add, [ :ecore_task_cb, :pointer ], :pointer ], + # EAPI void *ecore_idler_del(Ecore_Idler *idler); + [ :ecore_idler_del, [ :pointer ], :pointer ], + # EAPI Ecore_Idle_Enterer *ecore_idle_enterer_add(Ecore_Task_Cb func, const void *data); + [ :ecore_idle_enterer_add, [ :ecore_task_cb, :pointer ], :pointer ], + # EAPI Ecore_Idle_Enterer *ecore_idle_enterer_before_add(Ecore_Task_Cb func, const void *data); + [ :ecore_idle_enterer_before_add, [ :ecore_task_cb, :pointer ], :pointer ], + # EAPI void *ecore_idle_enterer_del(Ecore_Idle_Enterer *idle_enterer); + [ :ecore_idle_enterer_del, [ :pointer ], :pointer ], + # EAPI Ecore_Idle_Exiter *ecore_idle_exiter_add(Ecore_Task_Cb func, const void *data); + [ :ecore_idle_exiter_add, [ :ecore_task_cb, :pointer ], :pointer ], + # EAPI void *ecore_idle_exiter_del(Ecore_Idle_Exiter *idle_exiter); + [ :ecore_idle_exiter_del, [ :pointer ], :pointer ], + # EAPI Ecore_Job *ecore_job_add(Ecore_Cb func, const void *data); + [ :ecore_job_add, [ :ecore_cb, :pointer ], :pointer ], + # EAPI void *ecore_job_del(Ecore_Job *obj); + [ :ecore_job_del, [ :pointer ], :pointer ], ] # attach_fcts fcts diff --git a/lib/efl/native/ecore_evas.rb b/lib/efl/native/ecore_evas.rb index 0e4494c..0c0dca4 100644 --- a/lib/efl/native/ecore_evas.rb +++ b/lib/efl/native/ecore_evas.rb @@ -179,6 +179,24 @@ module Efl [ :ecore_evas_maximized_set, [ :ecore_evas, :bool ], :void ], # EAPI Eina_Bool ecore_evas_maximized_get(const Ecore_Evas *ee); [ :ecore_evas_maximized_get, [ :ecore_evas ], :bool ], + # EAPI Eina_Bool ecore_evas_window_profile_supported_get(const Ecore_Evas *ee); + [ :ecore_evas_window_profile_supported_get, [ :ecore_evas ], :bool ], + # EAPI void ecore_evas_window_profile_set(Ecore_Evas *ee, const char *profile); + [ :ecore_evas_window_profile_set, [ :ecore_evas, :string ], :void ], + # EAPI const char *ecore_evas_window_profile_get(const Ecore_Evas *ee); + [ :ecore_evas_window_profile_get, [ :ecore_evas ], :string ], + # EAPI void ecore_evas_window_available_profiles_set(Ecore_Evas *ee, const char **profiles, const unsigned int count); + [ :ecore_evas_window_available_profiles_set, [ :ecore_evas, :pointer, :uint ], :void ], + # EAPI Eina_Bool ecore_evas_window_available_profiles_get(Ecore_Evas *ee, char ***profiles, unsigned int *count); + [ :ecore_evas_window_available_profiles_get, [ :ecore_evas, :pointer, :pointer ], :bool ], + # EAPI void ecore_evas_msg_parent_send(Ecore_Evas *ee, int msg_domain, int msg_id, void *data, int size); + [ :ecore_evas_msg_parent_send, [ :ecore_evas, :int, :int, :pointer, :int ], :void ], + # EAPI void ecore_evas_msg_send(Ecore_Evas *ee, int msg_domain, int msg_id, void *data, int size); + [ :ecore_evas_msg_send, [ :ecore_evas, :int, :int, :pointer, :int ], :void ], + # EAPI void ecore_evas_callback_msg_parent_handle_set(Ecore_Evas *ee, void (*func_parent_handle)(Ecore_Evas *ee, int msg_domain, int msg_id, void *data, int size)); + # FIXME + # EAPI void ecore_evas_callback_msg_handle_set(Ecore_Evas *ee, void (*func_handle)(Ecore_Evas *ee, int msg_domain, int msg_id, void *data, int size)); + # FIXME # EAPI void ecore_evas_move(Ecore_Evas *ee, int x, int y); [ :ecore_evas_move, [ :ecore_evas, :int, :int ], :void ], # EAPI void ecore_evas_resize(Ecore_Evas *ee, int w, int h); @@ -215,6 +233,10 @@ module Efl [ :ecore_evas_software_x11_direct_resize_get, [ :ecore_evas ], :bool ], # EAPI void ecore_evas_software_x11_extra_event_window_add(Ecore_Evas *ee, Ecore_X_Window win); [ :ecore_evas_software_x11_extra_event_window_add, [ :ecore_evas, :uint ], :void ], + # EAPI Ecore_Evas *ecore_evas_software_x11_pixmap_new(const char *disp_name, Ecore_X_Window parent, int x, int y, int w, int h); + [ :ecore_evas_software_x11_pixmap_new, [ :string, :uint, :int, :int, :int, :int ], :ecore_evas ], + # EAPI Ecore_X_Pixmap ecore_evas_software_x11_pixmap_get(const Ecore_Evas *ee); + [ :ecore_evas_software_x11_pixmap_get, [ :ecore_evas ], :uint ], # EAPI Ecore_Evas *ecore_evas_gl_x11_new(const char *disp_name, Ecore_X_Window parent, int x, int y, int w, int h); [ :ecore_evas_gl_x11_new, [ :string, :uint, :int, :int, :int, :int ], :ecore_evas ], # EAPI Ecore_Evas *ecore_evas_gl_x11_options_new(const char *disp_name, Ecore_X_Window parent, int x, int y, int w, int h, const int *opt); @@ -246,7 +268,7 @@ module Efl [ :ecore_evas_wayland_type_set, [ :ecore_evas, :int ], :void ], # EAPI Ecore_Wl_Window *ecore_evas_wayland_window_get(const Ecore_Evas *ee); [ :ecore_evas_wayland_window_get, [ :ecore_evas ], :ecore_wl_window ], - # EAPI Ecore_Evas *ecore_evas_drm_new(const char *device, unsigned int parent, int x, int y, int w, int h); + # EAPI Ecore_Evas *ecore_evas_drm_new(const char *device, unsigned int parent, int x, int y, int w, int h); [ :ecore_evas_drm_new, [ :string, :uint, :int, :int, :int, :int ], :ecore_evas ], # EAPI Ecore_Evas *ecore_evas_buffer_new(int w, int h); [ :ecore_evas_buffer_new, [ :int, :int ], :ecore_evas ], @@ -409,6 +431,8 @@ module Efl [ :ecore_getopt_callback_ecore_evas_list_engines, [ :ecore_getopt, :ecore_getopt_desc, :string, :pointer, :ecore_getopt_value ], :uchar ], # EAPI Eina_List *ecore_evas_ecore_evas_list_get(void); [ :ecore_evas_ecore_evas_list_get, [ ], :eina_list ], + # EAPI Eina_List *ecore_evas_sub_ecore_evas_list_get(const Ecore_Evas *ee); + [ :ecore_evas_sub_ecore_evas_list_get, [ :ecore_evas ], :eina_list ], # EAPI void ecore_evas_x11_leader_set(Ecore_Evas *ee, Ecore_X_Window win); [ :ecore_evas_x11_leader_set, [ :ecore_evas, :uint ], :void ], # EAPI Ecore_X_Window ecore_evas_x11_leader_get(Ecore_Evas *ee); @@ -457,6 +481,16 @@ module Efl [ :ecore_evas_extn_plug_new, [ :ecore_evas ], :evas_object ], # EAPI Eina_Bool ecore_evas_extn_plug_connect(Evas_Object *obj, const char *svcname, int svcnum, Eina_Bool svcsys); [ :ecore_evas_extn_plug_connect, [ :evas_object, :string, :int, :bool ], :bool ], + # EAPI void ecore_evas_pointer_xy_get(const Ecore_Evas *ee, Evas_Coord *x, Evas_Coord *y); + [ :ecore_evas_pointer_xy_get, [ :ecore_evas, :pointer, :pointer ], :void ], + # EAPI Eina_Bool ecore_evas_pointer_warp(const Ecore_Evas *ee, Evas_Coord x, Evas_Coord y); + [ :ecore_evas_pointer_warp, [ :ecore_evas, :int, :int ], :bool ], + # EAPI void *ecore_evas_pixmap_visual_get(const Ecore_Evas *ee); + [ :ecore_evas_pixmap_visual_get, [ :ecore_evas ], :pointer ], + # EAPI unsigned long ecore_evas_pixmap_colormap_get(const Ecore_Evas *ee); + [ :ecore_evas_pixmap_colormap_get, [ :ecore_evas ], :ulong ], + # EAPI int ecore_evas_pixmap_depth_get(const Ecore_Evas *ee); + [ :ecore_evas_pixmap_depth_get, [ :ecore_evas ], :int ], ] # attach_fcts fcts diff --git a/lib/efl/native/ecore_getopt.rb b/lib/efl/native/ecore_getopt.rb index f4fa9e3..036cdba 100644 --- a/lib/efl/native/ecore_getopt.rb +++ b/lib/efl/native/ecore_getopt.rb @@ -25,7 +25,7 @@ module Efl # typedef enum {...} Ecore_Getopt_Action; enum :ecore_getopt_action, [ :ecore_getopt_action_store, :ecore_getopt_action_store_const, :ecore_getopt_action_store_true, :ecore_getopt_action_store_false, :ecore_getopt_action_choice, :ecore_getopt_action_append, :ecore_getopt_action_count, :ecore_getopt_action_callback, - :ecore_getopt_action_help, :ecore_getopt_action_version, :ecore_getopt_action_copyright, :ecore_getopt_action_license ] + :ecore_getopt_action_help, :ecore_getopt_action_version, :ecore_getopt_action_copyright, :ecore_getopt_action_license, :ecore_getopt_action_break ] # typedef enum {...} Ecore_Getopt_Type; enum :ecore_getopt_type, [ :ecore_getopt_type_str, :ecore_getopt_type_bool, :ecore_getopt_type_short, :ecore_getopt_type_int, :ecore_getopt_type_long, :ecore_getopt_type_ushort, :ecore_getopt_type_uint, :ecore_getopt_type_ulong, :ecore_getopt_type_double ] @@ -34,16 +34,16 @@ module Efl :ecore_getopt_desc_arg_requirement_optional, 3 ] # # TYPEDEFS - # typedef union _Ecore_Getopt_Value Ecore_Getopt_Value; - typedef :pointer, :ecore_getopt_value # typedef struct _Ecore_Getopt_Desc_Store Ecore_Getopt_Desc_Store; typedef :pointer, :ecore_getopt_desc_store # typedef struct _Ecore_Getopt_Desc_Callback Ecore_Getopt_Desc_Callback; typedef :pointer, :ecore_getopt_desc_callback - # typedef struct _Ecore_Getopt_Desc Ecore_Getopt_Desc; - typedef :pointer, :ecore_getopt_desc # typedef struct _Ecore_Getopt Ecore_Getopt; typedef :pointer, :ecore_getopt + # typedef struct _Ecore_Getopt_Desc Ecore_Getopt_Desc; + typedef :pointer, :ecore_getopt_desc + # typedef union _Ecore_Getopt_Value Ecore_Getopt_Value; + typedef :pointer, :ecore_getopt_value # # FUNCTIONS fcts = [ diff --git a/lib/efl/native/edje.rb b/lib/efl/native/edje.rb index 0c22e0e..1c726eb 100644 --- a/lib/efl/native/edje.rb +++ b/lib/efl/native/edje.rb @@ -22,16 +22,30 @@ module Efl ffi_lib 'edje.so.1' # # ENUMS - # typedef enum _Edje_Message_Type {...} Edje_Message_Type; - enum :edje_message_type, [ :edje_message_none, 0, :edje_message_signal, 1, :edje_message_string, 2, :edje_message_int, 3, :edje_message_float, - 4, :edje_message_string_set, 5, :edje_message_int_set, 6, :edje_message_float_set, 7, :edje_message_string_int, 8, :edje_message_string_float, 9, - :edje_message_string_int_set, 10, :edje_message_string_float_set, 11 ] - # typedef enum _Edje_Aspect_Control {...} Edje_Aspect_Control; - enum :edje_aspect_control, [ :edje_aspect_control_none, 0, :edje_aspect_control_neither, 1, :edje_aspect_control_horizontal, 2, - :edje_aspect_control_vertical, 3, :edje_aspect_control_both, 4 ] - # typedef enum _Edje_Object_Table_Homogeneous_Mode {...} Edje_Object_Table_Homogeneous_Mode; - enum :edje_object_table_homogeneous_mode, [ :edje_object_table_homogeneous_none, 0, :edje_object_table_homogeneous_table, 1, - :edje_object_table_homogeneous_item, 2 ] + # typedef enum _Edje_External_Param_Type {...} Edje_External_Param_Type; + enum :edje_external_param_type, [ :edje_external_param_type_int, :edje_external_param_type_double, :edje_external_param_type_string, + :edje_external_param_type_bool, :edje_external_param_type_choice, :edje_external_param_type_max ] + # typedef enum _Edje_External_Param_Flags {...} Edje_External_Param_Flags; + enum :edje_external_param_flags, [ :edje_external_param_flags_none, 0, :edje_external_param_flags_get, (1<<0), :edje_external_param_flags_set, + (1<<1), :edje_external_param_flags_state, (1<<2), :edje_external_param_flags_constructor, (1<<3), :edje_external_param_flags_regular, + (1<<0)|(1<<1)|(1<<2) ] + # typedef enum _Edje_Text_Filter_Type {...} Edje_Text_Filter_Type; + enum :edje_text_filter_type, [ :edje_text_filter_text, 0, :edje_text_filter_format, 1, :edje_text_filter_markup, 2 ] + # typedef enum _Edje_Text_Autocapital_Type {...} Edje_Text_Autocapital_Type; + enum :edje_text_autocapital_type, [ :edje_text_autocapital_type_none, :edje_text_autocapital_type_word, :edje_text_autocapital_type_sentence, + :edje_text_autocapital_type_allcharacter ] + # typedef enum _Edje_Input_Panel_Lang {...} Edje_Input_Panel_Lang; + enum :edje_input_panel_lang, [ :edje_input_panel_lang_automatic, :edje_input_panel_lang_alphabet ] + # typedef enum _Edje_Input_Panel_Return_Key_Type {...} Edje_Input_Panel_Return_Key_Type; + enum :edje_input_panel_return_key_type, [ :edje_input_panel_return_key_type_default, :edje_input_panel_return_key_type_done, + :edje_input_panel_return_key_type_go, :edje_input_panel_return_key_type_join, :edje_input_panel_return_key_type_login, + :edje_input_panel_return_key_type_next, :edje_input_panel_return_key_type_search, :edje_input_panel_return_key_type_send, + :edje_input_panel_return_key_type_signin ] + # typedef enum _Edje_Input_Panel_Layout {...} Edje_Input_Panel_Layout; + enum :edje_input_panel_layout, [ :edje_input_panel_layout_normal, :edje_input_panel_layout_number, :edje_input_panel_layout_email, + :edje_input_panel_layout_url, :edje_input_panel_layout_phonenumber, :edje_input_panel_layout_ip, :edje_input_panel_layout_month, + :edje_input_panel_layout_numberonly, :edje_input_panel_layout_invalid, :edje_input_panel_layout_hex, :edje_input_panel_layout_terminal, + :edje_input_panel_layout_password, :edje_input_panel_layout_datetime ] # typedef enum _Edje_Part_Type {...} Edje_Part_Type; enum :edje_part_type, [ :edje_part_type_none, 0, :edje_part_type_rectangle, 1, :edje_part_type_text, 2, :edje_part_type_image, 3, :edje_part_type_swallow, 4, :edje_part_type_textblock, 5, :edje_part_type_gradient, 6, :edje_part_type_group, 7, :edje_part_type_box, 8, @@ -44,54 +58,51 @@ module Efl :edje_text_effect_shadow_direction_bottom_left, (0x2<<4), :edje_text_effect_shadow_direction_left, (0x3<<4), :edje_text_effect_shadow_direction_top_left, (0x4<<4), :edje_text_effect_shadow_direction_top, (0x5<<4), :edje_text_effect_shadow_direction_top_right, (0x6<<4), :edje_text_effect_shadow_direction_right, (0x7<<4) ] - # typedef enum _Edje_Action_Type {...} Edje_Action_Type; - enum :edje_action_type, [ :edje_action_type_none, 0, :edje_action_type_state_set, 1, :edje_action_type_action_stop, 2, - :edje_action_type_signal_emit, 3, :edje_action_type_drag_val_set, 4, :edje_action_type_drag_val_step, 5, :edje_action_type_drag_val_page, 6, - :edje_action_type_script, 7, :edje_action_type_focus_set, 8, :edje_action_type_reserved00, 9, :edje_action_type_focus_object, 10, - :edje_action_type_param_copy, 11, :edje_action_type_param_set, 12, :edje_action_type_sound_sample, 13, :edje_action_type_sound_tone, 14, - :edje_action_type_last, 15 ] - # typedef enum _Edje_Tween_Mode {...} Edje_Tween_Mode; - enum :edje_tween_mode, [ :edje_tween_mode_none, 0, :edje_tween_mode_linear, 1, :edje_tween_mode_sinusoidal, 2, :edje_tween_mode_accelerate, 3, - :edje_tween_mode_decelerate, 4, :edje_tween_mode_accelerate_factor, 5, :edje_tween_mode_decelerate_factor, 6, :edje_tween_mode_sinusoidal_factor, 7, - :edje_tween_mode_divisor_interp, 8, :edje_tween_mode_bounce, 9, :edje_tween_mode_spring, 10, :edje_tween_mode_last, 11, :edje_tween_mode_mask, 0xff, - :edje_tween_mode_opt_from_current, (1<<31) ] # typedef enum _Edje_Cursor {...} Edje_Cursor; enum :edje_cursor, [ :edje_cursor_main, :edje_cursor_selection_begin, :edje_cursor_selection_end, :edje_cursor_preedit_start, :edje_cursor_preedit_end, :edje_cursor_user, :edje_cursor_user_extra ] + # typedef enum _Edje_Aspect_Control {...} Edje_Aspect_Control; + enum :edje_aspect_control, [ :edje_aspect_control_none, 0, :edje_aspect_control_neither, 1, :edje_aspect_control_horizontal, 2, + :edje_aspect_control_vertical, 3, :edje_aspect_control_both, 4 ] # typedef enum _Edje_Drag_Dir {...} Edje_Drag_Dir; enum :edje_drag_dir, [ :edje_drag_dir_none, 0, :edje_drag_dir_x, 1, :edje_drag_dir_y, 2, :edje_drag_dir_xy, 3 ] + # typedef enum _Edje_Object_Table_Homogeneous_Mode {...} Edje_Object_Table_Homogeneous_Mode; + enum :edje_object_table_homogeneous_mode, [ :edje_object_table_homogeneous_none, 0, :edje_object_table_homogeneous_table, 1, + :edje_object_table_homogeneous_item, 2 ] # typedef enum _Edje_Load_Error {...} Edje_Load_Error; enum :edje_load_error, [ :edje_load_error_none, 0, :edje_load_error_generic, 1, :edje_load_error_does_not_exist, 2, :edje_load_error_permission_denied, 3, :edje_load_error_resource_allocation_failed, 4, :edje_load_error_corrupt_file, 5, :edje_load_error_unknown_format, 6, :edje_load_error_incompatible_file, 7, :edje_load_error_unknown_collection, 8, :edje_load_error_recursive_reference, 9 ] - # typedef enum _Edje_Text_Filter_Type {...} Edje_Text_Filter_Type; - enum :edje_text_filter_type, [ :edje_text_filter_text, 0, :edje_text_filter_format, 1, :edje_text_filter_markup, 2 ] - # typedef enum _Edje_Text_Autocapital_Type {...} Edje_Text_Autocapital_Type; - enum :edje_text_autocapital_type, [ :edje_text_autocapital_type_none, :edje_text_autocapital_type_word, :edje_text_autocapital_type_sentence, - :edje_text_autocapital_type_allcharacter ] - # typedef enum _Edje_External_Param_Type {...} Edje_External_Param_Type; - enum :edje_external_param_type, [ :edje_external_param_type_int, :edje_external_param_type_double, :edje_external_param_type_string, - :edje_external_param_type_bool, :edje_external_param_type_choice, :edje_external_param_type_max ] - # typedef enum _Edje_External_Param_Flags {...} Edje_External_Param_Flags; - enum :edje_external_param_flags, [ :edje_external_param_flags_none, 0, :edje_external_param_flags_get, (1<<0), :edje_external_param_flags_set, - (1<<1), :edje_external_param_flags_state, (1<<2), :edje_external_param_flags_constructor, (1<<3), :edje_external_param_flags_regular, - (1<<0)|(1<<1)|(1<<2) ] - # typedef enum _Edje_Input_Panel_Layout {...} Edje_Input_Panel_Layout; - enum :edje_input_panel_layout, [ :edje_input_panel_layout_normal, :edje_input_panel_layout_number, :edje_input_panel_layout_email, - :edje_input_panel_layout_url, :edje_input_panel_layout_phonenumber, :edje_input_panel_layout_ip, :edje_input_panel_layout_month, - :edje_input_panel_layout_numberonly, :edje_input_panel_layout_invalid, :edje_input_panel_layout_hex, :edje_input_panel_layout_terminal, - :edje_input_panel_layout_password ] - # typedef enum _Edje_Input_Panel_Lang {...} Edje_Input_Panel_Lang; - enum :edje_input_panel_lang, [ :edje_input_panel_lang_automatic, :edje_input_panel_lang_alphabet ] - # typedef enum _Edje_Input_Panel_Return_Key_Type {...} Edje_Input_Panel_Return_Key_Type; - enum :edje_input_panel_return_key_type, [ :edje_input_panel_return_key_type_default, :edje_input_panel_return_key_type_done, - :edje_input_panel_return_key_type_go, :edje_input_panel_return_key_type_join, :edje_input_panel_return_key_type_login, - :edje_input_panel_return_key_type_next, :edje_input_panel_return_key_type_search, :edje_input_panel_return_key_type_send ] + # typedef enum _Edje_Tween_Mode {...} Edje_Tween_Mode; + enum :edje_tween_mode, [ :edje_tween_mode_none, 0, :edje_tween_mode_linear, 1, :edje_tween_mode_sinusoidal, 2, :edje_tween_mode_accelerate, 3, + :edje_tween_mode_decelerate, 4, :edje_tween_mode_accelerate_factor, 5, :edje_tween_mode_decelerate_factor, 6, :edje_tween_mode_sinusoidal_factor, 7, + :edje_tween_mode_divisor_interp, 8, :edje_tween_mode_bounce, 9, :edje_tween_mode_spring, 10, :edje_tween_mode_cubic_bezier, 11, :edje_tween_mode_last, + 12, :edje_tween_mode_mask, 0xff, :edje_tween_mode_opt_from_current, (1<<31) ] + # typedef enum _Edje_Action_Type {...} Edje_Action_Type; + enum :edje_action_type, [ :edje_action_type_none, 0, :edje_action_type_state_set, 1, :edje_action_type_action_stop, 2, + :edje_action_type_signal_emit, 3, :edje_action_type_drag_val_set, 4, :edje_action_type_drag_val_step, 5, :edje_action_type_drag_val_page, 6, + :edje_action_type_script, 7, :edje_action_type_focus_set, 8, :edje_action_type_reserved00, 9, :edje_action_type_focus_object, 10, + :edje_action_type_param_copy, 11, :edje_action_type_param_set, 12, :edje_action_type_sound_sample, 13, :edje_action_type_sound_tone, 14, + :edje_action_type_physics_impulse, 15, :edje_action_type_physics_torque_impulse, 16, :edje_action_type_physics_force, 17, + :edje_action_type_physics_torque, 18, :edje_action_type_physics_forces_clear, 19, :edje_action_type_physics_vel_set, 20, + :edje_action_type_physics_ang_vel_set, 21, :edje_action_type_physics_stop, 22, :edje_action_type_physics_rot_set, 23, :edje_action_type_last, 24 ] + # typedef enum _Edje_Message_Type {...} Edje_Message_Type; + enum :edje_message_type, [ :edje_message_none, 0, :edje_message_signal, 1, :edje_message_string, 2, :edje_message_int, 3, :edje_message_float, + 4, :edje_message_string_set, 5, :edje_message_int_set, 6, :edje_message_float_set, 7, :edje_message_string_int, 8, :edje_message_string_float, 9, + :edje_message_string_int_set, 10, :edje_message_string_float_set, 11 ] # # TYPEDEFS # typedef struct _Edje_Version Edje_Version; typedef :pointer, :edje_version + # typedef struct _Edje_External_Param Edje_External_Param; + typedef :pointer, :edje_external_param + # typedef struct _Edje_External_Param_Info Edje_External_Param_Info; + typedef :pointer, :edje_external_param_info + # typedef struct _Edje_External_Type Edje_External_Type; + typedef :pointer, :edje_external_type + # typedef struct _Edje_External_Type_Info Edje_External_Type_Info; + typedef :pointer, :edje_external_type_info # typedef struct _Edje_Entry_Change_Info Edje_Entry_Change_Info; typedef :pointer, :edje_entry_change_info # typedef struct _Edje_Message_String Edje_Message_String; @@ -114,23 +125,11 @@ module Efl typedef :pointer, :edje_message_string_int_set # typedef struct _Edje_Message_String_Float_Set Edje_Message_String_Float_Set; typedef :pointer, :edje_message_string_float_set - # typedef struct _Edje_External_Param Edje_External_Param; - typedef :pointer, :edje_external_param - # typedef struct _Edje_External_Param_Info Edje_External_Param_Info; - typedef :pointer, :edje_external_param_info - # typedef struct _Edje_External_Type Edje_External_Type; - typedef :pointer, :edje_external_type - # typedef struct _Edje_External_Type_Info Edje_External_Type_Info; - typedef :pointer, :edje_external_type_info # typedef struct _Edje_Perspective Edje_Perspective; typedef :pointer, :edje_perspective # # CALLBACKS # typedef void (*Edje_Signal_Cb) (void *data, Evas_Object *obj, const char *emission, const char *source); - callback :edje_signal_cb, [ :pointer, :evas_object, :string, :string ], :void - # typedef void (*Edje_Text_Change_Cb) (void *data, Evas_Object *obj, const char *part); - callback :edje_text_change_cb, [ :pointer, :evas_object, :string ], :void - # typedef void (*Edje_Message_Handler_Cb) (void *data, Evas_Object *obj, Edje_Message_Type type, int id, void *msg); callback :edje_message_handler_cb, [ :pointer, :evas_object, :edje_message_type, :int, :pointer ], :void # typedef void (*Edje_Text_Filter_Cb) (void *data, Evas_Object *obj, const char *part, Edje_Text_Filter_Type type, char **text); callback :edje_text_filter_cb, [ :pointer, :evas_object, :string, :edje_text_filter_type, :pointer ], :void @@ -138,6 +137,10 @@ module Efl callback :edje_markup_filter_cb, [ :pointer, :evas_object, :string, :pointer ], :void # typedef Evas_Object *(*Edje_Item_Provider_Cb) (void *data, Evas_Object *obj, const char *part, const char *item); callback :edje_item_provider_cb, [ :pointer, :evas_object, :string, :string ], :evas_object + # typedef void (*Edje_Text_Change_Cb) (void *data, Evas_Object *obj, const char *part); + callback :edje_text_change_cb, [ :pointer, :pointer, :string ], :void + # typedef void (*Edje_Message_Handler_Cb) (void *data, Evas_Object *obj, Edje_Message_Type type, int id, void *msg); + callback :edje_message_handler_cb, [ :pointer, :pointer, :edje_message_type, :int, :pointer ], :void # # VARIABLES # EAPI extern Edje_Version *edje_version; @@ -145,48 +148,24 @@ module Efl # # FUNCTIONS fcts = [ - # EAPI const char *edje_external_param_type_str(Edje_External_Param_Type type); - [ :edje_external_param_type_str, [ :edje_external_param_type ], :string ], + # EAPI void * edje_object_signal_callback_extra_data_get(void); + [ :edje_object_signal_callback_extra_data_get, [ ], :pointer ], # EAPI int edje_init (void); [ :edje_init, [ ], :int ], # EAPI int edje_shutdown (void); [ :edje_shutdown, [ ], :int ], - # EAPI void edje_frametime_set (double t); - [ :edje_frametime_set, [ :double ], :void ], - # EAPI double edje_frametime_get (void); - [ :edje_frametime_get, [ ], :double ], - # EAPI void edje_freeze (void); - [ :edje_freeze, [ ], :void ], - # EAPI void edje_thaw (void); - [ :edje_thaw, [ ], :void ], # EAPI void edje_fontset_append_set (const char *fonts); [ :edje_fontset_append_set, [ :string ], :void ], - # EAPI const char *edje_fontset_append_get (void); - [ :edje_fontset_append_get, [ ], :string ], - # EAPI void edje_scale_set (double scale); - [ :edje_scale_set, [ :double ], :void ], - # EAPI double edje_scale_get (void); - [ :edje_scale_get, [ ], :double ], - # EAPI void edje_password_show_last_set(Eina_Bool password_show_last); - [ :edje_password_show_last_set, [ :bool ], :void ], - # EAPI void edje_password_show_last_timeout_set(double password_show_last_timeout); - [ :edje_password_show_last_timeout_set, [ :double ], :void ], - # EAPI Eina_Bool edje_object_scale_set (Evas_Object *obj, double scale); - [ :edje_object_scale_set, [ :evas_object, :double ], :bool ], - # EAPI double edje_object_scale_get (const Evas_Object *obj); - [ :edje_object_scale_get, [ :evas_object ], :double ], - # EAPI void edje_object_mirrored_set (Evas_Object *obj, Eina_Bool rtl); - [ :edje_object_mirrored_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool edje_object_mirrored_get (const Evas_Object *obj); - [ :edje_object_mirrored_get, [ :evas_object ], :bool ], - # EAPI Eina_List *edje_file_collection_list (const char *file); - [ :edje_file_collection_list, [ :string ], :eina_list ], - # EAPI void edje_file_collection_list_free (Eina_List *lst); - [ :edje_file_collection_list_free, [ :eina_list ], :void ], - # EAPI Eina_Bool edje_file_group_exists (const char *file, const char *glob); - [ :edje_file_group_exists, [ :string, :string ], :bool ], + # EAPI char *edje_mmap_data_get(const Eina_File *f, const char *key); + [ :edje_mmap_data_get, [ :eina_file, :string ], :string ], # EAPI char *edje_file_data_get (const char *file, const char *key); [ :edje_file_data_get, [ :string, :string ], :string ], + # EAPI Eina_Bool edje_module_load (const char *module); + [ :edje_module_load, [ :string ], :bool ], + # EAPI const Eina_List *edje_available_modules_get (void); + [ :edje_available_modules_get, [ ], :eina_list ], + # EAPI const char *edje_fontset_append_get (void); + [ :edje_fontset_append_get, [ ], :string ], # EAPI void edje_file_cache_set (int count); [ :edje_file_cache_set, [ :int ], :void ], # EAPI int edje_file_cache_get (void); @@ -199,6 +178,44 @@ module Efl [ :edje_collection_cache_get, [ ], :int ], # EAPI void edje_collection_cache_flush (void); [ :edje_collection_cache_flush, [ ], :void ], + # EAPI const char *edje_external_param_type_str(Edje_External_Param_Type type); + [ :edje_external_param_type_str, [ :edje_external_param_type ], :string ], + # EAPI Eina_Bool edje_external_type_register (const char *type_name, const Edje_External_Type *type_info); + [ :edje_external_type_register, [ :string, :edje_external_type ], :bool ], + # EAPI Eina_Bool edje_external_type_unregister (const char *type_name); + [ :edje_external_type_unregister, [ :string ], :bool ], + # EAPI void edje_external_type_array_register (const Edje_External_Type_Info *array); + [ :edje_external_type_array_register, [ :edje_external_type_info ], :void ], + # EAPI void edje_external_type_array_unregister (const Edje_External_Type_Info *array); + [ :edje_external_type_array_unregister, [ :edje_external_type_info ], :void ], + # EAPI unsigned int edje_external_type_abi_version_get (void); + [ :edje_external_type_abi_version_get, [ ], :uint ], + # EAPI Eina_Iterator *edje_external_iterator_get (void); + [ :edje_external_iterator_get, [ ], :pointer ], + # EAPI Edje_External_Param *edje_external_param_find (const Eina_List *params, const char *key); + [ :edje_external_param_find, [ :eina_list, :string ], :edje_external_param ], + # EAPI Eina_Bool edje_external_param_int_get (const Eina_List *params, const char *key, int *ret); + [ :edje_external_param_int_get, [ :eina_list, :string, :pointer ], :bool ], + # EAPI Eina_Bool edje_external_param_double_get (const Eina_List *params, const char *key, double *ret); + [ :edje_external_param_double_get, [ :eina_list, :string, :pointer ], :bool ], + # EAPI Eina_Bool edje_external_param_string_get (const Eina_List *params, const char *key, const char **ret); + [ :edje_external_param_string_get, [ :eina_list, :string, :pointer ], :bool ], + # EAPI Eina_Bool edje_external_param_bool_get (const Eina_List *params, const char *key, Eina_Bool *ret); + [ :edje_external_param_bool_get, [ :eina_list, :string, :pointer ], :bool ], + # EAPI Eina_Bool edje_external_param_choice_get (const Eina_List *params, const char *key, const char **ret); + [ :edje_external_param_choice_get, [ :eina_list, :string, :pointer ], :bool ], + # EAPI const Edje_External_Param_Info *edje_external_param_info_get (const char *type_name); + [ :edje_external_param_info_get, [ :string ], :edje_external_param_info ], + # EAPI const Edje_External_Type *edje_external_type_get (const char *type_name); + [ :edje_external_type_get, [ :string ], :edje_external_type ], + # EAPI void edje_scale_set (double scale); + [ :edje_scale_set, [ :double ], :void ], + # EAPI double edje_scale_get (void); + [ :edje_scale_get, [ ], :double ], + # EAPI void edje_password_show_last_set(Eina_Bool password_show_last); + [ :edje_password_show_last_set, [ :bool ], :void ], + # EAPI void edje_password_show_last_timeout_set(double password_show_last_timeout); + [ :edje_password_show_last_timeout_set, [ :double ], :void ], # EAPI Eina_Bool edje_color_class_set (const char *color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3); [ :edje_color_class_set, [ :string, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int ], :bool ], # EAPI Eina_Bool edje_color_class_get (const char *color_class, int *r, int *g, int *b, int *a, int *r2, int *g2, int *b2, int *a2, int *r3, int *g3, int *b3, int *a3); @@ -208,342 +225,341 @@ module Efl [ :edje_color_class_del, [ :string ], :void ], # EAPI Eina_List *edje_color_class_list (void); [ :edje_color_class_list, [ ], :eina_list ], + # EAPI void edje_box_layout_register (const char *name, Evas_Object_Box_Layout func, void *(*layout_data_get)(void *), void (*layout_data_free)(void *), void (*free_data)(void *), void *data); + # FIXME # EAPI Eina_Bool edje_text_class_set (const char *text_class, const char *font, Evas_Font_Size size); [ :edje_text_class_set, [ :string, :string, :int ], :bool ], # EAPI void edje_text_class_del (const char *text_class); [ :edje_text_class_del, [ :string ], :void ], # EAPI Eina_List *edje_text_class_list (void); [ :edje_text_class_list, [ ], :eina_list ], - # EAPI void edje_extern_object_min_size_set (Evas_Object *obj, Evas_Coord minw, Evas_Coord minh); - [ :edje_extern_object_min_size_set, [ :evas_object, :int, :int ], :void ], - # EAPI void edje_extern_object_max_size_set (Evas_Object *obj, Evas_Coord maxw, Evas_Coord maxh); - [ :edje_extern_object_max_size_set, [ :evas_object, :int, :int ], :void ], - # EAPI void edje_extern_object_aspect_set (Evas_Object *obj, Edje_Aspect_Control aspect, Evas_Coord aw, Evas_Coord ah); - [ :edje_extern_object_aspect_set, [ :evas_object, :edje_aspect_control, :int, :int ], :void ], - # EAPI void edje_box_layout_register (const char *name, Evas_Object_Box_Layout func, void *(*layout_data_get)(void *), void (*layout_data_free)(void *), void (*free_data)(void *), void *data); - [ :edje_box_layout_register, [ :string, :evas_object_box_layout_cb, (callback [:pointer], :pointer), (callback [:pointer], :void), - (callback [:pointer], :void), :pointer ], :void ], - # EAPI Evas_Object *edje_object_add (Evas *evas); - [ :edje_object_add, [ :evas ], :evas_object ], - # EAPI const char *edje_object_data_get (const Evas_Object *obj, const char *key); - [ :edje_object_data_get, [ :evas_object, :string ], :string ], - # EAPI Eina_Bool edje_object_file_set (Evas_Object *obj, const char *file, const char *group); - [ :edje_object_file_set, [ :evas_object, :string, :string ], :bool ], - # EAPI void edje_object_file_get (const Evas_Object *obj, const char **file, const char **group); - [ :edje_object_file_get, [ :evas_object, :pointer, :pointer ], :void ], - # EAPI Edje_Load_Error edje_object_load_error_get (const Evas_Object *obj); - [ :edje_object_load_error_get, [ :evas_object ], :edje_load_error ], + # EAPI Eina_List *edje_mmap_collection_list(Eina_File *f); + [ :edje_mmap_collection_list, [ :eina_file ], :eina_list ], + # EAPI void edje_mmap_collection_list_free(Eina_List *lst); + [ :edje_mmap_collection_list_free, [ :eina_list ], :void ], + # EAPI Eina_Bool edje_mmap_group_exists(Eina_File *f, const char *glob); + [ :edje_mmap_group_exists, [ :eina_file, :string ], :bool ], + # EAPI Eina_List *edje_file_collection_list (const char *file); + [ :edje_file_collection_list, [ :string ], :eina_list ], + # EAPI void edje_file_collection_list_free (Eina_List *lst); + [ :edje_file_collection_list_free, [ :eina_list ], :void ], + # EAPI Eina_Bool edje_file_group_exists (const char *file, const char *glob); + [ :edje_file_group_exists, [ :string, :string ], :bool ], # EAPI const char *edje_load_error_str (Edje_Load_Error error); [ :edje_load_error_str, [ :edje_load_error ], :string ], - # EAPI Eina_Bool edje_object_preload (Evas_Object *obj, Eina_Bool cancel); - [ :edje_object_preload, [ :evas_object, :bool ], :bool ], - # EAPI void edje_object_signal_callback_add (Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data); - [ :edje_object_signal_callback_add, [ :evas_object, :string, :string, :edje_signal_cb, :pointer ], :void ], - # EAPI void *edje_object_signal_callback_del (Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func); - [ :edje_object_signal_callback_del, [ :evas_object, :string, :string, :edje_signal_cb ], :pointer ], - # EAPI void *edje_object_signal_callback_del_full(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data); - [ :edje_object_signal_callback_del_full, [ :evas_object, :string, :string, :edje_signal_cb, :pointer ], :pointer ], - # EAPI void edje_object_signal_emit (Evas_Object *obj, const char *emission, const char *source); - [ :edje_object_signal_emit, [ :evas_object, :string, :string ], :void ], - # EAPI void * edje_object_signal_callback_extra_data_get(void); - [ :edje_object_signal_callback_extra_data_get, [ ], :pointer ], - # EAPI void edje_object_play_set (Evas_Object *obj, Eina_Bool play); - [ :edje_object_play_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool edje_object_play_get (const Evas_Object *obj); - [ :edje_object_play_get, [ :evas_object ], :bool ], - # EAPI void edje_object_animation_set (Evas_Object *obj, Eina_Bool on); - [ :edje_object_animation_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool edje_object_animation_get (const Evas_Object *obj); - [ :edje_object_animation_get, [ :evas_object ], :bool ], - # EAPI int edje_object_freeze (Evas_Object *obj); - [ :edje_object_freeze, [ :evas_object ], :int ], - # EAPI int edje_object_thaw (Evas_Object *obj); - [ :edje_object_thaw, [ :evas_object ], :int ], - # EAPI Eina_Bool edje_object_color_class_set (Evas_Object *obj, const char *color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3); - [ :edje_object_color_class_set, [ :evas_object, :string, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int ], :bool ], - # EAPI Eina_Bool edje_object_color_class_get (const Evas_Object *o, const char *color_class, int *r, int *g, int *b, int *a, int *r2, int *g2, int *b2, int *a2, int *r3, int *g3, int *b3, int *a3); - [ :edje_object_color_class_get, [ :evas_object, :string, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer, - :pointer, :pointer, :pointer, :pointer ], :bool ], - # EAPI void edje_object_color_class_del (Evas_Object *obj, const char *color_class); - [ :edje_object_color_class_del, [ :evas_object, :string ], :void ], - # EAPI Eina_Bool edje_object_text_class_set (Evas_Object *obj, const char *text_class, const char *font, Evas_Font_Size size); - [ :edje_object_text_class_set, [ :evas_object, :string, :string, :int ], :bool ], + # EAPI void edje_frametime_set (double t); + [ :edje_frametime_set, [ :double ], :void ], + # EAPI double edje_frametime_get (void); + [ :edje_frametime_get, [ ], :double ], + # EAPI void edje_freeze (void); + [ :edje_freeze, [ ], :void ], + # EAPI void edje_thaw (void); + [ :edje_thaw, [ ], :void ], + # EAPI void edje_message_signal_process (void); + [ :edje_message_signal_process, [ ], :void ], + # EAPI Edje_Perspective *edje_perspective_new (Evas *e); + [ :edje_perspective_new, [ :pointer ], :edje_perspective ], + # EAPI void edje_perspective_free (Edje_Perspective *ps); + [ :edje_perspective_free, [ :edje_perspective ], :void ], + # EAPI void edje_perspective_set (Edje_Perspective *ps, Evas_Coord px, Evas_Coord py, Evas_Coord z0, Evas_Coord foc); + [ :edje_perspective_set, [ :edje_perspective, :int, :int, :int, :int ], :void ], + # EAPI void edje_perspective_global_set (Edje_Perspective *ps, Eina_Bool global); + [ :edje_perspective_global_set, [ :edje_perspective, :bool ], :void ], + # EAPI Eina_Bool edje_perspective_global_get (const Edje_Perspective *ps); + [ :edje_perspective_global_get, [ :edje_perspective ], :bool ], + # EAPI const Edje_Perspective *edje_evas_global_perspective_get(const Evas *e); + [ :edje_evas_global_perspective_get, [ :pointer ], :edje_perspective ], + # EAPI Evas_Object *edje_object_part_external_object_get (const Evas_Object *obj, const char *part); + [ :edje_object_part_external_object_get, [ :pointer, :string ], :pointer ], + # EAPI Eina_Bool edje_object_part_external_param_set (Evas_Object *obj, const char *part, const Edje_External_Param *param); + [ :edje_object_part_external_param_set, [ :pointer, :string, :edje_external_param ], :bool ], + # EAPI Eina_Bool edje_object_part_external_param_get (const Evas_Object *obj, const char *part, Edje_External_Param *param); + [ :edje_object_part_external_param_get, [ :pointer, :string, :edje_external_param ], :bool ], + # EAPI Evas_Object *edje_object_part_external_content_get (const Evas_Object *obj, const char *part, const char *content); + [ :edje_object_part_external_content_get, [ :pointer, :string, :string ], :pointer ], + # EAPI Edje_External_Param_Type edje_object_part_external_param_type_get (const Evas_Object *obj, const char *part, const char *param); + [ :edje_object_part_external_param_type_get, [ :pointer, :string, :string ], :edje_external_param_type ], # EAPI void edje_object_size_min_get (const Evas_Object *obj, Evas_Coord *minw, Evas_Coord *minh); - [ :edje_object_size_min_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :edje_object_size_min_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void edje_object_update_hints_set(Evas_Object *obj, Eina_Bool update); - [ :edje_object_update_hints_set, [ :evas_object, :bool ], :void ], + [ :edje_object_update_hints_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool edje_object_update_hints_get(Evas_Object *obj); - [ :edje_object_update_hints_get, [ :evas_object ], :bool ], + [ :edje_object_update_hints_get, [ :pointer ], :bool ], # EAPI void edje_object_size_max_get (const Evas_Object *obj, Evas_Coord *maxw, Evas_Coord *maxh); - [ :edje_object_size_max_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :edje_object_size_max_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void edje_object_calc_force (Evas_Object *obj); - [ :edje_object_calc_force, [ :evas_object ], :void ], + [ :edje_object_calc_force, [ :pointer ], :void ], # EAPI void edje_object_size_min_calc (Evas_Object *obj, Evas_Coord *minw, Evas_Coord *minh); - [ :edje_object_size_min_calc, [ :evas_object, :pointer, :pointer ], :void ], + [ :edje_object_size_min_calc, [ :pointer, :pointer, :pointer ], :void ], # EAPI Eina_Bool edje_object_parts_extends_calc (Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h); - [ :edje_object_parts_extends_calc, [ :evas_object, :pointer, :pointer, :pointer, :pointer ], :bool ], + [ :edje_object_parts_extends_calc, [ :pointer, :pointer, :pointer, :pointer, :pointer ], :bool ], # EAPI void edje_object_size_min_restricted_calc(Evas_Object *obj, Evas_Coord *minw, Evas_Coord *minh, Evas_Coord restrictedw, Evas_Coord restrictedh); - [ :edje_object_size_min_restricted_calc, [ :evas_object, :pointer, :pointer, :int, :int ], :void ], + [ :edje_object_size_min_restricted_calc, [ :pointer, :pointer, :pointer, :int, :int ], :void ], + # EAPI Eina_Bool edje_object_scale_set (Evas_Object *obj, double scale); + [ :edje_object_scale_set, [ :pointer, :double ], :bool ], + # EAPI double edje_object_scale_get (const Evas_Object *obj); + [ :edje_object_scale_get, [ :pointer ], :double ], # EAPI Eina_Bool edje_object_part_exists (const Evas_Object *obj, const char *part); - [ :edje_object_part_exists, [ :evas_object, :string ], :bool ], + [ :edje_object_part_exists, [ :pointer, :string ], :bool ], # EAPI const Evas_Object *edje_object_part_object_get (const Evas_Object *obj, const char *part); - [ :edje_object_part_object_get, [ :evas_object, :string ], :evas_object ], + [ :edje_object_part_object_get, [ :pointer, :string ], :pointer ], # EAPI Eina_Bool edje_object_part_geometry_get (const Evas_Object *obj, const char *part, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h); - [ :edje_object_part_geometry_get, [ :evas_object, :string, :pointer, :pointer, :pointer, :pointer ], :bool ], - # EAPI void edje_object_item_provider_set (Evas_Object *obj, Edje_Item_Provider_Cb func, void *data); - [ :edje_object_item_provider_set, [ :evas_object, :edje_item_provider_cb, :pointer ], :void ], + [ :edje_object_part_geometry_get, [ :pointer, :string, :pointer, :pointer, :pointer, :pointer ], :bool ], + # EAPI Eina_List *edje_object_access_part_list_get (const Evas_Object *obj); + [ :edje_object_access_part_list_get, [ :pointer ], :eina_list ], # EAPI void edje_object_text_change_cb_set (Evas_Object *obj, Edje_Text_Change_Cb func, void *data); - [ :edje_object_text_change_cb_set, [ :evas_object, :edje_text_change_cb, :pointer ], :void ], + [ :edje_object_text_change_cb_set, [ :pointer, :edje_text_change_cb, :pointer ], :void ], # EAPI Eina_Bool edje_object_part_text_set (Evas_Object *obj, const char *part, const char *text); - [ :edje_object_part_text_set, [ :evas_object, :string, :string ], :bool ], + [ :edje_object_part_text_set, [ :pointer, :string, :string ], :bool ], # EAPI Eina_Bool edje_object_part_text_escaped_set (Evas_Object *obj, const char *part, const char *text); - [ :edje_object_part_text_escaped_set, [ :evas_object, :string, :string ], :bool ], + [ :edje_object_part_text_escaped_set, [ :pointer, :string, :string ], :bool ], # EAPI const char *edje_object_part_text_get (const Evas_Object *obj, const char *part); - [ :edje_object_part_text_get, [ :evas_object, :string ], :string ], + [ :edje_object_part_text_get, [ :pointer, :string ], :string ], # EAPI void edje_object_part_text_style_user_push(Evas_Object *obj, const char *part, const char *style); - [ :edje_object_part_text_style_user_push, [ :evas_object, :string, :string ], :void ], + [ :edje_object_part_text_style_user_push, [ :pointer, :string, :string ], :void ], # EAPI const char *edje_object_part_text_style_user_peek(const Evas_Object *obj, const char *part); - [ :edje_object_part_text_style_user_peek, [ :evas_object, :string ], :string ], + [ :edje_object_part_text_style_user_peek, [ :pointer, :string ], :string ], # EAPI void edje_object_part_text_style_user_pop(Evas_Object *obj, const char *part); - [ :edje_object_part_text_style_user_pop, [ :evas_object, :string ], :void ], + [ :edje_object_part_text_style_user_pop, [ :pointer, :string ], :void ], # EAPI Eina_Bool edje_object_part_text_unescaped_set (Evas_Object *obj, const char *part, const char *text_to_escape); - [ :edje_object_part_text_unescaped_set, [ :evas_object, :string, :string ], :bool ], + [ :edje_object_part_text_unescaped_set, [ :pointer, :string, :string ], :bool ], # EAPI char *edje_object_part_text_unescaped_get (const Evas_Object *obj, const char *part); - [ :edje_object_part_text_unescaped_get, [ :evas_object, :string ], :string ], - # EAPI const char *edje_object_part_text_selection_get (const Evas_Object *obj, const char *part); - [ :edje_object_part_text_selection_get, [ :evas_object, :string ], :string ], - # EAPI void edje_object_part_text_select_none (const Evas_Object *obj, const char *part); - [ :edje_object_part_text_select_none, [ :evas_object, :string ], :void ], - # EAPI void edje_object_part_text_select_all (const Evas_Object *obj, const char *part); - [ :edje_object_part_text_select_all, [ :evas_object, :string ], :void ], + [ :edje_object_part_text_unescaped_get, [ :pointer, :string ], :string ], # EAPI void edje_object_part_text_insert (Evas_Object *obj, const char *part, const char *text); - [ :edje_object_part_text_insert, [ :evas_object, :string, :string ], :void ], + [ :edje_object_part_text_insert, [ :pointer, :string, :string ], :void ], # EAPI void edje_object_part_text_append(Evas_Object *obj, const char *part, const char *text); - [ :edje_object_part_text_append, [ :evas_object, :string, :string ], :void ], + [ :edje_object_part_text_append, [ :pointer, :string, :string ], :void ], # EAPI const Eina_List *edje_object_part_text_anchor_list_get (const Evas_Object *obj, const char *part); - [ :edje_object_part_text_anchor_list_get, [ :evas_object, :string ], :eina_list ], + [ :edje_object_part_text_anchor_list_get, [ :pointer, :string ], :eina_list ], # EAPI const Eina_List *edje_object_part_text_anchor_geometry_get (const Evas_Object *obj, const char *part, const char *anchor); - [ :edje_object_part_text_anchor_geometry_get, [ :evas_object, :string, :string ], :eina_list ], + [ :edje_object_part_text_anchor_geometry_get, [ :pointer, :string, :string ], :eina_list ], # EAPI const Eina_List *edje_object_part_text_item_list_get (const Evas_Object *obj, const char *part); - [ :edje_object_part_text_item_list_get, [ :evas_object, :string ], :eina_list ], + [ :edje_object_part_text_item_list_get, [ :pointer, :string ], :eina_list ], # EAPI Eina_Bool edje_object_part_text_item_geometry_get (const Evas_Object *obj, const char *part, const char *item, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch); - [ :edje_object_part_text_item_geometry_get, [ :evas_object, :string, :string, :pointer, :pointer, :pointer, :pointer ], :bool ], - # EAPI void edje_object_part_text_cursor_geometry_get (const Evas_Object *obj, const char *part, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h); - [ :edje_object_part_text_cursor_geometry_get, [ :evas_object, :string, :pointer, :pointer, :pointer, :pointer ], :void ], + [ :edje_object_part_text_item_geometry_get, [ :pointer, :string, :string, :pointer, :pointer, :pointer, :pointer ], :bool ], # EAPI void edje_object_part_text_user_insert (const Evas_Object *obj, const char *part, const char *text); - [ :edje_object_part_text_user_insert, [ :evas_object, :string, :string ], :void ], + [ :edje_object_part_text_user_insert, [ :pointer, :string, :string ], :void ], + # EAPI const char *edje_object_part_text_selection_get (const Evas_Object *obj, const char *part); + [ :edje_object_part_text_selection_get, [ :pointer, :string ], :string ], + # EAPI void edje_object_part_text_select_none (const Evas_Object *obj, const char *part); + [ :edje_object_part_text_select_none, [ :pointer, :string ], :void ], + # EAPI void edje_object_part_text_select_all (const Evas_Object *obj, const char *part); + [ :edje_object_part_text_select_all, [ :pointer, :string ], :void ], # EAPI void edje_object_part_text_select_allow_set (const Evas_Object *obj, const char *part, Eina_Bool allow); - [ :edje_object_part_text_select_allow_set, [ :evas_object, :string, :bool ], :void ], + [ :edje_object_part_text_select_allow_set, [ :pointer, :string, :bool ], :void ], # EAPI void edje_object_part_text_select_abort (const Evas_Object *obj, const char *part); - [ :edje_object_part_text_select_abort, [ :evas_object, :string ], :void ], + [ :edje_object_part_text_select_abort, [ :pointer, :string ], :void ], # EAPI void edje_object_part_text_select_begin (const Evas_Object *obj, const char *part); - [ :edje_object_part_text_select_begin, [ :evas_object, :string ], :void ], + [ :edje_object_part_text_select_begin, [ :pointer, :string ], :void ], # EAPI void edje_object_part_text_select_extend (const Evas_Object *obj, const char *part); - [ :edje_object_part_text_select_extend, [ :evas_object, :string ], :void ], + [ :edje_object_part_text_select_extend, [ :pointer, :string ], :void ], # EAPI Eina_Bool edje_object_part_text_cursor_next (Evas_Object *obj, const char *part, Edje_Cursor cur); - [ :edje_object_part_text_cursor_next, [ :evas_object, :string, :edje_cursor ], :bool ], + [ :edje_object_part_text_cursor_next, [ :pointer, :string, :edje_cursor ], :bool ], # EAPI Eina_Bool edje_object_part_text_cursor_prev (Evas_Object *obj, const char *part, Edje_Cursor cur); - [ :edje_object_part_text_cursor_prev, [ :evas_object, :string, :edje_cursor ], :bool ], + [ :edje_object_part_text_cursor_prev, [ :pointer, :string, :edje_cursor ], :bool ], # EAPI Eina_Bool edje_object_part_text_cursor_up (Evas_Object *obj, const char *part, Edje_Cursor cur); - [ :edje_object_part_text_cursor_up, [ :evas_object, :string, :edje_cursor ], :bool ], + [ :edje_object_part_text_cursor_up, [ :pointer, :string, :edje_cursor ], :bool ], # EAPI Eina_Bool edje_object_part_text_cursor_down (Evas_Object *obj, const char *part, Edje_Cursor cur); - [ :edje_object_part_text_cursor_down, [ :evas_object, :string, :edje_cursor ], :bool ], + [ :edje_object_part_text_cursor_down, [ :pointer, :string, :edje_cursor ], :bool ], # EAPI void edje_object_part_text_cursor_begin_set (Evas_Object *obj, const char *part, Edje_Cursor cur); - [ :edje_object_part_text_cursor_begin_set, [ :evas_object, :string, :edje_cursor ], :void ], + [ :edje_object_part_text_cursor_begin_set, [ :pointer, :string, :edje_cursor ], :void ], # EAPI void edje_object_part_text_cursor_end_set (Evas_Object *obj, const char *part, Edje_Cursor cur); - [ :edje_object_part_text_cursor_end_set, [ :evas_object, :string, :edje_cursor ], :void ], + [ :edje_object_part_text_cursor_end_set, [ :pointer, :string, :edje_cursor ], :void ], # EAPI void edje_object_part_text_cursor_copy (Evas_Object *obj, const char *part, Edje_Cursor src, Edje_Cursor dst); - [ :edje_object_part_text_cursor_copy, [ :evas_object, :string, :edje_cursor, :edje_cursor ], :void ], + [ :edje_object_part_text_cursor_copy, [ :pointer, :string, :edje_cursor, :edje_cursor ], :void ], # EAPI void edje_object_part_text_cursor_line_begin_set (Evas_Object *obj, const char *part, Edje_Cursor cur); - [ :edje_object_part_text_cursor_line_begin_set, [ :evas_object, :string, :edje_cursor ], :void ], + [ :edje_object_part_text_cursor_line_begin_set, [ :pointer, :string, :edje_cursor ], :void ], # EAPI void edje_object_part_text_cursor_line_end_set (Evas_Object *obj, const char *part, Edje_Cursor cur); - [ :edje_object_part_text_cursor_line_end_set, [ :evas_object, :string, :edje_cursor ], :void ], + [ :edje_object_part_text_cursor_line_end_set, [ :pointer, :string, :edje_cursor ], :void ], # EAPI Eina_Bool edje_object_part_text_cursor_coord_set (Evas_Object *obj, const char *part, Edje_Cursor cur, Evas_Coord x, Evas_Coord y); - [ :edje_object_part_text_cursor_coord_set, [ :evas_object, :string, :edje_cursor, :int, :int ], :bool ], + [ :edje_object_part_text_cursor_coord_set, [ :pointer, :string, :edje_cursor, :int, :int ], :bool ], # EAPI Eina_Bool edje_object_part_text_cursor_is_format_get (const Evas_Object *obj, const char *part, Edje_Cursor cur); - [ :edje_object_part_text_cursor_is_format_get, [ :evas_object, :string, :edje_cursor ], :bool ], + [ :edje_object_part_text_cursor_is_format_get, [ :pointer, :string, :edje_cursor ], :bool ], # EAPI Eina_Bool edje_object_part_text_cursor_is_visible_format_get(const Evas_Object *obj, const char *part, Edje_Cursor cur); - [ :edje_object_part_text_cursor_is_visible_format_get, [ :evas_object, :string, :edje_cursor ], :bool ], + [ :edje_object_part_text_cursor_is_visible_format_get, [ :pointer, :string, :edje_cursor ], :bool ], # EAPI char *edje_object_part_text_cursor_content_get (const Evas_Object *obj, const char *part, Edje_Cursor cur); - [ :edje_object_part_text_cursor_content_get, [ :evas_object, :string, :edje_cursor ], :string ], + [ :edje_object_part_text_cursor_content_get, [ :pointer, :string, :edje_cursor ], :string ], # EAPI void edje_object_part_text_cursor_pos_set (Evas_Object *obj, const char *part, Edje_Cursor cur, int pos); - [ :edje_object_part_text_cursor_pos_set, [ :evas_object, :string, :edje_cursor, :int ], :void ], + [ :edje_object_part_text_cursor_pos_set, [ :pointer, :string, :edje_cursor, :int ], :void ], # EAPI int edje_object_part_text_cursor_pos_get (const Evas_Object *obj, const char *part, Edje_Cursor cur); - [ :edje_object_part_text_cursor_pos_get, [ :evas_object, :string, :edje_cursor ], :int ], + [ :edje_object_part_text_cursor_pos_get, [ :pointer, :string, :edje_cursor ], :int ], + # EAPI void edje_object_part_text_cursor_geometry_get (const Evas_Object *obj, const char *part, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h); + [ :edje_object_part_text_cursor_geometry_get, [ :pointer, :string, :pointer, :pointer, :pointer, :pointer ], :void ], + # EAPI void edje_object_mirrored_set (Evas_Object *obj, Eina_Bool rtl); + [ :edje_object_mirrored_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool edje_object_mirrored_get (const Evas_Object *obj); + [ :edje_object_mirrored_get, [ :pointer ], :bool ], + # EAPI void edje_object_item_provider_set (Evas_Object *obj, Edje_Item_Provider_Cb func, void *data); + [ :edje_object_item_provider_set, [ :pointer, :edje_item_provider_cb, :pointer ], :void ], # EAPI void edje_object_part_text_imf_context_reset (const Evas_Object *obj, const char *part); - [ :edje_object_part_text_imf_context_reset, [ :evas_object, :string ], :void ], + [ :edje_object_part_text_imf_context_reset, [ :pointer, :string ], :void ], # EAPI void *edje_object_part_text_imf_context_get (const Evas_Object *obj, const char *part); - [ :edje_object_part_text_imf_context_get, [ :evas_object, :string ], :pointer ], + [ :edje_object_part_text_imf_context_get, [ :pointer, :string ], :pointer ], # EAPI void edje_object_part_text_input_panel_layout_set (Evas_Object *obj, const char *part, Edje_Input_Panel_Layout layout); - [ :edje_object_part_text_input_panel_layout_set, [ :evas_object, :string, :edje_input_panel_layout ], :void ], + [ :edje_object_part_text_input_panel_layout_set, [ :pointer, :string, :edje_input_panel_layout ], :void ], # EAPI Edje_Input_Panel_Layout edje_object_part_text_input_panel_layout_get (const Evas_Object *obj, const char *part); - [ :edje_object_part_text_input_panel_layout_get, [ :evas_object, :string ], :edje_input_panel_layout ], + [ :edje_object_part_text_input_panel_layout_get, [ :pointer, :string ], :edje_input_panel_layout ], + # EAPI void edje_object_part_text_input_panel_layout_variation_set(Evas_Object *obj, const char *part, int variation); + [ :edje_object_part_text_input_panel_layout_variation_set, [ :pointer, :string, :int ], :void ], + # EAPI int edje_object_part_text_input_panel_layout_variation_get(const Evas_Object *obj, const char *part); + [ :edje_object_part_text_input_panel_layout_variation_get, [ :pointer, :string ], :int ], # EAPI void edje_object_part_text_autocapital_type_set (Evas_Object *obj, const char *part, Edje_Text_Autocapital_Type autocapital_type); - [ :edje_object_part_text_autocapital_type_set, [ :evas_object, :string, :edje_text_autocapital_type ], :void ], + [ :edje_object_part_text_autocapital_type_set, [ :pointer, :string, :edje_text_autocapital_type ], :void ], # EAPI Edje_Text_Autocapital_Type edje_object_part_text_autocapital_type_get (const Evas_Object *obj, const char *part); - [ :edje_object_part_text_autocapital_type_get, [ :evas_object, :string ], :edje_text_autocapital_type ], + [ :edje_object_part_text_autocapital_type_get, [ :pointer, :string ], :edje_text_autocapital_type ], # EAPI void edje_object_part_text_prediction_allow_set (Evas_Object *obj, const char *part, Eina_Bool prediction); - [ :edje_object_part_text_prediction_allow_set, [ :evas_object, :string, :bool ], :void ], + [ :edje_object_part_text_prediction_allow_set, [ :pointer, :string, :bool ], :void ], # EAPI Eina_Bool edje_object_part_text_prediction_allow_get (const Evas_Object *obj, const char *part); - [ :edje_object_part_text_prediction_allow_get, [ :evas_object, :string ], :bool ], + [ :edje_object_part_text_prediction_allow_get, [ :pointer, :string ], :bool ], # EAPI void edje_object_part_text_input_panel_enabled_set (Evas_Object *obj, const char *part, Eina_Bool enabled); - [ :edje_object_part_text_input_panel_enabled_set, [ :evas_object, :string, :bool ], :void ], + [ :edje_object_part_text_input_panel_enabled_set, [ :pointer, :string, :bool ], :void ], # EAPI Eina_Bool edje_object_part_text_input_panel_enabled_get (const Evas_Object *obj, const char *part); - [ :edje_object_part_text_input_panel_enabled_get, [ :evas_object, :string ], :bool ], + [ :edje_object_part_text_input_panel_enabled_get, [ :pointer, :string ], :bool ], # EAPI void edje_object_part_text_input_panel_show(const Evas_Object *obj, const char *part); - [ :edje_object_part_text_input_panel_show, [ :evas_object, :string ], :void ], + [ :edje_object_part_text_input_panel_show, [ :pointer, :string ], :void ], # EAPI void edje_object_part_text_input_panel_hide(const Evas_Object *obj, const char *part); - [ :edje_object_part_text_input_panel_hide, [ :evas_object, :string ], :void ], + [ :edje_object_part_text_input_panel_hide, [ :pointer, :string ], :void ], # EAPI void edje_object_part_text_input_panel_language_set(Evas_Object *obj, const char *part, Edje_Input_Panel_Lang lang); - [ :edje_object_part_text_input_panel_language_set, [ :evas_object, :string, :edje_input_panel_lang ], :void ], + [ :edje_object_part_text_input_panel_language_set, [ :pointer, :string, :edje_input_panel_lang ], :void ], # EAPI Edje_Input_Panel_Lang edje_object_part_text_input_panel_language_get(const Evas_Object *obj, const char *part); - [ :edje_object_part_text_input_panel_language_get, [ :evas_object, :string ], :edje_input_panel_lang ], + [ :edje_object_part_text_input_panel_language_get, [ :pointer, :string ], :edje_input_panel_lang ], # EAPI void edje_object_part_text_input_panel_imdata_set(Evas_Object *obj, const char *part, const void *data, int len); - [ :edje_object_part_text_input_panel_imdata_set, [ :evas_object, :string, :pointer, :int ], :void ], + [ :edje_object_part_text_input_panel_imdata_set, [ :pointer, :string, :pointer, :int ], :void ], # EAPI void edje_object_part_text_input_panel_imdata_get(const Evas_Object *obj, const char *part, void *data, int *len); - [ :edje_object_part_text_input_panel_imdata_get, [ :evas_object, :string, :pointer, :pointer ], :void ], + [ :edje_object_part_text_input_panel_imdata_get, [ :pointer, :string, :pointer, :pointer ], :void ], # EAPI void edje_object_part_text_input_panel_return_key_type_set(Evas_Object *obj, const char *part, Edje_Input_Panel_Return_Key_Type return_key_type); - [ :edje_object_part_text_input_panel_return_key_type_set, [ :evas_object, :string, :edje_input_panel_return_key_type ], :void ], + [ :edje_object_part_text_input_panel_return_key_type_set, [ :pointer, :string, :edje_input_panel_return_key_type ], :void ], # EAPI Edje_Input_Panel_Return_Key_Type edje_object_part_text_input_panel_return_key_type_get(const Evas_Object *obj, const char *part); - [ :edje_object_part_text_input_panel_return_key_type_get, [ :evas_object, :string ], :edje_input_panel_return_key_type ], + [ :edje_object_part_text_input_panel_return_key_type_get, [ :pointer, :string ], :edje_input_panel_return_key_type ], # EAPI void edje_object_part_text_input_panel_return_key_disabled_set(Evas_Object *obj, const char *part, Eina_Bool disabled); - [ :edje_object_part_text_input_panel_return_key_disabled_set, [ :evas_object, :string, :bool ], :void ], + [ :edje_object_part_text_input_panel_return_key_disabled_set, [ :pointer, :string, :bool ], :void ], # EAPI Eina_Bool edje_object_part_text_input_panel_return_key_disabled_get(const Evas_Object *obj, const char *part); - [ :edje_object_part_text_input_panel_return_key_disabled_get, [ :evas_object, :string ], :bool ], + [ :edje_object_part_text_input_panel_return_key_disabled_get, [ :pointer, :string ], :bool ], # EAPI void edje_object_text_insert_filter_callback_add (Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func, void *data); - [ :edje_object_text_insert_filter_callback_add, [ :evas_object, :string, :edje_text_filter_cb, :pointer ], :void ], + [ :edje_object_text_insert_filter_callback_add, [ :pointer, :string, :edje_text_filter_cb, :pointer ], :void ], # EAPI void *edje_object_text_insert_filter_callback_del (Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func); - [ :edje_object_text_insert_filter_callback_del, [ :evas_object, :string, :edje_text_filter_cb ], :pointer ], + [ :edje_object_text_insert_filter_callback_del, [ :pointer, :string, :edje_text_filter_cb ], :pointer ], # EAPI void *edje_object_text_insert_filter_callback_del_full (Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func, void *data); - [ :edje_object_text_insert_filter_callback_del_full, [ :evas_object, :string, :edje_text_filter_cb, :pointer ], :pointer ], + [ :edje_object_text_insert_filter_callback_del_full, [ :pointer, :string, :edje_text_filter_cb, :pointer ], :pointer ], # EAPI void edje_object_text_markup_filter_callback_add(Evas_Object *obj, const char *part, Edje_Markup_Filter_Cb func, void *data); - [ :edje_object_text_markup_filter_callback_add, [ :evas_object, :string, :edje_markup_filter_cb, :pointer ], :void ], + [ :edje_object_text_markup_filter_callback_add, [ :pointer, :string, :edje_markup_filter_cb, :pointer ], :void ], # EAPI void *edje_object_text_markup_filter_callback_del(Evas_Object *obj, const char *part, Edje_Markup_Filter_Cb func); - [ :edje_object_text_markup_filter_callback_del, [ :evas_object, :string, :edje_markup_filter_cb ], :pointer ], + [ :edje_object_text_markup_filter_callback_del, [ :pointer, :string, :edje_markup_filter_cb ], :pointer ], # EAPI void *edje_object_text_markup_filter_callback_del_full(Evas_Object *obj, const char *part, Edje_Markup_Filter_Cb func, void *data); - [ :edje_object_text_markup_filter_callback_del_full, [ :evas_object, :string, :edje_markup_filter_cb, :pointer ], :pointer ], + [ :edje_object_text_markup_filter_callback_del_full, [ :pointer, :string, :edje_markup_filter_cb, :pointer ], :pointer ], + # EAPI void edje_extern_object_min_size_set (Evas_Object *obj, Evas_Coord minw, Evas_Coord minh); + [ :edje_extern_object_min_size_set, [ :pointer, :int, :int ], :void ], + # EAPI void edje_extern_object_max_size_set (Evas_Object *obj, Evas_Coord maxw, Evas_Coord maxh); + [ :edje_extern_object_max_size_set, [ :pointer, :int, :int ], :void ], + # EAPI void edje_extern_object_aspect_set (Evas_Object *obj, Edje_Aspect_Control aspect, Evas_Coord aw, Evas_Coord ah); + [ :edje_extern_object_aspect_set, [ :pointer, :edje_aspect_control, :int, :int ], :void ], # EAPI Eina_Bool edje_object_part_swallow (Evas_Object *obj, const char *part, Evas_Object *obj_swallow); - [ :edje_object_part_swallow, [ :evas_object, :string, :evas_object ], :bool ], + [ :edje_object_part_swallow, [ :pointer, :string, :pointer ], :bool ], # EAPI void edje_object_part_unswallow (Evas_Object *obj, Evas_Object *obj_swallow); - [ :edje_object_part_unswallow, [ :evas_object, :evas_object ], :void ], + [ :edje_object_part_unswallow, [ :pointer, :pointer ], :void ], # EAPI Evas_Object *edje_object_part_swallow_get (const Evas_Object *obj, const char *part); - [ :edje_object_part_swallow_get, [ :evas_object, :string ], :evas_object ], - # EAPI const char *edje_object_part_state_get (const Evas_Object *obj, const char *part, double *val_ret); - [ :edje_object_part_state_get, [ :evas_object, :string, :pointer ], :string ], + [ :edje_object_part_swallow_get, [ :pointer, :string ], :pointer ], # EAPI Edje_Drag_Dir edje_object_part_drag_dir_get (const Evas_Object *obj, const char *part); - [ :edje_object_part_drag_dir_get, [ :evas_object, :string ], :edje_drag_dir ], + [ :edje_object_part_drag_dir_get, [ :pointer, :string ], :edje_drag_dir ], # EAPI Eina_Bool edje_object_part_drag_value_set (Evas_Object *obj, const char *part, double dx, double dy); - [ :edje_object_part_drag_value_set, [ :evas_object, :string, :double, :double ], :bool ], + [ :edje_object_part_drag_value_set, [ :pointer, :string, :double, :double ], :bool ], # EAPI Eina_Bool edje_object_part_drag_value_get (const Evas_Object *obj, const char *part, double *dx, double *dy); - [ :edje_object_part_drag_value_get, [ :evas_object, :string, :pointer, :pointer ], :bool ], + [ :edje_object_part_drag_value_get, [ :pointer, :string, :pointer, :pointer ], :bool ], # EAPI Eina_Bool edje_object_part_drag_size_set (Evas_Object *obj, const char *part, double dw, double dh); - [ :edje_object_part_drag_size_set, [ :evas_object, :string, :double, :double ], :bool ], + [ :edje_object_part_drag_size_set, [ :pointer, :string, :double, :double ], :bool ], # EAPI Eina_Bool edje_object_part_drag_size_get (const Evas_Object *obj, const char *part, double *dw, double *dh); - [ :edje_object_part_drag_size_get, [ :evas_object, :string, :pointer, :pointer ], :bool ], + [ :edje_object_part_drag_size_get, [ :pointer, :string, :pointer, :pointer ], :bool ], # EAPI Eina_Bool edje_object_part_drag_step_set (Evas_Object *obj, const char *part, double dx, double dy); - [ :edje_object_part_drag_step_set, [ :evas_object, :string, :double, :double ], :bool ], + [ :edje_object_part_drag_step_set, [ :pointer, :string, :double, :double ], :bool ], # EAPI Eina_Bool edje_object_part_drag_step_get (const Evas_Object *obj, const char *part, double *dx, double *dy); - [ :edje_object_part_drag_step_get, [ :evas_object, :string, :pointer, :pointer ], :bool ], + [ :edje_object_part_drag_step_get, [ :pointer, :string, :pointer, :pointer ], :bool ], # EAPI Eina_Bool edje_object_part_drag_page_set (Evas_Object *obj, const char *part, double dx, double dy); - [ :edje_object_part_drag_page_set, [ :evas_object, :string, :double, :double ], :bool ], + [ :edje_object_part_drag_page_set, [ :pointer, :string, :double, :double ], :bool ], # EAPI Eina_Bool edje_object_part_drag_page_get (const Evas_Object *obj, const char *part, double *dx, double *dy); - [ :edje_object_part_drag_page_get, [ :evas_object, :string, :pointer, :pointer ], :bool ], + [ :edje_object_part_drag_page_get, [ :pointer, :string, :pointer, :pointer ], :bool ], # EAPI Eina_Bool edje_object_part_drag_step (Evas_Object *obj, const char *part, double dx, double dy); - [ :edje_object_part_drag_step, [ :evas_object, :string, :double, :double ], :bool ], + [ :edje_object_part_drag_step, [ :pointer, :string, :double, :double ], :bool ], # EAPI Eina_Bool edje_object_part_drag_page (Evas_Object *obj, const char *part, double dx, double dy); - [ :edje_object_part_drag_page, [ :evas_object, :string, :double, :double ], :bool ], - # EAPI Evas_Object *edje_object_part_external_object_get (const Evas_Object *obj, const char *part); - [ :edje_object_part_external_object_get, [ :evas_object, :string ], :evas_object ], - # EAPI Eina_Bool edje_object_part_external_param_set (Evas_Object *obj, const char *part, const Edje_External_Param *param); - [ :edje_object_part_external_param_set, [ :evas_object, :string, :edje_external_param ], :bool ], - # EAPI Eina_Bool edje_object_part_external_param_get (const Evas_Object *obj, const char *part, Edje_External_Param *param); - [ :edje_object_part_external_param_get, [ :evas_object, :string, :edje_external_param ], :bool ], - # EAPI Evas_Object *edje_object_part_external_content_get (const Evas_Object *obj, const char *part, const char *content); - [ :edje_object_part_external_content_get, [ :evas_object, :string, :string ], :evas_object ], - # EAPI Edje_External_Param_Type edje_object_part_external_param_type_get (const Evas_Object *obj, const char *part, const char *param); - [ :edje_object_part_external_param_type_get, [ :evas_object, :string, :string ], :edje_external_param_type ], + [ :edje_object_part_drag_page, [ :pointer, :string, :double, :double ], :bool ], + # EAPI const char *edje_object_data_get (const Evas_Object *obj, const char *key); + [ :edje_object_data_get, [ :pointer, :string ], :string ], + # EAPI Eina_Bool edje_object_file_set (Evas_Object *obj, const char *file, const char *group); + [ :edje_object_file_set, [ :pointer, :string, :string ], :bool ], + # EAPI Eina_Bool edje_object_mmap_set(Evas_Object *obj, const Eina_File *file, const char *group); + [ :edje_object_mmap_set, [ :pointer, :eina_file, :string ], :bool ], + # EAPI void edje_object_file_get (const Evas_Object *obj, const char **file, const char **group); + [ :edje_object_file_get, [ :pointer, :pointer, :pointer ], :void ], + # EAPI Edje_Load_Error edje_object_load_error_get (const Evas_Object *obj); + [ :edje_object_load_error_get, [ :pointer ], :edje_load_error ], + # EAPI void edje_object_play_set (Evas_Object *obj, Eina_Bool play); + [ :edje_object_play_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool edje_object_play_get (const Evas_Object *obj); + [ :edje_object_play_get, [ :pointer ], :bool ], + # EAPI void edje_object_animation_set (Evas_Object *obj, Eina_Bool on); + [ :edje_object_animation_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool edje_object_animation_get (const Evas_Object *obj); + [ :edje_object_animation_get, [ :pointer ], :bool ], + # EAPI int edje_object_freeze (Evas_Object *obj); + [ :edje_object_freeze, [ :pointer ], :int ], + # EAPI int edje_object_thaw (Evas_Object *obj); + [ :edje_object_thaw, [ :pointer ], :int ], + # EAPI const char *edje_object_part_state_get (const Evas_Object *obj, const char *part, double *val_ret); + [ :edje_object_part_state_get, [ :pointer, :string, :pointer ], :string ], + # EAPI Eina_Bool edje_object_color_class_set (Evas_Object *obj, const char *color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3); + [ :edje_object_color_class_set, [ :pointer, :string, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int ], :bool ], + # EAPI Eina_Bool edje_object_color_class_get (const Evas_Object *o, const char *color_class, int *r, int *g, int *b, int *a, int *r2, int *g2, int *b2, int *a2, int *r3, int *g3, int *b3, int *a3); + [ :edje_object_color_class_get, [ :pointer, :string, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer, :pointer, + :pointer, :pointer, :pointer ], :bool ], + # EAPI void edje_object_color_class_del (Evas_Object *obj, const char *color_class); + [ :edje_object_color_class_del, [ :pointer, :string ], :void ], # EAPI Eina_Bool edje_object_part_box_append (Evas_Object *obj, const char *part, Evas_Object *child); - [ :edje_object_part_box_append, [ :evas_object, :string, :evas_object ], :bool ], + [ :edje_object_part_box_append, [ :pointer, :string, :pointer ], :bool ], # EAPI Eina_Bool edje_object_part_box_prepend (Evas_Object *obj, const char *part, Evas_Object *child); - [ :edje_object_part_box_prepend, [ :evas_object, :string, :evas_object ], :bool ], + [ :edje_object_part_box_prepend, [ :pointer, :string, :pointer ], :bool ], # EAPI Eina_Bool edje_object_part_box_insert_before (Evas_Object *obj, const char *part, Evas_Object *child, const Evas_Object *reference); - [ :edje_object_part_box_insert_before, [ :evas_object, :string, :evas_object, :evas_object ], :bool ], + [ :edje_object_part_box_insert_before, [ :pointer, :string, :pointer, :pointer ], :bool ], # EAPI Eina_Bool edje_object_part_box_insert_at (Evas_Object *obj, const char *part, Evas_Object *child, unsigned int pos); - [ :edje_object_part_box_insert_at, [ :evas_object, :string, :evas_object, :uint ], :bool ], + [ :edje_object_part_box_insert_at, [ :pointer, :string, :pointer, :uint ], :bool ], # EAPI Evas_Object *edje_object_part_box_remove (Evas_Object *obj, const char *part, Evas_Object *child); - [ :edje_object_part_box_remove, [ :evas_object, :string, :evas_object ], :evas_object ], + [ :edje_object_part_box_remove, [ :pointer, :string, :pointer ], :pointer ], # EAPI Evas_Object *edje_object_part_box_remove_at (Evas_Object *obj, const char *part, unsigned int pos); - [ :edje_object_part_box_remove_at, [ :evas_object, :string, :uint ], :evas_object ], + [ :edje_object_part_box_remove_at, [ :pointer, :string, :uint ], :pointer ], # EAPI Eina_Bool edje_object_part_box_remove_all (Evas_Object *obj, const char *part, Eina_Bool clear); - [ :edje_object_part_box_remove_all, [ :evas_object, :string, :bool ], :bool ], - # EAPI Eina_List * edje_object_access_part_list_get (const Evas_Object *obj); - [ :edje_object_access_part_list_get, [ :evas_object ], :eina_list ], + [ :edje_object_part_box_remove_all, [ :pointer, :string, :bool ], :bool ], # EAPI Evas_Object *edje_object_part_table_child_get (const Evas_Object *obj, const char *part, unsigned int col, unsigned int row); - [ :edje_object_part_table_child_get, [ :evas_object, :string, :uint, :uint ], :evas_object ], + [ :edje_object_part_table_child_get, [ :pointer, :string, :uint, :uint ], :pointer ], # EAPI Eina_Bool edje_object_part_table_pack (Evas_Object *obj, const char *part, Evas_Object *child_obj, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan); - [ :edje_object_part_table_pack, [ :evas_object, :string, :evas_object, :ushort, :ushort, :ushort, :ushort ], :bool ], + [ :edje_object_part_table_pack, [ :pointer, :string, :pointer, :ushort, :ushort, :ushort, :ushort ], :bool ], # EAPI Eina_Bool edje_object_part_table_unpack (Evas_Object *obj, const char *part, Evas_Object *child_obj); - [ :edje_object_part_table_unpack, [ :evas_object, :string, :evas_object ], :bool ], + [ :edje_object_part_table_unpack, [ :pointer, :string, :pointer ], :bool ], # EAPI Eina_Bool edje_object_part_table_col_row_size_get (const Evas_Object *obj, const char *part, int *cols, int *rows); - [ :edje_object_part_table_col_row_size_get, [ :evas_object, :string, :pointer, :pointer ], :bool ], + [ :edje_object_part_table_col_row_size_get, [ :pointer, :string, :pointer, :pointer ], :bool ], # EAPI Eina_Bool edje_object_part_table_clear (Evas_Object *obj, const char *part, Eina_Bool clear); - [ :edje_object_part_table_clear, [ :evas_object, :string, :bool ], :bool ], + [ :edje_object_part_table_clear, [ :pointer, :string, :bool ], :bool ], + # EAPI Eina_Bool edje_object_text_class_set (Evas_Object *obj, const char *text_class, const char *font, Evas_Font_Size size); + [ :edje_object_text_class_set, [ :pointer, :string, :string, :int ], :bool ], + # EAPI void edje_object_perspective_set (Evas_Object *obj, Edje_Perspective *ps); + [ :edje_object_perspective_set, [ :pointer, :edje_perspective ], :void ], + # EAPI const Edje_Perspective *edje_object_perspective_get (const Evas_Object *obj); + [ :edje_object_perspective_get, [ :pointer ], :edje_perspective ], + # EAPI Evas_Object *edje_object_add (Evas *evas); + [ :edje_object_add, [ :pointer ], :pointer ], + # EAPI Eina_Bool edje_object_preload (Evas_Object *obj, Eina_Bool cancel); + [ :edje_object_preload, [ :pointer, :bool ], :bool ], + # EAPI void edje_object_signal_callback_add (Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data); + [ :edje_object_signal_callback_add, [ :pointer, :string, :string, :edje_signal_cb, :pointer ], :void ], + # EAPI void *edje_object_signal_callback_del (Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func); + [ :edje_object_signal_callback_del, [ :pointer, :string, :string, :edje_signal_cb ], :pointer ], + # EAPI void *edje_object_signal_callback_del_full(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data); + [ :edje_object_signal_callback_del_full, [ :pointer, :string, :string, :edje_signal_cb, :pointer ], :pointer ], + # EAPI void edje_object_signal_emit (Evas_Object *obj, const char *emission, const char *source); + [ :edje_object_signal_emit, [ :pointer, :string, :string ], :void ], # EAPI void edje_object_message_send (Evas_Object *obj, Edje_Message_Type type, int id, void *msg); - [ :edje_object_message_send, [ :evas_object, :edje_message_type, :int, :pointer ], :void ], + [ :edje_object_message_send, [ :pointer, :edje_message_type, :int, :pointer ], :void ], # EAPI void edje_object_message_handler_set (Evas_Object *obj, Edje_Message_Handler_Cb func, void *data); - [ :edje_object_message_handler_set, [ :evas_object, :edje_message_handler_cb, :pointer ], :void ], + [ :edje_object_message_handler_set, [ :pointer, :edje_message_handler_cb, :pointer ], :void ], # EAPI void edje_object_message_signal_process (Evas_Object *obj); - [ :edje_object_message_signal_process, [ :evas_object ], :void ], - # EAPI void edje_message_signal_process (void); - [ :edje_message_signal_process, [ ], :void ], - # EAPI Eina_Bool edje_external_type_register (const char *type_name, const Edje_External_Type *type_info); - [ :edje_external_type_register, [ :string, :edje_external_type ], :bool ], - # EAPI Eina_Bool edje_external_type_unregister (const char *type_name); - [ :edje_external_type_unregister, [ :string ], :bool ], - # EAPI void edje_external_type_array_register (const Edje_External_Type_Info *array); - [ :edje_external_type_array_register, [ :edje_external_type_info ], :void ], - # EAPI void edje_external_type_array_unregister (const Edje_External_Type_Info *array); - [ :edje_external_type_array_unregister, [ :edje_external_type_info ], :void ], - # EAPI unsigned int edje_external_type_abi_version_get (void); - [ :edje_external_type_abi_version_get, [ ], :uint ], - # EAPI Eina_Iterator *edje_external_iterator_get (void); - [ :edje_external_iterator_get, [ ], :pointer ], - # EAPI Edje_External_Param *edje_external_param_find (const Eina_List *params, const char *key); - [ :edje_external_param_find, [ :eina_list, :string ], :edje_external_param ], - # EAPI Eina_Bool edje_external_param_int_get (const Eina_List *params, const char *key, int *ret); - [ :edje_external_param_int_get, [ :eina_list, :string, :pointer ], :bool ], - # EAPI Eina_Bool edje_external_param_double_get (const Eina_List *params, const char *key, double *ret); - [ :edje_external_param_double_get, [ :eina_list, :string, :pointer ], :bool ], - # EAPI Eina_Bool edje_external_param_string_get (const Eina_List *params, const char *key, const char **ret); - [ :edje_external_param_string_get, [ :eina_list, :string, :pointer ], :bool ], - # EAPI Eina_Bool edje_external_param_bool_get (const Eina_List *params, const char *key, Eina_Bool *ret); - [ :edje_external_param_bool_get, [ :eina_list, :string, :pointer ], :bool ], - # EAPI Eina_Bool edje_external_param_choice_get (const Eina_List *params, const char *key, const char **ret); - [ :edje_external_param_choice_get, [ :eina_list, :string, :pointer ], :bool ], - # EAPI const Edje_External_Param_Info *edje_external_param_info_get (const char *type_name); - [ :edje_external_param_info_get, [ :string ], :edje_external_param_info ], - # EAPI const Edje_External_Type *edje_external_type_get (const char *type_name); - [ :edje_external_type_get, [ :string ], :edje_external_type ], - # EAPI Eina_Bool edje_module_load (const char *module); - [ :edje_module_load, [ :string ], :bool ], - # EAPI const Eina_List *edje_available_modules_get (void); - [ :edje_available_modules_get, [ ], :eina_list ], - # EAPI Edje_Perspective *edje_perspective_new (Evas *e); - [ :edje_perspective_new, [ :evas ], :edje_perspective ], - # EAPI void edje_perspective_free (Edje_Perspective *ps); - [ :edje_perspective_free, [ :edje_perspective ], :void ], - # EAPI void edje_perspective_set (Edje_Perspective *ps, Evas_Coord px, Evas_Coord py, Evas_Coord z0, Evas_Coord foc); - [ :edje_perspective_set, [ :edje_perspective, :int, :int, :int, :int ], :void ], - # EAPI void edje_perspective_global_set (Edje_Perspective *ps, Eina_Bool global); - [ :edje_perspective_global_set, [ :edje_perspective, :bool ], :void ], - # EAPI Eina_Bool edje_perspective_global_get (const Edje_Perspective *ps); - [ :edje_perspective_global_get, [ :edje_perspective ], :bool ], - # EAPI const Edje_Perspective *edje_evas_global_perspective_get(const Evas *e); - [ :edje_evas_global_perspective_get, [ :evas ], :edje_perspective ], - # EAPI void edje_object_perspective_set (Evas_Object *obj, Edje_Perspective *ps); - [ :edje_object_perspective_set, [ :evas_object, :edje_perspective ], :void ], - # EAPI const Edje_Perspective *edje_object_perspective_get (const Evas_Object *obj); - [ :edje_object_perspective_get, [ :evas_object ], :edje_perspective ], + [ :edje_object_message_signal_process, [ :pointer ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/eet.rb b/lib/efl/native/eet.rb index 4d97e4a..7b24bb1 100644 --- a/lib/efl/native/eet.rb +++ b/lib/efl/native/eet.rb @@ -4,6 +4,7 @@ require 'efl/native' require 'efl/native/eina_xattr' require 'efl/native/eina_list' +require 'efl/native/eina_file' # module Efl # @@ -43,6 +44,8 @@ module Efl typedef :pointer, :eet_file # typedef struct _Eet_Dictionary Eet_Dictionary; typedef :pointer, :eet_dictionary + # typedef struct _Eet_Entry Eet_Entry; + typedef :pointer, :eet_entry # typedef struct _Eet_Key Eet_Key; typedef :pointer, :eet_key # typedef struct _Eet_Data_Descriptor Eet_Data_Descriptor; @@ -134,6 +137,8 @@ module Efl [ :eet_clearcache, [ ], :void ], # EAPI Eet_File * eet_open(const char *file, Eet_File_Mode mode); [ :eet_open, [ :string, :eet_file_mode ], :eet_file ], + # EAPI Eet_File * eet_mmap(const Eina_File *file); + [ :eet_mmap, [ :eina_file ], :eet_file ], # EAPI Eet_File * eet_memopen_read(const void *data, size_t size); [ :eet_memopen_read, [ :pointer, :ulong ], :eet_file ], # EAPI Eet_File_Mode eet_mode_get(Eet_File *ef); @@ -164,6 +169,8 @@ module Efl [ :eet_alias_get, [ :eet_file, :string ], :string ], # EAPI char ** eet_list(Eet_File *ef, const char *glob, int *count_ret); [ :eet_list, [ :eet_file, :string, :pointer ], :pointer ], + # EAPI Eina_Iterator *eet_list_entries(Eet_File *ef); + [ :eet_list_entries, [ :eet_file ], :pointer ], # EAPI int eet_num_entries(Eet_File *ef); [ :eet_num_entries, [ :eet_file ], :int ], # EAPI void * eet_read_cipher(Eet_File *ef, const char *name, int *size_ret, const char *cipher_key); @@ -232,6 +239,8 @@ module Efl [ :eet_eina_file_data_descriptor_class_set, [ :eet_data_descriptor_class, :uint, :string, :int ], :bool ], # EAPI void eet_data_descriptor_free(Eet_Data_Descriptor *edd); [ :eet_data_descriptor_free, [ :eet_data_descriptor ], :void ], + # EAPI const char *eet_data_descriptor_name_get(const Eet_Data_Descriptor *edd); + [ :eet_data_descriptor_name_get, [ :eet_data_descriptor ], :string ], # EAPI void eet_data_descriptor_element_add(Eet_Data_Descriptor *edd, const char *name, int type, int group_type, int offset, /* int count_offset, */ # int count, const char *counter_name, Eet_Data_Descriptor *subtype); [ :eet_data_descriptor_element_add, [ :eet_data_descriptor, :string, :int, :int, :int, :int, :string, :eet_data_descriptor ], :void ], diff --git a/lib/efl/native/efreet_base.rb b/lib/efl/native/efreet_base.rb index d5169cd..5003485 100644 --- a/lib/efl/native/efreet_base.rb +++ b/lib/efl/native/efreet_base.rb @@ -35,10 +35,26 @@ module Efl [ :efreet_config_home_get, [ ], :string ], # EAPI const char *efreet_desktop_dir_get(void); [ :efreet_desktop_dir_get, [ ], :string ], + # EAPI const char *efreet_download_dir_get(void); + [ :efreet_download_dir_get, [ ], :string ], + # EAPI const char *efreet_templates_dir_get(void); + [ :efreet_templates_dir_get, [ ], :string ], + # EAPI const char *efreet_public_share_dir_get(void); + [ :efreet_public_share_dir_get, [ ], :string ], + # EAPI const char *efreet_documents_dir_get(void); + [ :efreet_documents_dir_get, [ ], :string ], + # EAPI const char *efreet_music_dir_get(void); + [ :efreet_music_dir_get, [ ], :string ], + # EAPI const char *efreet_pictures_dir_get(void); + [ :efreet_pictures_dir_get, [ ], :string ], + # EAPI const char *efreet_videos_dir_get(void); + [ :efreet_videos_dir_get, [ ], :string ], # EAPI Eina_List *efreet_config_dirs_get(void); [ :efreet_config_dirs_get, [ ], :eina_list ], # EAPI const char *efreet_cache_home_get(void); [ :efreet_cache_home_get, [ ], :string ], + # EAPI const char *efreet_runtime_dir_get(void); + [ :efreet_runtime_dir_get, [ ], :string ], # EAPI const char *efreet_hostname_get(void); [ :efreet_hostname_get, [ ], :string ], ] diff --git a/lib/efl/native/efreet_menu.rb b/lib/efl/native/efreet_menu.rb index 349a2a7..c94e1fa 100644 --- a/lib/efl/native/efreet_menu.rb +++ b/lib/efl/native/efreet_menu.rb @@ -29,6 +29,10 @@ module Efl # typedef struct Efreet_Menu Efreet_Menu; typedef :pointer, :efreet_menu # + # CALLBACKS + # typedef void (*Efreet_Menu_Cb) (void *data, Efreet_Menu *menu); + callback :efreet_menu_cb, [ :pointer, :efreet_menu ], :void + # # FUNCTIONS fcts = [ # EAPI int efreet_menu_kde_legacy_init(void); @@ -37,8 +41,12 @@ module Efl [ :efreet_menu_new, [ :string ], :efreet_menu ], # EAPI void efreet_menu_file_set(const char *file); [ :efreet_menu_file_set, [ :string ], :void ], + # EAPI void efreet_menu_async_get(Efreet_Menu_Cb func, const void *data); + [ :efreet_menu_async_get, [ :efreet_menu_cb, :pointer ], :void ], # EAPI Efreet_Menu *efreet_menu_get(void); [ :efreet_menu_get, [ ], :efreet_menu ], + # EAPI void efreet_menu_async_parse(const char *path, Efreet_Menu_Cb func, const void *data); + [ :efreet_menu_async_parse, [ :string, :efreet_menu_cb, :pointer ], :void ], # EAPI Efreet_Menu *efreet_menu_parse(const char *path); [ :efreet_menu_parse, [ :string ], :efreet_menu ], # EAPI int efreet_menu_save(Efreet_Menu *menu, const char *path); diff --git a/lib/efl/native/eina_file.rb b/lib/efl/native/eina_file.rb index 634878f..e139154 100644 --- a/lib/efl/native/eina_file.rb +++ b/lib/efl/native/eina_file.rb @@ -25,7 +25,10 @@ module Efl enum :eina_file_type, [ :eina_file_unknown, :eina_file_fifo, :eina_file_chr, :eina_file_dir, :eina_file_blk, :eina_file_reg, :eina_file_lnk, :eina_file_sock, :eina_file_wht ] # typedef enum {...} Eina_File_Populate; - enum :eina_file_populate, [ :eina_file_random, :eina_file_sequential, :eina_file_willneed, :eina_file_populate ] + enum :eina_file_populate, [ :eina_file_random, :eina_file_sequential, :eina_file_willneed, :eina_file_populate, :eina_file_dontneed, + :eina_file_remove ] + # typedef enum {...} Eina_File_Copy_Flags; + enum :eina_file_copy_flags, [ :eina_file_copy_data, 0, :eina_file_copy_permission, (1<<0), :eina_file_copy_xattr, (1<<1) ] # # TYPEDEFS # typedef struct _Eina_File_Direct_Info Eina_File_Direct_Info; @@ -40,6 +43,8 @@ module Efl # CALLBACKS # typedef void (*Eina_File_Dir_List_Cb) (const char *name, const char *path, void *data); callback :eina_file_dir_list_cb, [ :string, :string, :pointer ], :void + # typedef Eina_Bool (*Eina_File_Copy_Progress) (void *data, unsigned long long done, unsigned long long total); + callback :eina_file_copy_progress_cb, [ :pointer, :ulong_long, :ulong_long ], :bool # # FUNCTIONS fcts = [ @@ -53,19 +58,33 @@ module Efl [ :eina_file_stat_ls, [ :string ], :pointer ], # EAPI int eina_file_statat(void *container, Eina_File_Direct_Info *info, Eina_Stat *buf); [ :eina_file_statat, [ :pointer, :eina_file_direct_info, :eina_stat ], :int ], + # EAPI int eina_file_mkstemp(const char *templatename, Eina_Tmpstr **path); + [ :eina_file_mkstemp, [ :string, :pointer ], :int ], + # EAPI Eina_Bool eina_file_mkdtemp(const char *templatename, Eina_Tmpstr **path); + [ :eina_file_mkdtemp, [ :string, :pointer ], :bool ], # EAPI Eina_Iterator *eina_file_direct_ls(const char *dir); [ :eina_file_direct_ls, [ :string ], :pointer ], # EAPI char *eina_file_path_sanitize(const char *path); [ :eina_file_path_sanitize, [ :string ], :string ], + # EAPI Eina_Bool eina_file_copy(const char *src, const char *dst, Eina_File_Copy_Flags flags, Eina_File_Copy_Progress cb, const void *cb_data); + [ :eina_file_copy, [ :string, :string, :eina_file_copy_flags, :eina_file_copy_progress_cb, :pointer ], :bool ], # EAPI Eina_File *eina_file_open(const char *name, Eina_Bool shared); [ :eina_file_open, [ :string, :bool ], :eina_file ], + # EAPI Eina_File * eina_file_virtualize(const char *virtual_name, const void *data, unsigned long long length, Eina_Bool copy); + [ :eina_file_virtualize, [ :string, :pointer, :ulong_long, :bool ], :eina_file ], + # EAPI Eina_Bool eina_file_virtual(Eina_File *file); + [ :eina_file_virtual, [ :eina_file ], :bool ], + # EAPI Eina_Bool eina_file_refresh(Eina_File *file); + [ :eina_file_refresh, [ :eina_file ], :bool ], + # EAPI Eina_File * eina_file_dup(const Eina_File *file); + [ :eina_file_dup, [ :eina_file ], :eina_file ], # EAPI void eina_file_close(Eina_File *file); [ :eina_file_close, [ :eina_file ], :void ], - # EAPI size_t eina_file_size_get(Eina_File *file); + # EAPI size_t eina_file_size_get(const Eina_File *file); [ :eina_file_size_get, [ :eina_file ], :ulong ], - # EAPI time_t eina_file_mtime_get(Eina_File *file); + # EAPI time_t eina_file_mtime_get(const Eina_File *file); [ :eina_file_mtime_get, [ :eina_file ], :ulong ], - # EAPI const char *eina_file_filename_get(Eina_File *file); + # EAPI const char *eina_file_filename_get(const Eina_File *file); [ :eina_file_filename_get, [ :eina_file ], :string ], # EAPI Eina_Iterator *eina_file_xattr_get(Eina_File *file); [ :eina_file_xattr_get, [ :eina_file ], :pointer ], @@ -77,6 +96,8 @@ module Efl [ :eina_file_map_new, [ :eina_file, :eina_file_populate, :ulong, :ulong ], :pointer ], # EAPI void eina_file_map_free(Eina_File *file, void *map); [ :eina_file_map_free, [ :eina_file, :pointer ], :void ], + # EAPI void eina_file_map_populate(Eina_File *file, Eina_File_Populate rule, const void *map, unsigned long int offset, unsigned long int length); + [ :eina_file_map_populate, [ :eina_file, :eina_file_populate, :pointer, :ulong, :ulong ], :void ], # EAPI Eina_Iterator *eina_file_map_lines(Eina_File *file); [ :eina_file_map_lines, [ :eina_file ], :pointer ], # EAPI Eina_Bool eina_file_map_faulted(Eina_File *file, void *map); diff --git a/lib/efl/native/eina_list.rb b/lib/efl/native/eina_list.rb index 2c6874b..29d53d9 100644 --- a/lib/efl/native/eina_list.rb +++ b/lib/efl/native/eina_list.rb @@ -72,6 +72,8 @@ module Efl [ :eina_list_clone, [ :eina_list ], :eina_list ], # EAPI Eina_List *eina_list_sort(Eina_List *list, unsigned int limit, Eina_Compare_Cb func); [ :eina_list_sort, [ :eina_list, :uint, :eina_compare_cb ], :eina_list ], + # EAPI Eina_List *eina_list_shuffle(Eina_List *list, Eina_Random_Cb func); + [ :eina_list_shuffle, [ :eina_list, :eina_random_cb ], :eina_list ], # EAPI Eina_List *eina_list_merge(Eina_List *left, Eina_List *right); [ :eina_list_merge, [ :eina_list, :eina_list ], :eina_list ], # EAPI Eina_List *eina_list_sorted_merge(Eina_List *left, Eina_List *right, Eina_Compare_Cb func); diff --git a/lib/efl/native/eina_log.rb b/lib/efl/native/eina_log.rb index f5f2272..0159b86 100644 --- a/lib/efl/native/eina_log.rb +++ b/lib/efl/native/eina_log.rb @@ -24,6 +24,8 @@ module Efl # typedef enum _Eina_Log_Level {...} Eina_Log_Level; enum :eina_log_level, [ :eina_log_level_critical, 0, :eina_log_level_err, 1, :eina_log_level_warn, 2, :eina_log_level_info, 3, :eina_log_level_dbg, 4, :eina_log_levels, 5, :eina_log_level_unknown, (-2147483647-1) ] + # typedef enum _Eina_Log_State {...} Eina_Log_State; + enum :eina_log_state, [ :eina_log_state_start, :eina_log_state_stop ] # # TYPEDEFS # typedef struct _Eina_Log_Domain Eina_Log_Domain; @@ -89,8 +91,12 @@ module Efl [ :eina_log_print_cb_stderr, [ :eina_log_domain, :eina_log_level, :string, :string, :int, :string, :pointer, :pointer ], :void ], # EAPI void eina_log_print_cb_file(const Eina_Log_Domain *d, Eina_Log_Level level, const char *file, const char *fnc, int line, const char *fmt, void *data, va_list args); [ :eina_log_print_cb_file, [ :eina_log_domain, :eina_log_level, :string, :string, :int, :string, :pointer, :pointer ], :void ], + # EAPI void eina_log_print_cb_journald(const Eina_Log_Domain *d, Eina_Log_Level level, const char *file, const char *fnc, int line, const char *fmt, void *data, va_list args); + [ :eina_log_print_cb_journald, [ :eina_log_domain, :eina_log_level, :string, :string, :int, :string, :pointer, :pointer ], :void ], # EAPI void eina_log_console_color_set(FILE *fp, const char *color); [ :eina_log_console_color_set, [ :pointer, :string ], :void ], + # EAPI void eina_log_timing(int domain, Eina_Log_State state, const char *phase); + [ :eina_log_timing, [ :int, :eina_log_state, :string ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/eina_types.rb b/lib/efl/native/eina_types.rb index 8e8ec35..549dc39 100644 --- a/lib/efl/native/eina_types.rb +++ b/lib/efl/native/eina_types.rb @@ -27,6 +27,8 @@ module Efl # CALLBACKS # typedef int (*Eina_Compare_Cb) (const void *data1, const void *data2); callback :eina_compare_cb, [ :pointer, :pointer ], :int + # typedef int (*Eina_Random_Cb) (const int min, const int max); + callback :eina_random_cb, [ :int, :int ], :int # typedef Eina_Bool (*Eina_Each_Cb) (const void *container, void *data, void *fdata); callback :eina_each_cb, [ :pointer, :pointer, :pointer ], :bool # typedef void (*Eina_Free_Cb) (void *data); diff --git a/lib/efl/native/eina_xattr.rb b/lib/efl/native/eina_xattr.rb index 4f10a71..0ea8cb7 100644 --- a/lib/efl/native/eina_xattr.rb +++ b/lib/efl/native/eina_xattr.rb @@ -38,10 +38,22 @@ module Efl [ :eina_xattr_fd_ls, [ :int ], :pointer ], # EAPI Eina_Iterator *eina_xattr_value_fd_ls(int fd); [ :eina_xattr_value_fd_ls, [ :int ], :pointer ], + # EAPI Eina_Bool eina_xattr_copy(const char *src, const char *dst); + [ :eina_xattr_copy, [ :string, :string ], :bool ], + # EAPI Eina_Bool eina_xattr_fd_copy(int src, int dst); + [ :eina_xattr_fd_copy, [ :int, :int ], :bool ], # EAPI void *eina_xattr_get(const char *file, const char *attribute, ssize_t *size); [ :eina_xattr_get, [ :string, :string, :pointer ], :pointer ], + # EAPI void *eina_xattr_fd_get(int fd, const char *attribute, ssize_t *size); + [ :eina_xattr_fd_get, [ :int, :string, :pointer ], :pointer ], # EAPI Eina_Bool eina_xattr_set(const char *file, const char *attribute, const void *data, ssize_t length, Eina_Xattr_Flags flags); [ :eina_xattr_set, [ :string, :string, :pointer, :long, :eina_xattr_flags ], :bool ], + # EAPI Eina_Bool eina_xattr_fd_set(int fd, const char *attribute, const void *data, ssize_t length, Eina_Xattr_Flags flags); + [ :eina_xattr_fd_set, [ :int, :string, :pointer, :long, :eina_xattr_flags ], :bool ], + # EAPI Eina_Bool eina_xattr_del(const char *file, const char *attribute); + [ :eina_xattr_del, [ :string, :string ], :bool ], + # EAPI Eina_Bool eina_xattr_fd_del(int fd, const char *attribute); + [ :eina_xattr_fd_del, [ :int, :string ], :bool ], # EAPI Eina_Bool eina_xattr_string_set(const char *file, const char *attribute, const char *data, Eina_Xattr_Flags flags); [ :eina_xattr_string_set, [ :string, :string, :string, :eina_xattr_flags ], :bool ], # EAPI char *eina_xattr_string_get(const char *file, const char *attribute); diff --git a/lib/efl/native/elm/elm_app.rb b/lib/efl/native/elm/elm_app.rb index 0f80811..dffd105 100644 --- a/lib/efl/native/elm/elm_app.rb +++ b/lib/efl/native/elm/elm_app.rb @@ -21,10 +21,19 @@ module Efl # ffi_lib 'elementary.so.1' # + # ENUMS + # typedef enum {...} Elm_App_View_State; + enum :elm_app_view_state, [ :elm_app_view_state_unknown, 0, :elm_app_view_state_live, 1, :elm_app_view_state_paused, 2, + :elm_app_view_state_closed, 3, :elm_app_view_state_shallow, 4 ] + # # FUNCTIONS fcts = [ # EAPI void elm_app_info_set(void *mainfunc, const char *dom, const char *checkfile); [ :elm_app_info_set, [ :pointer, :string, :string ], :void ], + # EAPI void elm_app_name_set(const char *name); + [ :elm_app_name_set, [ :string ], :void ], + # EAPI void elm_app_desktop_entry_set(const char *path); + [ :elm_app_desktop_entry_set, [ :string ], :void ], # EAPI void elm_app_compile_bin_dir_set(const char *dir); [ :elm_app_compile_bin_dir_set, [ :string ], :void ], # EAPI void elm_app_compile_lib_dir_set(const char *dir); @@ -33,6 +42,10 @@ module Efl [ :elm_app_compile_data_dir_set, [ :string ], :void ], # EAPI void elm_app_compile_locale_set(const char *dir); [ :elm_app_compile_locale_set, [ :string ], :void ], + # EAPI const char *elm_app_name_get(void); + [ :elm_app_name_get, [ ], :string ], + # EAPI const char *elm_app_desktop_entry_get(void); + [ :elm_app_desktop_entry_get, [ ], :string ], # EAPI const char *elm_app_prefix_dir_get(void); [ :elm_app_prefix_dir_get, [ ], :string ], # EAPI const char *elm_app_bin_dir_get(void); diff --git a/lib/efl/native/elm/elm_calendar.rb b/lib/efl/native/elm/elm_calendar.rb index f5b0531..cf9bee2 100644 --- a/lib/efl/native/elm/elm_calendar.rb +++ b/lib/efl/native/elm/elm_calendar.rb @@ -31,6 +31,9 @@ module Efl # typedef enum {...} _Elm_Calendar_Select_Mode; enum :_elm_calendar_select_mode, [ :elm_calendar_select_mode_default, 0, :elm_calendar_select_mode_always, 1, :elm_calendar_select_mode_none, 2, :elm_calendar_select_mode_ondemand, 3 ] + # typedef enum {...} _Elm_Calendar_Selectable; + enum :_elm_calendar_selectable, [ :elm_calendar_selectable_none, 0, :elm_calendar_selectable_year, (1<<0), :elm_calendar_selectable_month, + (1<<1), :elm_calendar_selectable_day, (1<<2) ] # # TYPEDEFS # typedef _Elm_Calendar_Mark_Repeat_Type Elm_Calendar_Mark_Repeat_Type; @@ -39,6 +42,8 @@ module Efl typedef :_elm_calendar_weekday, :elm_calendar_weekday # typedef _Elm_Calendar_Select_Mode Elm_Calendar_Select_Mode; typedef :_elm_calendar_select_mode, :elm_calendar_select_mode + # typedef _Elm_Calendar_Selectable Elm_Calendar_Selectable; + typedef :_elm_calendar_selectable, :elm_calendar_selectable # typedef struct _Elm_Calendar_Mark Elm_Calendar_Mark; typedef :pointer, :elm_calendar_mark # |