From fcae7cab276c2d3b19bb913ad908b67b7dd33089 Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Tue, 17 Apr 2018 20:09:44 +0200 Subject: [PATCH] eolian gen: enable constness generation on property getter impls This changes a lot of things all across the EFL. Previously, methods tagged @const had both their external prototype and internal impl generated with const on object, while property getters only had const on the external API. This is now changed and it all has const everywhere. Ref T6859. --- src/bin/eolian/sources.c | 6 +- src/lib/ecore/ecore_event_message.c | 2 +- src/lib/ecore/ecore_exe.c | 2 +- src/lib/ecore/ecore_timer.c | 6 +- src/lib/ecore/efl_app.c | 16 +-- src/lib/ecore/efl_appthread.c | 8 +- src/lib/ecore/efl_exe.c | 14 +- src/lib/ecore/efl_interpolator_accelerate.c | 2 +- src/lib/ecore/efl_interpolator_bounce.c | 2 +- src/lib/ecore/efl_interpolator_cubic_bezier.c | 2 +- src/lib/ecore/efl_interpolator_decelerate.c | 2 +- src/lib/ecore/efl_interpolator_divisor.c | 2 +- src/lib/ecore/efl_interpolator_sinusoidal.c | 2 +- src/lib/ecore/efl_interpolator_spring.c | 2 +- src/lib/ecore/efl_io_buffered_stream.c | 32 ++--- src/lib/ecore/efl_io_closer_fd.c | 8 +- src/lib/ecore/efl_io_copier.c | 24 ++-- src/lib/ecore/efl_io_file.c | 6 +- src/lib/ecore/efl_io_positioner_fd.c | 4 +- src/lib/ecore/efl_io_reader_fd.c | 6 +- src/lib/ecore/efl_io_sizer_fd.c | 4 +- src/lib/ecore/efl_io_writer_fd.c | 4 +- src/lib/ecore/efl_loop.c | 6 +- src/lib/ecore/efl_loop_consumer.c | 2 +- src/lib/ecore/efl_loop_fd.c | 4 +- src/lib/ecore/efl_loop_handler.c | 8 +- src/lib/ecore/efl_loop_message_future.c | 2 +- src/lib/ecore/efl_model_composite_boolean.c | 6 +- src/lib/ecore/efl_model_composite_selection.c | 2 +- src/lib/ecore/efl_model_container.c | 2 +- src/lib/ecore/efl_model_container_item.c | 2 +- src/lib/ecore/efl_model_item.c | 2 +- src/lib/ecore/efl_promise.c | 2 +- src/lib/ecore/efl_task.c | 14 +- src/lib/ecore/efl_thread.c | 8 +- src/lib/ecore/efl_threadio.c | 4 +- src/lib/ecore_audio/ecore_audio_obj.c | 4 +- src/lib/ecore_audio/ecore_audio_obj_in.c | 17 +-- .../ecore_audio/ecore_audio_obj_in_sndfile.c | 4 +- .../ecore_audio/ecore_audio_obj_out_sndfile.c | 4 +- src/lib/ecore_con/ecore_con_eet.c | 2 +- src/lib/ecore_con/efl_net_control-connman.c | 10 +- src/lib/ecore_con/efl_net_control-none.c | 10 +- .../efl_net_control_access_point-none.c | 46 +++--- .../efl_net_control_technology-connman.c | 10 +- .../efl_net_control_technology-none.c | 10 +- src/lib/ecore_con/efl_net_dialer_http.c | 58 ++++---- src/lib/ecore_con/efl_net_dialer_simple.c | 20 +-- src/lib/ecore_con/efl_net_dialer_ssl.c | 14 +- src/lib/ecore_con/efl_net_dialer_tcp.c | 8 +- src/lib/ecore_con/efl_net_dialer_udp.c | 6 +- src/lib/ecore_con/efl_net_dialer_unix.c | 6 +- src/lib/ecore_con/efl_net_dialer_websocket.c | 34 ++--- src/lib/ecore_con/efl_net_ip_address.c | 10 +- src/lib/ecore_con/efl_net_server_fd.c | 16 +-- src/lib/ecore_con/efl_net_server_ip.c | 2 +- src/lib/ecore_con/efl_net_server_simple.c | 12 +- src/lib/ecore_con/efl_net_server_ssl.c | 2 +- src/lib/ecore_con/efl_net_server_udp.c | 6 +- src/lib/ecore_con/efl_net_server_udp_client.c | 16 +-- src/lib/ecore_con/efl_net_server_unix.c | 4 +- src/lib/ecore_con/efl_net_session-none.c | 12 +- src/lib/ecore_con/efl_net_socket_fd.c | 8 +- src/lib/ecore_con/efl_net_socket_simple.c | 4 +- src/lib/ecore_con/efl_net_socket_ssl.c | 24 ++-- src/lib/ecore_con/efl_net_socket_tcp.c | 6 +- src/lib/ecore_con/efl_net_socket_udp.c | 14 +- src/lib/ecore_con/efl_net_ssl_context.c | 18 +-- src/lib/ector/cairo/ector_cairo_surface.c | 2 +- src/lib/ector/cairo/ector_renderer_cairo.c | 2 +- .../ector_renderer_cairo_gradient_linear.c | 4 +- .../ector_renderer_cairo_gradient_radial.c | 4 +- .../ector/cairo/ector_renderer_cairo_shape.c | 4 +- src/lib/ector/ector_buffer.c | 6 +- src/lib/ector/ector_renderer.c | 16 +-- src/lib/ector/ector_renderer_gradient.c | 4 +- .../ector/ector_renderer_gradient_linear.c | 4 +- .../ector/ector_renderer_gradient_radial.c | 6 +- src/lib/ector/ector_renderer_shape.c | 6 +- .../gl/ector_renderer_gl_gradient_linear.c | 4 +- .../gl/ector_renderer_gl_gradient_radial.c | 4 +- src/lib/ector/gl/ector_renderer_gl_shape.c | 4 +- .../ector_renderer_software_gradient_linear.c | 2 +- .../ector_renderer_software_gradient_radial.c | 2 +- .../software/ector_renderer_software_shape.c | 2 +- .../ector/software/ector_software_buffer.c | 2 +- src/lib/edje/edje_load.c | 2 +- src/lib/edje/edje_part.c | 16 +-- src/lib/edje/edje_part_box.c | 2 +- src/lib/edje/edje_part_external.c | 2 +- src/lib/edje/edje_part_invalid.c | 48 ++++--- src/lib/edje/edje_part_swallow.c | 2 +- src/lib/edje/edje_part_table.c | 8 +- src/lib/edje/edje_part_text.c | 12 +- src/lib/edje/edje_private.h | 2 +- src/lib/edje/edje_program.c | 6 +- src/lib/edje/edje_smart.c | 8 +- src/lib/edje/edje_util.c | 34 ++--- src/lib/efl/interfaces/efl_file.c | 4 +- src/lib/efl/interfaces/efl_gfx_color.c | 4 +- src/lib/efl/interfaces/efl_gfx_path.c | 10 +- src/lib/efl/interfaces/efl_gfx_path.eo | 2 +- src/lib/efl/interfaces/efl_gfx_shape.c | 16 +-- src/lib/efl/interfaces/efl_input_device.c | 8 +- src/lib/efl/interfaces/efl_io_buffer.c | 24 ++-- src/lib/efl/interfaces/efl_io_queue.c | 18 +-- src/lib/efl/interfaces/efl_text_annotate.eo | 2 +- src/lib/efl/interfaces/efl_ui_format.c | 2 +- src/lib/eio/efl_io_manager.c | 5 +- src/lib/eio/eio_model.c | 4 +- src/lib/eldbus/eldbus_model_arguments.c | 4 +- src/lib/eldbus/eldbus_model_connection.c | 8 +- src/lib/eldbus/eldbus_model_object.c | 12 +- src/lib/eldbus/eldbus_model_proxy.c | 4 +- src/lib/elementary/efl_access.c | 31 +++-- src/lib/elementary/efl_access_action.c | 2 +- src/lib/elementary/efl_access_component.c | 6 +- src/lib/elementary/efl_access_widget_action.c | 6 +- src/lib/elementary/efl_ui_bg_widget.c | 10 +- src/lib/elementary/efl_ui_box.c | 6 +- src/lib/elementary/efl_ui_box_flow.c | 4 +- src/lib/elementary/efl_ui_button.c | 10 +- src/lib/elementary/efl_ui_calendar.c | 14 +- src/lib/elementary/efl_ui_check.c | 6 +- src/lib/elementary/efl_ui_clock.c | 16 +-- src/lib/elementary/efl_ui_dnd.c | 2 +- src/lib/elementary/efl_ui_flip.c | 4 +- src/lib/elementary/efl_ui_focus_composition.c | 10 +- src/lib/elementary/efl_ui_focus_layer.c | 8 +- .../elementary/efl_ui_focus_manager_calc.c | 13 +- .../efl_ui_focus_manager_root_focus.c | 4 +- src/lib/elementary/efl_ui_focus_object.c | 2 +- .../efl_ui_focus_parent_provider_gen.c | 4 +- src/lib/elementary/efl_ui_frame.c | 4 +- src/lib/elementary/efl_ui_image.c | 38 ++--- src/lib/elementary/efl_ui_image_zoomable.c | 40 +++--- .../efl_ui_internal_text_interactive.c | 6 +- src/lib/elementary/efl_ui_layout.c | 24 ++-- src/lib/elementary/efl_ui_layout_pack.c | 10 +- src/lib/elementary/efl_ui_multibuttonentry.c | 26 ++-- src/lib/elementary/efl_ui_nstate.c | 4 +- src/lib/elementary/efl_ui_pan.c | 8 +- src/lib/elementary/efl_ui_panes.c | 10 +- src/lib/elementary/efl_ui_popup.c | 8 +- .../elementary/efl_ui_popup_alert_scroll.c | 2 +- src/lib/elementary/efl_ui_popup_alert_text.c | 4 +- src/lib/elementary/efl_ui_popup_anchor.c | 4 +- src/lib/elementary/efl_ui_progressbar.c | 16 +-- src/lib/elementary/efl_ui_radio.c | 10 +- src/lib/elementary/efl_ui_scroll_manager.c | 24 ++-- src/lib/elementary/efl_ui_scroller.c | 12 +- src/lib/elementary/efl_ui_slider.c | 20 +-- src/lib/elementary/efl_ui_slider_interval.c | 2 +- src/lib/elementary/efl_ui_spin.c | 6 +- src/lib/elementary/efl_ui_spin_button.c | 14 +- src/lib/elementary/efl_ui_table.c | 14 +- src/lib/elementary/efl_ui_text.c | 83 +++++------ src/lib/elementary/efl_ui_textpath.c | 8 +- src/lib/elementary/efl_ui_video.c | 12 +- src/lib/elementary/efl_ui_view_list.c | 34 ++--- .../efl_ui_view_list_precise_layouter.c | 2 +- .../elementary/efl_ui_view_list_segarray.c | 4 +- src/lib/elementary/efl_ui_widget.c | 130 ++++++++--------- src/lib/elementary/efl_ui_win.c | 92 ++++++------ src/lib/elementary/efl_ui_win_inlined.c | 2 +- src/lib/elementary/elc_combobox.c | 6 +- src/lib/elementary/elc_ctxpopup.c | 38 ++--- src/lib/elementary/elc_fileselector.c | 26 ++-- src/lib/elementary/elc_fileselector_button.c | 22 +-- src/lib/elementary/elc_fileselector_entry.c | 8 +- src/lib/elementary/elc_hoversel.c | 24 ++-- src/lib/elementary/elc_naviframe.c | 20 +-- src/lib/elementary/elc_player.c | 2 +- src/lib/elementary/elc_popup.c | 22 +-- src/lib/elementary/elm_access.c | 4 +- src/lib/elementary/elm_actionslider.c | 8 +- src/lib/elementary/elm_atspi_app_object.c | 8 +- src/lib/elementary/elm_atspi_bridge.c | 2 +- src/lib/elementary/elm_box.c | 10 +- src/lib/elementary/elm_bubble.c | 2 +- src/lib/elementary/elm_calendar.c | 22 +-- src/lib/elementary/elm_clock.c | 14 +- src/lib/elementary/elm_code_widget.c | 30 ++-- src/lib/elementary/elm_colorselector.c | 30 ++-- src/lib/elementary/elm_config.c | 4 +- src/lib/elementary/elm_dayselector.c | 6 +- src/lib/elementary/elm_diskselector.c | 28 ++-- src/lib/elementary/elm_entry.c | 100 ++++++------- src/lib/elementary/elm_flipselector.c | 22 +-- src/lib/elementary/elm_gengrid.c | 88 ++++++------ src/lib/elementary/elm_genlist.c | 108 +++++++-------- src/lib/elementary/elm_gesture_layer.c | 8 +- src/lib/elementary/elm_glview.c | 8 +- src/lib/elementary/elm_grid.c | 4 +- src/lib/elementary/elm_hover.c | 8 +- src/lib/elementary/elm_index.c | 20 +-- src/lib/elementary/elm_interface_scrollable.c | 54 ++++---- .../elementary/elm_interface_scrollable.eo | 2 +- src/lib/elementary/elm_label.c | 12 +- src/lib/elementary/elm_list.c | 56 ++++---- src/lib/elementary/elm_map.c | 26 ++-- src/lib/elementary/elm_mapbuf.c | 14 +- src/lib/elementary/elm_menu.c | 42 +++--- src/lib/elementary/elm_notify.c | 14 +- src/lib/elementary/elm_panel.c | 12 +- src/lib/elementary/elm_part_helper.h | 14 +- src/lib/elementary/elm_plug.c | 2 +- src/lib/elementary/elm_prefs.c | 6 +- src/lib/elementary/elm_route.c | 4 +- src/lib/elementary/elm_scroller.c | 8 +- src/lib/elementary/elm_segment_control.c | 10 +- src/lib/elementary/elm_separator.c | 2 +- src/lib/elementary/elm_slideshow.c | 24 ++-- src/lib/elementary/elm_spinner.c | 28 ++-- src/lib/elementary/elm_sys_notify.c | 2 +- src/lib/elementary/elm_systray.c | 16 +-- src/lib/elementary/elm_table.c | 6 +- src/lib/elementary/elm_thumb.c | 4 +- src/lib/elementary/elm_toolbar.c | 72 +++++----- src/lib/elementary/elm_widget.h | 10 +- src/lib/emotion/emotion_smart.c | 22 +-- src/lib/eo/eo_base_class.c | 16 +-- src/lib/evas/canvas/efl_canvas_animation.c | 18 +-- .../evas/canvas/efl_canvas_animation_alpha.c | 2 +- .../evas/canvas/efl_canvas_animation_group.c | 2 +- .../evas/canvas/efl_canvas_animation_group.eo | 2 +- .../efl_canvas_animation_group_parallel.c | 2 +- .../efl_canvas_animation_group_sequential.c | 2 +- .../evas/canvas/efl_canvas_animation_player.c | 20 +-- .../evas/canvas/efl_canvas_animation_rotate.c | 4 +- .../evas/canvas/efl_canvas_animation_scale.c | 4 +- .../canvas/efl_canvas_animation_translate.c | 4 +- src/lib/evas/canvas/efl_canvas_image.c | 32 ++--- .../canvas/efl_canvas_object_event_grabber.c | 6 +- src/lib/evas/canvas/efl_canvas_proxy.c | 6 +- src/lib/evas/canvas/efl_canvas_scene3d.c | 2 +- src/lib/evas/canvas/efl_canvas_surface.c | 2 +- src/lib/evas/canvas/efl_canvas_surface_x11.c | 2 +- src/lib/evas/canvas/efl_canvas_text.eo | 2 +- src/lib/evas/canvas/efl_canvas_vg.c | 10 +- src/lib/evas/canvas/efl_gfx_map.c | 16 +-- src/lib/evas/canvas/efl_input_event.c | 6 +- src/lib/evas/canvas/efl_input_focus.c | 6 +- src/lib/evas/canvas/efl_input_hold.c | 8 +- src/lib/evas/canvas/efl_input_key.c | 24 ++-- src/lib/evas/canvas/efl_input_pointer.c | 42 +++--- src/lib/evas/canvas/evas_canvas3d_light.c | 8 +- src/lib/evas/canvas/evas_canvas3d_material.c | 6 +- src/lib/evas/canvas/evas_canvas3d_mesh.c | 24 ++-- src/lib/evas/canvas/evas_canvas3d_node.c | 18 +-- src/lib/evas/canvas/evas_canvas3d_primitive.c | 10 +- src/lib/evas/canvas/evas_canvas3d_scene.c | 6 +- src/lib/evas/canvas/evas_canvas3d_texture.c | 6 +- src/lib/evas/canvas/evas_clip.c | 8 +- src/lib/evas/canvas/evas_events.c | 20 +-- src/lib/evas/canvas/evas_filter_mixin.c | 12 +- src/lib/evas/canvas/evas_focus.c | 14 +- src/lib/evas/canvas/evas_image_legacy.c | 2 +- src/lib/evas/canvas/evas_layer.c | 2 +- src/lib/evas/canvas/evas_main.c | 36 ++--- src/lib/evas/canvas/evas_object_box.c | 4 +- src/lib/evas/canvas/evas_object_grid.c | 6 +- src/lib/evas/canvas/evas_object_image.c | 30 ++-- src/lib/evas/canvas/evas_object_line.c | 2 +- src/lib/evas/canvas/evas_object_main.c | 48 +++---- src/lib/evas/canvas/evas_object_smart.c | 6 +- src/lib/evas/canvas/evas_object_table.c | 14 +- src/lib/evas/canvas/evas_object_text.c | 47 ++++--- src/lib/evas/canvas/evas_object_textblock.c | 131 +++++++++--------- src/lib/evas/canvas/evas_object_textgrid.c | 12 +- src/lib/evas/canvas/evas_stack.x | 4 +- src/lib/evas/canvas/evas_vg_container.c | 2 +- src/lib/evas/canvas/evas_vg_gradient.c | 4 +- src/lib/evas/canvas/evas_vg_gradient_linear.c | 6 +- src/lib/evas/canvas/evas_vg_gradient_radial.c | 8 +- src/lib/evas/canvas/evas_vg_node.c | 32 ++--- src/lib/evas/canvas/evas_vg_shape.c | 6 +- src/lib/evas/gesture/efl_canvas_gesture.c | 6 +- .../evas/gesture/efl_canvas_gesture_manager.c | 2 +- .../gesture/efl_canvas_gesture_recognizer.c | 2 +- .../evas/gesture/efl_canvas_gesture_touch.c | 6 +- .../elementary/web/none/elm_web_none.c | 30 ++-- .../engines/gl_generic/evas_ector_gl_buffer.c | 6 +- .../gl_generic/evas_ector_gl_image_buffer.c | 6 +- src/tests/elementary/elm_test_focus_common.c | 8 +- src/tests/elementary/elm_test_focus_sub.c | 6 +- src/tests/eolian/data/class_simple_ref.c | 2 +- src/tests/eolian/data/object_impl_add_ref.c | 4 +- src/tests/eolian/data/object_impl_ref.c | 2 +- src/tests/eolian/data/override_ref.c | 8 +- src/tests/eolian/eolian_generated_future.c | 4 +- src/tests/eolian_cxx/generic.c | 8 +- 292 files changed, 1934 insertions(+), 1919 deletions(-) diff --git a/src/bin/eolian/sources.c b/src/bin/eolian/sources.c index 6d8ffe3e0a..7120496605 100644 --- a/src/bin/eolian/sources.c +++ b/src/bin/eolian/sources.c @@ -533,7 +533,7 @@ _gen_func(const Eolian_Class *cl, const Eolian_Function *fid, eina_strbuf_append(buf, func_suffix); /* ([const ]Eo *obj, Data_Type *pd, impl_full_params); */ eina_strbuf_append_char(buf, '('); - if (eolian_function_object_is_const(fid)) + if ((ftype == EOLIAN_PROP_GET) || eolian_function_object_is_const(fid)) eina_strbuf_append(buf, "const "); eina_strbuf_append(buf, "Eo *obj, "); eina_strbuf_append(buf, dt); @@ -564,7 +564,7 @@ _gen_func(const Eolian_Class *cl, const Eolian_Function *fid, eina_strbuf_append(buf, eolian_function_name_get(fid)); eina_strbuf_append(buf, func_suffix); eina_strbuf_append_char(buf, '('); - if (eolian_function_object_is_const(fid)) + if ((ftype == EOLIAN_PROP_GET) || eolian_function_object_is_const(fid)) eina_strbuf_append(buf, "const "); eina_strbuf_append(buf, "Eo *obj"); if (is_empty || is_auto) @@ -1147,7 +1147,7 @@ _gen_proto(const Eolian_Class *cl, const Eolian_Function *fid, eina_strbuf_append_printf(buf, "\n%s(", fname); - if (eolian_function_object_is_const(fid)) + if ((ftype == EOLIAN_PROP_GET) || eolian_function_object_is_const(fid)) eina_strbuf_append(buf, "const "); eina_strbuf_append(buf, "Eo *obj, "); diff --git a/src/lib/ecore/ecore_event_message.c b/src/lib/ecore/ecore_event_message.c index ca072f8524..768e3779b7 100644 --- a/src/lib/ecore/ecore_event_message.c +++ b/src/lib/ecore/ecore_event_message.c @@ -32,7 +32,7 @@ _ecore_event_message_data_set(Eo *obj EINA_UNUSED, Ecore_Event_Message_Data *pd, } EOLIAN static void -_ecore_event_message_data_get(Eo *obj EINA_UNUSED, Ecore_Event_Message_Data *pd, int *type, void **data, void **free_func, void **free_data) +_ecore_event_message_data_get(const Eo *obj EINA_UNUSED, Ecore_Event_Message_Data *pd, int *type, void **data, void **free_func, void **free_data) { if (type) *type = pd->type; if (data) *data = pd->ev; diff --git a/src/lib/ecore/ecore_exe.c b/src/lib/ecore/ecore_exe.c index 781dea60bd..674ca51dc6 100644 --- a/src/lib/ecore/ecore_exe.c +++ b/src/lib/ecore/ecore_exe.c @@ -86,7 +86,7 @@ _ecore_exe_command_set(Eo *obj EINA_UNUSED, Ecore_Exe_Data *pd, const char *cmd, } EOLIAN static void -_ecore_exe_command_get(Eo *obj EINA_UNUSED, Ecore_Exe_Data *pd, const char **cmd, Ecore_Exe_Flags *flags) +_ecore_exe_command_get(const Eo *obj EINA_UNUSED, Ecore_Exe_Data *pd, const char **cmd, Ecore_Exe_Flags *flags) { if (cmd) *cmd = pd->cmd; if (flags) *flags = pd->flags; diff --git a/src/lib/ecore/ecore_timer.c b/src/lib/ecore/ecore_timer.c index ed75b05a5f..ac6fb853dc 100644 --- a/src/lib/ecore/ecore_timer.c +++ b/src/lib/ecore/ecore_timer.c @@ -247,7 +247,7 @@ _efl_loop_timer_interval_set(Eo *obj EINA_UNUSED, Efl_Loop_Timer_Data *timer, do } EOLIAN static double -_efl_loop_timer_interval_get(Eo *obj EINA_UNUSED, Efl_Loop_Timer_Data *timer) +_efl_loop_timer_interval_get(const Eo *obj EINA_UNUSED, Efl_Loop_Timer_Data *timer) { return timer->in; } @@ -301,7 +301,7 @@ _efl_loop_timer_loop_reset(Eo *obj EINA_UNUSED, Efl_Loop_Timer_Data *timer) } EOLIAN static double -_efl_loop_timer_pending_get(Eo *obj EINA_UNUSED, Efl_Loop_Timer_Data *timer) +_efl_loop_timer_pending_get(const Eo *obj EINA_UNUSED, Efl_Loop_Timer_Data *timer) { double now, ret = 0.0; @@ -349,7 +349,7 @@ ecore_timer_freeze_get(Ecore_Timer *timer) } EOLIAN static int -_efl_loop_timer_efl_object_event_freeze_count_get(Eo *obj EINA_UNUSED, Efl_Loop_Timer_Data *timer) +_efl_loop_timer_efl_object_event_freeze_count_get(const Eo *obj EINA_UNUSED, Efl_Loop_Timer_Data *timer) { return timer->frozen; } diff --git a/src/lib/ecore/efl_app.c b/src/lib/ecore/efl_app.c index 8078ae103e..ffb256741a 100644 --- a/src/lib/ecore/efl_app.c +++ b/src/lib/ecore/efl_app.c @@ -108,7 +108,7 @@ EFL_CALLBACKS_ARRAY_DEFINE(_event_callback_watch, ////////////////////////////////////////////////////////////////////////// EOLIAN static Efl_Loop * -_efl_app_loop_main_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED) +_efl_app_loop_main_get(const Eo *obj EINA_UNUSED, void *pd EINA_UNUSED) { if (_mainloop_singleton) return _mainloop_singleton; _mainloop_singleton = efl_add_ref(EFL_APP_CLASS, NULL); @@ -117,13 +117,13 @@ _efl_app_loop_main_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED) } EOLIAN static const Efl_Version * -_efl_app_build_efl_version_get(Eo *obj EINA_UNUSED, Efl_App_Data *pd EINA_UNUSED) +_efl_app_build_efl_version_get(const Eo *obj EINA_UNUSED, Efl_App_Data *pd EINA_UNUSED) { return &_app_efl_version; } EOLIAN static const Efl_Version * -_efl_app_efl_version_get(Eo *obj EINA_UNUSED, Efl_App_Data *pd EINA_UNUSED) +_efl_app_efl_version_get(const Eo *obj EINA_UNUSED, Efl_App_Data *pd EINA_UNUSED) { /* vanilla EFL: flavor = NULL */ static const Efl_Version version = { @@ -184,7 +184,7 @@ _efl_app_efl_io_closer_close(Eo *obj, Efl_App_Data *pd) } EOLIAN static Eina_Bool -_efl_app_efl_io_closer_closed_get(Eo *obj EINA_UNUSED, Efl_App_Data *pd) +_efl_app_efl_io_closer_closed_get(const Eo *obj EINA_UNUSED, Efl_App_Data *pd) { if ((pd->fd.in == -1) && (pd->fd.out == -1)) return EINA_TRUE; return EINA_FALSE; @@ -251,7 +251,7 @@ _efl_app_efl_io_reader_can_read_set(Eo *obj, Efl_App_Data *pd, Eina_Bool can_rea } EOLIAN static Eina_Bool -_efl_app_efl_io_reader_can_read_get(Eo *obj EINA_UNUSED, Efl_App_Data *pd) +_efl_app_efl_io_reader_can_read_get(const Eo *obj EINA_UNUSED, Efl_App_Data *pd) { return pd->fd.can_read; } @@ -270,7 +270,7 @@ _efl_app_efl_io_reader_eos_set(Eo *obj, Efl_App_Data *pd, Eina_Bool is_eos) } EOLIAN static Eina_Bool -_efl_app_efl_io_reader_eos_get(Eo *obj EINA_UNUSED, Efl_App_Data *pd) +_efl_app_efl_io_reader_eos_get(const Eo *obj EINA_UNUSED, Efl_App_Data *pd) { return pd->fd.eos_read; } @@ -343,7 +343,7 @@ _efl_app_efl_io_writer_can_write_set(Eo *obj, Efl_App_Data *pd, Eina_Bool can_wr } EOLIAN static Eina_Bool -_efl_app_efl_io_writer_can_write_get(Eo *obj EINA_UNUSED, Efl_App_Data *pd) +_efl_app_efl_io_writer_can_write_get(const Eo *obj EINA_UNUSED, Efl_App_Data *pd) { return pd->fd.can_write; } @@ -377,7 +377,7 @@ _efl_app_efl_task_priority_set(Eo *obj, Efl_App_Data *pd EINA_UNUSED, Efl_Task_P } EOLIAN static Efl_Task_Priority -_efl_app_efl_task_priority_get(Eo *obj, Efl_App_Data *pd EINA_UNUSED) +_efl_app_efl_task_priority_get(const Eo *obj, Efl_App_Data *pd EINA_UNUSED) { Efl_Task_Priority pri = EFL_TASK_PRIORITY_NORMAL; #ifdef _WIN32 diff --git a/src/lib/ecore/efl_appthread.c b/src/lib/ecore/efl_appthread.c index abe51a73e5..250d879118 100644 --- a/src/lib/ecore/efl_appthread.c +++ b/src/lib/ecore/efl_appthread.c @@ -76,7 +76,7 @@ _efl_appthread_efl_io_closer_close(Eo *obj, Efl_Appthread_Data *pd) } EOLIAN static Eina_Bool -_efl_appthread_efl_io_closer_closed_get(Eo *obj EINA_UNUSED, Efl_Appthread_Data *pd) +_efl_appthread_efl_io_closer_closed_get(const Eo *obj EINA_UNUSED, Efl_Appthread_Data *pd) { if ((pd->fd.in == -1) && (pd->fd.out == -1)) return EINA_TRUE; return EINA_FALSE; @@ -143,7 +143,7 @@ _efl_appthread_efl_io_reader_can_read_set(Eo *obj, Efl_Appthread_Data *pd, Eina_ } EOLIAN static Eina_Bool -_efl_appthread_efl_io_reader_can_read_get(Eo *obj EINA_UNUSED, Efl_Appthread_Data *pd) +_efl_appthread_efl_io_reader_can_read_get(const Eo *obj EINA_UNUSED, Efl_Appthread_Data *pd) { return pd->fd.can_read; } @@ -162,7 +162,7 @@ _efl_appthread_efl_io_reader_eos_set(Eo *obj, Efl_Appthread_Data *pd, Eina_Bool } EOLIAN static Eina_Bool -_efl_appthread_efl_io_reader_eos_get(Eo *obj EINA_UNUSED, Efl_Appthread_Data *pd) +_efl_appthread_efl_io_reader_eos_get(const Eo *obj EINA_UNUSED, Efl_Appthread_Data *pd) { return pd->fd.eos_read; } @@ -235,7 +235,7 @@ _efl_appthread_efl_io_writer_can_write_set(Eo *obj, Efl_Appthread_Data *pd, Eina } EOLIAN static Eina_Bool -_efl_appthread_efl_io_writer_can_write_get(Eo *obj EINA_UNUSED, Efl_Appthread_Data *pd) +_efl_appthread_efl_io_writer_can_write_get(const Eo *obj EINA_UNUSED, Efl_Appthread_Data *pd) { return pd->fd.can_write; } diff --git a/src/lib/ecore/efl_exe.c b/src/lib/ecore/efl_exe.c index f40839c249..7e1e3a242a 100644 --- a/src/lib/ecore/efl_exe.c +++ b/src/lib/ecore/efl_exe.c @@ -324,7 +324,7 @@ _efl_exe_exe_flags_set(Eo *obj EINA_UNUSED, Efl_Exe_Data *pd, Efl_Exe_Flags flag } EOLIAN static Efl_Exe_Flags -_efl_exe_exe_flags_get(Eo *obj EINA_UNUSED, Efl_Exe_Data *pd) +_efl_exe_exe_flags_get(const Eo *obj EINA_UNUSED, Efl_Exe_Data *pd) { return pd->flags; } @@ -348,7 +348,7 @@ _efl_exe_efl_task_priority_set(Eo *obj EINA_UNUSED, Efl_Exe_Data *pd, Efl_Task_P } EOLIAN static Efl_Task_Priority -_efl_exe_efl_task_priority_get(Eo *obj EINA_UNUSED, Efl_Exe_Data *pd) +_efl_exe_efl_task_priority_get(const Eo *obj EINA_UNUSED, Efl_Exe_Data *pd) { Efl_Task_Priority pri = EFL_TASK_PRIORITY_NORMAL; @@ -586,7 +586,7 @@ _efl_exe_efl_task_end(Eo *obj EINA_UNUSED, Efl_Exe_Data *pd) } EOLIAN static int -_efl_exe_exit_signal_get(Eo *obj EINA_UNUSED, Efl_Exe_Data *pd) +_efl_exe_exit_signal_get(const Eo *obj EINA_UNUSED, Efl_Exe_Data *pd) { return pd->exit_signal; } @@ -658,7 +658,7 @@ _efl_exe_efl_io_closer_close(Eo *obj, Efl_Exe_Data *pd) } EOLIAN static Eina_Bool -_efl_exe_efl_io_closer_closed_get(Eo *obj EINA_UNUSED, Efl_Exe_Data *pd) +_efl_exe_efl_io_closer_closed_get(const Eo *obj EINA_UNUSED, Efl_Exe_Data *pd) { #ifdef _WIN32 return EINA_FALSE; @@ -736,7 +736,7 @@ _efl_exe_efl_io_reader_can_read_set(Eo *obj, Efl_Exe_Data *pd, Eina_Bool can_rea } EOLIAN static Eina_Bool -_efl_exe_efl_io_reader_can_read_get(Eo *obj EINA_UNUSED, Efl_Exe_Data *pd) +_efl_exe_efl_io_reader_can_read_get(const Eo *obj EINA_UNUSED, Efl_Exe_Data *pd) { return pd->fd.can_read; } @@ -755,7 +755,7 @@ _efl_exe_efl_io_reader_eos_set(Eo *obj, Efl_Exe_Data *pd, Eina_Bool is_eos) } EOLIAN static Eina_Bool -_efl_exe_efl_io_reader_eos_get(Eo *obj EINA_UNUSED, Efl_Exe_Data *pd) +_efl_exe_efl_io_reader_eos_get(const Eo *obj EINA_UNUSED, Efl_Exe_Data *pd) { return pd->fd.eos_read; } @@ -834,7 +834,7 @@ _efl_exe_efl_io_writer_can_write_set(Eo *obj, Efl_Exe_Data *pd, Eina_Bool can_wr } EOLIAN static Eina_Bool -_efl_exe_efl_io_writer_can_write_get(Eo *obj EINA_UNUSED, Efl_Exe_Data *pd) +_efl_exe_efl_io_writer_can_write_get(const Eo *obj EINA_UNUSED, Efl_Exe_Data *pd) { return pd->fd.can_write; } diff --git a/src/lib/ecore/efl_interpolator_accelerate.c b/src/lib/ecore/efl_interpolator_accelerate.c index fe26a5ab09..386e5993ca 100644 --- a/src/lib/ecore/efl_interpolator_accelerate.c +++ b/src/lib/ecore/efl_interpolator_accelerate.c @@ -35,7 +35,7 @@ _efl_interpolator_accelerate_factor_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static double -_efl_interpolator_accelerate_factor_get(Eo *eo_obj EINA_UNUSED, +_efl_interpolator_accelerate_factor_get(const Eo *eo_obj EINA_UNUSED, Efl_Interpolator_Accelerate_Data *pd EINA_UNUSED) { return pd->factor; diff --git a/src/lib/ecore/efl_interpolator_bounce.c b/src/lib/ecore/efl_interpolator_bounce.c index ac0cf227ae..e6dd96d187 100644 --- a/src/lib/ecore/efl_interpolator_bounce.c +++ b/src/lib/ecore/efl_interpolator_bounce.c @@ -36,7 +36,7 @@ _efl_interpolator_bounce_factors_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static void -_efl_interpolator_bounce_factors_get(Eo *eo_obj EINA_UNUSED, +_efl_interpolator_bounce_factors_get(const Eo *eo_obj EINA_UNUSED, Efl_Interpolator_Bounce_Data *pd, double *factor1, double *factor2) { diff --git a/src/lib/ecore/efl_interpolator_cubic_bezier.c b/src/lib/ecore/efl_interpolator_cubic_bezier.c index a673c673ab..f78322c16b 100644 --- a/src/lib/ecore/efl_interpolator_cubic_bezier.c +++ b/src/lib/ecore/efl_interpolator_cubic_bezier.c @@ -39,7 +39,7 @@ _efl_interpolator_cubic_bezier_factors_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static void -_efl_interpolator_cubic_bezier_factors_get(Eo *eo_obj EINA_UNUSED, +_efl_interpolator_cubic_bezier_factors_get(const Eo *eo_obj EINA_UNUSED, Efl_Interpolator_Cubic_Bezier_Data *pd, double *factor1, double *factor2, double *factor3, double *factor4) diff --git a/src/lib/ecore/efl_interpolator_decelerate.c b/src/lib/ecore/efl_interpolator_decelerate.c index 888ce65e54..adb6e035eb 100644 --- a/src/lib/ecore/efl_interpolator_decelerate.c +++ b/src/lib/ecore/efl_interpolator_decelerate.c @@ -35,7 +35,7 @@ _efl_interpolator_decelerate_factor_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static double -_efl_interpolator_decelerate_factor_get(Eo *eo_obj EINA_UNUSED, +_efl_interpolator_decelerate_factor_get(const Eo *eo_obj EINA_UNUSED, Efl_Interpolator_Decelerate_Data *pd EINA_UNUSED) { return pd->factor; diff --git a/src/lib/ecore/efl_interpolator_divisor.c b/src/lib/ecore/efl_interpolator_divisor.c index e30d052038..2fcd00ffbb 100644 --- a/src/lib/ecore/efl_interpolator_divisor.c +++ b/src/lib/ecore/efl_interpolator_divisor.c @@ -36,7 +36,7 @@ _efl_interpolator_divisor_factors_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static void -_efl_interpolator_divisor_factors_get(Eo *eo_obj EINA_UNUSED, +_efl_interpolator_divisor_factors_get(const Eo *eo_obj EINA_UNUSED, Efl_Interpolator_Divisor_Data *pd, double *factor1, double *factor2) { diff --git a/src/lib/ecore/efl_interpolator_sinusoidal.c b/src/lib/ecore/efl_interpolator_sinusoidal.c index 2de91ed2ad..53625b7e74 100644 --- a/src/lib/ecore/efl_interpolator_sinusoidal.c +++ b/src/lib/ecore/efl_interpolator_sinusoidal.c @@ -35,7 +35,7 @@ _efl_interpolator_sinusoidal_factor_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static double -_efl_interpolator_sinusoidal_factor_get(Eo *eo_obj EINA_UNUSED, +_efl_interpolator_sinusoidal_factor_get(const Eo *eo_obj EINA_UNUSED, Efl_Interpolator_Sinusoidal_Data *pd EINA_UNUSED) { return pd->factor; diff --git a/src/lib/ecore/efl_interpolator_spring.c b/src/lib/ecore/efl_interpolator_spring.c index adfc107375..ca2de9a319 100644 --- a/src/lib/ecore/efl_interpolator_spring.c +++ b/src/lib/ecore/efl_interpolator_spring.c @@ -36,7 +36,7 @@ _efl_interpolator_spring_factors_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static void -_efl_interpolator_spring_factors_get(Eo *eo_obj EINA_UNUSED, +_efl_interpolator_spring_factors_get(const Eo *eo_obj EINA_UNUSED, Efl_Interpolator_Spring_Data *pd, double *factor1, double *factor2) { diff --git a/src/lib/ecore/efl_io_buffered_stream.c b/src/lib/ecore/efl_io_buffered_stream.c index 20b76da378..a787283002 100644 --- a/src/lib/ecore/efl_io_buffered_stream.c +++ b/src/lib/ecore/efl_io_buffered_stream.c @@ -218,13 +218,13 @@ _efl_io_buffered_stream_efl_io_closer_close(Eo *o, Efl_Io_Buffered_Stream_Data * } EOLIAN static Eina_Bool -_efl_io_buffered_stream_efl_io_closer_closed_get(Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) +_efl_io_buffered_stream_efl_io_closer_closed_get(const Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) { return pd->closed || efl_io_closer_closed_get(pd->inner_io); } EOLIAN static Eina_Bool -_efl_io_buffered_stream_efl_io_closer_close_on_exec_get(Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) +_efl_io_buffered_stream_efl_io_closer_close_on_exec_get(const Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) { return efl_io_closer_close_on_exec_get(pd->inner_io); } @@ -236,7 +236,7 @@ _efl_io_buffered_stream_efl_io_closer_close_on_exec_set(Eo *o EINA_UNUSED, Efl_I } EOLIAN static Eina_Bool -_efl_io_buffered_stream_efl_io_closer_close_on_destructor_get(Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) +_efl_io_buffered_stream_efl_io_closer_close_on_destructor_get(const Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) { return efl_io_closer_close_on_destructor_get(pd->inner_io); } @@ -266,7 +266,7 @@ _efl_io_buffered_stream_efl_io_reader_read(Eo *o, Efl_Io_Buffered_Stream_Data *p } EOLIAN static Eina_Bool -_efl_io_buffered_stream_efl_io_reader_can_read_get(Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) +_efl_io_buffered_stream_efl_io_reader_can_read_get(const Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) { return pd->can_read; } @@ -281,7 +281,7 @@ _efl_io_buffered_stream_efl_io_reader_can_read_set(Eo *o, Efl_Io_Buffered_Stream } EOLIAN static Eina_Bool -_efl_io_buffered_stream_efl_io_reader_eos_get(Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) +_efl_io_buffered_stream_efl_io_reader_eos_get(const Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) { return pd->eos; } @@ -332,7 +332,7 @@ _efl_io_buffered_stream_efl_io_writer_write(Eo *o, Efl_Io_Buffered_Stream_Data * } EOLIAN static Eina_Bool -_efl_io_buffered_stream_efl_io_writer_can_write_get(Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) +_efl_io_buffered_stream_efl_io_writer_can_write_get(const Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) { return pd->can_write; } @@ -412,7 +412,7 @@ _efl_io_buffered_stream_inner_io_set(Eo *o, Efl_Io_Buffered_Stream_Data *pd, Efl } EOLIAN static Efl_Object * -_efl_io_buffered_stream_inner_io_get(Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) +_efl_io_buffered_stream_inner_io_get(const Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) { return pd->inner_io; } @@ -429,7 +429,7 @@ _efl_io_buffered_stream_max_queue_size_input_set(Eo *o EINA_UNUSED, Efl_Io_Buffe } EOLIAN static size_t -_efl_io_buffered_stream_max_queue_size_input_get(Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) +_efl_io_buffered_stream_max_queue_size_input_get(const Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) { if (!pd->incoming) return 0; return efl_io_queue_limit_get(pd->incoming); @@ -447,7 +447,7 @@ _efl_io_buffered_stream_max_queue_size_output_set(Eo *o EINA_UNUSED, Efl_Io_Buff } EOLIAN static size_t -_efl_io_buffered_stream_max_queue_size_output_get(Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) +_efl_io_buffered_stream_max_queue_size_output_get(const Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) { if (!pd->outgoing) return 0; return efl_io_queue_limit_get(pd->outgoing); @@ -465,7 +465,7 @@ _efl_io_buffered_stream_line_delimiter_set(Eo *o EINA_UNUSED, Efl_Io_Buffered_St } EOLIAN static Eina_Slice -_efl_io_buffered_stream_line_delimiter_get(Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) +_efl_io_buffered_stream_line_delimiter_get(const Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) { if (!pd->receiver) return (Eina_Slice){}; return efl_io_copier_line_delimiter_get(pd->receiver); @@ -481,7 +481,7 @@ _efl_io_buffered_stream_timeout_inactivity_set(Eo *o EINA_UNUSED, Efl_Io_Buffere } EOLIAN static double -_efl_io_buffered_stream_timeout_inactivity_get(Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) +_efl_io_buffered_stream_timeout_inactivity_get(const Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) { if (pd->receiver) return efl_io_copier_timeout_inactivity_get(pd->receiver); @@ -507,28 +507,28 @@ _efl_io_buffered_stream_read_chunk_size_set(Eo *o EINA_UNUSED, Efl_Io_Buffered_S } EOLIAN static size_t -_efl_io_buffered_stream_read_chunk_size_get(Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) +_efl_io_buffered_stream_read_chunk_size_get(const Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) { if (!pd->receiver) return 0; return efl_io_copier_read_chunk_size_get(pd->receiver); } EOLIAN static size_t -_efl_io_buffered_stream_pending_write_get(Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) +_efl_io_buffered_stream_pending_write_get(const Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) { if (!pd->outgoing) return 0; return efl_io_queue_usage_get(pd->outgoing); } EOLIAN static size_t -_efl_io_buffered_stream_pending_read_get(Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) +_efl_io_buffered_stream_pending_read_get(const Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) { if (!pd->incoming) return 0; return efl_io_queue_usage_get(pd->incoming); } EOLIAN static void -_efl_io_buffered_stream_progress_get(Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd, size_t *pr, size_t *pw) +_efl_io_buffered_stream_progress_get(const Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd, size_t *pr, size_t *pw) { uint64_t r = 0, w = 0; @@ -540,7 +540,7 @@ _efl_io_buffered_stream_progress_get(Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_D } EOLIAN static Eina_Slice -_efl_io_buffered_stream_slice_get(Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) +_efl_io_buffered_stream_slice_get(const Eo *o EINA_UNUSED, Efl_Io_Buffered_Stream_Data *pd) { Eina_Slice slice = { }; diff --git a/src/lib/ecore/efl_io_closer_fd.c b/src/lib/ecore/efl_io_closer_fd.c index 3696d176bb..9dcea594bc 100644 --- a/src/lib/ecore/efl_io_closer_fd.c +++ b/src/lib/ecore/efl_io_closer_fd.c @@ -33,7 +33,7 @@ _efl_io_closer_fd_closer_fd_set(Eo *o EINA_UNUSED, Efl_Io_Closer_Fd_Data *pd, in } EOLIAN static int -_efl_io_closer_fd_closer_fd_get(Eo *o EINA_UNUSED, Efl_Io_Closer_Fd_Data *pd) +_efl_io_closer_fd_closer_fd_get(const Eo *o EINA_UNUSED, Efl_Io_Closer_Fd_Data *pd) { return pd->fd; } @@ -55,7 +55,7 @@ _efl_io_closer_fd_efl_io_closer_close(Eo *o, Efl_Io_Closer_Fd_Data *pd EINA_UNUS } EOLIAN static Eina_Bool -_efl_io_closer_fd_efl_io_closer_closed_get(Eo *o, Efl_Io_Closer_Fd_Data *pd EINA_UNUSED) +_efl_io_closer_fd_efl_io_closer_closed_get(const Eo *o, Efl_Io_Closer_Fd_Data *pd EINA_UNUSED) { return efl_io_closer_fd_get(o) < 0; } @@ -92,7 +92,7 @@ _efl_io_closer_fd_efl_io_closer_close_on_exec_set(Eo *o, Efl_Io_Closer_Fd_Data * } EOLIAN static Eina_Bool -_efl_io_closer_fd_efl_io_closer_close_on_exec_get(Eo *o, Efl_Io_Closer_Fd_Data *pd) +_efl_io_closer_fd_efl_io_closer_close_on_exec_get(const Eo *o, Efl_Io_Closer_Fd_Data *pd) { #ifdef _WIN32 return pd->close_on_exec; @@ -125,7 +125,7 @@ _efl_io_closer_fd_efl_io_closer_close_on_destructor_set(Eo *o EINA_UNUSED, Efl_I } EOLIAN static Eina_Bool -_efl_io_closer_fd_efl_io_closer_close_on_destructor_get(Eo *o EINA_UNUSED, Efl_Io_Closer_Fd_Data *pd) +_efl_io_closer_fd_efl_io_closer_close_on_destructor_get(const Eo *o EINA_UNUSED, Efl_Io_Closer_Fd_Data *pd) { return pd->close_on_destructor; } diff --git a/src/lib/ecore/efl_io_copier.c b/src/lib/ecore/efl_io_copier.c index a269edf806..9298459d89 100644 --- a/src/lib/ecore/efl_io_copier.c +++ b/src/lib/ecore/efl_io_copier.c @@ -389,7 +389,7 @@ EFL_CALLBACKS_ARRAY_DEFINE(source_cbs, { EFL_IO_READER_EVENT_EOS, _efl_io_copier_source_eos }); EOLIAN static Efl_Io_Reader * -_efl_io_copier_source_get(Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd) +_efl_io_copier_source_get(const Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd) { return pd->source; } @@ -481,7 +481,7 @@ EFL_CALLBACKS_ARRAY_DEFINE(destination_cbs, { EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, _efl_io_copier_destination_can_write_changed }); EOLIAN static Efl_Io_Writer * -_efl_io_copier_destination_get(Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd) +_efl_io_copier_destination_get(const Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd) { return pd->destination; } @@ -541,7 +541,7 @@ _efl_io_copier_buffer_limit_set(Eo *o, Efl_Io_Copier_Data *pd, size_t size) } EOLIAN static size_t -_efl_io_copier_buffer_limit_get(Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd) +_efl_io_copier_buffer_limit_get(const Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd) { return pd->buffer_limit; } @@ -569,7 +569,7 @@ _efl_io_copier_line_delimiter_set(Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd, Ein } EOLIAN static Eina_Slice -_efl_io_copier_line_delimiter_get(Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd) +_efl_io_copier_line_delimiter_get(const Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd) { return pd->line_delimiter; } @@ -585,7 +585,7 @@ _efl_io_copier_read_chunk_size_set(Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd, si } EOLIAN static size_t -_efl_io_copier_read_chunk_size_get(Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd) +_efl_io_copier_read_chunk_size_get(const Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd) { return pd->read_chunk_size > 0 ? pd->read_chunk_size : DEF_READ_CHUNK_SIZE; } @@ -680,13 +680,13 @@ _efl_io_copier_efl_io_closer_close(Eo *o, Efl_Io_Copier_Data *pd) } EOLIAN static Eina_Bool -_efl_io_copier_efl_io_closer_closed_get(Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd) +_efl_io_copier_efl_io_closer_closed_get(const Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd) { return pd->closed; } EOLIAN static void -_efl_io_copier_progress_get(Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd, uint64_t *read, uint64_t *written, uint64_t *total) +_efl_io_copier_progress_get(const Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd, uint64_t *read, uint64_t *written, uint64_t *total) { if (read) *read = pd->progress.read; if (written) *written = pd->progress.written; @@ -709,7 +709,7 @@ _efl_io_copier_timeout_inactivity_set(Eo *o, Efl_Io_Copier_Data *pd, double seco } EOLIAN static double -_efl_io_copier_timeout_inactivity_get(Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd) +_efl_io_copier_timeout_inactivity_get(const Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd) { return pd->timeout_inactivity; } @@ -768,13 +768,13 @@ _efl_io_copier_flush(Eo *o, Efl_Io_Copier_Data *pd, Eina_Bool may_block, Eina_Bo } EOLIAN static size_t -_efl_io_copier_pending_size_get(Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd) +_efl_io_copier_pending_size_get(const Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd) { return pd->buf ? eina_binbuf_length_get(pd->buf) : 0; } EOLIAN static Eina_Bool -_efl_io_copier_done_get(Eo *o, Efl_Io_Copier_Data *pd) +_efl_io_copier_done_get(const Eo *o, Efl_Io_Copier_Data *pd) { DBG("%p done=%d pending=%zd source={%p %s, eos=%d, closed=%d}, destination={%p %s, closed=%d}", o, pd->done, @@ -889,7 +889,7 @@ _efl_io_copier_efl_io_closer_close_on_exec_set(Eo *o EINA_UNUSED, Efl_Io_Copier_ } EOLIAN static Eina_Bool -_efl_io_copier_efl_io_closer_close_on_exec_get(Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd) +_efl_io_copier_efl_io_closer_close_on_exec_get(const Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd) { return pd->close_on_exec; } @@ -908,7 +908,7 @@ _efl_io_copier_efl_io_closer_close_on_destructor_set(Eo *o EINA_UNUSED, Efl_Io_C } EOLIAN static Eina_Bool -_efl_io_copier_efl_io_closer_close_on_destructor_get(Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd) +_efl_io_copier_efl_io_closer_close_on_destructor_get(const Eo *o EINA_UNUSED, Efl_Io_Copier_Data *pd) { return pd->close_on_destructor; } diff --git a/src/lib/ecore/efl_io_file.c b/src/lib/ecore/efl_io_file.c index ab0e20fbad..cfee3371fc 100644 --- a/src/lib/ecore/efl_io_file.c +++ b/src/lib/ecore/efl_io_file.c @@ -86,7 +86,7 @@ _efl_io_file_flags_set(Eo *o, Efl_Io_File_Data *pd, uint32_t flags) } EOLIAN static uint32_t -_efl_io_file_flags_get(Eo *o EINA_UNUSED, Efl_Io_File_Data *pd) +_efl_io_file_flags_get(const Eo *o EINA_UNUSED, Efl_Io_File_Data *pd) { return pd->flags; // TODO: query from fd? } @@ -99,7 +99,7 @@ _efl_io_file_mode_set(Eo *o, Efl_Io_File_Data *pd, uint32_t mode) } EOLIAN static uint32_t -_efl_io_file_mode_get(Eo *o EINA_UNUSED, Efl_Io_File_Data *pd) +_efl_io_file_mode_get(const Eo *o EINA_UNUSED, Efl_Io_File_Data *pd) { return pd->mode; } @@ -174,7 +174,7 @@ _efl_io_file_efl_file_file_set(Eo *o, Efl_Io_File_Data *pd, const char *file, co } EOLIAN static void -_efl_io_file_efl_file_file_get(Eo *o EINA_UNUSED, Efl_Io_File_Data *pd, const char **file, const char **key) +_efl_io_file_efl_file_file_get(const Eo *o EINA_UNUSED, Efl_Io_File_Data *pd, const char **file, const char **key) { if (file) *file = pd->path; if (key) *key = NULL; diff --git a/src/lib/ecore/efl_io_positioner_fd.c b/src/lib/ecore/efl_io_positioner_fd.c index 310078951c..2be78ba643 100644 --- a/src/lib/ecore/efl_io_positioner_fd.c +++ b/src/lib/ecore/efl_io_positioner_fd.c @@ -21,7 +21,7 @@ _efl_io_positioner_fd_positioner_fd_set(Eo *o EINA_UNUSED, Efl_Io_Positioner_Fd_ } EOLIAN static int -_efl_io_positioner_fd_positioner_fd_get(Eo *o EINA_UNUSED, Efl_Io_Positioner_Fd_Data *pd) +_efl_io_positioner_fd_positioner_fd_get(const Eo *o EINA_UNUSED, Efl_Io_Positioner_Fd_Data *pd) { return pd->fd; } @@ -49,7 +49,7 @@ _efl_io_positioner_fd_efl_io_positioner_seek(Eo *o, Efl_Io_Positioner_Fd_Data *p } EOLIAN static uint64_t -_efl_io_positioner_fd_efl_io_positioner_position_get(Eo *o, Efl_Io_Positioner_Fd_Data *pd EINA_UNUSED) +_efl_io_positioner_fd_efl_io_positioner_position_get(const Eo *o, Efl_Io_Positioner_Fd_Data *pd EINA_UNUSED) { int fd = efl_io_positioner_fd_get(o); off_t offset; diff --git a/src/lib/ecore/efl_io_reader_fd.c b/src/lib/ecore/efl_io_reader_fd.c index e499009600..670a22f20e 100644 --- a/src/lib/ecore/efl_io_reader_fd.c +++ b/src/lib/ecore/efl_io_reader_fd.c @@ -24,7 +24,7 @@ _efl_io_reader_fd_reader_fd_set(Eo *o EINA_UNUSED, Efl_Io_Reader_Fd_Data *pd, in } EOLIAN static int -_efl_io_reader_fd_reader_fd_get(Eo *o EINA_UNUSED, Efl_Io_Reader_Fd_Data *pd) +_efl_io_reader_fd_reader_fd_get(const Eo *o EINA_UNUSED, Efl_Io_Reader_Fd_Data *pd) { return pd->fd; } @@ -68,7 +68,7 @@ _efl_io_reader_fd_efl_io_reader_read(Eo *o, Efl_Io_Reader_Fd_Data *pd EINA_UNUSE } EOLIAN static Eina_Bool -_efl_io_reader_fd_efl_io_reader_can_read_get(Eo *o EINA_UNUSED, Efl_Io_Reader_Fd_Data *pd) +_efl_io_reader_fd_efl_io_reader_can_read_get(const Eo *o EINA_UNUSED, Efl_Io_Reader_Fd_Data *pd) { return pd->can_read; } @@ -83,7 +83,7 @@ _efl_io_reader_fd_efl_io_reader_can_read_set(Eo *o, Efl_Io_Reader_Fd_Data *pd, E } EOLIAN static Eina_Bool -_efl_io_reader_fd_efl_io_reader_eos_get(Eo *o EINA_UNUSED, Efl_Io_Reader_Fd_Data *pd) +_efl_io_reader_fd_efl_io_reader_eos_get(const Eo *o EINA_UNUSED, Efl_Io_Reader_Fd_Data *pd) { return pd->eos; } diff --git a/src/lib/ecore/efl_io_sizer_fd.c b/src/lib/ecore/efl_io_sizer_fd.c index 8dc6bb47cf..0dc03f5791 100644 --- a/src/lib/ecore/efl_io_sizer_fd.c +++ b/src/lib/ecore/efl_io_sizer_fd.c @@ -21,7 +21,7 @@ _efl_io_sizer_fd_sizer_fd_set(Eo *o EINA_UNUSED, Efl_Io_Sizer_Fd_Data *pd, int f } EOLIAN static int -_efl_io_sizer_fd_sizer_fd_get(Eo *o EINA_UNUSED, Efl_Io_Sizer_Fd_Data *pd) +_efl_io_sizer_fd_sizer_fd_get(const Eo *o EINA_UNUSED, Efl_Io_Sizer_Fd_Data *pd) { return pd->fd; } @@ -36,7 +36,7 @@ _efl_io_sizer_fd_efl_io_sizer_resize(Eo *o, Efl_Io_Sizer_Fd_Data *pd EINA_UNUSED } EOLIAN static uint64_t -_efl_io_sizer_fd_efl_io_sizer_size_get(Eo *o, Efl_Io_Sizer_Fd_Data *pd EINA_UNUSED) +_efl_io_sizer_fd_efl_io_sizer_size_get(const Eo *o, Efl_Io_Sizer_Fd_Data *pd EINA_UNUSED) { int fd = efl_io_sizer_fd_get(o); struct stat st; diff --git a/src/lib/ecore/efl_io_writer_fd.c b/src/lib/ecore/efl_io_writer_fd.c index 6540d6564e..091bb1bb9d 100644 --- a/src/lib/ecore/efl_io_writer_fd.c +++ b/src/lib/ecore/efl_io_writer_fd.c @@ -23,7 +23,7 @@ _efl_io_writer_fd_writer_fd_set(Eo *o EINA_UNUSED, Efl_Io_Writer_Fd_Data *pd, in } EOLIAN static int -_efl_io_writer_fd_writer_fd_get(Eo *o EINA_UNUSED, Efl_Io_Writer_Fd_Data *pd) +_efl_io_writer_fd_writer_fd_get(const Eo *o EINA_UNUSED, Efl_Io_Writer_Fd_Data *pd) { return pd->fd; } @@ -72,7 +72,7 @@ _efl_io_writer_fd_efl_io_writer_write(Eo *o, Efl_Io_Writer_Fd_Data *pd EINA_UNUS } EOLIAN static Eina_Bool -_efl_io_writer_fd_efl_io_writer_can_write_get(Eo *o EINA_UNUSED, Efl_Io_Writer_Fd_Data *pd) +_efl_io_writer_fd_efl_io_writer_can_write_get(const Eo *o EINA_UNUSED, Efl_Io_Writer_Fd_Data *pd) { return pd->can_write; } diff --git a/src/lib/ecore/efl_loop.c b/src/lib/ecore/efl_loop.c index bd98def518..671c33612f 100644 --- a/src/lib/ecore/efl_loop.c +++ b/src/lib/ecore/efl_loop.c @@ -98,7 +98,7 @@ _efl_loop_time_set(Eo *obj EINA_UNUSED, Efl_Loop_Data *pd, double t) } EOLIAN static double -_efl_loop_time_get(Eo *obj EINA_UNUSED, Efl_Loop_Data *pd) +_efl_loop_time_get(const Eo *obj EINA_UNUSED, Efl_Loop_Data *pd) { return pd->loop_time; } @@ -479,7 +479,7 @@ _efl_loop_throttle_set(Eo *obj EINA_UNUSED, Efl_Loop_Data *pd, double amount) } EOLIAN static double -_efl_loop_throttle_get(Eo *obj EINA_UNUSED, Efl_Loop_Data *pd) +_efl_loop_throttle_get(const Eo *obj EINA_UNUSED, Efl_Loop_Data *pd) { return (double)(pd->throttle) / 1000000.0; } @@ -868,7 +868,7 @@ _efl_loop_efl_task_env_set(Eo *obj, Efl_Loop_Data *pd EINA_UNUSED, const char *v } EOLIAN static const char * -_efl_loop_efl_task_env_get(Eo *obj, Efl_Loop_Data *pd, const char *var) +_efl_loop_efl_task_env_get(const Eo *obj, Efl_Loop_Data *pd, const char *var) { Efl_Task_Data *td = efl_data_scope_get(obj, EFL_TASK_CLASS); if (!td) return NULL; diff --git a/src/lib/ecore/efl_loop_consumer.c b/src/lib/ecore/efl_loop_consumer.c index 670e91bbc6..795b5fcfd0 100644 --- a/src/lib/ecore/efl_loop_consumer.c +++ b/src/lib/ecore/efl_loop_consumer.c @@ -12,7 +12,7 @@ struct _Efl_Loop_Consumer_Data }; static Efl_Loop * -_efl_loop_consumer_loop_get(Eo *obj, Efl_Loop_Consumer_Data *pd EINA_UNUSED) +_efl_loop_consumer_loop_get(const Eo *obj, Efl_Loop_Consumer_Data *pd EINA_UNUSED) { Efl_Loop *loop = efl_provider_find(obj, EFL_LOOP_CLASS); if (!loop && eina_main_loop_is()) diff --git a/src/lib/ecore/efl_loop_fd.c b/src/lib/ecore/efl_loop_fd.c index e6ec21d7b9..8e4871d7c2 100644 --- a/src/lib/ecore/efl_loop_fd.c +++ b/src/lib/ecore/efl_loop_fd.c @@ -89,7 +89,7 @@ _efl_loop_fd_fd_set(Eo *obj, Efl_Loop_Fd_Data *pd, int fd) } static int -_efl_loop_fd_fd_get(Eo *obj EINA_UNUSED, Efl_Loop_Fd_Data *pd) +_efl_loop_fd_fd_get(const Eo *obj EINA_UNUSED, Efl_Loop_Fd_Data *pd) { return pd->file ? -1 : pd->fd; } @@ -103,7 +103,7 @@ _efl_loop_fd_fd_file_set(Eo *obj, Efl_Loop_Fd_Data *pd, int fd) } static int -_efl_loop_fd_fd_file_get(Eo *obj EINA_UNUSED, Efl_Loop_Fd_Data *pd) +_efl_loop_fd_fd_file_get(const Eo *obj EINA_UNUSED, Efl_Loop_Fd_Data *pd) { return pd->file ? pd->fd : -1; } diff --git a/src/lib/ecore/efl_loop_handler.c b/src/lib/ecore/efl_loop_handler.c index 34e03a9cc4..3bed51396e 100644 --- a/src/lib/ecore/efl_loop_handler.c +++ b/src/lib/ecore/efl_loop_handler.c @@ -227,7 +227,7 @@ _efl_loop_handler_active_set(Eo *obj, Efl_Loop_Handler_Data *pd, Efl_Loop_Handle } static Efl_Loop_Handler_Flags -_efl_loop_handler_active_get(Eo *obj EINA_UNUSED, Efl_Loop_Handler_Data *pd) +_efl_loop_handler_active_get(const Eo *obj EINA_UNUSED, Efl_Loop_Handler_Data *pd) { return pd->flags; } @@ -242,7 +242,7 @@ _efl_loop_handler_fd_set(Eo *obj, Efl_Loop_Handler_Data *pd, int fd) } static int -_efl_loop_handler_fd_get(Eo *obj EINA_UNUSED, Efl_Loop_Handler_Data *pd) +_efl_loop_handler_fd_get(const Eo *obj EINA_UNUSED, Efl_Loop_Handler_Data *pd) { if (pd->win32) return -1; return pd->file ? -1 : pd->fd; @@ -258,7 +258,7 @@ _efl_loop_handler_fd_file_set(Eo *obj, Efl_Loop_Handler_Data *pd, int fd) } static int -_efl_loop_handler_fd_file_get(Eo *obj EINA_UNUSED, Efl_Loop_Handler_Data *pd) +_efl_loop_handler_fd_file_get(const Eo *obj EINA_UNUSED, Efl_Loop_Handler_Data *pd) { if (pd->win32) return -1; return pd->file ? pd->fd : -1; @@ -274,7 +274,7 @@ _efl_loop_handler_win32_set(Eo *obj, Efl_Loop_Handler_Data *pd, void *handle) } static void * -_efl_loop_handler_win32_get(Eo *obj EINA_UNUSED, Efl_Loop_Handler_Data *pd) +_efl_loop_handler_win32_get(const Eo *obj EINA_UNUSED, Efl_Loop_Handler_Data *pd) { return pd->win32; } diff --git a/src/lib/ecore/efl_loop_message_future.c b/src/lib/ecore/efl_loop_message_future.c index 6ce4f3455a..81325e18f1 100644 --- a/src/lib/ecore/efl_loop_message_future.c +++ b/src/lib/ecore/efl_loop_message_future.c @@ -26,7 +26,7 @@ _efl_loop_message_future_data_set(Eo *obj EINA_UNUSED, Efl_Loop_Message_Future_D } EOLIAN static void * -_efl_loop_message_future_data_get(Eo *obj EINA_UNUSED, Efl_Loop_Message_Future_Data *pd) +_efl_loop_message_future_data_get(const Eo *obj EINA_UNUSED, Efl_Loop_Message_Future_Data *pd) { return pd->data; } diff --git a/src/lib/ecore/efl_model_composite_boolean.c b/src/lib/ecore/efl_model_composite_boolean.c index bd6c5cf36f..bc9ed2b334 100644 --- a/src/lib/ecore/efl_model_composite_boolean.c +++ b/src/lib/ecore/efl_model_composite_boolean.c @@ -122,7 +122,7 @@ _properties_names_push(const Eina_Hash *hash EINA_UNUSED, } static const Eina_Array* -_efl_model_composite_boolean_children_efl_model_properties_get(Eo *obj EINA_UNUSED, +_efl_model_composite_boolean_children_efl_model_properties_get(const Eo *obj EINA_UNUSED, Efl_Model_Composite_Boolean_Children_Data *pd) { Eina_Array const *composite_properties; @@ -533,7 +533,7 @@ _efl_model_composite_boolean_efl_ui_view_model_set(Eo *obj EINA_UNUSED, } static Efl_Model * -_efl_model_composite_boolean_efl_ui_view_model_get(Eo *obj EINA_UNUSED, Efl_Model_Composite_Boolean_Data *pd) +_efl_model_composite_boolean_efl_ui_view_model_get(const Eo *obj EINA_UNUSED, Efl_Model_Composite_Boolean_Data *pd) { return pd->composite_model; } @@ -550,7 +550,7 @@ _efl_model_composite_boolean_property_add(Eo *obj EINA_UNUSED, Efl_Model_Composi } static const Eina_Array * -_efl_model_composite_boolean_efl_model_properties_get(Eo *obj EINA_UNUSED, Efl_Model_Composite_Boolean_Data *pd) +_efl_model_composite_boolean_efl_model_properties_get(const Eo *obj EINA_UNUSED, Efl_Model_Composite_Boolean_Data *pd) { if (pd->composite_model) return efl_model_properties_get(pd->composite_model); diff --git a/src/lib/ecore/efl_model_composite_selection.c b/src/lib/ecore/efl_model_composite_selection.c index 68d47497f8..6450dc6398 100644 --- a/src/lib/ecore/efl_model_composite_selection.c +++ b/src/lib/ecore/efl_model_composite_selection.c @@ -95,7 +95,7 @@ _efl_model_composite_selection_exclusive_selection_set(Eo *obj EINA_UNUSED, } static Eina_Bool -_efl_model_composite_selection_exclusive_selection_get(Eo *obj EINA_UNUSED, +_efl_model_composite_selection_exclusive_selection_get(const Eo *obj EINA_UNUSED, Efl_Model_Composite_Selection_Data *pd) { return pd->is_exclusive; diff --git a/src/lib/ecore/efl_model_container.c b/src/lib/ecore/efl_model_container.c index d734ea2c66..c3307259e4 100644 --- a/src/lib/ecore/efl_model_container.c +++ b/src/lib/ecore/efl_model_container.c @@ -223,7 +223,7 @@ error: } static const Eina_Array * -_efl_model_container_efl_model_properties_get(Eo *obj EINA_UNUSED, Efl_Model_Container_Data *sd EINA_UNUSED) +_efl_model_container_efl_model_properties_get(const Eo *obj EINA_UNUSED, Efl_Model_Container_Data *sd EINA_UNUSED) { return sd->defined_properties; } diff --git a/src/lib/ecore/efl_model_container_item.c b/src/lib/ecore/efl_model_container_item.c index 99d4d7d4c3..2c6b375932 100644 --- a/src/lib/ecore/efl_model_container_item.c +++ b/src/lib/ecore/efl_model_container_item.c @@ -32,7 +32,7 @@ _efl_model_container_item_efl_object_invalidate(Eo *obj, Efl_Model_Container_Ite } EOLIAN static const Eina_Array * -_efl_model_container_item_efl_model_properties_get(Eo *obj EINA_UNUSED, Efl_Model_Container_Item_Data *sd) +_efl_model_container_item_efl_model_properties_get(const Eo *obj EINA_UNUSED, Efl_Model_Container_Item_Data *sd) { if (!sd->parent_data) return NULL; diff --git a/src/lib/ecore/efl_model_item.c b/src/lib/ecore/efl_model_item.c index 571f3e4131..1cdf87fd62 100644 --- a/src/lib/ecore/efl_model_item.c +++ b/src/lib/ecore/efl_model_item.c @@ -61,7 +61,7 @@ _efl_model_item_efl_object_destructor(Eo *obj, Efl_Model_Item_Data *sd) } EOLIAN static const Eina_Array * -_efl_model_item_efl_model_properties_get(Eo *obj EINA_UNUSED, Efl_Model_Item_Data *sd) +_efl_model_item_efl_model_properties_get(const Eo *obj EINA_UNUSED, Efl_Model_Item_Data *sd) { return sd->defined_properties; } diff --git a/src/lib/ecore/efl_promise.c b/src/lib/ecore/efl_promise.c index dbec2f8f4d..5634dc8257 100644 --- a/src/lib/ecore/efl_promise.c +++ b/src/lib/ecore/efl_promise.c @@ -517,7 +517,7 @@ static const Efl_Class_Description _efl_loop_future_class_desc = { EFL_DEFINE_CLASS(efl_loop_future_class_get, &_efl_loop_future_class_desc, EFL_FUTURE_CLASS, NULL); static Efl_Future * -_efl_promise_future_get(Eo *obj, Efl_Promise_Data *pd EINA_UNUSED) +_efl_promise_future_get(const Eo *obj, Efl_Promise_Data *pd EINA_UNUSED) { Efl_Future *f; Efl_Loop_Future_Data *fd; diff --git a/src/lib/ecore/efl_task.c b/src/lib/ecore/efl_task.c index b4d3c188fd..35f1547cb6 100644 --- a/src/lib/ecore/efl_task.c +++ b/src/lib/ecore/efl_task.c @@ -251,14 +251,14 @@ _efl_task_command_set(Eo *obj EINA_UNUSED, Efl_Task_Data *pd, const char *comman } EOLIAN static const char * -_efl_task_command_get(Eo *obj EINA_UNUSED, Efl_Task_Data *pd) +_efl_task_command_get(const Eo *obj EINA_UNUSED, Efl_Task_Data *pd) { _rebuild_command(pd); return pd->command; } EOLIAN static unsigned int -_efl_task_arg_count_get(Eo *obj EINA_UNUSED, Efl_Task_Data *pd) +_efl_task_arg_count_get(const Eo *obj EINA_UNUSED, Efl_Task_Data *pd) { if (!pd->args) return 0; return eina_array_count(pd->args); @@ -294,7 +294,7 @@ _efl_task_arg_value_set(Eo *obj EINA_UNUSED, Efl_Task_Data *pd, unsigned int num } EOLIAN static const char * -_efl_task_arg_value_get(Eo *obj EINA_UNUSED, Efl_Task_Data *pd, unsigned int num) +_efl_task_arg_value_get(const Eo *obj EINA_UNUSED, Efl_Task_Data *pd, unsigned int num) { unsigned int count; @@ -337,7 +337,7 @@ _efl_task_env_set(Eo *obj EINA_UNUSED, Efl_Task_Data *pd, const char *var, const EOLIAN static const char * -_efl_task_env_get(Eo *obj EINA_UNUSED, Efl_Task_Data *pd, const char *var) +_efl_task_env_get(const Eo *obj EINA_UNUSED, Efl_Task_Data *pd, const char *var) { if ((!var) || (!pd->env)) return NULL; return eina_hash_find(pd->env, var); @@ -357,13 +357,13 @@ _efl_task_priority_set(Eo *obj EINA_UNUSED, Efl_Task_Data *pd, Efl_Task_Priority } EOLIAN static Efl_Task_Priority -_efl_task_priority_get(Eo *obj EINA_UNUSED, Efl_Task_Data *pd) +_efl_task_priority_get(const Eo *obj EINA_UNUSED, Efl_Task_Data *pd) { return pd->priority; } EOLIAN static int -_efl_task_exit_code_get(Eo *obj EINA_UNUSED, Efl_Task_Data *pd) +_efl_task_exit_code_get(const Eo *obj EINA_UNUSED, Efl_Task_Data *pd) { return pd->exit_code; } @@ -375,7 +375,7 @@ _efl_task_flags_set(Eo *obj EINA_UNUSED, Efl_Task_Data *pd, Efl_Task_Flags flags } EOLIAN static Efl_Task_Flags -_efl_task_flags_get(Eo *obj EINA_UNUSED, Efl_Task_Data *pd) +_efl_task_flags_get(const Eo *obj EINA_UNUSED, Efl_Task_Data *pd) { return pd->flags; } diff --git a/src/lib/ecore/efl_thread.c b/src/lib/ecore/efl_thread.c index 4c2e5e8dc9..e39ed50d34 100644 --- a/src/lib/ecore/efl_thread.c +++ b/src/lib/ecore/efl_thread.c @@ -819,7 +819,7 @@ _efl_thread_efl_io_closer_close(Eo *obj, Efl_Thread_Data *pd) } EOLIAN static Eina_Bool -_efl_thread_efl_io_closer_closed_get(Eo *obj EINA_UNUSED, Efl_Thread_Data *pd) +_efl_thread_efl_io_closer_closed_get(const Eo *obj EINA_UNUSED, Efl_Thread_Data *pd) { if ((pd->fd.in == -1) && (pd->fd.out == -1)) return EINA_TRUE; return EINA_FALSE; @@ -889,7 +889,7 @@ _efl_thread_efl_io_reader_can_read_set(Eo *obj, Efl_Thread_Data *pd, Eina_Bool c } EOLIAN static Eina_Bool -_efl_thread_efl_io_reader_can_read_get(Eo *obj EINA_UNUSED, Efl_Thread_Data *pd) +_efl_thread_efl_io_reader_can_read_get(const Eo *obj EINA_UNUSED, Efl_Thread_Data *pd) { return pd->fd.can_read; } @@ -908,7 +908,7 @@ _efl_thread_efl_io_reader_eos_set(Eo *obj, Efl_Thread_Data *pd, Eina_Bool is_eos } EOLIAN static Eina_Bool -_efl_thread_efl_io_reader_eos_get(Eo *obj EINA_UNUSED, Efl_Thread_Data *pd) +_efl_thread_efl_io_reader_eos_get(const Eo *obj EINA_UNUSED, Efl_Thread_Data *pd) { return pd->fd.eos_read; } @@ -983,7 +983,7 @@ _efl_thread_efl_io_writer_can_write_set(Eo *obj, Efl_Thread_Data *pd, Eina_Bool } EOLIAN static Eina_Bool -_efl_thread_efl_io_writer_can_write_get(Eo *obj EINA_UNUSED, Efl_Thread_Data *pd) +_efl_thread_efl_io_writer_can_write_get(const Eo *obj EINA_UNUSED, Efl_Thread_Data *pd) { return pd->fd.can_write; } diff --git a/src/lib/ecore/efl_threadio.c b/src/lib/ecore/efl_threadio.c index c650d7117b..9e21f40847 100644 --- a/src/lib/ecore/efl_threadio.c +++ b/src/lib/ecore/efl_threadio.c @@ -26,7 +26,7 @@ _efl_threadio_indata_set(Eo *obj EINA_UNUSED, Efl_ThreadIO_Data *pd, void *data) } EOLIAN static void * -_efl_threadio_indata_get(Eo *obj EINA_UNUSED, Efl_ThreadIO_Data *pd) +_efl_threadio_indata_get(const Eo *obj EINA_UNUSED, Efl_ThreadIO_Data *pd) { return pd->indata; } @@ -38,7 +38,7 @@ _efl_threadio_outdata_set(Eo *obj EINA_UNUSED, Efl_ThreadIO_Data *pd, void *data } EOLIAN static void * -_efl_threadio_outdata_get(Eo *obj EINA_UNUSED, Efl_ThreadIO_Data *pd) +_efl_threadio_outdata_get(const Eo *obj EINA_UNUSED, Efl_ThreadIO_Data *pd) { return pd->outdata; } diff --git a/src/lib/ecore_audio/ecore_audio_obj.c b/src/lib/ecore_audio/ecore_audio_obj.c index e2f3c81a2f..a526706d63 100644 --- a/src/lib/ecore_audio/ecore_audio_obj.c +++ b/src/lib/ecore_audio/ecore_audio_obj.c @@ -26,7 +26,7 @@ _ecore_audio_paused_set(Eo *eo_obj EINA_UNUSED, Ecore_Audio_Object *obj, Eina_Bo } EOLIAN static Eina_Bool -_ecore_audio_paused_get(Eo *eo_obj EINA_UNUSED, Ecore_Audio_Object *obj) +_ecore_audio_paused_get(const Eo *eo_obj EINA_UNUSED, Ecore_Audio_Object *obj) { return obj->paused; } @@ -38,7 +38,7 @@ _ecore_audio_volume_set(Eo *eo_obj EINA_UNUSED, Ecore_Audio_Object *obj, double } EOLIAN static double -_ecore_audio_volume_get(Eo *eo_obj EINA_UNUSED, Ecore_Audio_Object *obj) +_ecore_audio_volume_get(const Eo *eo_obj EINA_UNUSED, Ecore_Audio_Object *obj) { return obj->volume; } diff --git a/src/lib/ecore_audio/ecore_audio_obj_in.c b/src/lib/ecore_audio/ecore_audio_obj_in.c index ff8bd5b900..b2a8f912c3 100644 --- a/src/lib/ecore_audio/ecore_audio_obj_in.c +++ b/src/lib/ecore_audio/ecore_audio_obj_in.c @@ -31,7 +31,7 @@ _ecore_audio_in_speed_set(Eo *eo_obj EINA_UNUSED, Ecore_Audio_Input *obj, double } EOLIAN static double -_ecore_audio_in_speed_get(Eo *eo_obj EINA_UNUSED, Ecore_Audio_Input *obj) +_ecore_audio_in_speed_get(const Eo *eo_obj EINA_UNUSED, Ecore_Audio_Input *obj) { return obj->speed; } @@ -45,7 +45,7 @@ _ecore_audio_in_samplerate_set(Eo *eo_obj EINA_UNUSED, Ecore_Audio_Input *obj, i } EOLIAN static int -_ecore_audio_in_samplerate_get(Eo *eo_obj EINA_UNUSED, Ecore_Audio_Input *obj) +_ecore_audio_in_samplerate_get(const Eo *eo_obj EINA_UNUSED, Ecore_Audio_Input *obj) { return obj->samplerate;; } @@ -60,7 +60,7 @@ _ecore_audio_in_channels_set(Eo *eo_obj EINA_UNUSED, Ecore_Audio_Input *obj, int } EOLIAN static int -_ecore_audio_in_channels_get(Eo *eo_obj EINA_UNUSED, Ecore_Audio_Input *obj) +_ecore_audio_in_channels_get(const Eo *eo_obj EINA_UNUSED, Ecore_Audio_Input *obj) { return obj->channels; } @@ -72,24 +72,25 @@ _ecore_audio_in_looped_set(Eo *eo_obj EINA_UNUSED, Ecore_Audio_Input *obj, Eina_ } EOLIAN static Eina_Bool -_ecore_audio_in_looped_get(Eo *eo_obj EINA_UNUSED, Ecore_Audio_Input *obj) +_ecore_audio_in_looped_get(const Eo *eo_obj EINA_UNUSED, Ecore_Audio_Input *obj) { return obj->looped; } EOLIAN static double -_ecore_audio_in_length_get(Eo *eo_obj EINA_UNUSED, Ecore_Audio_Input *obj) +_ecore_audio_in_length_get(const Eo *eo_obj EINA_UNUSED, Ecore_Audio_Input *obj) { return obj->length;; } EOLIAN static double -_ecore_audio_in_remaining_get(Eo *eo_obj, Ecore_Audio_Input *obj) +_ecore_audio_in_remaining_get(const Eo *eo_obj, Ecore_Audio_Input *obj) { if (!obj->seekable) return -1; else { double ret = 0.0; - ret = ecore_audio_obj_in_seek(eo_obj, 0, SEEK_CUR); + /* XXX const */ + ret = ecore_audio_obj_in_seek((Eo *)eo_obj, 0, SEEK_CUR); return obj->length - ret; } } @@ -134,7 +135,7 @@ _ecore_audio_in_read_internal(Eo *eo_obj, Ecore_Audio_Input *_pd EINA_UNUSED, vo } EOLIAN static Eo* -_ecore_audio_in_output_get(Eo *eo_obj EINA_UNUSED, Ecore_Audio_Input *obj) +_ecore_audio_in_output_get(const Eo *eo_obj EINA_UNUSED, Ecore_Audio_Input *obj) { return obj->output; } diff --git a/src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c b/src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c index 6af8a9949d..bebfba59d2 100644 --- a/src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c +++ b/src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c @@ -90,7 +90,7 @@ _ecore_audio_in_sndfile_ecore_audio_source_set(Eo *eo_obj, Ecore_Audio_In_Sndfil } EOLIAN static const char* -_ecore_audio_in_sndfile_ecore_audio_source_get(Eo *eo_obj, Ecore_Audio_In_Sndfile_Data *_pd EINA_UNUSED) +_ecore_audio_in_sndfile_ecore_audio_source_get(const Eo *eo_obj, Ecore_Audio_In_Sndfile_Data *_pd EINA_UNUSED) { Ecore_Audio_Object *obj = efl_data_scope_get(eo_obj, ECORE_AUDIO_CLASS); return obj->source; @@ -129,7 +129,7 @@ _ecore_audio_in_sndfile_ecore_audio_format_set(Eo *eo_obj, Ecore_Audio_In_Sndfil } EOLIAN static Ecore_Audio_Format -_ecore_audio_in_sndfile_ecore_audio_format_get(Eo *eo_obj, Ecore_Audio_In_Sndfile_Data *_pd EINA_UNUSED) +_ecore_audio_in_sndfile_ecore_audio_format_get(const Eo *eo_obj, Ecore_Audio_In_Sndfile_Data *_pd EINA_UNUSED) { Ecore_Audio_Object *obj = efl_data_scope_get(eo_obj, ECORE_AUDIO_CLASS); return obj->format;; diff --git a/src/lib/ecore_audio/ecore_audio_obj_out_sndfile.c b/src/lib/ecore_audio/ecore_audio_obj_out_sndfile.c index 8b5e2160e0..2c0b4ba3ee 100644 --- a/src/lib/ecore_audio/ecore_audio_obj_out_sndfile.c +++ b/src/lib/ecore_audio/ecore_audio_obj_out_sndfile.c @@ -116,7 +116,7 @@ _ecore_audio_out_sndfile_ecore_audio_source_set(Eo *eo_obj, Ecore_Audio_Out_Sndf } EOLIAN static const char* -_ecore_audio_out_sndfile_ecore_audio_source_get(Eo *eo_obj, Ecore_Audio_Out_Sndfile_Data *_pd EINA_UNUSED) +_ecore_audio_out_sndfile_ecore_audio_source_get(const Eo *eo_obj, Ecore_Audio_Out_Sndfile_Data *_pd EINA_UNUSED) { Ecore_Audio_Object *obj = efl_data_scope_get(eo_obj, ECORE_AUDIO_CLASS); return obj->source; @@ -155,7 +155,7 @@ _ecore_audio_out_sndfile_ecore_audio_format_set(Eo *eo_obj, Ecore_Audio_Out_Sndf } EOLIAN static Ecore_Audio_Format -_ecore_audio_out_sndfile_ecore_audio_format_get(Eo *eo_obj, Ecore_Audio_Out_Sndfile_Data *_pd EINA_UNUSED) +_ecore_audio_out_sndfile_ecore_audio_format_get(const Eo *eo_obj, Ecore_Audio_Out_Sndfile_Data *_pd EINA_UNUSED) { Ecore_Audio_Object *obj = efl_data_scope_get(eo_obj, ECORE_AUDIO_CLASS); return obj->format; diff --git a/src/lib/ecore_con/ecore_con_eet.c b/src/lib/ecore_con/ecore_con_eet.c index 3239bcaa89..91dbf15e9c 100644 --- a/src/lib/ecore_con/ecore_con_eet.c +++ b/src/lib/ecore_con/ecore_con_eet.c @@ -717,7 +717,7 @@ _ecore_con_eet_base_server_set(Eo *obj EINA_UNUSED, Ecore_Con_Eet_Base_Data *pd, } EOLIAN static Ecore_Con_Server * -_ecore_con_eet_base_server_get(Eo *obj EINA_UNUSED, Ecore_Con_Eet_Base_Data *pd) +_ecore_con_eet_base_server_get(const Eo *obj EINA_UNUSED, Ecore_Con_Eet_Base_Data *pd) { return pd->server; } diff --git a/src/lib/ecore_con/efl_net_control-connman.c b/src/lib/ecore_con/efl_net_control-connman.c index 63f452520e..0599080d44 100644 --- a/src/lib/ecore_con/efl_net_control-connman.c +++ b/src/lib/ecore_con/efl_net_control-connman.c @@ -1010,25 +1010,25 @@ _efl_net_control_radios_offline_set(Eo *o, Efl_Net_Control_Data *pd, Eina_Bool r } EOLIAN static Eina_Bool -_efl_net_control_radios_offline_get(Eo *o EINA_UNUSED, Efl_Net_Control_Data *pd) +_efl_net_control_radios_offline_get(const Eo *o EINA_UNUSED, Efl_Net_Control_Data *pd) { return pd->radios_offline; } EOLIAN static Efl_Net_Control_State -_efl_net_control_state_get(Eo *o EINA_UNUSED, Efl_Net_Control_Data *pd) +_efl_net_control_state_get(const Eo *o EINA_UNUSED, Efl_Net_Control_Data *pd) { return pd->state; } EOLIAN static Eina_Iterator * -_efl_net_control_access_points_get(Eo *o EINA_UNUSED, Efl_Net_Control_Data *pd) +_efl_net_control_access_points_get(const Eo *o EINA_UNUSED, Efl_Net_Control_Data *pd) { return eina_list_iterator_new(pd->access_points); } EOLIAN static Eina_Iterator * -_efl_net_control_technologies_get(Eo *o EINA_UNUSED, Efl_Net_Control_Data *pd) +_efl_net_control_technologies_get(const Eo *o EINA_UNUSED, Efl_Net_Control_Data *pd) { return eina_list_iterator_new(pd->technologies); } @@ -1142,7 +1142,7 @@ _efl_net_control_agent_enabled_set(Eo *o, Efl_Net_Control_Data *pd, Eina_Bool ag } EOLIAN static Eina_Bool -_efl_net_control_agent_enabled_get(Eo *o EINA_UNUSED, Efl_Net_Control_Data *pd) +_efl_net_control_agent_enabled_get(const Eo *o EINA_UNUSED, Efl_Net_Control_Data *pd) { return pd->agent_enabled; } diff --git a/src/lib/ecore_con/efl_net_control-none.c b/src/lib/ecore_con/efl_net_control-none.c index bb5f621642..f6ae4d801f 100644 --- a/src/lib/ecore_con/efl_net_control-none.c +++ b/src/lib/ecore_con/efl_net_control-none.c @@ -38,25 +38,25 @@ _efl_net_control_radios_offline_set(Eo *obj EINA_UNUSED, Efl_Net_Control_Data *p } EOLIAN static Eina_Bool -_efl_net_control_radios_offline_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Data *pd EINA_UNUSED) +_efl_net_control_radios_offline_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Data *pd EINA_UNUSED) { return EINA_FALSE; } EOLIAN static Efl_Net_Control_State -_efl_net_control_state_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Data *pd EINA_UNUSED) +_efl_net_control_state_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Data *pd EINA_UNUSED) { return EFL_NET_CONTROL_STATE_ONLINE; /* best default for unsupported, hope we're online */ } EOLIAN static Eina_Iterator * -_efl_net_control_access_points_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Data *pd EINA_UNUSED) +_efl_net_control_access_points_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Data *pd EINA_UNUSED) { return eina_list_iterator_new(NULL); } EOLIAN static Eina_Iterator * -_efl_net_control_technologies_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Data *pd EINA_UNUSED) +_efl_net_control_technologies_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Data *pd EINA_UNUSED) { return eina_list_iterator_new(NULL); } @@ -67,7 +67,7 @@ _efl_net_control_agent_enabled_set(Eo *obj EINA_UNUSED, Efl_Net_Control_Data *pd } EOLIAN static Eina_Bool -_efl_net_control_agent_enabled_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Data *pd EINA_UNUSED) +_efl_net_control_agent_enabled_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Data *pd EINA_UNUSED) { return EINA_FALSE; } diff --git a/src/lib/ecore_con/efl_net_control_access_point-none.c b/src/lib/ecore_con/efl_net_control_access_point-none.c index 5841053710..a32784d2b5 100644 --- a/src/lib/ecore_con/efl_net_control_access_point-none.c +++ b/src/lib/ecore_con/efl_net_control_access_point-none.c @@ -18,19 +18,19 @@ _efl_net_control_access_point_efl_object_destructor(Eo *obj, Efl_Net_Control_Acc } EOLIAN static Efl_Net_Control_Access_Point_State -_efl_net_control_access_point_state_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) +_efl_net_control_access_point_state_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) { return 0; } EOLIAN static Efl_Net_Control_Access_Point_Error -_efl_net_control_access_point_error_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) +_efl_net_control_access_point_error_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) { return 0; } EOLIAN static const char * -_efl_net_control_access_point_ssid_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) +_efl_net_control_access_point_ssid_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) { return NULL; } @@ -41,25 +41,25 @@ _efl_net_control_access_point_priority_set(Eo *obj EINA_UNUSED, Efl_Net_Control_ } EOLIAN static unsigned int -_efl_net_control_access_point_priority_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) +_efl_net_control_access_point_priority_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) { return 0; } EOLIAN static Efl_Net_Control_Technology * -_efl_net_control_access_point_technology_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) +_efl_net_control_access_point_technology_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) { return NULL; } EOLIAN static uint8_t -_efl_net_control_access_point_strength_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) +_efl_net_control_access_point_strength_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) { return 0; } EOLIAN static Eina_Bool -_efl_net_control_access_point_roaming_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) +_efl_net_control_access_point_roaming_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) { return EINA_FALSE; } @@ -70,59 +70,59 @@ _efl_net_control_access_point_auto_connect_set(Eo *obj EINA_UNUSED, Efl_Net_Cont } EOLIAN static Eina_Bool -_efl_net_control_access_point_auto_connect_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) +_efl_net_control_access_point_auto_connect_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) { return EINA_FALSE; } EOLIAN static Eina_Bool -_efl_net_control_access_point_remembered_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) +_efl_net_control_access_point_remembered_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) { return EINA_FALSE; } EOLIAN static Eina_Bool -_efl_net_control_access_point_immutable_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) +_efl_net_control_access_point_immutable_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) { return EINA_FALSE; } EOLIAN static Efl_Net_Control_Access_Point_Security -_efl_net_control_access_point_security_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) +_efl_net_control_access_point_security_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) { return 0; } EOLIAN static Eina_Iterator * -_efl_net_control_access_point_name_servers_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) +_efl_net_control_access_point_name_servers_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) { return NULL; } EOLIAN static Eina_Iterator * -_efl_net_control_access_point_time_servers_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) +_efl_net_control_access_point_time_servers_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) { return NULL; } EOLIAN static Eina_Iterator * -_efl_net_control_access_point_domains_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) +_efl_net_control_access_point_domains_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) { return NULL; } EOLIAN static void -_efl_net_control_access_point_ipv4_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED, Efl_Net_Control_Access_Point_Ipv4_Method *method EINA_UNUSED, const char **address EINA_UNUSED, const char **netmask EINA_UNUSED, const char **gateway EINA_UNUSED) +_efl_net_control_access_point_ipv4_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED, Efl_Net_Control_Access_Point_Ipv4_Method *method EINA_UNUSED, const char **address EINA_UNUSED, const char **netmask EINA_UNUSED, const char **gateway EINA_UNUSED) { } EOLIAN static void -_efl_net_control_access_point_ipv6_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED, Efl_Net_Control_Access_Point_Ipv6_Method *method EINA_UNUSED, const char **address EINA_UNUSED, uint8_t *prefix_length EINA_UNUSED, const char **netmask EINA_UNUSED, const char **gateway EINA_UNUSED) +_efl_net_control_access_point_ipv6_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED, Efl_Net_Control_Access_Point_Ipv6_Method *method EINA_UNUSED, const char **address EINA_UNUSED, uint8_t *prefix_length EINA_UNUSED, const char **netmask EINA_UNUSED, const char **gateway EINA_UNUSED) { } EOLIAN static void -_efl_net_control_access_point_proxy_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED, Efl_Net_Control_Access_Point_Proxy_Method *method EINA_UNUSED, const char **url EINA_UNUSED, Eina_Iterator **servers EINA_UNUSED, Eina_Iterator **excludes EINA_UNUSED) +_efl_net_control_access_point_proxy_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED, Efl_Net_Control_Access_Point_Proxy_Method *method EINA_UNUSED, const char **url EINA_UNUSED, Eina_Iterator **servers EINA_UNUSED, Eina_Iterator **excludes EINA_UNUSED) { } @@ -132,7 +132,7 @@ _efl_net_control_access_point_configuration_name_servers_set(Eo *obj EINA_UNUSED } EOLIAN static Eina_Iterator * -_efl_net_control_access_point_configuration_name_servers_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) +_efl_net_control_access_point_configuration_name_servers_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) { return NULL; } @@ -143,7 +143,7 @@ _efl_net_control_access_point_configuration_time_servers_set(Eo *obj EINA_UNUSED } EOLIAN static Eina_Iterator * -_efl_net_control_access_point_configuration_time_servers_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) +_efl_net_control_access_point_configuration_time_servers_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) { return NULL; } @@ -154,7 +154,7 @@ _efl_net_control_access_point_configuration_domains_set(Eo *obj EINA_UNUSED, Efl } EOLIAN static Eina_Iterator * -_efl_net_control_access_point_configuration_domains_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) +_efl_net_control_access_point_configuration_domains_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED) { return NULL; } @@ -165,7 +165,7 @@ _efl_net_control_access_point_configuration_ipv4_set(Eo *obj EINA_UNUSED, Efl_Ne } EOLIAN static void -_efl_net_control_access_point_configuration_ipv4_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED, Efl_Net_Control_Access_Point_Ipv4_Method *method EINA_UNUSED, const char **address EINA_UNUSED, const char **netmask EINA_UNUSED, const char **gateway EINA_UNUSED) +_efl_net_control_access_point_configuration_ipv4_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED, Efl_Net_Control_Access_Point_Ipv4_Method *method EINA_UNUSED, const char **address EINA_UNUSED, const char **netmask EINA_UNUSED, const char **gateway EINA_UNUSED) { } @@ -175,7 +175,7 @@ _efl_net_control_access_point_configuration_ipv6_set(Eo *obj EINA_UNUSED, Efl_Ne } EOLIAN static void -_efl_net_control_access_point_configuration_ipv6_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED, Efl_Net_Control_Access_Point_Ipv6_Method *method EINA_UNUSED, const char **address EINA_UNUSED, uint8_t *prefix_length EINA_UNUSED, const char **netmask EINA_UNUSED, const char **gateway EINA_UNUSED) +_efl_net_control_access_point_configuration_ipv6_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED, Efl_Net_Control_Access_Point_Ipv6_Method *method EINA_UNUSED, const char **address EINA_UNUSED, uint8_t *prefix_length EINA_UNUSED, const char **netmask EINA_UNUSED, const char **gateway EINA_UNUSED) { } @@ -185,7 +185,7 @@ _efl_net_control_access_point_configuration_proxy_set(Eo *obj EINA_UNUSED, Efl_N } EOLIAN static void -_efl_net_control_access_point_configuration_proxy_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED, Efl_Net_Control_Access_Point_Proxy_Method *method EINA_UNUSED, const char **url EINA_UNUSED, Eina_Iterator **servers EINA_UNUSED, Eina_Iterator **excludes EINA_UNUSED) +_efl_net_control_access_point_configuration_proxy_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Access_Point_Data *pd EINA_UNUSED, Efl_Net_Control_Access_Point_Proxy_Method *method EINA_UNUSED, const char **url EINA_UNUSED, Eina_Iterator **servers EINA_UNUSED, Eina_Iterator **excludes EINA_UNUSED) { } diff --git a/src/lib/ecore_con/efl_net_control_technology-connman.c b/src/lib/ecore_con/efl_net_control_technology-connman.c index d868d29897..7a451e4b2b 100644 --- a/src/lib/ecore_con/efl_net_control_technology-connman.c +++ b/src/lib/ecore_con/efl_net_control_technology-connman.c @@ -301,7 +301,7 @@ _efl_net_control_technology_powered_set(Eo *o, Efl_Net_Control_Technology_Data * } EOLIAN static Eina_Bool -_efl_net_control_technology_powered_get(Eo *o EINA_UNUSED, Efl_Net_Control_Technology_Data *pd) +_efl_net_control_technology_powered_get(const Eo *o EINA_UNUSED, Efl_Net_Control_Technology_Data *pd) { return pd->powered; } @@ -319,7 +319,7 @@ _efl_net_control_technology_tethering_set(Eo *o, Efl_Net_Control_Technology_Data } EOLIAN static void -_efl_net_control_technology_tethering_get(Eo *o EINA_UNUSED, Efl_Net_Control_Technology_Data *pd, Eina_Bool *enabled, const char **identifier, const char **passphrase) +_efl_net_control_technology_tethering_get(const Eo *o EINA_UNUSED, Efl_Net_Control_Technology_Data *pd, Eina_Bool *enabled, const char **identifier, const char **passphrase) { if (enabled) *enabled = pd->tethering.enabled; if (identifier) *identifier = pd->tethering.identifier; @@ -327,19 +327,19 @@ _efl_net_control_technology_tethering_get(Eo *o EINA_UNUSED, Efl_Net_Control_Tec } EOLIAN static Eina_Bool -_efl_net_control_technology_connected_get(Eo *o EINA_UNUSED, Efl_Net_Control_Technology_Data *pd) +_efl_net_control_technology_connected_get(const Eo *o EINA_UNUSED, Efl_Net_Control_Technology_Data *pd) { return pd->connected; } EOLIAN static const char * -_efl_net_control_technology_efl_object_name_get(Eo *o EINA_UNUSED, Efl_Net_Control_Technology_Data *pd) +_efl_net_control_technology_efl_object_name_get(const Eo *o EINA_UNUSED, Efl_Net_Control_Technology_Data *pd) { return pd->name; } EOLIAN static Efl_Net_Control_Technology_Type -_efl_net_control_technology_type_get(Eo *o EINA_UNUSED, Efl_Net_Control_Technology_Data *pd) +_efl_net_control_technology_type_get(const Eo *o EINA_UNUSED, Efl_Net_Control_Technology_Data *pd) { return pd->type; } diff --git a/src/lib/ecore_con/efl_net_control_technology-none.c b/src/lib/ecore_con/efl_net_control_technology-none.c index 474701074c..3ef3d4bbaa 100644 --- a/src/lib/ecore_con/efl_net_control_technology-none.c +++ b/src/lib/ecore_con/efl_net_control_technology-none.c @@ -23,7 +23,7 @@ _efl_net_control_technology_powered_set(Eo *obj EINA_UNUSED, Efl_Net_Control_Tec } EOLIAN static Eina_Bool -_efl_net_control_technology_powered_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Technology_Data *pd EINA_UNUSED) +_efl_net_control_technology_powered_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Technology_Data *pd EINA_UNUSED) { return EINA_FALSE; } @@ -34,24 +34,24 @@ _efl_net_control_technology_tethering_set(Eo *obj EINA_UNUSED, Efl_Net_Control_T } EOLIAN static void -_efl_net_control_technology_tethering_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Technology_Data *pd EINA_UNUSED, Eina_Bool *enabled EINA_UNUSED, const char **identifier EINA_UNUSED, const char **passphrase EINA_UNUSED) +_efl_net_control_technology_tethering_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Technology_Data *pd EINA_UNUSED, Eina_Bool *enabled EINA_UNUSED, const char **identifier EINA_UNUSED, const char **passphrase EINA_UNUSED) { } EOLIAN static Eina_Bool -_efl_net_control_technology_connected_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Technology_Data *pd EINA_UNUSED) +_efl_net_control_technology_connected_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Technology_Data *pd EINA_UNUSED) { return EINA_FALSE; } EOLIAN static const char * -_efl_net_control_technology_efl_object_name_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Technology_Data *pd EINA_UNUSED) +_efl_net_control_technology_efl_object_name_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Technology_Data *pd EINA_UNUSED) { return NULL; } EOLIAN static Efl_Net_Control_Technology_Type -_efl_net_control_technology_type_get(Eo *obj EINA_UNUSED, Efl_Net_Control_Technology_Data *pd EINA_UNUSED) +_efl_net_control_technology_type_get(const Eo *obj EINA_UNUSED, Efl_Net_Control_Technology_Data *pd EINA_UNUSED) { return 0; } diff --git a/src/lib/ecore_con/efl_net_dialer_http.c b/src/lib/ecore_con/efl_net_dialer_http.c index 9feb2c5338..c31c0e4356 100644 --- a/src/lib/ecore_con/efl_net_dialer_http.c +++ b/src/lib/ecore_con/efl_net_dialer_http.c @@ -1442,7 +1442,7 @@ _efl_net_dialer_http_efl_net_dialer_address_dial_set(Eo *o, Efl_Net_Dialer_Http_ } EOLIAN static const char * -_efl_net_dialer_http_efl_net_dialer_address_dial_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_efl_net_dialer_address_dial_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return pd->address_dial; } @@ -1458,7 +1458,7 @@ _efl_net_dialer_http_efl_net_dialer_connected_set(Eo *o, Efl_Net_Dialer_Http_Dat } EOLIAN static Eina_Bool -_efl_net_dialer_http_efl_net_dialer_connected_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_efl_net_dialer_connected_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return pd->connected; } @@ -1477,7 +1477,7 @@ _efl_net_dialer_http_efl_net_dialer_proxy_set(Eo *o EINA_UNUSED, Efl_Net_Dialer_ } EOLIAN static const char * -_efl_net_dialer_http_efl_net_dialer_proxy_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_efl_net_dialer_proxy_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return pd->proxy; } @@ -1497,7 +1497,7 @@ _efl_net_dialer_http_efl_net_dialer_timeout_dial_set(Eo *o, Efl_Net_Dialer_Http_ } EOLIAN static double -_efl_net_dialer_http_efl_net_dialer_timeout_dial_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_efl_net_dialer_timeout_dial_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return pd->timeout_dial; } @@ -1509,7 +1509,7 @@ _efl_net_dialer_http_efl_net_socket_address_local_set(Eo *o EINA_UNUSED, Efl_Net } EOLIAN static const char * -_efl_net_dialer_http_efl_net_socket_address_local_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_efl_net_socket_address_local_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return pd->address_local; } @@ -1522,7 +1522,7 @@ _efl_net_dialer_http_efl_net_socket_address_remote_set(Eo *o, Efl_Net_Dialer_Htt } EOLIAN static const char * -_efl_net_dialer_http_efl_net_socket_address_remote_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_efl_net_socket_address_remote_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return pd->address_remote; } @@ -1609,7 +1609,7 @@ _efl_net_dialer_http_efl_io_reader_read(Eo *o, Efl_Net_Dialer_Http_Data *pd, Ein } EOLIAN static Eina_Bool -_efl_net_dialer_http_efl_io_reader_can_read_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_efl_io_reader_can_read_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return pd->can_read; } @@ -1624,7 +1624,7 @@ _efl_net_dialer_http_efl_io_reader_can_read_set(Eo *o, Efl_Net_Dialer_Http_Data } EOLIAN static Eina_Bool -_efl_net_dialer_http_efl_io_reader_eos_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_efl_io_reader_eos_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return pd->eos; } @@ -1697,7 +1697,7 @@ _efl_net_dialer_http_efl_io_writer_write(Eo *o, Efl_Net_Dialer_Http_Data *pd, Ei } EOLIAN static Eina_Bool -_efl_net_dialer_http_efl_io_writer_can_write_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_efl_io_writer_can_write_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return pd->can_write; } @@ -1769,7 +1769,7 @@ _efl_net_dialer_http_pending_close(Eo *o, const Eina_Value value EINA_UNUSED) } EOLIAN static Eina_Bool -_efl_net_dialer_http_efl_io_closer_closed_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_efl_io_closer_closed_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return pd->closed || (!!pd->pending_close); } @@ -1800,7 +1800,7 @@ _efl_net_dialer_http_efl_io_closer_close_on_exec_set(Eo *o EINA_UNUSED, Efl_Net_ } EOLIAN static Eina_Bool -_efl_net_dialer_http_efl_io_closer_close_on_exec_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_efl_io_closer_close_on_exec_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return pd->close_on_exec; } @@ -1812,7 +1812,7 @@ _efl_net_dialer_http_efl_io_closer_close_on_destructor_set(Eo *o EINA_UNUSED, Ef } EOLIAN static Eina_Bool -_efl_net_dialer_http_efl_io_closer_close_on_destructor_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_efl_io_closer_close_on_destructor_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return pd->close_on_destructor; } @@ -1839,7 +1839,7 @@ _efl_net_dialer_http_efl_io_sizer_resize(Eo *o, Efl_Net_Dialer_Http_Data *pd, ui } EOLIAN static uint64_t -_efl_net_dialer_http_efl_io_sizer_size_get(Eo *o, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_efl_io_sizer_size_get(const Eo *o, Efl_Net_Dialer_Http_Data *pd) { Efl_Net_Dialer_Http_Primary_Mode pm; int64_t len; @@ -1920,7 +1920,7 @@ _efl_net_dialer_http_method_set(Eo *o, Efl_Net_Dialer_Http_Data *pd, const char } EOLIAN static const char * -_efl_net_dialer_http_method_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_method_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return pd->method; } @@ -1933,7 +1933,7 @@ _efl_net_dialer_http_primary_mode_set(Eo *o, Efl_Net_Dialer_Http_Data *pd, Efl_N } EOLIAN static Efl_Net_Dialer_Http_Primary_Mode -_efl_net_dialer_http_primary_mode_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_primary_mode_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return _efl_net_dialer_http_primary_mode_effective_get(pd); } @@ -1952,7 +1952,7 @@ _efl_net_dialer_http_user_agent_set(Eo *o, Efl_Net_Dialer_Http_Data *pd, const c } EOLIAN static const char * -_efl_net_dialer_http_user_agent_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_user_agent_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return pd->user_agent; } @@ -1971,7 +1971,7 @@ _efl_net_dialer_http_http_version_set(Eo *o, Efl_Net_Dialer_Http_Data *pd, Efl_N } EOLIAN static Efl_Net_Http_Version -_efl_net_dialer_http_http_version_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_http_version_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return pd->version; } @@ -2009,7 +2009,7 @@ _efl_net_dialer_http_authentication_set(Eo *o, Efl_Net_Dialer_Http_Data *pd, con } EOLIAN static void -_efl_net_dialer_http_authentication_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd, const char **username, const char **password, Efl_Net_Http_Authentication_Method *method, Eina_Bool *restricted) +_efl_net_dialer_http_authentication_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd, const char **username, const char **password, Efl_Net_Http_Authentication_Method *method, Eina_Bool *restricted) { if (username) *username = pd->authentication.username; if (password) *password = pd->authentication.password; @@ -2031,13 +2031,13 @@ _efl_net_dialer_http_allow_redirects_set(Eo *o, Efl_Net_Dialer_Http_Data *pd, Ei } EOLIAN static Eina_Bool -_efl_net_dialer_http_allow_redirects_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_allow_redirects_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return pd->allow_redirects; } EOLIAN static Efl_Net_Http_Status -_efl_net_dialer_http_response_status_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_response_status_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return pd->response.status; } @@ -2167,7 +2167,7 @@ _efl_net_dialer_http_request_content_length_set(Eo *o, Efl_Net_Dialer_Http_Data } EOLIAN static int64_t -_efl_net_dialer_http_request_content_length_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_request_content_length_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return pd->request.content_length; } @@ -2187,7 +2187,7 @@ _efl_net_dialer_http_response_content_length_set(Eo *o, Efl_Net_Dialer_Http_Data } EOLIAN static int64_t -_efl_net_dialer_http_response_content_length_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_response_content_length_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return pd->response.content_length; } @@ -2199,7 +2199,7 @@ _efl_net_dialer_http_response_content_type_set(Eo *o EINA_UNUSED, Efl_Net_Dialer } EOLIAN static const char * -_efl_net_dialer_http_response_content_type_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_response_content_type_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return pd->response.content_type; } @@ -2233,14 +2233,14 @@ _efl_net_dialer_http_response_headers_clear(Eo *o EINA_UNUSED, Efl_Net_Dialer_Ht } EOLIAN static void -_efl_net_dialer_http_progress_download_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd, uint64_t *now, uint64_t *total) +_efl_net_dialer_http_progress_download_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd, uint64_t *now, uint64_t *total) { if (now) *now = pd->progress.download.now; if (total) *total = pd->progress.download.total; } EOLIAN static void -_efl_net_dialer_http_progress_upload_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd, uint64_t *now, uint64_t *total) +_efl_net_dialer_http_progress_upload_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd, uint64_t *now, uint64_t *total) { if (now) *now = pd->progress.upload.now; if (total) *total = pd->progress.upload.total; @@ -2291,7 +2291,7 @@ _efl_net_dialer_http_cookie_jar_set(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data } EOLIAN static const char * -_efl_net_dialer_http_cookie_jar_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_cookie_jar_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return pd->cookie_jar; } @@ -2319,7 +2319,7 @@ _efl_net_dialer_http_ssl_verify_set(Eo *o, Efl_Net_Dialer_Http_Data *pd, Eina_Bo } EOLIAN static void -_efl_net_dialer_http_ssl_verify_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd, Eina_Bool *peer, Eina_Bool *hostname) +_efl_net_dialer_http_ssl_verify_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd, Eina_Bool *peer, Eina_Bool *hostname) { if (peer) *peer = pd->ssl.verify_peer; if (hostname) *hostname = pd->ssl.verify_hostname; @@ -2344,7 +2344,7 @@ _efl_net_dialer_http_ssl_certificate_authority_set(Eo *o EINA_UNUSED, Efl_Net_Di } EOLIAN static const char * -_efl_net_dialer_http_ssl_certificate_authority_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_ssl_certificate_authority_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return pd->ssl.ca; } @@ -2363,7 +2363,7 @@ _efl_net_dialer_http_ssl_certificate_revocation_list_set(Eo *o EINA_UNUSED, Efl_ } EOLIAN static const char * -_efl_net_dialer_http_ssl_certificate_revocation_list_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) +_efl_net_dialer_http_ssl_certificate_revocation_list_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Http_Data *pd) { return pd->ssl.crl; } diff --git a/src/lib/ecore_con/efl_net_dialer_simple.c b/src/lib/ecore_con/efl_net_dialer_simple.c index 2aca537318..8bf7b169a6 100644 --- a/src/lib/ecore_con/efl_net_dialer_simple.c +++ b/src/lib/ecore_con/efl_net_dialer_simple.c @@ -168,13 +168,13 @@ _efl_net_dialer_simple_efl_net_dialer_dial(Eo *o, Efl_Net_Dialer_Simple_Data *pd } EOLIAN static const char * -_efl_net_dialer_simple_efl_net_dialer_address_dial_get(Eo *o, Efl_Net_Dialer_Simple_Data *pd EINA_UNUSED) +_efl_net_dialer_simple_efl_net_dialer_address_dial_get(const Eo *o, Efl_Net_Dialer_Simple_Data *pd EINA_UNUSED) { return efl_net_dialer_address_dial_get(efl_io_buffered_stream_inner_io_get(o)); } EOLIAN static Eina_Bool -_efl_net_dialer_simple_efl_net_dialer_connected_get(Eo *o, Efl_Net_Dialer_Simple_Data *pd EINA_UNUSED) +_efl_net_dialer_simple_efl_net_dialer_connected_get(const Eo *o, Efl_Net_Dialer_Simple_Data *pd EINA_UNUSED) { return efl_net_dialer_connected_get(efl_io_buffered_stream_inner_io_get(o)); } @@ -194,7 +194,7 @@ _efl_net_dialer_simple_efl_net_dialer_proxy_set(Eo *o, Efl_Net_Dialer_Simple_Dat } EOLIAN static const char * -_efl_net_dialer_simple_efl_net_dialer_proxy_get(Eo *o, Efl_Net_Dialer_Simple_Data *pd) +_efl_net_dialer_simple_efl_net_dialer_proxy_get(const Eo *o, Efl_Net_Dialer_Simple_Data *pd) { Eo *inner_io = efl_io_buffered_stream_inner_io_get(o); if (!inner_io) return pd->proxy_url; @@ -216,7 +216,7 @@ _efl_net_dialer_simple_efl_net_dialer_timeout_dial_set(Eo *o, Efl_Net_Dialer_Sim } EOLIAN static double -_efl_net_dialer_simple_efl_net_dialer_timeout_dial_get(Eo *o, Efl_Net_Dialer_Simple_Data *pd) +_efl_net_dialer_simple_efl_net_dialer_timeout_dial_get(const Eo *o, Efl_Net_Dialer_Simple_Data *pd) { Eo *inner_io = efl_io_buffered_stream_inner_io_get(o); if (!inner_io) return pd->dial_timeout; @@ -238,7 +238,7 @@ _efl_net_dialer_simple_efl_io_buffered_stream_timeout_inactivity_set(Eo *o, Efl_ } EOLIAN static double -_efl_net_dialer_simple_efl_io_buffered_stream_timeout_inactivity_get(Eo *o, Efl_Net_Dialer_Simple_Data *pd) +_efl_net_dialer_simple_efl_io_buffered_stream_timeout_inactivity_get(const Eo *o, Efl_Net_Dialer_Simple_Data *pd) { Eo *inner_io = efl_io_buffered_stream_inner_io_get(o); if (!inner_io) return pd->timeout_inactivity; @@ -260,7 +260,7 @@ _efl_net_dialer_simple_efl_io_buffered_stream_max_queue_size_input_set(Eo *o, Ef } EOLIAN static size_t -_efl_net_dialer_simple_efl_io_buffered_stream_max_queue_size_input_get(Eo *o, Efl_Net_Dialer_Simple_Data *pd) +_efl_net_dialer_simple_efl_io_buffered_stream_max_queue_size_input_get(const Eo *o, Efl_Net_Dialer_Simple_Data *pd) { Eo *inner_io = efl_io_buffered_stream_inner_io_get(o); if (!inner_io) return pd->max_queue_size_input; @@ -282,7 +282,7 @@ _efl_net_dialer_simple_efl_io_buffered_stream_max_queue_size_output_set(Eo *o, E } EOLIAN static size_t -_efl_net_dialer_simple_efl_io_buffered_stream_max_queue_size_output_get(Eo *o, Efl_Net_Dialer_Simple_Data *pd) +_efl_net_dialer_simple_efl_io_buffered_stream_max_queue_size_output_get(const Eo *o, Efl_Net_Dialer_Simple_Data *pd) { Eo *inner_io = efl_io_buffered_stream_inner_io_get(o); if (!inner_io) return pd->max_queue_size_output; @@ -304,7 +304,7 @@ _efl_net_dialer_simple_efl_io_buffered_stream_read_chunk_size_set(Eo *o, Efl_Net } EOLIAN static size_t -_efl_net_dialer_simple_efl_io_buffered_stream_read_chunk_size_get(Eo *o, Efl_Net_Dialer_Simple_Data *pd) +_efl_net_dialer_simple_efl_io_buffered_stream_read_chunk_size_get(const Eo *o, Efl_Net_Dialer_Simple_Data *pd) { Eo *inner_io = efl_io_buffered_stream_inner_io_get(o); if (!inner_io) return pd->read_chunk_size; @@ -342,7 +342,7 @@ _efl_net_dialer_simple_efl_io_buffered_stream_line_delimiter_set(Eo *o, Efl_Net_ } EOLIAN static Eina_Slice -_efl_net_dialer_simple_efl_io_buffered_stream_line_delimiter_get(Eo *o, Efl_Net_Dialer_Simple_Data *pd) +_efl_net_dialer_simple_efl_io_buffered_stream_line_delimiter_get(const Eo *o, Efl_Net_Dialer_Simple_Data *pd) { Eo *inner_io = efl_io_buffered_stream_inner_io_get(o); if (!inner_io) return pd->line_delimiter; @@ -359,7 +359,7 @@ _efl_net_dialer_simple_inner_class_set(Eo *o, Efl_Net_Dialer_Simple_Data *pd, co } EOLIAN static const Efl_Class * -_efl_net_dialer_simple_inner_class_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Simple_Data *pd) +_efl_net_dialer_simple_inner_class_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Simple_Data *pd) { return pd->inner_class; } diff --git a/src/lib/ecore_con/efl_net_dialer_ssl.c b/src/lib/ecore_con/efl_net_dialer_ssl.c index 93dabfaebb..b5a62c7b6b 100644 --- a/src/lib/ecore_con/efl_net_dialer_ssl.c +++ b/src/lib/ecore_con/efl_net_dialer_ssl.c @@ -131,7 +131,7 @@ _efl_net_dialer_ssl_ssl_context_set(Eo *o, Efl_Net_Dialer_Ssl_Data *pd, Eo *ssl_ } EOLIAN static Eo * -_efl_net_dialer_ssl_ssl_context_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Ssl_Data *pd) +_efl_net_dialer_ssl_ssl_context_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Ssl_Data *pd) { return pd->ssl_ctx; } @@ -174,7 +174,7 @@ _efl_net_dialer_ssl_efl_net_dialer_dial(Eo *o, Efl_Net_Dialer_Ssl_Data *pd, cons } EOLIAN static const char * -_efl_net_dialer_ssl_efl_net_dialer_address_dial_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Ssl_Data *pd) +_efl_net_dialer_ssl_efl_net_dialer_address_dial_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Ssl_Data *pd) { return efl_net_dialer_address_dial_get(pd->sock); } @@ -186,7 +186,7 @@ _efl_net_dialer_ssl_efl_net_dialer_proxy_set(Eo *o EINA_UNUSED, Efl_Net_Dialer_S } EOLIAN static const char * -_efl_net_dialer_ssl_efl_net_dialer_proxy_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Ssl_Data *pd) +_efl_net_dialer_ssl_efl_net_dialer_proxy_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Ssl_Data *pd) { return efl_net_dialer_proxy_get(pd->sock); } @@ -202,7 +202,7 @@ _efl_net_dialer_ssl_efl_net_dialer_timeout_dial_set(Eo *o, Efl_Net_Dialer_Ssl_Da } EOLIAN static double -_efl_net_dialer_ssl_efl_net_dialer_timeout_dial_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Ssl_Data *pd) +_efl_net_dialer_ssl_efl_net_dialer_timeout_dial_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Ssl_Data *pd) { return efl_net_dialer_timeout_dial_get(pd->sock); } @@ -218,7 +218,7 @@ _efl_net_dialer_ssl_efl_net_dialer_connected_set(Eo *o, Efl_Net_Dialer_Ssl_Data } EOLIAN static Eina_Bool -_efl_net_dialer_ssl_efl_net_dialer_connected_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Ssl_Data *pd) +_efl_net_dialer_ssl_efl_net_dialer_connected_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Ssl_Data *pd) { return pd->connected; } @@ -237,7 +237,7 @@ _efl_net_dialer_ssl_keep_alive_set(Eo *o EINA_UNUSED, Efl_Net_Dialer_Ssl_Data *p } EOLIAN static Eina_Bool -_efl_net_dialer_ssl_keep_alive_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Ssl_Data *pd) +_efl_net_dialer_ssl_keep_alive_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Ssl_Data *pd) { return efl_net_socket_tcp_keep_alive_get(pd->sock); } @@ -249,7 +249,7 @@ _efl_net_dialer_ssl_no_delay_set(Eo *o EINA_UNUSED, Efl_Net_Dialer_Ssl_Data *pd, } EOLIAN static Eina_Bool -_efl_net_dialer_ssl_no_delay_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Ssl_Data *pd) +_efl_net_dialer_ssl_no_delay_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Ssl_Data *pd) { return efl_net_socket_tcp_no_delay_get(pd->sock); } diff --git a/src/lib/ecore_con/efl_net_dialer_tcp.c b/src/lib/ecore_con/efl_net_dialer_tcp.c index 1caf1acad5..88f1bb7bb8 100644 --- a/src/lib/ecore_con/efl_net_dialer_tcp.c +++ b/src/lib/ecore_con/efl_net_dialer_tcp.c @@ -200,7 +200,7 @@ _efl_net_dialer_tcp_efl_net_dialer_address_dial_set(Eo *o EINA_UNUSED, Efl_Net_D } EOLIAN static const char * -_efl_net_dialer_tcp_efl_net_dialer_address_dial_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Tcp_Data *pd) +_efl_net_dialer_tcp_efl_net_dialer_address_dial_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Tcp_Data *pd) { return pd->address_dial; } @@ -212,7 +212,7 @@ _efl_net_dialer_tcp_efl_net_dialer_proxy_set(Eo *o EINA_UNUSED, Efl_Net_Dialer_T } EOLIAN static const char * -_efl_net_dialer_tcp_efl_net_dialer_proxy_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Tcp_Data *pd) +_efl_net_dialer_tcp_efl_net_dialer_proxy_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Tcp_Data *pd) { return pd->proxy; } @@ -226,7 +226,7 @@ _efl_net_dialer_tcp_efl_net_dialer_timeout_dial_set(Eo *o EINA_UNUSED, Efl_Net_D } EOLIAN static double -_efl_net_dialer_tcp_efl_net_dialer_timeout_dial_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Tcp_Data *pd) +_efl_net_dialer_tcp_efl_net_dialer_timeout_dial_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Tcp_Data *pd) { return pd->timeout_dial; } @@ -241,7 +241,7 @@ _efl_net_dialer_tcp_efl_net_dialer_connected_set(Eo *o, Efl_Net_Dialer_Tcp_Data } EOLIAN static Eina_Bool -_efl_net_dialer_tcp_efl_net_dialer_connected_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Tcp_Data *pd) +_efl_net_dialer_tcp_efl_net_dialer_connected_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Tcp_Data *pd) { return pd->connected; } diff --git a/src/lib/ecore_con/efl_net_dialer_udp.c b/src/lib/ecore_con/efl_net_dialer_udp.c index 19fc0f4ad4..1c7eda3fd1 100644 --- a/src/lib/ecore_con/efl_net_dialer_udp.c +++ b/src/lib/ecore_con/efl_net_dialer_udp.c @@ -288,7 +288,7 @@ _efl_net_dialer_udp_efl_net_dialer_address_dial_set(Eo *o EINA_UNUSED, Efl_Net_D } EOLIAN static const char * -_efl_net_dialer_udp_efl_net_dialer_address_dial_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Udp_Data *pd) +_efl_net_dialer_udp_efl_net_dialer_address_dial_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Udp_Data *pd) { return pd->address_dial; } @@ -302,7 +302,7 @@ _efl_net_dialer_udp_efl_net_dialer_timeout_dial_set(Eo *o EINA_UNUSED, Efl_Net_D } EOLIAN static double -_efl_net_dialer_udp_efl_net_dialer_timeout_dial_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Udp_Data *pd) +_efl_net_dialer_udp_efl_net_dialer_timeout_dial_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Udp_Data *pd) { return pd->timeout_dial; } @@ -317,7 +317,7 @@ _efl_net_dialer_udp_efl_net_dialer_connected_set(Eo *o, Efl_Net_Dialer_Udp_Data } EOLIAN static Eina_Bool -_efl_net_dialer_udp_efl_net_dialer_connected_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Udp_Data *pd) +_efl_net_dialer_udp_efl_net_dialer_connected_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Udp_Data *pd) { return pd->connected; } diff --git a/src/lib/ecore_con/efl_net_dialer_unix.c b/src/lib/ecore_con/efl_net_dialer_unix.c index 452794080d..9c20bf19c6 100644 --- a/src/lib/ecore_con/efl_net_dialer_unix.c +++ b/src/lib/ecore_con/efl_net_dialer_unix.c @@ -190,7 +190,7 @@ _efl_net_dialer_unix_efl_net_dialer_address_dial_set(Eo *o EINA_UNUSED, Efl_Net_ } EOLIAN static const char * -_efl_net_dialer_unix_efl_net_dialer_address_dial_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Unix_Data *pd) +_efl_net_dialer_unix_efl_net_dialer_address_dial_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Unix_Data *pd) { return pd->address_dial; } @@ -205,7 +205,7 @@ _efl_net_dialer_unix_efl_net_dialer_timeout_dial_set(Eo *o, Efl_Net_Dialer_Unix_ } EOLIAN static double -_efl_net_dialer_unix_efl_net_dialer_timeout_dial_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Unix_Data *pd) +_efl_net_dialer_unix_efl_net_dialer_timeout_dial_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Unix_Data *pd) { return pd->timeout_dial; } @@ -220,7 +220,7 @@ _efl_net_dialer_unix_efl_net_dialer_connected_set(Eo *o, Efl_Net_Dialer_Unix_Dat } EOLIAN static Eina_Bool -_efl_net_dialer_unix_efl_net_dialer_connected_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Unix_Data *pd) +_efl_net_dialer_unix_efl_net_dialer_connected_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Unix_Data *pd) { return pd->connected; } diff --git a/src/lib/ecore_con/efl_net_dialer_websocket.c b/src/lib/ecore_con/efl_net_dialer_websocket.c index 982a6e4064..4d9487de58 100644 --- a/src/lib/ecore_con/efl_net_dialer_websocket.c +++ b/src/lib/ecore_con/efl_net_dialer_websocket.c @@ -1166,7 +1166,7 @@ _efl_net_dialer_websocket_efl_net_dialer_address_dial_set(Eo *o EINA_UNUSED, Efl } EOLIAN static const char * -_efl_net_dialer_websocket_efl_net_dialer_address_dial_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) +_efl_net_dialer_websocket_efl_net_dialer_address_dial_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) { return pd->address_dial; } @@ -1181,7 +1181,7 @@ _efl_net_dialer_websocket_efl_net_dialer_connected_set(Eo *o, Efl_Net_Dialer_Web } EOLIAN static Eina_Bool -_efl_net_dialer_websocket_efl_net_dialer_connected_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) +_efl_net_dialer_websocket_efl_net_dialer_connected_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) { return pd->connected; } @@ -1193,7 +1193,7 @@ _efl_net_dialer_websocket_efl_net_dialer_proxy_set(Eo *o EINA_UNUSED, Efl_Net_Di } EOLIAN static const char * -_efl_net_dialer_websocket_efl_net_dialer_proxy_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) +_efl_net_dialer_websocket_efl_net_dialer_proxy_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) { return efl_net_dialer_proxy_get(pd->http); } @@ -1205,13 +1205,13 @@ _efl_net_dialer_websocket_efl_net_dialer_timeout_dial_set(Eo *o EINA_UNUSED, Efl } EOLIAN static double -_efl_net_dialer_websocket_efl_net_dialer_timeout_dial_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) +_efl_net_dialer_websocket_efl_net_dialer_timeout_dial_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) { return efl_net_dialer_timeout_dial_get(pd->http); } EOLIAN static const char * -_efl_net_dialer_websocket_efl_net_socket_address_local_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) +_efl_net_dialer_websocket_efl_net_socket_address_local_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) { return efl_net_socket_address_local_get(pd->http); } @@ -1224,7 +1224,7 @@ _efl_net_dialer_websocket_efl_net_socket_address_remote_set(Eo *o EINA_UNUSED, E } EOLIAN static const char * -_efl_net_dialer_websocket_efl_net_socket_address_remote_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) +_efl_net_dialer_websocket_efl_net_socket_address_remote_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) { return pd->address_remote; } @@ -1281,7 +1281,7 @@ _efl_net_dialer_websocket_efl_io_reader_read(Eo *o, Efl_Net_Dialer_Websocket_Dat } EOLIAN static Eina_Bool -_efl_net_dialer_websocket_efl_io_reader_can_read_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) +_efl_net_dialer_websocket_efl_io_reader_can_read_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) { return pd->can_read; } @@ -1296,7 +1296,7 @@ _efl_net_dialer_websocket_efl_io_reader_can_read_set(Eo *o, Efl_Net_Dialer_Webso } EOLIAN static Eina_Bool -_efl_net_dialer_websocket_efl_io_reader_eos_get(Eo *o, Efl_Net_Dialer_Websocket_Data *pd) +_efl_net_dialer_websocket_efl_io_reader_eos_get(const Eo *o, Efl_Net_Dialer_Websocket_Data *pd) { return !pd->can_read && efl_io_closer_closed_get(o); } @@ -1326,7 +1326,7 @@ _efl_net_dialer_websocket_efl_io_writer_write(Eo *o, Efl_Net_Dialer_Websocket_Da } EOLIAN static Eina_Bool -_efl_net_dialer_websocket_efl_io_writer_can_write_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) +_efl_net_dialer_websocket_efl_io_writer_can_write_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) { return pd->can_write; } @@ -1351,7 +1351,7 @@ _efl_net_dialer_websocket_efl_io_closer_close(Eo *o, Efl_Net_Dialer_Websocket_Da } EOLIAN static Eina_Bool -_efl_net_dialer_websocket_efl_io_closer_closed_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) +_efl_net_dialer_websocket_efl_io_closer_closed_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) { return pd->close_requested || efl_io_closer_closed_get(pd->http); } @@ -1363,7 +1363,7 @@ _efl_net_dialer_websocket_efl_io_closer_close_on_exec_set(Eo *o EINA_UNUSED, Efl } EOLIAN static Eina_Bool -_efl_net_dialer_websocket_efl_io_closer_close_on_exec_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) +_efl_net_dialer_websocket_efl_io_closer_close_on_exec_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) { return efl_io_closer_close_on_exec_get(pd->http); } @@ -1375,7 +1375,7 @@ _efl_net_dialer_websocket_efl_io_closer_close_on_destructor_set(Eo *o EINA_UNUSE } EOLIAN static Eina_Bool -_efl_net_dialer_websocket_efl_io_closer_close_on_destructor_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) +_efl_net_dialer_websocket_efl_io_closer_close_on_destructor_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) { return efl_io_closer_close_on_destructor_get(pd->http); } @@ -1393,7 +1393,7 @@ _efl_net_dialer_websocket_streaming_mode_set(Eo *o, Efl_Net_Dialer_Websocket_Dat } EOLIAN static Efl_Net_Dialer_Websocket_Streaming_Mode -_efl_net_dialer_websocket_streaming_mode_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) +_efl_net_dialer_websocket_streaming_mode_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) { return pd->streaming_mode; } @@ -1405,7 +1405,7 @@ _efl_net_dialer_websocket_user_agent_set(Eo *o EINA_UNUSED, Efl_Net_Dialer_Webso } EOLIAN static const char * -_efl_net_dialer_websocket_user_agent_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) +_efl_net_dialer_websocket_user_agent_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) { return efl_net_dialer_http_user_agent_get(pd->http); } @@ -1417,7 +1417,7 @@ _efl_net_dialer_websocket_authentication_set(Eo *o EINA_UNUSED, Efl_Net_Dialer_W } EOLIAN static void -_efl_net_dialer_websocket_authentication_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd, const char **username, const char **password, Efl_Net_Http_Authentication_Method *method, Eina_Bool *restricted) +_efl_net_dialer_websocket_authentication_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd, const char **username, const char **password, Efl_Net_Http_Authentication_Method *method, Eina_Bool *restricted) { efl_net_dialer_http_authentication_get(pd->http, username, password, method, restricted); } @@ -1429,7 +1429,7 @@ _efl_net_dialer_websocket_allow_redirects_set(Eo *o EINA_UNUSED, Efl_Net_Dialer_ } EOLIAN static Eina_Bool -_efl_net_dialer_websocket_allow_redirects_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) +_efl_net_dialer_websocket_allow_redirects_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) { return efl_net_dialer_http_allow_redirects_get(pd->http); } @@ -1441,7 +1441,7 @@ _efl_net_dialer_websocket_cookie_jar_set(Eo *o EINA_UNUSED, Efl_Net_Dialer_Webso } EOLIAN static const char * -_efl_net_dialer_websocket_cookie_jar_get(Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) +_efl_net_dialer_websocket_cookie_jar_get(const Eo *o EINA_UNUSED, Efl_Net_Dialer_Websocket_Data *pd) { return efl_net_dialer_http_cookie_jar_get(pd->http); } diff --git a/src/lib/ecore_con/efl_net_ip_address.c b/src/lib/ecore_con/efl_net_ip_address.c index 34cf4eff93..802cd206a9 100644 --- a/src/lib/ecore_con/efl_net_ip_address.c +++ b/src/lib/ecore_con/efl_net_ip_address.c @@ -60,7 +60,7 @@ _efl_net_ip_address_efl_object_finalize(Eo *o, Efl_Net_Ip_Address_Data *pd) } EOLIAN static const char * -_efl_net_ip_address_string_get(Eo *o EINA_UNUSED, Efl_Net_Ip_Address_Data *pd) +_efl_net_ip_address_string_get(const Eo *o EINA_UNUSED, Efl_Net_Ip_Address_Data *pd) { return pd->string; } @@ -85,7 +85,7 @@ _efl_net_ip_address_family_set(Eo *o EINA_UNUSED, Efl_Net_Ip_Address_Data *pd, i } EOLIAN static int -_efl_net_ip_address_family_get(Eo *o EINA_UNUSED, Efl_Net_Ip_Address_Data *pd) +_efl_net_ip_address_family_get(const Eo *o EINA_UNUSED, Efl_Net_Ip_Address_Data *pd) { return pd->addr.sa_family; } @@ -112,7 +112,7 @@ _efl_net_ip_address_port_set(Eo *o EINA_UNUSED, Efl_Net_Ip_Address_Data *pd, uin } EOLIAN static uint16_t -_efl_net_ip_address_port_get(Eo *o EINA_UNUSED, Efl_Net_Ip_Address_Data *pd) +_efl_net_ip_address_port_get(const Eo *o EINA_UNUSED, Efl_Net_Ip_Address_Data *pd) { const uint16_t *pport; @@ -167,7 +167,7 @@ _efl_net_ip_address_address_set(Eo *o EINA_UNUSED, Efl_Net_Ip_Address_Data *pd, } EOLIAN static Eina_Slice -_efl_net_ip_address_address_get(Eo *o EINA_UNUSED, Efl_Net_Ip_Address_Data *pd) +_efl_net_ip_address_address_get(const Eo *o EINA_UNUSED, Efl_Net_Ip_Address_Data *pd) { return pd->addr_slice; } @@ -197,7 +197,7 @@ _efl_net_ip_address_sockaddr_set(Eo *o EINA_UNUSED, Efl_Net_Ip_Address_Data *pd, } EOLIAN static const void * -_efl_net_ip_address_sockaddr_get(Eo *o EINA_UNUSED, Efl_Net_Ip_Address_Data *pd) +_efl_net_ip_address_sockaddr_get(const Eo *o EINA_UNUSED, Efl_Net_Ip_Address_Data *pd) { return &pd->addr; } diff --git a/src/lib/ecore_con/efl_net_server_fd.c b/src/lib/ecore_con/efl_net_server_fd.c index 5fede8d0f7..8a493404a9 100644 --- a/src/lib/ecore_con/efl_net_server_fd.c +++ b/src/lib/ecore_con/efl_net_server_fd.c @@ -153,13 +153,13 @@ _efl_net_server_fd_efl_net_server_address_set(Eo *o EINA_UNUSED, Efl_Net_Server_ } EOLIAN static const char * -_efl_net_server_fd_efl_net_server_address_get(Eo *o EINA_UNUSED, Efl_Net_Server_Fd_Data *pd) +_efl_net_server_fd_efl_net_server_address_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Fd_Data *pd) { return pd->address; } EOLIAN static unsigned int -_efl_net_server_fd_efl_net_server_clients_count_get(Eo *o EINA_UNUSED, Efl_Net_Server_Fd_Data *pd) +_efl_net_server_fd_efl_net_server_clients_count_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Fd_Data *pd) { return pd->clients_count; } @@ -186,7 +186,7 @@ _efl_net_server_fd_efl_net_server_clients_limit_set(Eo *o EINA_UNUSED, Efl_Net_S } EOLIAN static void -_efl_net_server_fd_efl_net_server_clients_limit_get(Eo *o EINA_UNUSED, Efl_Net_Server_Fd_Data *pd, unsigned int *limit, Eina_Bool *reject_excess) +_efl_net_server_fd_efl_net_server_clients_limit_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Fd_Data *pd, unsigned int *limit, Eina_Bool *reject_excess) { if (limit) *limit = pd->clients_limit; if (reject_excess) *reject_excess = pd->clients_reject_excess; @@ -209,7 +209,7 @@ _efl_net_server_fd_efl_net_server_serve(Eo *o EINA_UNUSED, Efl_Net_Server_Fd_Dat } EOLIAN static Eina_Bool -_efl_net_server_fd_efl_net_server_serving_get(Eo *o EINA_UNUSED, Efl_Net_Server_Fd_Data *pd) +_efl_net_server_fd_efl_net_server_serving_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Fd_Data *pd) { return pd->serving; } @@ -296,7 +296,7 @@ _efl_net_server_fd_close_on_exec_set(Eo *o, Efl_Net_Server_Fd_Data *pd, Eina_Boo } EOLIAN static Eina_Bool -_efl_net_server_fd_close_on_exec_get(Eo *o, Efl_Net_Server_Fd_Data *pd) +_efl_net_server_fd_close_on_exec_get(const Eo *o, Efl_Net_Server_Fd_Data *pd) { #ifdef FD_CLOEXEC SOCKET fd; @@ -347,7 +347,7 @@ _efl_net_server_fd_reuse_address_set(Eo *o, Efl_Net_Server_Fd_Data *pd, Eina_Boo } EOLIAN static Eina_Bool -_efl_net_server_fd_reuse_address_get(Eo *o, Efl_Net_Server_Fd_Data *pd) +_efl_net_server_fd_reuse_address_get(const Eo *o, Efl_Net_Server_Fd_Data *pd) { SOCKET fd; int value = 0; @@ -402,7 +402,7 @@ _efl_net_server_fd_reuse_port_set(Eo *o, Efl_Net_Server_Fd_Data *pd, Eina_Bool r } EOLIAN static Eina_Bool -_efl_net_server_fd_reuse_port_get(Eo *o, Efl_Net_Server_Fd_Data *pd) +_efl_net_server_fd_reuse_port_get(const Eo *o, Efl_Net_Server_Fd_Data *pd) { #ifdef SO_REUSEPORT SOCKET fd; @@ -438,7 +438,7 @@ _efl_net_server_fd_family_set(Eo *o EINA_UNUSED, Efl_Net_Server_Fd_Data *pd, int } EOLIAN static int -_efl_net_server_fd_family_get(Eo *o EINA_UNUSED, Efl_Net_Server_Fd_Data *pd) +_efl_net_server_fd_family_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Fd_Data *pd) { return pd->family; } diff --git a/src/lib/ecore_con/efl_net_server_ip.c b/src/lib/ecore_con/efl_net_server_ip.c index 210af3bc1e..ea7770a695 100644 --- a/src/lib/ecore_con/efl_net_server_ip.c +++ b/src/lib/ecore_con/efl_net_server_ip.c @@ -74,7 +74,7 @@ _efl_net_server_ip_ipv6_only_set(Eo *o, Efl_Net_Server_Ip_Data *pd, Eina_Bool ip } EOLIAN Eina_Bool -_efl_net_server_ip_ipv6_only_get(Eo *o EINA_UNUSED, Efl_Net_Server_Ip_Data *pd) +_efl_net_server_ip_ipv6_only_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Ip_Data *pd) { return pd->ipv6_only; } diff --git a/src/lib/ecore_con/efl_net_server_simple.c b/src/lib/ecore_con/efl_net_server_simple.c index 479948b2e0..d9b1b73178 100644 --- a/src/lib/ecore_con/efl_net_server_simple.c +++ b/src/lib/ecore_con/efl_net_server_simple.c @@ -178,13 +178,13 @@ _efl_net_server_simple_efl_net_server_serve(Eo *o EINA_UNUSED, Efl_Net_Server_Si } EOLIAN static const char * -_efl_net_server_simple_efl_net_server_address_get(Eo *o EINA_UNUSED, Efl_Net_Server_Simple_Data *pd) +_efl_net_server_simple_efl_net_server_address_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Simple_Data *pd) { return efl_net_server_address_get(pd->inner_server); } EOLIAN static unsigned int -_efl_net_server_simple_efl_net_server_clients_count_get(Eo *o EINA_UNUSED, Efl_Net_Server_Simple_Data *pd) +_efl_net_server_simple_efl_net_server_clients_count_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Simple_Data *pd) { return efl_net_server_clients_count_get(pd->inner_server); } @@ -196,13 +196,13 @@ _efl_net_server_simple_efl_net_server_clients_limit_set(Eo *o EINA_UNUSED, Efl_N } EOLIAN static void -_efl_net_server_simple_efl_net_server_clients_limit_get(Eo *o EINA_UNUSED, Efl_Net_Server_Simple_Data *pd, unsigned int *limit, Eina_Bool *reject_excess) +_efl_net_server_simple_efl_net_server_clients_limit_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Simple_Data *pd, unsigned int *limit, Eina_Bool *reject_excess) { efl_net_server_clients_limit_get(pd->inner_server, limit, reject_excess); } EOLIAN static Eina_Bool -_efl_net_server_simple_efl_net_server_serving_get(Eo *o EINA_UNUSED, Efl_Net_Server_Simple_Data *pd) +_efl_net_server_simple_efl_net_server_serving_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Simple_Data *pd) { return efl_net_server_serving_get(pd->inner_server); } @@ -217,7 +217,7 @@ _efl_net_server_simple_inner_class_set(Eo *o, Efl_Net_Server_Simple_Data *pd, co } EOLIAN static const Efl_Class * -_efl_net_server_simple_inner_class_get(Eo *o EINA_UNUSED, Efl_Net_Server_Simple_Data *pd) +_efl_net_server_simple_inner_class_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Simple_Data *pd) { return pd->inner_class; } @@ -236,7 +236,7 @@ _efl_net_server_simple_inner_server_set(Eo *o, Efl_Net_Server_Simple_Data *pd, E } EOLIAN static Efl_Object * -_efl_net_server_simple_inner_server_get(Eo *o EINA_UNUSED, Efl_Net_Server_Simple_Data *pd) +_efl_net_server_simple_inner_server_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Simple_Data *pd) { return pd->inner_server; } diff --git a/src/lib/ecore_con/efl_net_server_ssl.c b/src/lib/ecore_con/efl_net_server_ssl.c index 0cf56cf8e8..74292a1bd9 100644 --- a/src/lib/ecore_con/efl_net_server_ssl.c +++ b/src/lib/ecore_con/efl_net_server_ssl.c @@ -180,7 +180,7 @@ _efl_net_server_ssl_ssl_context_set(Eo *o EINA_UNUSED, Efl_Net_Server_Ssl_Data * } EOLIAN static Eo * -_efl_net_server_ssl_ssl_context_get(Eo *o EINA_UNUSED, Efl_Net_Server_Ssl_Data *pd) +_efl_net_server_ssl_ssl_context_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Ssl_Data *pd) { return pd->ssl_ctx; } diff --git a/src/lib/ecore_con/efl_net_server_udp.c b/src/lib/ecore_con/efl_net_server_udp.c index c3401d8b99..674945ec86 100644 --- a/src/lib/ecore_con/efl_net_server_udp.c +++ b/src/lib/ecore_con/efl_net_server_udp.c @@ -425,7 +425,7 @@ _efl_net_server_udp_dont_route_set(Eo *o, Efl_Net_Server_Udp_Data *pd, Eina_Bool } EOLIAN static Eina_Bool -_efl_net_server_udp_dont_route_get(Eo *o, Efl_Net_Server_Udp_Data *pd) +_efl_net_server_udp_dont_route_get(const Eo *o, Efl_Net_Server_Udp_Data *pd) { SOCKET fd = efl_loop_fd_get(o); #ifdef _WIN32 @@ -545,7 +545,7 @@ _efl_net_server_udp_multicast_time_to_live_set(Eo *o, Efl_Net_Server_Udp_Data *p } EOLIAN static uint8_t -_efl_net_server_udp_multicast_time_to_live_get(Eo *o, Efl_Net_Server_Udp_Data *pd) +_efl_net_server_udp_multicast_time_to_live_get(const Eo *o, Efl_Net_Server_Udp_Data *pd) { SOCKET fd = efl_loop_fd_get(o); Eina_Error err; @@ -584,7 +584,7 @@ _efl_net_server_udp_multicast_loopback_set(Eo *o, Efl_Net_Server_Udp_Data *pd, E } EOLIAN static Eina_Bool -_efl_net_server_udp_multicast_loopback_get(Eo *o, Efl_Net_Server_Udp_Data *pd) +_efl_net_server_udp_multicast_loopback_get(const Eo *o, Efl_Net_Server_Udp_Data *pd) { SOCKET fd = efl_loop_fd_get(o); Eina_Error err; diff --git a/src/lib/ecore_con/efl_net_server_udp_client.c b/src/lib/ecore_con/efl_net_server_udp_client.c index 134a05cb65..33d4716269 100644 --- a/src/lib/ecore_con/efl_net_server_udp_client.c +++ b/src/lib/ecore_con/efl_net_server_udp_client.c @@ -217,7 +217,7 @@ _efl_net_server_udp_client_efl_io_writer_write(Eo *o, Efl_Net_Server_Udp_Client_ } EOLIAN static Eina_Bool -_efl_net_server_udp_client_efl_io_reader_can_read_get(Eo *o EINA_UNUSED, Efl_Net_Server_Udp_Client_Data *pd) +_efl_net_server_udp_client_efl_io_reader_can_read_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Udp_Client_Data *pd) { return pd->can_read; } @@ -232,7 +232,7 @@ _efl_net_server_udp_client_efl_io_reader_can_read_set(Eo *o, Efl_Net_Server_Udp_ } EOLIAN static Eina_Bool -_efl_net_server_udp_client_efl_io_reader_eos_get(Eo *o EINA_UNUSED, Efl_Net_Server_Udp_Client_Data *pd) +_efl_net_server_udp_client_efl_io_reader_eos_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Udp_Client_Data *pd) { return pd->eos; } @@ -248,7 +248,7 @@ _efl_net_server_udp_client_efl_io_reader_eos_set(Eo *o, Efl_Net_Server_Udp_Clien } EOLIAN static Eina_Bool -_efl_net_server_udp_client_efl_io_writer_can_write_get(Eo *o EINA_UNUSED, Efl_Net_Server_Udp_Client_Data *pd) +_efl_net_server_udp_client_efl_io_writer_can_write_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Udp_Client_Data *pd) { return pd->can_write; } @@ -263,7 +263,7 @@ _efl_net_server_udp_client_efl_io_writer_can_write_set(Eo *o, Efl_Net_Server_Udp } EOLIAN static Eina_Bool -_efl_net_server_udp_client_efl_io_closer_closed_get(Eo *o EINA_UNUSED, Efl_Net_Server_Udp_Client_Data *pd) +_efl_net_server_udp_client_efl_io_closer_closed_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Udp_Client_Data *pd) { return pd->fd == INVALID_SOCKET; } @@ -275,7 +275,7 @@ _efl_net_server_udp_client_efl_io_closer_close_on_destructor_set(Eo *o EINA_UNUS } EOLIAN static Eina_Bool -_efl_net_server_udp_client_efl_io_closer_close_on_destructor_get(Eo *o EINA_UNUSED, Efl_Net_Server_Udp_Client_Data *pd) +_efl_net_server_udp_client_efl_io_closer_close_on_destructor_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Udp_Client_Data *pd) { return pd->close_on_destructor; } @@ -293,7 +293,7 @@ _efl_net_server_udp_client_efl_io_closer_close_on_exec_set(Eo *o, Efl_Net_Server } EOLIAN static Eina_Bool -_efl_net_server_udp_client_efl_io_closer_close_on_exec_get(Eo *o, Efl_Net_Server_Udp_Client_Data *pd EINA_UNUSED) +_efl_net_server_udp_client_efl_io_closer_close_on_exec_get(const Eo *o, Efl_Net_Server_Udp_Client_Data *pd EINA_UNUSED) { return efl_net_server_fd_close_on_exec_get(efl_parent_get(o)); } @@ -305,7 +305,7 @@ _efl_net_server_udp_client_efl_net_socket_address_local_set(Eo *o EINA_UNUSED, E } EOLIAN static const char * -_efl_net_server_udp_client_efl_net_socket_address_local_get(Eo *o EINA_UNUSED, Efl_Net_Server_Udp_Client_Data *pd) +_efl_net_server_udp_client_efl_net_socket_address_local_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Udp_Client_Data *pd) { return pd->address_local; } @@ -317,7 +317,7 @@ _efl_net_server_udp_client_efl_net_socket_address_remote_set(Eo *o EINA_UNUSED, } EOLIAN static const char * -_efl_net_server_udp_client_efl_net_socket_address_remote_get(Eo *o EINA_UNUSED, Efl_Net_Server_Udp_Client_Data *pd) +_efl_net_server_udp_client_efl_net_socket_address_remote_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Udp_Client_Data *pd) { return pd->address_remote; } diff --git a/src/lib/ecore_con/efl_net_server_unix.c b/src/lib/ecore_con/efl_net_server_unix.c index 65f2b255e1..a0ab684858 100644 --- a/src/lib/ecore_con/efl_net_server_unix.c +++ b/src/lib/ecore_con/efl_net_server_unix.c @@ -285,7 +285,7 @@ _efl_net_server_unix_unlink_before_bind_set(Eo *o EINA_UNUSED, Efl_Net_Server_Un } static Eina_Bool -_efl_net_server_unix_unlink_before_bind_get(Eo *o EINA_UNUSED, Efl_Net_Server_Unix_Data *pd) +_efl_net_server_unix_unlink_before_bind_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Unix_Data *pd) { return pd->unlink_before_bind; } @@ -299,7 +299,7 @@ _efl_net_server_unix_leading_directories_create_set(Eo *o EINA_UNUSED, Efl_Net_S } static void -_efl_net_server_unix_leading_directories_create_get(Eo *o EINA_UNUSED, Efl_Net_Server_Unix_Data *pd, Eina_Bool *do_it, unsigned int *mode) +_efl_net_server_unix_leading_directories_create_get(const Eo *o EINA_UNUSED, Efl_Net_Server_Unix_Data *pd, Eina_Bool *do_it, unsigned int *mode) { if (do_it) *do_it = pd->leading_directories_create; if (mode) *mode = pd->leading_directories_create_mode; diff --git a/src/lib/ecore_con/efl_net_session-none.c b/src/lib/ecore_con/efl_net_session-none.c index 15b8b28df0..8f0bac2219 100644 --- a/src/lib/ecore_con/efl_net_session-none.c +++ b/src/lib/ecore_con/efl_net_session-none.c @@ -33,31 +33,31 @@ _efl_net_session_efl_object_finalize(Eo *obj, Efl_Net_Session_Data *pd EINA_UNUS } EOLIAN static const char * -_efl_net_session_network_name_get(Eo *obj EINA_UNUSED, Efl_Net_Session_Data *pd EINA_UNUSED) +_efl_net_session_network_name_get(const Eo *obj EINA_UNUSED, Efl_Net_Session_Data *pd EINA_UNUSED) { return NULL; } EOLIAN static Efl_Net_Session_State -_efl_net_session_state_get(Eo *obj EINA_UNUSED, Efl_Net_Session_Data *pd EINA_UNUSED) +_efl_net_session_state_get(const Eo *obj EINA_UNUSED, Efl_Net_Session_Data *pd EINA_UNUSED) { return EFL_NET_SESSION_STATE_ONLINE; /* best default for unsupported, hope we're online */ } EOLIAN static Efl_Net_Session_Technology -_efl_net_session_technology_get(Eo *obj EINA_UNUSED, Efl_Net_Session_Data *pd EINA_UNUSED) +_efl_net_session_technology_get(const Eo *obj EINA_UNUSED, Efl_Net_Session_Data *pd EINA_UNUSED) { return EFL_NET_SESSION_TECHNOLOGY_UNKNOWN; } EOLIAN static const char * -_efl_net_session_interface_get(Eo *obj EINA_UNUSED, Efl_Net_Session_Data *pd EINA_UNUSED) +_efl_net_session_interface_get(const Eo *obj EINA_UNUSED, Efl_Net_Session_Data *pd EINA_UNUSED) { return NULL; } EOLIAN static void -_efl_net_session_ipv4_get(Eo *obj EINA_UNUSED, Efl_Net_Session_Data *pd EINA_UNUSED, const char **address, const char **netmask, const char **gateway) +_efl_net_session_ipv4_get(const Eo *obj EINA_UNUSED, Efl_Net_Session_Data *pd EINA_UNUSED, const char **address, const char **netmask, const char **gateway) { if (address) *address = NULL; if (netmask) *netmask = NULL; @@ -65,7 +65,7 @@ _efl_net_session_ipv4_get(Eo *obj EINA_UNUSED, Efl_Net_Session_Data *pd EINA_UNU } EOLIAN static void -_efl_net_session_ipv6_get(Eo *obj EINA_UNUSED, Efl_Net_Session_Data *pd EINA_UNUSED, const char **address, uint8_t *prefix_length, const char **netmask, const char **gateway) +_efl_net_session_ipv6_get(const Eo *obj EINA_UNUSED, Efl_Net_Session_Data *pd EINA_UNUSED, const char **address, uint8_t *prefix_length, const char **netmask, const char **gateway) { if (address) *address = NULL; if (prefix_length) *prefix_length = 0; diff --git a/src/lib/ecore_con/efl_net_socket_fd.c b/src/lib/ecore_con/efl_net_socket_fd.c index d02e58663c..14c2142006 100644 --- a/src/lib/ecore_con/efl_net_socket_fd.c +++ b/src/lib/ecore_con/efl_net_socket_fd.c @@ -182,7 +182,7 @@ _efl_net_socket_fd_efl_io_closer_close(Eo *o, Efl_Net_Socket_Fd_Data *pd EINA_UN } EOLIAN static Eina_Bool -_efl_net_socket_fd_efl_io_closer_closed_get(Eo *o, Efl_Net_Socket_Fd_Data *pd) +_efl_net_socket_fd_efl_io_closer_closed_get(const Eo *o, Efl_Net_Socket_Fd_Data *pd) { if (pd->family == AF_UNSPEC) return EINA_FALSE; return (SOCKET)efl_io_closer_fd_get(o) == INVALID_SOCKET; @@ -335,7 +335,7 @@ _efl_net_socket_fd_efl_net_socket_address_local_set(Eo *o EINA_UNUSED, Efl_Net_S } EOLIAN static const char * -_efl_net_socket_fd_efl_net_socket_address_local_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Fd_Data *pd) +_efl_net_socket_fd_efl_net_socket_address_local_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Fd_Data *pd) { return pd->address_local; } @@ -347,7 +347,7 @@ _efl_net_socket_fd_efl_net_socket_address_remote_set(Eo *o EINA_UNUSED, Efl_Net_ } EOLIAN static const char * -_efl_net_socket_fd_efl_net_socket_address_remote_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Fd_Data *pd) +_efl_net_socket_fd_efl_net_socket_address_remote_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Fd_Data *pd) { return pd->address_remote; } @@ -359,7 +359,7 @@ _efl_net_socket_fd_family_set(Eo *o EINA_UNUSED, Efl_Net_Socket_Fd_Data *pd, int } EOLIAN static int -_efl_net_socket_fd_family_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Fd_Data *pd) +_efl_net_socket_fd_family_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Fd_Data *pd) { return pd->family; } diff --git a/src/lib/ecore_con/efl_net_socket_simple.c b/src/lib/ecore_con/efl_net_socket_simple.c index c5490509fe..e053e87822 100644 --- a/src/lib/ecore_con/efl_net_socket_simple.c +++ b/src/lib/ecore_con/efl_net_socket_simple.c @@ -21,13 +21,13 @@ _efl_net_socket_simple_efl_io_buffered_stream_inner_io_set(Eo *o, Efl_Net_Socket } EOLIAN static const char * -_efl_net_socket_simple_efl_net_socket_address_local_get(Eo *o, Efl_Net_Socket_Simple_Data *pd EINA_UNUSED) +_efl_net_socket_simple_efl_net_socket_address_local_get(const Eo *o, Efl_Net_Socket_Simple_Data *pd EINA_UNUSED) { return efl_net_socket_address_local_get(efl_io_buffered_stream_inner_io_get(o)); } EOLIAN static const char * -_efl_net_socket_simple_efl_net_socket_address_remote_get(Eo *o, Efl_Net_Socket_Simple_Data *pd EINA_UNUSED) +_efl_net_socket_simple_efl_net_socket_address_remote_get(const Eo *o, Efl_Net_Socket_Simple_Data *pd EINA_UNUSED) { return efl_net_socket_address_remote_get(efl_io_buffered_stream_inner_io_get(o)); } diff --git a/src/lib/ecore_con/efl_net_socket_ssl.c b/src/lib/ecore_con/efl_net_socket_ssl.c index 9b4a51298f..a281d0f722 100644 --- a/src/lib/ecore_con/efl_net_socket_ssl.c +++ b/src/lib/ecore_con/efl_net_socket_ssl.c @@ -329,7 +329,7 @@ _efl_net_socket_ssl_adopt(Eo *o, Efl_Net_Socket_Ssl_Data *pd, Efl_Net_Socket *so } EOLIAN static Eina_Bool -_efl_net_socket_ssl_adopted_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd, Efl_Net_Socket **sock, Efl_Net_Ssl_Context **context) +_efl_net_socket_ssl_adopted_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd, Efl_Net_Socket **sock, Efl_Net_Ssl_Context **context) { if (sock) *sock = pd->sock; if (context) *context = pd->context; @@ -337,7 +337,7 @@ _efl_net_socket_ssl_adopted_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd, } static Efl_Net_Ssl_Verify_Mode -_efl_net_socket_ssl_verify_mode_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd) +_efl_net_socket_ssl_verify_mode_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd) { return pd->verify_mode; } @@ -353,7 +353,7 @@ _efl_net_socket_ssl_verify_mode_set(Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data * } static Eina_Bool -_efl_net_socket_ssl_hostname_verify_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd) +_efl_net_socket_ssl_hostname_verify_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd) { return pd->hostname_verify; } @@ -369,7 +369,7 @@ _efl_net_socket_ssl_hostname_verify_set(Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Da } static const char * -_efl_net_socket_ssl_hostname_override_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd) +_efl_net_socket_ssl_hostname_override_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd) { return pd->hostname_override; } @@ -493,7 +493,7 @@ _efl_net_socket_ssl_efl_io_closer_close(Eo *o, Efl_Net_Socket_Ssl_Data *pd) } EOLIAN static Eina_Bool -_efl_net_socket_ssl_efl_io_closer_closed_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd) +_efl_net_socket_ssl_efl_io_closer_closed_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd) { return (!pd->sock) || efl_io_closer_closed_get(pd->sock); } @@ -535,13 +535,13 @@ _efl_net_socket_ssl_efl_io_reader_can_read_set(Eo *o, Efl_Net_Socket_Ssl_Data *p } EOLIAN static Eina_Bool -_efl_net_socket_ssl_efl_io_reader_can_read_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd) +_efl_net_socket_ssl_efl_io_reader_can_read_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd) { return pd->can_read; } EOLIAN static Eina_Bool -_efl_net_socket_ssl_efl_io_reader_eos_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd) +_efl_net_socket_ssl_efl_io_reader_eos_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd) { return pd->eos; } @@ -598,7 +598,7 @@ _efl_net_socket_ssl_efl_io_writer_can_write_set(Eo *o, Efl_Net_Socket_Ssl_Data * } EOLIAN static Eina_Bool -_efl_net_socket_ssl_efl_io_writer_can_write_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd) +_efl_net_socket_ssl_efl_io_writer_can_write_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd) { return pd->can_write; } @@ -611,7 +611,7 @@ _efl_net_socket_ssl_efl_io_closer_close_on_exec_set(Eo *o EINA_UNUSED, Efl_Net_S } EOLIAN static Eina_Bool -_efl_net_socket_ssl_efl_io_closer_close_on_exec_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd) +_efl_net_socket_ssl_efl_io_closer_close_on_exec_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd) { return pd->sock && efl_io_closer_close_on_exec_get(pd->sock); } @@ -623,20 +623,20 @@ _efl_net_socket_ssl_efl_io_closer_close_on_destructor_set(Eo *o EINA_UNUSED, Efl } EOLIAN static Eina_Bool -_efl_net_socket_ssl_efl_io_closer_close_on_destructor_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd) +_efl_net_socket_ssl_efl_io_closer_close_on_destructor_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd) { return pd->sock && efl_io_closer_close_on_destructor_get(pd->sock); } EOLIAN static const char * -_efl_net_socket_ssl_efl_net_socket_address_local_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd) +_efl_net_socket_ssl_efl_net_socket_address_local_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd) { if (!pd->sock) return "unbound"; return efl_net_socket_address_local_get(pd->sock); } EOLIAN static const char * -_efl_net_socket_ssl_efl_net_socket_address_remote_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd) +_efl_net_socket_ssl_efl_net_socket_address_remote_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Ssl_Data *pd) { if (!pd->sock) return "unbound"; return efl_net_socket_address_remote_get(pd->sock); diff --git a/src/lib/ecore_con/efl_net_socket_tcp.c b/src/lib/ecore_con/efl_net_socket_tcp.c index a6179bea8c..cec971237a 100644 --- a/src/lib/ecore_con/efl_net_socket_tcp.c +++ b/src/lib/ecore_con/efl_net_socket_tcp.c @@ -114,7 +114,7 @@ _efl_net_socket_tcp_keep_alive_set(Eo *o, Efl_Net_Socket_Tcp_Data *pd, Eina_Bool } EOLIAN static Eina_Bool -_efl_net_socket_tcp_keep_alive_get(Eo *o, Efl_Net_Socket_Tcp_Data *pd) +_efl_net_socket_tcp_keep_alive_get(const Eo *o, Efl_Net_Socket_Tcp_Data *pd) { SOCKET fd; #ifdef _WIN32 @@ -172,7 +172,7 @@ _efl_net_socket_tcp_no_delay_set(Eo *o, Efl_Net_Socket_Tcp_Data *pd, Eina_Bool n } EOLIAN static Eina_Bool -_efl_net_socket_tcp_no_delay_get(Eo *o, Efl_Net_Socket_Tcp_Data *pd) +_efl_net_socket_tcp_no_delay_get(const Eo *o, Efl_Net_Socket_Tcp_Data *pd) { SOCKET fd; #ifdef _WIN32 @@ -246,7 +246,7 @@ _efl_net_socket_tcp_cork_set(Eo *o, Efl_Net_Socket_Tcp_Data *pd, Eina_Bool cork) } EOLIAN static Eina_Bool -_efl_net_socket_tcp_cork_get(Eo *o, Efl_Net_Socket_Tcp_Data *pd) +_efl_net_socket_tcp_cork_get(const Eo *o, Efl_Net_Socket_Tcp_Data *pd) { SOCKET fd; int value = 0; diff --git a/src/lib/ecore_con/efl_net_socket_udp.c b/src/lib/ecore_con/efl_net_socket_udp.c index c887a964a5..487fb7a4e9 100644 --- a/src/lib/ecore_con/efl_net_socket_udp.c +++ b/src/lib/ecore_con/efl_net_socket_udp.c @@ -263,7 +263,7 @@ _efl_net_socket_udp_cork_set(Eo *o, Efl_Net_Socket_Udp_Data *pd, Eina_Bool cork) } EOLIAN static Eina_Bool -_efl_net_socket_udp_cork_get(Eo *o, Efl_Net_Socket_Udp_Data *pd) +_efl_net_socket_udp_cork_get(const Eo *o, Efl_Net_Socket_Udp_Data *pd) { SOCKET fd; int value = 0; @@ -322,7 +322,7 @@ _efl_net_socket_udp_dont_route_set(Eo *o, Efl_Net_Socket_Udp_Data *pd, Eina_Bool } EOLIAN static Eina_Bool -_efl_net_socket_udp_dont_route_get(Eo *o, Efl_Net_Socket_Udp_Data *pd) +_efl_net_socket_udp_dont_route_get(const Eo *o, Efl_Net_Socket_Udp_Data *pd) { SOCKET fd = efl_loop_fd_get(o); #ifdef _WIN32 @@ -375,7 +375,7 @@ _efl_net_socket_udp_reuse_address_set(Eo *o, Efl_Net_Socket_Udp_Data *pd, Eina_B } EOLIAN static Eina_Bool -_efl_net_socket_udp_reuse_address_get(Eo *o, Efl_Net_Socket_Udp_Data *pd) +_efl_net_socket_udp_reuse_address_get(const Eo *o, Efl_Net_Socket_Udp_Data *pd) { SOCKET fd; int value = 0; @@ -430,7 +430,7 @@ _efl_net_socket_udp_reuse_port_set(Eo *o, Efl_Net_Socket_Udp_Data *pd, Eina_Bool } EOLIAN static Eina_Bool -_efl_net_socket_udp_reuse_port_get(Eo *o, Efl_Net_Socket_Udp_Data *pd) +_efl_net_socket_udp_reuse_port_get(const Eo *o, Efl_Net_Socket_Udp_Data *pd) { #ifdef SO_REUSEPORT SOCKET fd; @@ -471,7 +471,7 @@ _efl_net_socket_udp_bind_set(Eo *o, Efl_Net_Socket_Udp_Data *pd, const char *add } EOLIAN static const char * -_efl_net_socket_udp_bind_get(Eo *o EINA_UNUSED, Efl_Net_Socket_Udp_Data *pd) +_efl_net_socket_udp_bind_get(const Eo *o EINA_UNUSED, Efl_Net_Socket_Udp_Data *pd) { return pd->address_bind; } @@ -728,7 +728,7 @@ _efl_net_socket_udp_multicast_time_to_live_set(Eo *o, Efl_Net_Socket_Udp_Data *p } EOLIAN static uint8_t -_efl_net_socket_udp_multicast_time_to_live_get(Eo *o, Efl_Net_Socket_Udp_Data *pd) +_efl_net_socket_udp_multicast_time_to_live_get(const Eo *o, Efl_Net_Socket_Udp_Data *pd) { SOCKET fd = efl_loop_fd_get(o); Eina_Error err; @@ -767,7 +767,7 @@ _efl_net_socket_udp_multicast_loopback_set(Eo *o, Efl_Net_Socket_Udp_Data *pd, E } EOLIAN static Eina_Bool -_efl_net_socket_udp_multicast_loopback_get(Eo *o, Efl_Net_Socket_Udp_Data *pd) +_efl_net_socket_udp_multicast_loopback_get(const Eo *o, Efl_Net_Socket_Udp_Data *pd) { SOCKET fd = efl_loop_fd_get(o); Eina_Error err; diff --git a/src/lib/ecore_con/efl_net_ssl_context.c b/src/lib/ecore_con/efl_net_ssl_context.c index 0c350d3f29..62de44ddc6 100644 --- a/src/lib/ecore_con/efl_net_ssl_context.c +++ b/src/lib/ecore_con/efl_net_ssl_context.c @@ -151,7 +151,7 @@ _efl_net_ssl_context_string_list_free(Eina_List **p_lst) } static Eina_Iterator * -_efl_net_ssl_context_certificates_get(Eo *o EINA_UNUSED, Efl_Net_Ssl_Context_Data *pd) +_efl_net_ssl_context_certificates_get(const Eo *o EINA_UNUSED, Efl_Net_Ssl_Context_Data *pd) { return eina_list_iterator_new(pd->certificates); } @@ -165,7 +165,7 @@ _efl_net_ssl_context_certificates_set(Eo *o EINA_UNUSED, Efl_Net_Ssl_Context_Dat } static Eina_Iterator * -_efl_net_ssl_context_private_keys_get(Eo *o EINA_UNUSED, Efl_Net_Ssl_Context_Data *pd) +_efl_net_ssl_context_private_keys_get(const Eo *o EINA_UNUSED, Efl_Net_Ssl_Context_Data *pd) { return eina_list_iterator_new(pd->private_keys); } @@ -179,7 +179,7 @@ _efl_net_ssl_context_private_keys_set(Eo *o EINA_UNUSED, Efl_Net_Ssl_Context_Dat } static Eina_Iterator * -_efl_net_ssl_context_certificate_revocation_lists_get(Eo *o EINA_UNUSED, Efl_Net_Ssl_Context_Data *pd) +_efl_net_ssl_context_certificate_revocation_lists_get(const Eo *o EINA_UNUSED, Efl_Net_Ssl_Context_Data *pd) { return eina_list_iterator_new(pd->certificate_revocation_lists); } @@ -193,7 +193,7 @@ _efl_net_ssl_context_certificate_revocation_lists_set(Eo *o EINA_UNUSED, Efl_Net } static Eina_Iterator * -_efl_net_ssl_context_certificate_authorities_get(Eo *o EINA_UNUSED, Efl_Net_Ssl_Context_Data *pd) +_efl_net_ssl_context_certificate_authorities_get(const Eo *o EINA_UNUSED, Efl_Net_Ssl_Context_Data *pd) { return eina_list_iterator_new(pd->certificate_authorities); } @@ -207,7 +207,7 @@ _efl_net_ssl_context_certificate_authorities_set(Eo *o EINA_UNUSED, Efl_Net_Ssl_ } static Eina_Bool -_efl_net_ssl_context_default_paths_load_get(Eo *o EINA_UNUSED, Efl_Net_Ssl_Context_Data *pd) +_efl_net_ssl_context_default_paths_load_get(const Eo *o EINA_UNUSED, Efl_Net_Ssl_Context_Data *pd) { return pd->load_defaults; } @@ -220,7 +220,7 @@ _efl_net_ssl_context_default_paths_load_set(Eo *o EINA_UNUSED, Efl_Net_Ssl_Conte } static Efl_Net_Ssl_Verify_Mode -_efl_net_ssl_context_verify_mode_get(Eo *o EINA_UNUSED, Efl_Net_Ssl_Context_Data *pd) +_efl_net_ssl_context_verify_mode_get(const Eo *o EINA_UNUSED, Efl_Net_Ssl_Context_Data *pd) { return pd->verify_mode; } @@ -235,7 +235,7 @@ _efl_net_ssl_context_verify_mode_set(Eo *o, Efl_Net_Ssl_Context_Data *pd, Efl_Ne } static Eina_Bool -_efl_net_ssl_context_hostname_verify_get(Eo *o EINA_UNUSED, Efl_Net_Ssl_Context_Data *pd) +_efl_net_ssl_context_hostname_verify_get(const Eo *o EINA_UNUSED, Efl_Net_Ssl_Context_Data *pd) { return pd->hostname_verify; } @@ -250,7 +250,7 @@ _efl_net_ssl_context_hostname_verify_set(Eo *o EINA_UNUSED, Efl_Net_Ssl_Context_ } static const char * -_efl_net_ssl_context_hostname_get(Eo *o EINA_UNUSED, Efl_Net_Ssl_Context_Data *pd) +_efl_net_ssl_context_hostname_get(const Eo *o EINA_UNUSED, Efl_Net_Ssl_Context_Data *pd) { return pd->hostname; } @@ -357,7 +357,7 @@ _efl_net_ssl_context_default_dialer_del(void *data EINA_UNUSED, const Efl_Event } EOLIAN static Efl_Net_Ssl_Context * -_efl_net_ssl_context_default_dialer_get(Efl_Class *klass, void *pd EINA_UNUSED) +_efl_net_ssl_context_default_dialer_get(const Efl_Class *klass, void *pd EINA_UNUSED) { if (!_efl_net_ssl_context_default_dialer) { diff --git a/src/lib/ector/cairo/ector_cairo_surface.c b/src/lib/ector/cairo/ector_cairo_surface.c index 3bc1d4f714..28d904499e 100644 --- a/src/lib/ector/cairo/ector_cairo_surface.c +++ b/src/lib/ector/cairo/ector_cairo_surface.c @@ -99,7 +99,7 @@ _ector_cairo_surface_context_set(Eo *obj EINA_UNUSED, } static cairo_t * -_ector_cairo_surface_context_get(Eo *obj EINA_UNUSED, +_ector_cairo_surface_context_get(const Eo *obj EINA_UNUSED, Ector_Cairo_Surface_Data *pd) { return pd->cairo; diff --git a/src/lib/ector/cairo/ector_renderer_cairo.c b/src/lib/ector/cairo/ector_renderer_cairo.c index 8657b5ccbc..ddcca419d8 100644 --- a/src/lib/ector/cairo/ector_renderer_cairo.c +++ b/src/lib/ector/cairo/ector_renderer_cairo.c @@ -84,7 +84,7 @@ _ector_renderer_cairo_ector_renderer_color_set(Eo *obj EINA_UNUSED, } void -_ector_renderer_cairo_ector_renderer_color_get(Eo *obj EINA_UNUSED, +_ector_renderer_cairo_ector_renderer_color_get(const Eo *obj EINA_UNUSED, Ector_Renderer_Cairo_Data *pd, int *r, int *g, int *b, int *a) { diff --git a/src/lib/ector/cairo/ector_renderer_cairo_gradient_linear.c b/src/lib/ector/cairo/ector_renderer_cairo_gradient_linear.c index d6ed647ed7..598e625a8c 100644 --- a/src/lib/ector/cairo/ector_renderer_cairo_gradient_linear.c +++ b/src/lib/ector/cairo/ector_renderer_cairo_gradient_linear.c @@ -113,7 +113,7 @@ _ector_renderer_cairo_gradient_linear_ector_renderer_cairo_op_fill(Eo *obj, } static void -_ector_renderer_cairo_gradient_linear_efl_gfx_path_bounds_get(Eo *obj, +_ector_renderer_cairo_gradient_linear_efl_gfx_path_bounds_get(const Eo *obj, Ector_Renderer_Cairo_Gradient_Linear_Data *pd EINA_UNUSED, Eina_Rect *r) { @@ -174,7 +174,7 @@ _ector_renderer_cairo_gradient_linear_efl_gfx_gradient_stop_set(Eo *obj, } static unsigned int -_ector_renderer_cairo_gradient_linear_ector_renderer_crc_get(Eo *obj, Ector_Renderer_Cairo_Gradient_Linear_Data *pd EINA_UNUSED) +_ector_renderer_cairo_gradient_linear_ector_renderer_crc_get(const Eo *obj, Ector_Renderer_Cairo_Gradient_Linear_Data *pd EINA_UNUSED) { Ector_Renderer_Gradient_Linear_Data *gld; Ector_Renderer_Gradient_Data *gd; diff --git a/src/lib/ector/cairo/ector_renderer_cairo_gradient_radial.c b/src/lib/ector/cairo/ector_renderer_cairo_gradient_radial.c index 85764bcdcd..c2fea5d81a 100644 --- a/src/lib/ector/cairo/ector_renderer_cairo_gradient_radial.c +++ b/src/lib/ector/cairo/ector_renderer_cairo_gradient_radial.c @@ -136,7 +136,7 @@ _ector_renderer_cairo_gradient_radial_ector_renderer_cairo_op_fill(Eo *obj, } static void -_ector_renderer_cairo_gradient_radial_efl_gfx_path_bounds_get(Eo *obj EINA_UNUSED, +_ector_renderer_cairo_gradient_radial_efl_gfx_path_bounds_get(const Eo *obj EINA_UNUSED, Ector_Renderer_Cairo_Gradient_Radial_Data *pd EINA_UNUSED, Eina_Rect *r) { @@ -198,7 +198,7 @@ _ector_renderer_cairo_gradient_radial_efl_gfx_gradient_stop_set(Eo *obj, } static unsigned int -_ector_renderer_cairo_gradient_radial_ector_renderer_crc_get(Eo *obj, Ector_Renderer_Cairo_Gradient_Radial_Data *pd EINA_UNUSED) +_ector_renderer_cairo_gradient_radial_ector_renderer_crc_get(const Eo *obj, Ector_Renderer_Cairo_Gradient_Radial_Data *pd EINA_UNUSED) { Ector_Renderer_Gradient_Radial_Data *grd; Ector_Renderer_Gradient_Data *gd; diff --git a/src/lib/ector/cairo/ector_renderer_cairo_shape.c b/src/lib/ector/cairo/ector_renderer_cairo_shape.c index 3f147fc81d..1a20e1fa4a 100644 --- a/src/lib/ector/cairo/ector_renderer_cairo_shape.c +++ b/src/lib/ector/cairo/ector_renderer_cairo_shape.c @@ -237,7 +237,7 @@ _ector_renderer_cairo_shape_ector_renderer_cairo_op_fill(Eo *obj EINA_UNUSED, } static void -_ector_renderer_cairo_shape_efl_gfx_path_bounds_get(Eo *obj, +_ector_renderer_cairo_shape_efl_gfx_path_bounds_get(const Eo *obj, Ector_Renderer_Cairo_Shape_Data *pd EINA_UNUSED, Eina_Rect *r) { @@ -317,7 +317,7 @@ _ector_renderer_cairo_shape_efl_object_destructor(Eo *obj, Ector_Renderer_Cairo_ } unsigned int -_ector_renderer_cairo_shape_ector_renderer_crc_get(Eo *obj, +_ector_renderer_cairo_shape_ector_renderer_crc_get(const Eo *obj, Ector_Renderer_Cairo_Shape_Data *pd) { unsigned int crc; diff --git a/src/lib/ector/ector_buffer.c b/src/lib/ector/ector_buffer.c index 51dbd1496a..7afa5fe899 100644 --- a/src/lib/ector/ector_buffer.c +++ b/src/lib/ector/ector_buffer.c @@ -9,20 +9,20 @@ #include "ector_buffer.eo.h" EOLIAN static Efl_Gfx_Colorspace -_ector_buffer_cspace_get(Eo *obj EINA_UNUSED, Ector_Buffer_Data *pd) +_ector_buffer_cspace_get(const Eo *obj EINA_UNUSED, Ector_Buffer_Data *pd) { return pd->cspace; } EOLIAN static void -_ector_buffer_size_get(Eo *obj EINA_UNUSED, Ector_Buffer_Data *pd, int *w, int *h) +_ector_buffer_size_get(const Eo *obj EINA_UNUSED, Ector_Buffer_Data *pd, int *w, int *h) { if (w) *w = pd->w; if (h) *h = pd->h; } EOLIAN static Ector_Buffer_Flag -_ector_buffer_flags_get(Eo *obj EINA_UNUSED, Ector_Buffer_Data *pd EINA_UNUSED) +_ector_buffer_flags_get(const Eo *obj EINA_UNUSED, Ector_Buffer_Data *pd EINA_UNUSED) { return ECTOR_BUFFER_FLAG_NONE; } diff --git a/src/lib/ector/ector_renderer.c b/src/lib/ector/ector_renderer.c index f3b6c9499b..1c1b4ac5d1 100644 --- a/src/lib/ector/ector_renderer.c +++ b/src/lib/ector/ector_renderer.c @@ -31,7 +31,7 @@ _ector_renderer_efl_object_finalize(Eo *obj, Ector_Renderer_Data *pd) } static Ector_Surface * -_ector_renderer_surface_get(Eo *obj EINA_UNUSED, Ector_Renderer_Data *pd) +_ector_renderer_surface_get(const Eo *obj EINA_UNUSED, Ector_Renderer_Data *pd) { return pd->surface; } @@ -67,7 +67,7 @@ _ector_renderer_transformation_set(Eo *obj EINA_UNUSED, } static const Eina_Matrix3 * -_ector_renderer_transformation_get(Eo *obj EINA_UNUSED, +_ector_renderer_transformation_get(const Eo *obj EINA_UNUSED, Ector_Renderer_Data *pd) { return pd->m; @@ -83,7 +83,7 @@ _ector_renderer_origin_set(Eo *obj EINA_UNUSED, } static void -_ector_renderer_origin_get(Eo *obj EINA_UNUSED, +_ector_renderer_origin_get(const Eo *obj EINA_UNUSED, Ector_Renderer_Data *pd, double *x, double *y) { @@ -100,7 +100,7 @@ _ector_renderer_visibility_set(Eo *obj EINA_UNUSED, } static Eina_Bool -_ector_renderer_visibility_get(Eo *obj EINA_UNUSED, +_ector_renderer_visibility_get(const Eo *obj EINA_UNUSED, Ector_Renderer_Data *pd) { return pd->visibility; @@ -118,7 +118,7 @@ _ector_renderer_color_set(Eo *obj EINA_UNUSED, } static void -_ector_renderer_color_get(Eo *obj EINA_UNUSED, +_ector_renderer_color_get(const Eo *obj EINA_UNUSED, Ector_Renderer_Data *pd, int *r, int *g, int *b, int *a) { @@ -137,7 +137,7 @@ _ector_renderer_mask_set(Eo *obj EINA_UNUSED, } static Ector_Renderer * -_ector_renderer_mask_get(Eo *obj EINA_UNUSED, +_ector_renderer_mask_get(const Eo *obj EINA_UNUSED, Ector_Renderer_Data *pd) { return pd->mask; @@ -152,7 +152,7 @@ _ector_renderer_quality_set(Eo *obj EINA_UNUSED, } static Ector_Quality -_ector_renderer_quality_get(Eo *obj EINA_UNUSED, +_ector_renderer_quality_get(const Eo *obj EINA_UNUSED, Ector_Renderer_Data *pd) { return pd->q; @@ -169,7 +169,7 @@ _ector_renderer_prepare(Eo *obj EINA_UNUSED, } static unsigned int -_ector_renderer_crc_get(Eo *obj EINA_UNUSED, +_ector_renderer_crc_get(const Eo *obj EINA_UNUSED, Ector_Renderer_Data *pd) { unsigned int crc; diff --git a/src/lib/ector/ector_renderer_gradient.c b/src/lib/ector/ector_renderer_gradient.c index aa1101be9d..a3e393a7d3 100644 --- a/src/lib/ector/ector_renderer_gradient.c +++ b/src/lib/ector/ector_renderer_gradient.c @@ -25,7 +25,7 @@ _ector_renderer_gradient_efl_gfx_gradient_stop_set(Eo *obj EINA_UNUSED, } static void -_ector_renderer_gradient_efl_gfx_gradient_stop_get(Eo *obj EINA_UNUSED, +_ector_renderer_gradient_efl_gfx_gradient_stop_get(const Eo *obj EINA_UNUSED, Ector_Renderer_Gradient_Data *pd, const Efl_Gfx_Gradient_Stop **colors, unsigned int *length) @@ -43,7 +43,7 @@ _ector_renderer_gradient_efl_gfx_gradient_spread_set(Eo *obj EINA_UNUSED, } static Efl_Gfx_Gradient_Spread -_ector_renderer_gradient_efl_gfx_gradient_spread_get(Eo *obj EINA_UNUSED, +_ector_renderer_gradient_efl_gfx_gradient_spread_get(const Eo *obj EINA_UNUSED, Ector_Renderer_Gradient_Data *pd) { return pd->s; diff --git a/src/lib/ector/ector_renderer_gradient_linear.c b/src/lib/ector/ector_renderer_gradient_linear.c index 05c46d6a5a..8b6a69182f 100644 --- a/src/lib/ector/ector_renderer_gradient_linear.c +++ b/src/lib/ector/ector_renderer_gradient_linear.c @@ -17,7 +17,7 @@ _ector_renderer_gradient_linear_efl_gfx_gradient_linear_start_set(Eo *obj EINA_U } static void -_ector_renderer_gradient_linear_efl_gfx_gradient_linear_start_get(Eo *obj EINA_UNUSED, +_ector_renderer_gradient_linear_efl_gfx_gradient_linear_start_get(const Eo *obj EINA_UNUSED, Ector_Renderer_Gradient_Linear_Data *pd, double *x, double *y) { @@ -35,7 +35,7 @@ _ector_renderer_gradient_linear_efl_gfx_gradient_linear_end_set(Eo *obj EINA_UNU } static void -_ector_renderer_gradient_linear_efl_gfx_gradient_linear_end_get(Eo *obj EINA_UNUSED, +_ector_renderer_gradient_linear_efl_gfx_gradient_linear_end_get(const Eo *obj EINA_UNUSED, Ector_Renderer_Gradient_Linear_Data *pd, double *x, double *y) { diff --git a/src/lib/ector/ector_renderer_gradient_radial.c b/src/lib/ector/ector_renderer_gradient_radial.c index 83d4aea624..231a2c5266 100644 --- a/src/lib/ector/ector_renderer_gradient_radial.c +++ b/src/lib/ector/ector_renderer_gradient_radial.c @@ -17,7 +17,7 @@ _ector_renderer_gradient_radial_efl_gfx_gradient_radial_center_set(Eo *obj EINA_ } static void -_ector_renderer_gradient_radial_efl_gfx_gradient_radial_center_get(Eo *obj EINA_UNUSED, +_ector_renderer_gradient_radial_efl_gfx_gradient_radial_center_get(const Eo *obj EINA_UNUSED, Ector_Renderer_Gradient_Radial_Data *pd, double *x, double *y) { @@ -34,7 +34,7 @@ _ector_renderer_gradient_radial_efl_gfx_gradient_radial_radius_set(Eo *obj EINA_ } static double -_ector_renderer_gradient_radial_efl_gfx_gradient_radial_radius_get(Eo *obj EINA_UNUSED, +_ector_renderer_gradient_radial_efl_gfx_gradient_radial_radius_get(const Eo *obj EINA_UNUSED, Ector_Renderer_Gradient_Radial_Data *pd) { return pd->radius; @@ -51,7 +51,7 @@ _ector_renderer_gradient_radial_efl_gfx_gradient_radial_focal_set(Eo *obj EINA_U } static void -_ector_renderer_gradient_radial_efl_gfx_gradient_radial_focal_get(Eo *obj EINA_UNUSED, +_ector_renderer_gradient_radial_efl_gfx_gradient_radial_focal_get(const Eo *obj EINA_UNUSED, Ector_Renderer_Gradient_Radial_Data *pd, double *x, double *y) { diff --git a/src/lib/ector/ector_renderer_shape.c b/src/lib/ector/ector_renderer_shape.c index 3af47297f6..162add2613 100644 --- a/src/lib/ector/ector_renderer_shape.c +++ b/src/lib/ector/ector_renderer_shape.c @@ -16,7 +16,7 @@ _ector_renderer_shape_fill_set(Eo *obj EINA_UNUSED, } static const Ector_Renderer * -_ector_renderer_shape_fill_get(Eo *obj EINA_UNUSED, +_ector_renderer_shape_fill_get(const Eo *obj EINA_UNUSED, Ector_Renderer_Shape_Data *pd) { return pd->fill; @@ -31,7 +31,7 @@ _ector_renderer_shape_stroke_fill_set(Eo *obj EINA_UNUSED, } static const Ector_Renderer * -_ector_renderer_shape_stroke_fill_get(Eo *obj EINA_UNUSED, +_ector_renderer_shape_stroke_fill_get(const Eo *obj EINA_UNUSED, Ector_Renderer_Shape_Data *pd) { return pd->stroke.fill; @@ -46,7 +46,7 @@ _ector_renderer_shape_stroke_marker_set(Eo *obj EINA_UNUSED, } static const Ector_Renderer * -_ector_renderer_shape_stroke_marker_get(Eo *obj EINA_UNUSED, +_ector_renderer_shape_stroke_marker_get(const Eo *obj EINA_UNUSED, Ector_Renderer_Shape_Data *pd) { return pd->stroke.marker; diff --git a/src/lib/ector/gl/ector_renderer_gl_gradient_linear.c b/src/lib/ector/gl/ector_renderer_gl_gradient_linear.c index 4aed54484d..7557aab3a8 100644 --- a/src/lib/ector/gl/ector_renderer_gl_gradient_linear.c +++ b/src/lib/ector/gl/ector_renderer_gl_gradient_linear.c @@ -40,7 +40,7 @@ _ector_renderer_gl_gradient_linear_ector_renderer_draw(Eo *obj, Ector_Renderer_G } static void -_ector_renderer_gl_gradient_linear_efl_gfx_path_bounds_get(Eo *obj EINA_UNUSED, +_ector_renderer_gl_gradient_linear_efl_gfx_path_bounds_get(const Eo *obj EINA_UNUSED, Ector_Renderer_GL_Gradient_Linear_Data *pd, Eina_Rect *r) { @@ -95,7 +95,7 @@ _ector_renderer_gl_gradient_linear_efl_gfx_gradient_stop_set(Eo *obj, Ector_Rend } static unsigned int -_ector_renderer_gl_gradient_linear_ector_renderer_crc_get(Eo *obj, Ector_Renderer_GL_Gradient_Linear_Data *pd) +_ector_renderer_gl_gradient_linear_ector_renderer_crc_get(const Eo *obj, Ector_Renderer_GL_Gradient_Linear_Data *pd) { unsigned int crc; diff --git a/src/lib/ector/gl/ector_renderer_gl_gradient_radial.c b/src/lib/ector/gl/ector_renderer_gl_gradient_radial.c index 083aeb43c3..6a1b41e2bf 100644 --- a/src/lib/ector/gl/ector_renderer_gl_gradient_radial.c +++ b/src/lib/ector/gl/ector_renderer_gl_gradient_radial.c @@ -54,7 +54,7 @@ _ector_renderer_gl_gradient_radial_ector_renderer_gl_op_fill(Eo *obj, Ector_Rend } static void -_ector_renderer_gl_gradient_radial_efl_gfx_path_bounds_get(Eo *obj EINA_UNUSED, +_ector_renderer_gl_gradient_radial_efl_gfx_path_bounds_get(const Eo *obj EINA_UNUSED, Ector_Renderer_GL_Gradient_Radial_Data *pd, Eina_Rect *r) { @@ -65,7 +65,7 @@ _ector_renderer_gl_gradient_radial_efl_gfx_path_bounds_get(Eo *obj EINA_UNUSED, } static unsigned int -_ector_renderer_gl_gradient_radial_ector_renderer_crc_get(Eo *obj, Ector_Renderer_GL_Gradient_Radial_Data *pd) +_ector_renderer_gl_gradient_radial_ector_renderer_crc_get(const Eo *obj, Ector_Renderer_GL_Gradient_Radial_Data *pd) { unsigned int crc; diff --git a/src/lib/ector/gl/ector_renderer_gl_shape.c b/src/lib/ector/gl/ector_renderer_gl_shape.c index d89b15a97b..79e029d1fd 100644 --- a/src/lib/ector/gl/ector_renderer_gl_shape.c +++ b/src/lib/ector/gl/ector_renderer_gl_shape.c @@ -110,7 +110,7 @@ _ector_renderer_gl_shape_ector_renderer_gl_op_fill(Eo *obj EINA_UNUSED, } static void -_ector_renderer_gl_shape_efl_gfx_path_bounds_get(Eo *obj, Ector_Renderer_GL_Shape_Data *pd, Eina_Rect *r) +_ector_renderer_gl_shape_efl_gfx_path_bounds_get(const Eo *obj, Ector_Renderer_GL_Shape_Data *pd, Eina_Rect *r) { efl_gfx_path_bounds_get(obj, r); @@ -119,7 +119,7 @@ _ector_renderer_gl_shape_efl_gfx_path_bounds_get(Eo *obj, Ector_Renderer_GL_Shap } static unsigned int -_ector_renderer_gl_shape_ector_renderer_crc_get(Eo *obj, Ector_Renderer_GL_Shape_Data *pd) +_ector_renderer_gl_shape_ector_renderer_crc_get(const Eo *obj, Ector_Renderer_GL_Shape_Data *pd) { unsigned int crc; diff --git a/src/lib/ector/software/ector_renderer_software_gradient_linear.c b/src/lib/ector/software/ector_renderer_software_gradient_linear.c index 229159673a..999feedc42 100644 --- a/src/lib/ector/software/ector_renderer_software_gradient_linear.c +++ b/src/lib/ector/software/ector_renderer_software_gradient_linear.c @@ -102,7 +102,7 @@ _ector_renderer_software_gradient_linear_efl_gfx_gradient_stop_set(Eo *obj, Ecto } static unsigned int -_ector_renderer_software_gradient_linear_ector_renderer_crc_get(Eo *obj, Ector_Renderer_Software_Gradient_Data *pd) +_ector_renderer_software_gradient_linear_ector_renderer_crc_get(const Eo *obj, Ector_Renderer_Software_Gradient_Data *pd) { unsigned int crc; diff --git a/src/lib/ector/software/ector_renderer_software_gradient_radial.c b/src/lib/ector/software/ector_renderer_software_gradient_radial.c index d64d903977..989bcaadbe 100644 --- a/src/lib/ector/software/ector_renderer_software_gradient_radial.c +++ b/src/lib/ector/software/ector_renderer_software_gradient_radial.c @@ -111,7 +111,7 @@ _ector_renderer_software_gradient_radial_efl_gfx_gradient_stop_set(Eo *obj, Ecto } static unsigned int -_ector_renderer_software_gradient_radial_ector_renderer_crc_get(Eo *obj, Ector_Renderer_Software_Gradient_Data *pd) +_ector_renderer_software_gradient_radial_ector_renderer_crc_get(const Eo *obj, Ector_Renderer_Software_Gradient_Data *pd) { unsigned int crc; diff --git a/src/lib/ector/software/ector_renderer_software_shape.c b/src/lib/ector/software/ector_renderer_software_shape.c index e5be165351..d762c0e325 100644 --- a/src/lib/ector/software/ector_renderer_software_shape.c +++ b/src/lib/ector/software/ector_renderer_software_shape.c @@ -797,7 +797,7 @@ _ector_renderer_software_shape_efl_object_destructor(Eo *obj, Ector_Renderer_Sof unsigned int -_ector_renderer_software_shape_ector_renderer_crc_get(Eo *obj, +_ector_renderer_software_shape_ector_renderer_crc_get(const Eo *obj, Ector_Renderer_Software_Shape_Data *pd) { unsigned int crc; diff --git a/src/lib/ector/software/ector_software_buffer.c b/src/lib/ector/software/ector_software_buffer.c index 8afe6c85c4..e8981281f5 100644 --- a/src/lib/ector/software/ector_software_buffer.c +++ b/src/lib/ector/software/ector_software_buffer.c @@ -281,7 +281,7 @@ _ector_software_buffer_base_ector_buffer_unmap(Eo *obj EINA_UNUSED, Ector_Softwa } EOLIAN static Ector_Buffer_Flag -_ector_software_buffer_base_ector_buffer_flags_get(Eo *obj EINA_UNUSED, Ector_Software_Buffer_Base_Data *pd) +_ector_software_buffer_base_ector_buffer_flags_get(const Eo *obj EINA_UNUSED, Ector_Software_Buffer_Base_Data *pd) { return ECTOR_BUFFER_FLAG_CPU_READABLE | ECTOR_BUFFER_FLAG_DRAWABLE | diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c index bbc8ac2a50..88f1664be2 100644 --- a/src/lib/edje/edje_load.c +++ b/src/lib/edje/edje_load.c @@ -167,7 +167,7 @@ _efl_canvas_layout_efl_file_file_get(Eo *obj EINA_UNUSED, Edje *ed, const char * } EOLIAN Efl_Image_Load_Error -_efl_canvas_layout_efl_file_load_error_get(Eo *obj, Edje *ed) +_efl_canvas_layout_efl_file_load_error_get(const Eo *obj, Edje *ed) { Efl_Image_Load_Error p = efl_file_load_error_get(efl_super(obj, EFL_CANVAS_LAYOUT_CLASS)); diff --git a/src/lib/edje/edje_part.c b/src/lib/edje/edje_part.c index b63a1fbae2..0b0d3ec6d0 100644 --- a/src/lib/edje/edje_part.c +++ b/src/lib/edje/edje_part.c @@ -99,7 +99,7 @@ _efl_canvas_layout_part_efl_object_finalize(Eo *obj EINA_UNUSED, Efl_Canvas_Layo } EOLIAN Eina_Rect -_efl_canvas_layout_part_efl_gfx_geometry_get(Eo *obj EINA_UNUSED, Efl_Canvas_Layout_Part_Data *pd) +_efl_canvas_layout_part_efl_gfx_geometry_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Layout_Part_Data *pd) { Edje_Real_Part *rp = pd->rp; Eina_Rect r = EINA_RECT_ZERO(); @@ -111,7 +111,7 @@ _efl_canvas_layout_part_efl_gfx_geometry_get(Eo *obj EINA_UNUSED, Efl_Canvas_Lay } EOLIAN static void -_efl_canvas_layout_part_state_get(Eo *obj EINA_UNUSED, Efl_Canvas_Layout_Part_Data *pd, const char **name, double *val) +_efl_canvas_layout_part_state_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Layout_Part_Data *pd, const char **name, double *val) { const char *str; @@ -121,7 +121,7 @@ _efl_canvas_layout_part_state_get(Eo *obj EINA_UNUSED, Efl_Canvas_Layout_Part_Da } EOLIAN static Efl_Canvas_Layout_Part_Type -_efl_canvas_layout_part_part_type_get(Eo *obj EINA_UNUSED, Efl_Canvas_Layout_Part_Data *pd) +_efl_canvas_layout_part_part_type_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Layout_Part_Data *pd) { Edje_Real_Part *rp; @@ -138,7 +138,7 @@ _efl_canvas_layout_part_efl_ui_drag_drag_value_set(Eo *obj EINA_UNUSED, Efl_Canv } EOLIAN static Eina_Bool -_efl_canvas_layout_part_efl_ui_drag_drag_value_get(Eo *obj EINA_UNUSED, Efl_Canvas_Layout_Part_Data *pd, double *dx, double *dy) +_efl_canvas_layout_part_efl_ui_drag_drag_value_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Layout_Part_Data *pd, double *dx, double *dy) { return _edje_object_part_drag_value_get(pd->ed, pd->part, dx, dy); } @@ -150,13 +150,13 @@ _efl_canvas_layout_part_efl_ui_drag_drag_size_set(Eo *obj EINA_UNUSED, Efl_Canva } EOLIAN static Eina_Bool -_efl_canvas_layout_part_efl_ui_drag_drag_size_get(Eo *obj EINA_UNUSED, Efl_Canvas_Layout_Part_Data *pd, double *dw, double *dh) +_efl_canvas_layout_part_efl_ui_drag_drag_size_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Layout_Part_Data *pd, double *dw, double *dh) { return _edje_object_part_drag_size_get(pd->ed, pd->part, dw, dh); } EOLIAN static Efl_Ui_Drag_Dir -_efl_canvas_layout_part_efl_ui_drag_drag_dir_get(Eo *obj EINA_UNUSED, Efl_Canvas_Layout_Part_Data *pd) +_efl_canvas_layout_part_efl_ui_drag_drag_dir_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Layout_Part_Data *pd) { return _edje_object_part_drag_dir_get(pd->ed, pd->part); } @@ -168,7 +168,7 @@ _efl_canvas_layout_part_efl_ui_drag_drag_step_set(Eo *obj EINA_UNUSED, Efl_Canva } EOLIAN static Eina_Bool -_efl_canvas_layout_part_efl_ui_drag_drag_step_get(Eo *obj EINA_UNUSED, Efl_Canvas_Layout_Part_Data *pd, double *dx, double *dy) +_efl_canvas_layout_part_efl_ui_drag_drag_step_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Layout_Part_Data *pd, double *dx, double *dy) { return _edje_object_part_drag_step_get(pd->ed, pd->part, dx, dy); } @@ -186,7 +186,7 @@ _efl_canvas_layout_part_efl_ui_drag_drag_page_set(Eo *obj EINA_UNUSED, Efl_Canva } EOLIAN static Eina_Bool -_efl_canvas_layout_part_efl_ui_drag_drag_page_get(Eo *obj EINA_UNUSED, Efl_Canvas_Layout_Part_Data *pd, double *dx, double *dy) +_efl_canvas_layout_part_efl_ui_drag_drag_page_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Layout_Part_Data *pd, double *dx, double *dy) { return _edje_object_part_drag_page_get(pd->ed, pd->part, dx, dy); } diff --git a/src/lib/edje/edje_part_box.c b/src/lib/edje/edje_part_box.c index 88c622bfaa..795210ff4e 100644 --- a/src/lib/edje/edje_part_box.c +++ b/src/lib/edje/edje_part_box.c @@ -146,7 +146,7 @@ _efl_canvas_layout_part_box_efl_container_content_count(Eo *obj, void *_pd EINA_ } EOLIAN static Efl_Ui_Dir -_efl_canvas_layout_part_box_efl_ui_direction_direction_get(Eo *obj, void *_pd EINA_UNUSED) +_efl_canvas_layout_part_box_efl_ui_direction_direction_get(const Eo *obj, void *_pd EINA_UNUSED) { PROXY_DATA_GET(obj, pd); const Edje_Part_Description_Box *desc = diff --git a/src/lib/edje/edje_part_external.c b/src/lib/edje/edje_part_external.c index 6750704e3d..b270b0cd38 100644 --- a/src/lib/edje/edje_part_external.c +++ b/src/lib/edje/edje_part_external.c @@ -16,7 +16,7 @@ _external_compose(Eo *obj, Edje *ed, const char *part) } EOLIAN static Efl_Gfx * -_efl_canvas_layout_part_external_efl_content_content_get(Eo *obj, void *_pd EINA_UNUSED) +_efl_canvas_layout_part_external_efl_content_content_get(const Eo *obj, void *_pd EINA_UNUSED) { PROXY_DATA_GET(obj, pd); return _edje_object_part_external_object_get(pd->ed, pd->part); diff --git a/src/lib/edje/edje_part_invalid.c b/src/lib/edje/edje_part_invalid.c index 56f30165c4..63a93f238e 100644 --- a/src/lib/edje/edje_part_invalid.c +++ b/src/lib/edje/edje_part_invalid.c @@ -6,7 +6,7 @@ PROXY_IMPLEMENTATION(invalid, MY_CLASS, EINA_FALSE) #undef PROXY_IMPLEMENTATION static void -_edje_part_invalid_call(Eo *proxy, const char *function) +_edje_part_invalid_call(const Eo *proxy, const char *function) { PROXY_DATA_GET(proxy, pd); @@ -21,41 +21,47 @@ _edje_part_invalid_call(Eo *proxy, const char *function) #define EDJE_PART_INVALID_VOID(api, impl, ...) \ EOLIAN static void impl(Eo *proxy, void *_pd EINA_UNUSED, ## __VA_ARGS__) { _edje_part_invalid_call(proxy, #api); } +#define EDJE_PART_INVALID_VOID_CONST(api, impl, ...) \ + EOLIAN static void impl(const Eo *proxy, void *_pd EINA_UNUSED, ## __VA_ARGS__) { _edje_part_invalid_call(proxy, #api); } + #define EDJE_PART_INVALID(type, ret, api, impl, ...) \ EOLIAN static type impl(Eo *proxy, void *_pd EINA_UNUSED, ## __VA_ARGS__) { _edje_part_invalid_call(proxy, #api); return (type)ret; } +#define EDJE_PART_INVALID_CONST(type, ret, api, impl, ...) \ + EOLIAN static type impl(const Eo *proxy, void *_pd EINA_UNUSED, ## __VA_ARGS__) { _edje_part_invalid_call(proxy, #api); return (type)ret; } + EOLIAN static void -_efl_canvas_layout_part_invalid_efl_canvas_layout_part_state_get(Eo *proxy, void *_pd EINA_UNUSED, const char **state, double *val) +_efl_canvas_layout_part_invalid_efl_canvas_layout_part_state_get(const Eo *proxy, void *_pd EINA_UNUSED, const char **state, double *val) { if (state) *state = ""; if (val) *val = 0.0; } -EDJE_PART_INVALID(Efl_Canvas_Layout_Part_Type, 0, efl_canvas_layout_part_type_get, _efl_canvas_layout_part_invalid_efl_canvas_layout_part_part_type_get) -EDJE_PART_INVALID(Eina_Rect, EINA_RECT_ZERO(), efl_gfx_geometry_get, _efl_canvas_layout_part_invalid_efl_gfx_geometry_get) +EDJE_PART_INVALID_CONST(Efl_Canvas_Layout_Part_Type, 0, efl_canvas_layout_part_type_get, _efl_canvas_layout_part_invalid_efl_canvas_layout_part_part_type_get) +EDJE_PART_INVALID_CONST(Eina_Rect, EINA_RECT_ZERO(), efl_gfx_geometry_get, _efl_canvas_layout_part_invalid_efl_gfx_geometry_get) EDJE_PART_INVALID(Eina_Bool, 0, efl_ui_drag_value_set, _efl_canvas_layout_part_invalid_efl_ui_drag_drag_value_set, double dx, double dy) -EDJE_PART_INVALID(Eina_Bool, 0, efl_ui_drag_value_get, _efl_canvas_layout_part_invalid_efl_ui_drag_drag_value_get, double *dx, double *dy) +EDJE_PART_INVALID_CONST(Eina_Bool, 0, efl_ui_drag_value_get, _efl_canvas_layout_part_invalid_efl_ui_drag_drag_value_get, double *dx, double *dy) EDJE_PART_INVALID(Eina_Bool, 0, efl_ui_drag_size_set, _efl_canvas_layout_part_invalid_efl_ui_drag_drag_size_set, double dw, double dh) -EDJE_PART_INVALID(Eina_Bool, 0, efl_ui_drag_size_get, _efl_canvas_layout_part_invalid_efl_ui_drag_drag_size_get, double *dw, double *dh) -EDJE_PART_INVALID(Efl_Ui_Drag_Dir, 0, efl_ui_drag_dir_get, _efl_canvas_layout_part_invalid_efl_ui_drag_drag_dir_get) +EDJE_PART_INVALID_CONST(Eina_Bool, 0, efl_ui_drag_size_get, _efl_canvas_layout_part_invalid_efl_ui_drag_drag_size_get, double *dw, double *dh) +EDJE_PART_INVALID_CONST(Efl_Ui_Drag_Dir, 0, efl_ui_drag_dir_get, _efl_canvas_layout_part_invalid_efl_ui_drag_drag_dir_get) EDJE_PART_INVALID(Eina_Bool, 0, efl_ui_drag_step_set, _efl_canvas_layout_part_invalid_efl_ui_drag_drag_step_set, double dx, double dy) -EDJE_PART_INVALID(Eina_Bool, 0, efl_ui_drag_step_get, _efl_canvas_layout_part_invalid_efl_ui_drag_drag_step_get, double *dx, double *dy) +EDJE_PART_INVALID_CONST(Eina_Bool, 0, efl_ui_drag_step_get, _efl_canvas_layout_part_invalid_efl_ui_drag_drag_step_get, double *dx, double *dy) EDJE_PART_INVALID(Eina_Bool, 0, efl_ui_drag_step_move, _efl_canvas_layout_part_invalid_efl_ui_drag_drag_step_move, double dx, double dy) EDJE_PART_INVALID(Eina_Bool, 0, efl_ui_drag_page_set, _efl_canvas_layout_part_invalid_efl_ui_drag_drag_page_set, double dx, double dy) -EDJE_PART_INVALID(Eina_Bool, 0, efl_ui_drag_page_get, _efl_canvas_layout_part_invalid_efl_ui_drag_drag_page_get, double *dx, double *dy) +EDJE_PART_INVALID_CONST(Eina_Bool, 0, efl_ui_drag_page_get, _efl_canvas_layout_part_invalid_efl_ui_drag_drag_page_get, double *dx, double *dy) EDJE_PART_INVALID(Eina_Bool, 0, efl_ui_drag_page_move, _efl_canvas_layout_part_invalid_efl_ui_drag_drag_page_move, double dx, double dy) EDJE_PART_INVALID(Eina_Bool, 0, efl_content_set, _efl_canvas_layout_part_invalid_efl_content_content_set, Efl_Gfx *content) -EDJE_PART_INVALID(Eo *, 0, efl_content_get, _efl_canvas_layout_part_invalid_efl_content_content_get) +EDJE_PART_INVALID_CONST(Eo *, 0, efl_content_get, _efl_canvas_layout_part_invalid_efl_content_content_get) EDJE_PART_INVALID(Eo *, 0, efl_content_unset, _efl_canvas_layout_part_invalid_efl_content_content_unset) EDJE_PART_INVALID_VOID(efl_text_set, _efl_canvas_layout_part_invalid_efl_text_text_set, const char *text) -EDJE_PART_INVALID(const char *, 0, efl_text_get, _efl_canvas_layout_part_invalid_efl_text_text_get) +EDJE_PART_INVALID_CONST(const char *, 0, efl_text_get, _efl_canvas_layout_part_invalid_efl_text_text_get) EDJE_PART_INVALID_VOID(efl_text_markup_set, _efl_canvas_layout_part_invalid_efl_text_markup_markup_set, const char *text) -EDJE_PART_INVALID(const char *, 0, efl_text_markup_get, _efl_canvas_layout_part_invalid_efl_text_markup_markup_get) -EDJE_PART_INVALID(Efl_Text_Cursor_Cursor *, 0, efl_text_cursor_get, _efl_canvas_layout_part_invalid_efl_text_cursor_text_cursor_get, Efl_Text_Cursor_Cursor_Get_Type get_type) +EDJE_PART_INVALID_CONST(const char *, 0, efl_text_markup_get, _efl_canvas_layout_part_invalid_efl_text_markup_markup_get) +EDJE_PART_INVALID_CONST(Efl_Text_Cursor_Cursor *, 0, efl_text_cursor_get, _efl_canvas_layout_part_invalid_efl_text_cursor_text_cursor_get, Efl_Text_Cursor_Cursor_Get_Type get_type) EDJE_PART_INVALID_VOID(efl_text_cursor_paragraph_first, _efl_canvas_layout_part_invalid_efl_text_cursor_cursor_paragraph_first, Efl_Text_Cursor_Cursor *cur) EDJE_PART_INVALID_VOID(efl_text_cursor_paragraph_last, _efl_canvas_layout_part_invalid_efl_text_cursor_cursor_paragraph_last, Efl_Text_Cursor_Cursor *cur) EDJE_PART_INVALID_VOID(efl_text_cursor_position_set, _efl_canvas_layout_part_invalid_efl_text_cursor_cursor_position_set, Efl_Text_Cursor_Cursor *cur, int position) -EDJE_PART_INVALID(int, 0, efl_text_cursor_position_get, _efl_canvas_layout_part_invalid_efl_text_cursor_cursor_position_get, Efl_Text_Cursor_Cursor *cur) +EDJE_PART_INVALID_CONST(int, 0, efl_text_cursor_position_get, _efl_canvas_layout_part_invalid_efl_text_cursor_cursor_position_get, Efl_Text_Cursor_Cursor *cur) EDJE_PART_INVALID_VOID(efl_text_cursor_coord_set, _efl_canvas_layout_part_invalid_efl_text_cursor_cursor_coord_set, Efl_Text_Cursor_Cursor *cur, int x, int y) EDJE_PART_INVALID_VOID(efl_text_cursor_line_char_first, _efl_canvas_layout_part_invalid_efl_text_cursor_cursor_line_char_first, Efl_Text_Cursor_Cursor *cur) EDJE_PART_INVALID_VOID(efl_text_cursor_line_char_last, _efl_canvas_layout_part_invalid_efl_text_cursor_cursor_line_char_last, Efl_Text_Cursor_Cursor *cur) @@ -63,8 +69,8 @@ EDJE_PART_INVALID_VOID(efl_text_cursor_char_next, _efl_canvas_layout_part_invali EDJE_PART_INVALID_VOID(efl_text_cursor_char_prev, _efl_canvas_layout_part_invalid_efl_text_cursor_cursor_char_prev, Efl_Text_Cursor_Cursor *cur) EDJE_PART_INVALID_VOID(efl_text_cursor_line_jump_by, _efl_canvas_layout_part_invalid_efl_text_cursor_cursor_line_jump_by, Efl_Text_Cursor_Cursor *cur, int by) EDJE_PART_INVALID_VOID(efl_text_cursor_copy, _efl_canvas_layout_part_invalid_efl_text_cursor_cursor_copy, Efl_Text_Cursor_Cursor *dst, const Efl_Text_Cursor_Cursor *src) -EDJE_PART_INVALID(Eina_Unicode, 0, efl_text_cursor_content_get, _efl_canvas_layout_part_invalid_efl_text_cursor_cursor_content_get, const Efl_Text_Cursor_Cursor *cur) -EDJE_PART_INVALID(Eina_Bool, 0, efl_text_cursor_geometry_get, _efl_canvas_layout_part_invalid_efl_text_cursor_cursor_geometry_get, const Efl_Text_Cursor_Cursor *cur, Efl_Text_Cursor_Cursor_Type ctype, int *cx, int *cy, int *cw, int *ch, int *cx2, int *cy2, int *cw2, int *ch2) +EDJE_PART_INVALID_CONST(Eina_Unicode, 0, efl_text_cursor_content_get, _efl_canvas_layout_part_invalid_efl_text_cursor_cursor_content_get, const Efl_Text_Cursor_Cursor *cur) +EDJE_PART_INVALID_CONST(Eina_Bool, 0, efl_text_cursor_geometry_get, _efl_canvas_layout_part_invalid_efl_text_cursor_cursor_geometry_get, const Efl_Text_Cursor_Cursor *cur, Efl_Text_Cursor_Cursor_Type ctype, int *cx, int *cy, int *cw, int *ch, int *cx2, int *cy2, int *cw2, int *ch2) EDJE_PART_INVALID_VOID(efl_text_markup_cursor_markup_insert, _efl_canvas_layout_part_invalid_efl_text_markup_cursor_markup_insert, Efl_Text_Cursor_Cursor *cur, const char *markup) EDJE_PART_INVALID(Eina_Iterator *, 0, efl_content_iterate, _efl_canvas_layout_part_invalid_efl_container_content_iterate) EDJE_PART_INVALID(int, 0, efl_content_count, _efl_canvas_layout_part_invalid_efl_container_content_count) @@ -81,14 +87,14 @@ EDJE_PART_INVALID(Eina_Bool, 0, efl_pack_at, _efl_canvas_layout_part_invalid_efl EDJE_PART_INVALID(Efl_Gfx *, 0, efl_pack_content_get, _efl_canvas_layout_part_invalid_efl_pack_linear_pack_content_get, int index) EDJE_PART_INVALID(Efl_Gfx *, 0, efl_pack_unpack_at, _efl_canvas_layout_part_invalid_efl_pack_linear_pack_unpack_at, int index) EDJE_PART_INVALID(int, 0, efl_pack_index_get, _efl_canvas_layout_part_invalid_efl_pack_linear_pack_index_get, const Efl_Gfx *subobj) -EDJE_PART_INVALID(Efl_Ui_Dir, 0, efl_ui_direction_get, _efl_canvas_layout_part_invalid_efl_ui_direction_direction_get) +EDJE_PART_INVALID_CONST(Efl_Ui_Dir, 0, efl_ui_direction_get, _efl_canvas_layout_part_invalid_efl_ui_direction_direction_get) EDJE_PART_INVALID(Eina_Bool, 0, efl_pack_table, _efl_canvas_layout_part_invalid_efl_pack_table_pack_table, Efl_Gfx *subobj, int col, int row, int colspan, int rowspan) EDJE_PART_INVALID(Efl_Gfx *, 0, efl_pack_table_content_get, _efl_canvas_layout_part_invalid_efl_pack_table_table_content_get, int col, int row) EDJE_PART_INVALID(Eina_Iterator *, 0, efl_pack_table_contents_get, _efl_canvas_layout_part_invalid_efl_pack_table_table_contents_get, int col, int row, Eina_Bool below) -EDJE_PART_INVALID(Eina_Bool, 0, efl_pack_table_position_get, _efl_canvas_layout_part_invalid_efl_pack_table_table_position_get, Efl_Gfx *subobj, int *col, int *row, int *colspan, int *rowspan) -EDJE_PART_INVALID_VOID(efl_pack_table_size_get, _efl_canvas_layout_part_invalid_efl_pack_table_table_size_get, int *cols, int *rows) -EDJE_PART_INVALID(int, 0, efl_pack_table_columns_get, _efl_canvas_layout_part_invalid_efl_pack_table_table_columns_get) -EDJE_PART_INVALID(int, 0, efl_pack_table_rows_get, _efl_canvas_layout_part_invalid_efl_pack_table_table_rows_get) +EDJE_PART_INVALID_CONST(Eina_Bool, 0, efl_pack_table_position_get, _efl_canvas_layout_part_invalid_efl_pack_table_table_position_get, Efl_Gfx *subobj, int *col, int *row, int *colspan, int *rowspan) +EDJE_PART_INVALID_VOID_CONST(efl_pack_table_size_get, _efl_canvas_layout_part_invalid_efl_pack_table_table_size_get, int *cols, int *rows) +EDJE_PART_INVALID_CONST(int, 0, efl_pack_table_columns_get, _efl_canvas_layout_part_invalid_efl_pack_table_table_columns_get) +EDJE_PART_INVALID_CONST(int, 0, efl_pack_table_rows_get, _efl_canvas_layout_part_invalid_efl_pack_table_table_rows_get) #pragma GCC diagnostic pop diff --git a/src/lib/edje/edje_part_swallow.c b/src/lib/edje/edje_part_swallow.c index 0ff632a20f..b56b6d8337 100644 --- a/src/lib/edje/edje_part_swallow.c +++ b/src/lib/edje/edje_part_swallow.c @@ -8,7 +8,7 @@ PROXY_IMPLEMENTATION(swallow, MY_CLASS, EINA_FALSE) /* Swallow parts */ EOLIAN static Efl_Gfx * -_efl_canvas_layout_part_swallow_efl_content_content_get(Eo *obj, void *_pd EINA_UNUSED) +_efl_canvas_layout_part_swallow_efl_content_content_get(const Eo *obj, void *_pd EINA_UNUSED) { PROXY_DATA_GET(obj, pd); return _edje_efl_content_content_get(pd->ed, pd->part); diff --git a/src/lib/edje/edje_part_table.c b/src/lib/edje/edje_part_table.c index 79141cc334..b53a0609ed 100644 --- a/src/lib/edje/edje_part_table.c +++ b/src/lib/edje/edje_part_table.c @@ -71,14 +71,14 @@ _efl_canvas_layout_part_table_efl_pack_table_table_content_get(Eo *obj, void *_p } EOLIAN static void -_efl_canvas_layout_part_table_efl_pack_table_table_size_get(Eo *obj, void *_pd EINA_UNUSED, int *cols, int *rows) +_efl_canvas_layout_part_table_efl_pack_table_table_size_get(const Eo *obj, void *_pd EINA_UNUSED, int *cols, int *rows) { PROXY_DATA_GET(obj, pd); _edje_part_table_col_row_size_get(pd->ed, pd->part, cols, rows); } EOLIAN static int -_efl_canvas_layout_part_table_efl_pack_table_table_columns_get(Eo *obj, void *_pd EINA_UNUSED) +_efl_canvas_layout_part_table_efl_pack_table_table_columns_get(const Eo *obj, void *_pd EINA_UNUSED) { PROXY_DATA_GET(obj, pd); int cols = 0, rows = 0; @@ -87,7 +87,7 @@ _efl_canvas_layout_part_table_efl_pack_table_table_columns_get(Eo *obj, void *_p } EOLIAN static int -_efl_canvas_layout_part_table_efl_pack_table_table_rows_get(Eo *obj, void *_pd EINA_UNUSED) +_efl_canvas_layout_part_table_efl_pack_table_table_rows_get(const Eo *obj, void *_pd EINA_UNUSED) { PROXY_DATA_GET(obj, pd); int cols = 0, rows = 0; @@ -169,7 +169,7 @@ _efl_canvas_layout_part_table_efl_pack_table_table_contents_get(Eo *obj, void *_ } EOLIAN static Eina_Bool -_efl_canvas_layout_part_table_efl_pack_table_table_position_get(Eo *obj, void *_pd EINA_UNUSED, Efl_Gfx * subobj, int *col, int *row, int *colspan, int *rowspan) +_efl_canvas_layout_part_table_efl_pack_table_table_position_get(const Eo *obj, void *_pd EINA_UNUSED, Efl_Gfx * subobj, int *col, int *row, int *colspan, int *rowspan) { unsigned short c, r, cs, rs; Eina_Bool ret; diff --git a/src/lib/edje/edje_part_text.c b/src/lib/edje/edje_part_text.c index cdab006e56..0790a88905 100644 --- a/src/lib/edje/edje_part_text.c +++ b/src/lib/edje/edje_part_text.c @@ -15,7 +15,7 @@ _efl_canvas_layout_part_text_efl_text_text_set(Eo *obj, } EOLIAN static const char * -_efl_canvas_layout_part_text_efl_text_text_get(Eo *obj, +_efl_canvas_layout_part_text_efl_text_text_get(const Eo *obj, void *_pd EINA_UNUSED) { PROXY_DATA_GET(obj, pd); @@ -23,7 +23,7 @@ _efl_canvas_layout_part_text_efl_text_text_get(Eo *obj, } EOLIAN static const char * -_efl_canvas_layout_part_text_efl_text_markup_markup_get(Eo *obj, +_efl_canvas_layout_part_text_efl_text_markup_markup_get(const Eo *obj, void *_pd EINA_UNUSED) { PROXY_DATA_GET(obj, pd); @@ -40,7 +40,7 @@ _efl_canvas_layout_part_text_efl_text_markup_markup_set(Eo *obj, EOLIAN static Efl_Text_Cursor_Cursor * -_efl_canvas_layout_part_text_efl_text_cursor_text_cursor_get(Eo *obj, +_efl_canvas_layout_part_text_efl_text_cursor_text_cursor_get(const Eo *obj, void *_pd EINA_UNUSED, Efl_Text_Cursor_Cursor_Get_Type get_type) { PROXY_DATA_GET(obj, pd); @@ -72,7 +72,7 @@ _efl_canvas_layout_part_text_efl_text_cursor_cursor_position_set(Eo *obj, } EOLIAN static int -_efl_canvas_layout_part_text_efl_text_cursor_cursor_position_get(Eo *obj, +_efl_canvas_layout_part_text_efl_text_cursor_cursor_position_get(const Eo *obj, void *_pd EINA_UNUSED, Efl_Text_Cursor_Cursor *cur) { PROXY_DATA_GET(obj, pd); @@ -146,7 +146,7 @@ _efl_canvas_layout_part_text_efl_text_cursor_cursor_copy(Eo *obj, } EOLIAN static Eina_Unicode -_efl_canvas_layout_part_text_efl_text_cursor_cursor_content_get(Eo *obj, +_efl_canvas_layout_part_text_efl_text_cursor_cursor_content_get(const Eo *obj, void *_pd EINA_UNUSED, const Efl_Text_Cursor_Cursor *cur) { @@ -168,7 +168,7 @@ _efl_canvas_layout_part_text_efl_text_cursor_cursor_content_get(Eo *obj, } EOLIAN static Eina_Bool -_efl_canvas_layout_part_text_efl_text_cursor_cursor_geometry_get(Eo *obj, +_efl_canvas_layout_part_text_efl_text_cursor_cursor_geometry_get(const Eo *obj, void *_pd EINA_UNUSED, const Efl_Text_Cursor_Cursor *cur EINA_UNUSED, Efl_Text_Cursor_Cursor_Type ctype EINA_UNUSED, diff --git a/src/lib/edje/edje_private.h b/src/lib/edje/edje_private.h index b1d2345e37..ea8cb06bca 100644 --- a/src/lib/edje/edje_private.h +++ b/src/lib/edje/edje_private.h @@ -3187,7 +3187,7 @@ Evas_Object *_edje_object_part_external_content_get(Edje *ed, const char *part, /* part text */ Eo *_edje_text_internal_proxy_get(Edje_Object *obj, Edje *ed, Edje_Real_Part *rp, const char *part); Eina_Bool _edje_efl_text_set(Eo *obj, Edje *ed, const char *part, const char *text, Eina_Bool legacy, Eina_Bool set_markup); -const char *_edje_efl_text_get(Eo *obj, Edje *ed, const char *part, Eina_Bool legacy, Eina_Bool get_markup); +const char *_edje_efl_text_get(const Eo *obj, Edje *ed, const char *part, Eina_Bool legacy, Eina_Bool get_markup); Eina_Bool _edje_efl_text_markup_set(Eo *obj, Edje *ed, const char *part, const char *markup); const char *_edje_efl_text_markup_get(Eo *obj, Edje *ed, const char *part); Evas_Textblock_Cursor *_edje_text_cursor_get(Edje_Real_Part *rp, Edje_Cursor cur); diff --git a/src/lib/edje/edje_program.c b/src/lib/edje/edje_program.c index 1746c7f560..0345accef4 100644 --- a/src/lib/edje/edje_program.c +++ b/src/lib/edje/edje_program.c @@ -178,13 +178,13 @@ _edje_emit_send(Edje *ed, Eina_Bool broadcast, const char *sig, const char *src, *============================================================================*/ EOLIAN Eina_Stringshare* -_efl_canvas_layout_seat_name_get(Eo *obj EINA_UNUSED, Edje *ed, Efl_Input_Device *device) +_efl_canvas_layout_seat_name_get(const Eo *obj EINA_UNUSED, Edje *ed, Efl_Input_Device *device) { return _edje_seat_name_get(ed, device); } EOLIAN Efl_Input_Device * -_efl_canvas_layout_seat_get(Eo *obj EINA_UNUSED, Edje *ed, Eina_Stringshare *name) +_efl_canvas_layout_seat_get(const Eo *obj EINA_UNUSED, Edje *ed, Eina_Stringshare *name) { return _edje_seat_get(ed, name); } @@ -356,7 +356,7 @@ break_prog: } EOLIAN Eina_Bool -_efl_canvas_layout_animation_get(Eo *obj EINA_UNUSED, Edje *ed) +_efl_canvas_layout_animation_get(const Eo *obj EINA_UNUSED, Edje *ed) { if (!ed) return EINA_FALSE; if (ed->delete_me) return EINA_FALSE; diff --git a/src/lib/edje/edje_smart.c b/src/lib/edje/edje_smart.c index fa5efe1070..3608fdc7d0 100644 --- a/src/lib/edje/edje_smart.c +++ b/src/lib/edje/edje_smart.c @@ -398,7 +398,7 @@ _efl_canvas_layout_efl_file_mmap_set(Eo *obj, Edje *pd EINA_UNUSED, } EOLIAN static void -_efl_canvas_layout_efl_file_mmap_get(Eo *obj EINA_UNUSED, Edje *pd, +_efl_canvas_layout_efl_file_mmap_get(const Eo *obj EINA_UNUSED, Edje *pd, const Eina_File **f, const char **key) { if (f) *f = pd->file ? pd->file->f : NULL; @@ -485,7 +485,7 @@ _efl_canvas_layout_efl_observer_update(Eo *obj EINA_UNUSED, Edje *ed, Efl_Object } EOLIAN Eina_Bool -_efl_canvas_layout_efl_player_playable_get(Eo *obj EINA_UNUSED, Edje *pd EINA_UNUSED) +_efl_canvas_layout_efl_player_playable_get(const Eo *obj EINA_UNUSED, Edje *pd EINA_UNUSED) { return EINA_TRUE; } @@ -528,7 +528,7 @@ _efl_canvas_layout_efl_player_play_set(Eo *obj EINA_UNUSED, Edje *ed, Eina_Bool } EOLIAN Eina_Bool -_efl_canvas_layout_efl_player_play_get(Eo *obj EINA_UNUSED, Edje *ed) +_efl_canvas_layout_efl_player_play_get(const Eo *obj EINA_UNUSED, Edje *ed) { if (!ed) return EINA_FALSE; if (ed->delete_me) return EINA_FALSE; @@ -545,7 +545,7 @@ _efl_canvas_layout_efl_player_play_speed_set(Eo *obj EINA_UNUSED, Edje *pd , dou } EOLIAN double -_efl_canvas_layout_efl_player_play_speed_get(Eo *obj EINA_UNUSED, Edje *pd) +_efl_canvas_layout_efl_player_play_speed_get(const Eo *obj EINA_UNUSED, Edje *pd) { return 1.0/pd->duration_scale; } diff --git a/src/lib/edje/edje_util.c b/src/lib/edje/edje_util.c index e55091df19..aa271899fb 100644 --- a/src/lib/edje/edje_util.c +++ b/src/lib/edje/edje_util.c @@ -260,7 +260,7 @@ _efl_canvas_layout_efl_ui_base_language_set(Eo *obj, Edje *ed, const char *local } EOLIAN const char * -_efl_canvas_layout_efl_ui_base_language_get(Eo *obj EINA_UNUSED, Edje *ed) +_efl_canvas_layout_efl_ui_base_language_get(const Eo *obj EINA_UNUSED, Edje *ed) { if (!ed->language) return _edje_language; @@ -390,7 +390,7 @@ _efl_canvas_layout_efl_gfx_scale_set(Eo *obj EINA_UNUSED, Edje *ed, double scale } EOLIAN double -_efl_canvas_layout_efl_gfx_scale_get(Eo *obj EINA_UNUSED, Edje *ed) +_efl_canvas_layout_efl_gfx_scale_get(const Eo *obj EINA_UNUSED, Edje *ed) { return TO_DOUBLE(ed->scale); } @@ -406,7 +406,7 @@ edje_object_base_scale_get(const Evas_Object *obj) } EOLIAN Eina_Bool -_efl_canvas_layout_efl_ui_base_mirrored_get(Eo *obj EINA_UNUSED, Edje *ed) +_efl_canvas_layout_efl_ui_base_mirrored_get(const Eo *obj EINA_UNUSED, Edje *ed) { return ed->is_rtl; } @@ -450,7 +450,7 @@ _efl_canvas_layout_efl_ui_base_mirrored_set(Eo *obj, Edje *ed, Eina_Bool rtl) } EOLIAN const char * -_efl_canvas_layout_efl_layout_group_group_data_get(Eo *obj EINA_UNUSED, Edje *ed, const char *key) +_efl_canvas_layout_efl_layout_group_group_data_get(const Eo *obj EINA_UNUSED, Edje *ed, const char *key) { if (!key) return NULL; if (!ed->collection) return NULL; @@ -681,7 +681,7 @@ edje_color_class_get(const char *color_class, int *r, int *g, int *b, int *a, in } EOLIAN Eina_Bool -_edje_global_efl_gfx_color_class_color_class_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED, +_edje_global_efl_gfx_color_class_color_class_get(const Eo *obj EINA_UNUSED, void *pd EINA_UNUSED, const char *color_class, Efl_Gfx_Color_Class_Layer layer, int *r, int *g, int *b, int *a) { Edje_Color_Class *cc; @@ -887,7 +887,7 @@ edje_object_color_class_get(const Evas_Object *obj, const char *color_class, int } EOLIAN Eina_Bool -_efl_canvas_layout_efl_gfx_color_class_color_class_get(Eo *obj EINA_UNUSED, Edje *ed, const char *color_class, Efl_Gfx_Color_Class_Layer layer, int *r, int *g, int *b, int *a) +_efl_canvas_layout_efl_gfx_color_class_color_class_get(const Eo *obj EINA_UNUSED, Edje *ed, const char *color_class, Efl_Gfx_Color_Class_Layer layer, int *r, int *g, int *b, int *a) { Edje_Color_Class *cc; @@ -906,7 +906,7 @@ edje_object_color_class_description_get(const Evas_Object *obj, const char *colo } EOLIAN const char * -_efl_canvas_layout_efl_gfx_color_class_color_class_description_get(Eo *obj EINA_UNUSED, Edje *ed, const char *color_class) +_efl_canvas_layout_efl_gfx_color_class_color_class_description_get(const Eo *obj EINA_UNUSED, Edje *ed, const char *color_class) { Edje_Color_Class *cc = _edje_color_class_find(ed, color_class); return cc ? cc->desc : NULL; @@ -1130,7 +1130,7 @@ edje_text_class_get(const char *text_class, const char **font, Evas_Font_Size *s } EOLIAN Eina_Bool -_edje_global_efl_gfx_text_class_text_class_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED, +_edje_global_efl_gfx_text_class_text_class_get(const Eo *obj EINA_UNUSED, void *pd EINA_UNUSED, const char *text_class, const char **font, Efl_Font_Size *size) { Edje_Text_Class *tc; @@ -1352,7 +1352,7 @@ edje_object_text_class_get(const Evas_Object *obj, const char *text_class, const } EOLIAN Eina_Bool -_efl_canvas_layout_efl_gfx_text_class_text_class_get(Eo *obj EINA_UNUSED, Edje *ed, const char *text_class, const char **font, Efl_Font_Size *size) +_efl_canvas_layout_efl_gfx_text_class_text_class_get(const Eo *obj EINA_UNUSED, Edje *ed, const char *text_class, const char **font, Efl_Font_Size *size) { Edje_Text_Class *tc = _edje_text_class_find(ed, text_class); @@ -1537,7 +1537,7 @@ edje_size_class_get(const char *size_class, Evas_Coord *minw, Evas_Coord *minh, } EOLIAN Eina_Bool -_edje_global_efl_gfx_size_class_size_class_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED, const char *size_class, +_edje_global_efl_gfx_size_class_size_class_get(const Eo *obj EINA_UNUSED, void *pd EINA_UNUSED, const char *size_class, Evas_Coord *minw, Evas_Coord *minh, Evas_Coord *maxw, Evas_Coord *maxh) { Edje_Size_Class *sc; @@ -1760,7 +1760,7 @@ edje_object_size_class_get(const Evas_Object *obj, const char *size_class, Evas_ } EOLIAN Eina_Bool -_efl_canvas_layout_efl_gfx_size_class_size_class_get(Eo *obj EINA_UNUSED, Edje *ed, const char *size_class, Evas_Coord *minw, Evas_Coord *minh, Evas_Coord *maxw, Evas_Coord *maxh) +_efl_canvas_layout_efl_gfx_size_class_size_class_get(const Eo *obj EINA_UNUSED, Edje *ed, const char *size_class, Evas_Coord *minw, Evas_Coord *minh, Evas_Coord *maxw, Evas_Coord *maxh) { Edje_Size_Class *sc = _edje_size_class_find(ed, size_class); @@ -2045,7 +2045,7 @@ _edje_efl_text_set(Eo *obj, Edje *ed, const char *part, const char *text, } const char * -_edje_efl_text_get(Eo *obj EINA_UNUSED, Edje *ed, const char *part, +_edje_efl_text_get(const Eo *obj EINA_UNUSED, Edje *ed, const char *part, Eina_Bool legacy, Eina_Bool get_markup) { Edje_Real_Part *rp; @@ -3324,7 +3324,7 @@ _efl_canvas_layout_efl_part_part(Eo *obj, Edje *ed, const char *part) } EOLIAN Eina_Size2D -_efl_canvas_layout_efl_layout_group_group_size_min_get(Eo *obj EINA_UNUSED, Edje *ed) +_efl_canvas_layout_efl_layout_group_group_size_min_get(const Eo *obj EINA_UNUSED, Edje *ed) { if ((!ed) || (!ed->collection)) return EINA_SIZE2D(0, 0); @@ -3333,7 +3333,7 @@ _efl_canvas_layout_efl_layout_group_group_size_min_get(Eo *obj EINA_UNUSED, Edje } EOLIAN Eina_Size2D -_efl_canvas_layout_efl_layout_group_group_size_max_get(Eo *obj EINA_UNUSED, Edje *ed) +_efl_canvas_layout_efl_layout_group_group_size_max_get(const Eo *obj EINA_UNUSED, Edje *ed) { Eina_Size2D sz; @@ -3352,7 +3352,7 @@ _efl_canvas_layout_efl_layout_group_group_size_max_get(Eo *obj EINA_UNUSED, Edje } EOLIAN Eina_Bool -_efl_canvas_layout_efl_layout_group_part_exist_get(Eo *obj EINA_UNUSED, Edje *ed, const char *part) +_efl_canvas_layout_efl_layout_group_part_exist_get(const Eo *obj EINA_UNUSED, Edje *ed, const char *part) { Edje_Real_Part *rp; @@ -5075,7 +5075,7 @@ _efl_canvas_layout_efl_layout_calc_calc_auto_update_hints_set(Eo *obj EINA_UNUSE } EOLIAN Eina_Bool -_efl_canvas_layout_efl_layout_calc_calc_auto_update_hints_get(Eo *obj EINA_UNUSED, Edje *ed) +_efl_canvas_layout_efl_layout_calc_calc_auto_update_hints_get(const Eo *obj EINA_UNUSED, Edje *ed) { return ed->update_hints; } @@ -6299,7 +6299,7 @@ edje_object_part_text_get(const Edje_Object *obj, const char *part) ERR("Invalid call on a non-text or non-textblock part: '%s' in group '%s'", part, ed->group); return NULL; } - return _edje_efl_text_get((Eo *)obj, ed, part, EINA_TRUE, EINA_FALSE); + return _edje_efl_text_get(obj, ed, part, EINA_TRUE, EINA_FALSE); } /* vim:set ts=8 sw=3 sts=3 expandtab cino=>5n-2f0^-2{2(0W1st0 :*/ diff --git a/src/lib/efl/interfaces/efl_file.c b/src/lib/efl/interfaces/efl_file.c index 5f9f4f8ed4..b38bad6c87 100644 --- a/src/lib/efl/interfaces/efl_file.c +++ b/src/lib/efl/interfaces/efl_file.c @@ -43,7 +43,7 @@ _efl_file_file_set(Eo *obj, Efl_File_Data *pd, const char *file, const char *key } static void -_efl_file_file_get(Eo *obj, Efl_File_Data *pd EINA_UNUSED, const char **file, const char **key) +_efl_file_file_get(const Eo *obj, Efl_File_Data *pd EINA_UNUSED, const char **file, const char **key) { const Eina_File *f = NULL; @@ -54,7 +54,7 @@ _efl_file_file_get(Eo *obj, Efl_File_Data *pd EINA_UNUSED, const char **file, co } static Efl_Image_Load_Error -_efl_file_load_error_get(Eo *obj EINA_UNUSED, Efl_File_Data *pd) +_efl_file_load_error_get(const Eo *obj EINA_UNUSED, Efl_File_Data *pd) { return pd->error; } diff --git a/src/lib/efl/interfaces/efl_gfx_color.c b/src/lib/efl/interfaces/efl_gfx_color.c index 91f8a4fd32..54c4df868f 100644 --- a/src/lib/efl/interfaces/efl_gfx_color.c +++ b/src/lib/efl/interfaces/efl_gfx_color.c @@ -109,7 +109,7 @@ _efl_gfx_color_color_code_set(Eo *obj, void *_pd EINA_UNUSED, const char *colorc } EOLIAN static const char * -_efl_gfx_color_color_code_get(Eo *obj, void *_pd EINA_UNUSED) +_efl_gfx_color_color_code_get(const Eo *obj, void *_pd EINA_UNUSED) { int r, g, b, a; @@ -131,7 +131,7 @@ _efl_gfx_color_color_class_code_set(Eo *obj, void *_pd EINA_UNUSED, const char * } EOLIAN static const char * -_efl_gfx_color_color_class_code_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED, +_efl_gfx_color_color_class_code_get(const Eo *obj EINA_UNUSED, void *pd EINA_UNUSED, const char *color_class, Efl_Gfx_Color_Class_Layer layer) { int r, g, b, a; diff --git a/src/lib/efl/interfaces/efl_gfx_path.c b/src/lib/efl/interfaces/efl_gfx_path.c index 034a901687..7a4f6da03b 100644 --- a/src/lib/efl/interfaces/efl_gfx_path.c +++ b/src/lib/efl/interfaces/efl_gfx_path.c @@ -193,7 +193,7 @@ _efl_gfx_path_path_set(Eo *obj, Efl_Gfx_Path_Data *pd, } EOLIAN static void -_efl_gfx_path_path_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd, +_efl_gfx_path_path_get(const Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd, const Efl_Gfx_Path_Command **commands, const double **points) { @@ -202,7 +202,7 @@ _efl_gfx_path_path_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd, } EOLIAN static void -_efl_gfx_path_length_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd, +_efl_gfx_path_length_get(const Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd, unsigned int *commands, unsigned int *points) { if (commands) *commands = pd->commands_count; @@ -210,7 +210,7 @@ _efl_gfx_path_length_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd, } EOLIAN static void -_efl_gfx_path_bounds_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd, Eina_Rect *r) +_efl_gfx_path_bounds_get(const Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd, Eina_Rect *r) { double minx, miny, maxx, maxy; unsigned int i; @@ -236,7 +236,7 @@ _efl_gfx_path_bounds_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd, Eina_Rect * } EOLIAN static void -_efl_gfx_path_current_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd, +_efl_gfx_path_current_get(const Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd, double *x, double *y) { if (x) *x = pd->current.x; @@ -244,7 +244,7 @@ _efl_gfx_path_current_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd, } EOLIAN static void -_efl_gfx_path_current_ctrl_get(Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd, +_efl_gfx_path_current_ctrl_get(const Eo *obj EINA_UNUSED, Efl_Gfx_Path_Data *pd, double *x, double *y) { if (x) *x = pd->current_ctrl.x; diff --git a/src/lib/efl/interfaces/efl_gfx_path.eo b/src/lib/efl/interfaces/efl_gfx_path.eo index b36bf090dd..a6df70d756 100644 --- a/src/lib/efl/interfaces/efl_gfx_path.eo +++ b/src/lib/efl/interfaces/efl_gfx_path.eo @@ -59,7 +59,7 @@ mixin Efl.Gfx.Path @in dup_from: const(Efl.Object); [[Shape object from where data will be copied.]] } } - bounds_get { + bounds_get @const { [[Compute and return the bounding box of the currently set path @since 1.18 diff --git a/src/lib/efl/interfaces/efl_gfx_shape.c b/src/lib/efl/interfaces/efl_gfx_shape.c index 3e88e8603f..6ad08a1d1e 100644 --- a/src/lib/efl/interfaces/efl_gfx_shape.c +++ b/src/lib/efl/interfaces/efl_gfx_shape.c @@ -133,7 +133,7 @@ _efl_gfx_shape_stroke_scale_set(Eo *obj EINA_UNUSED, Efl_Gfx_Shape_Data *pd, } EOLIAN static double -_efl_gfx_shape_stroke_scale_get(Eo *obj EINA_UNUSED, Efl_Gfx_Shape_Data *pd) +_efl_gfx_shape_stroke_scale_get(const Eo *obj EINA_UNUSED, Efl_Gfx_Shape_Data *pd) { return pd->public.stroke.scale; } @@ -149,7 +149,7 @@ _efl_gfx_shape_stroke_color_set(Eo *obj EINA_UNUSED, Efl_Gfx_Shape_Data *pd, } EOLIAN static void -_efl_gfx_shape_stroke_color_get(Eo *obj EINA_UNUSED, Efl_Gfx_Shape_Data *pd, +_efl_gfx_shape_stroke_color_get(const Eo *obj EINA_UNUSED, Efl_Gfx_Shape_Data *pd, int *r, int *g, int *b, int *a) { if (r) *r = pd->public.stroke.color.r; @@ -168,7 +168,7 @@ _efl_gfx_shape_stroke_width_set(Eo *obj, Efl_Gfx_Shape_Data *pd, double w) } EOLIAN static double -_efl_gfx_shape_stroke_width_get(Eo *obj EINA_UNUSED, +_efl_gfx_shape_stroke_width_get(const Eo *obj EINA_UNUSED, Efl_Gfx_Shape_Data *pd) { return pd->public.stroke.width; @@ -182,7 +182,7 @@ _efl_gfx_shape_stroke_location_set(Eo *obj EINA_UNUSED, Efl_Gfx_Shape_Data *pd, } EOLIAN static double -_efl_gfx_shape_stroke_location_get(Eo *obj EINA_UNUSED, Efl_Gfx_Shape_Data *pd) +_efl_gfx_shape_stroke_location_get(const Eo *obj EINA_UNUSED, Efl_Gfx_Shape_Data *pd) { return pd->public.stroke.centered; } @@ -210,7 +210,7 @@ _efl_gfx_shape_stroke_dash_set(Eo *obj EINA_UNUSED, Efl_Gfx_Shape_Data *pd, } EOLIAN static void -_efl_gfx_shape_stroke_dash_get(Eo *obj EINA_UNUSED, +_efl_gfx_shape_stroke_dash_get(const Eo *obj EINA_UNUSED, Efl_Gfx_Shape_Data *pd, const Efl_Gfx_Dash **dash, unsigned int *length) { @@ -227,7 +227,7 @@ _efl_gfx_shape_stroke_cap_set(Eo *obj EINA_UNUSED, } EOLIAN static Efl_Gfx_Cap -_efl_gfx_shape_stroke_cap_get(Eo *obj EINA_UNUSED, +_efl_gfx_shape_stroke_cap_get(const Eo *obj EINA_UNUSED, Efl_Gfx_Shape_Data *pd) { return pd->public.stroke.cap; @@ -242,7 +242,7 @@ _efl_gfx_shape_stroke_join_set(Eo *obj EINA_UNUSED, } EOLIAN static Efl_Gfx_Join -_efl_gfx_shape_stroke_join_get(Eo *obj EINA_UNUSED, +_efl_gfx_shape_stroke_join_get(const Eo *obj EINA_UNUSED, Efl_Gfx_Shape_Data *pd) { return pd->public.stroke.join; @@ -257,7 +257,7 @@ _efl_gfx_shape_fill_rule_set(Eo *obj EINA_UNUSED, } EOLIAN static Efl_Gfx_Fill_Rule -_efl_gfx_shape_fill_rule_get(Eo *obj EINA_UNUSED, +_efl_gfx_shape_fill_rule_get(const Eo *obj EINA_UNUSED, Efl_Gfx_Shape_Data *pd) { return pd->fill_rule; diff --git a/src/lib/efl/interfaces/efl_input_device.c b/src/lib/efl/interfaces/efl_input_device.c index 667a13fe2d..a347e09db9 100644 --- a/src/lib/efl/interfaces/efl_input_device.c +++ b/src/lib/efl/interfaces/efl_input_device.c @@ -114,7 +114,7 @@ _efl_input_device_device_type_set(Eo *obj, Efl_Input_Device_Data *pd, Efl_Input_ } EOLIAN static Efl_Input_Device_Type -_efl_input_device_device_type_get(Eo *obj EINA_UNUSED, Efl_Input_Device_Data *pd) +_efl_input_device_device_type_get(const Eo *obj EINA_UNUSED, Efl_Input_Device_Data *pd) { return pd->klass; } @@ -128,7 +128,7 @@ _efl_input_device_source_set(Eo *obj EINA_UNUSED, Efl_Input_Device_Data *pd, Efl } EOLIAN static Efl_Input_Device * -_efl_input_device_source_get(Eo *obj EINA_UNUSED, Efl_Input_Device_Data *pd) +_efl_input_device_source_get(const Eo *obj EINA_UNUSED, Efl_Input_Device_Data *pd) { return pd->source; } @@ -141,7 +141,7 @@ _efl_input_device_seat_id_set(Eo *obj EINA_UNUSED, Efl_Input_Device_Data *pd, un } EOLIAN static unsigned int -_efl_input_device_seat_id_get(Eo *obj, Efl_Input_Device_Data *pd) +_efl_input_device_seat_id_get(const Eo *obj, Efl_Input_Device_Data *pd) { if (pd->klass == EFL_INPUT_DEVICE_TYPE_SEAT) return pd->id; @@ -149,7 +149,7 @@ _efl_input_device_seat_id_get(Eo *obj, Efl_Input_Device_Data *pd) } EOLIAN static Efl_Input_Device * -_efl_input_device_seat_get(Eo *obj, Efl_Input_Device_Data *pd) +_efl_input_device_seat_get(const Eo *obj, Efl_Input_Device_Data *pd) { for (; obj; obj = efl_parent_get(obj)) { diff --git a/src/lib/efl/interfaces/efl_io_buffer.c b/src/lib/efl/interfaces/efl_io_buffer.c index 1cfeeddba3..5a0a0d10ba 100644 --- a/src/lib/efl/interfaces/efl_io_buffer.c +++ b/src/lib/efl/interfaces/efl_io_buffer.c @@ -107,13 +107,13 @@ _efl_io_buffer_limit_set(Eo *o, Efl_Io_Buffer_Data *pd, size_t limit) } EOLIAN static size_t -_efl_io_buffer_limit_get(Eo *o EINA_UNUSED, Efl_Io_Buffer_Data *pd) +_efl_io_buffer_limit_get(const Eo *o EINA_UNUSED, Efl_Io_Buffer_Data *pd) { return pd->limit; } EOLIAN static Eina_Slice -_efl_io_buffer_slice_get(Eo *o, Efl_Io_Buffer_Data *pd) +_efl_io_buffer_slice_get(const Eo *o, Efl_Io_Buffer_Data *pd) { Eina_Slice slice = { }; @@ -221,7 +221,7 @@ _efl_io_buffer_efl_io_reader_read(Eo *o, Efl_Io_Buffer_Data *pd, Eina_Rw_Slice * } EOLIAN static Eina_Bool -_efl_io_buffer_efl_io_reader_can_read_get(Eo *o EINA_UNUSED, Efl_Io_Buffer_Data *pd) +_efl_io_buffer_efl_io_reader_can_read_get(const Eo *o EINA_UNUSED, Efl_Io_Buffer_Data *pd) { return pd->can_read; } @@ -236,7 +236,7 @@ _efl_io_buffer_efl_io_reader_can_read_set(Eo *o, Efl_Io_Buffer_Data *pd, Eina_Bo } EOLIAN static Eina_Bool -_efl_io_buffer_efl_io_reader_eos_get(Eo *o, Efl_Io_Buffer_Data *pd EINA_UNUSED) +_efl_io_buffer_efl_io_reader_eos_get(const Eo *o, Efl_Io_Buffer_Data *pd EINA_UNUSED) { return efl_io_closer_closed_get(o) || efl_io_buffer_position_read_get(o) >= efl_io_sizer_size_get(o); @@ -311,7 +311,7 @@ _efl_io_buffer_efl_io_writer_write(Eo *o, Efl_Io_Buffer_Data *pd, Eina_Slice *sl } EOLIAN static Eina_Bool -_efl_io_buffer_efl_io_writer_can_write_get(Eo *o EINA_UNUSED, Efl_Io_Buffer_Data *pd) +_efl_io_buffer_efl_io_writer_can_write_get(const Eo *o EINA_UNUSED, Efl_Io_Buffer_Data *pd) { return pd->can_write; } @@ -336,7 +336,7 @@ _efl_io_buffer_efl_io_closer_close(Eo *o, Efl_Io_Buffer_Data *pd) } EOLIAN static Eina_Bool -_efl_io_buffer_efl_io_closer_closed_get(Eo *o EINA_UNUSED, Efl_Io_Buffer_Data *pd) +_efl_io_buffer_efl_io_closer_closed_get(const Eo *o EINA_UNUSED, Efl_Io_Buffer_Data *pd) { return pd->closed; } @@ -350,7 +350,7 @@ _efl_io_buffer_efl_io_closer_close_on_exec_set(Eo *o EINA_UNUSED, Efl_Io_Buffer_ } EOLIAN static Eina_Bool -_efl_io_buffer_efl_io_closer_close_on_exec_get(Eo *o EINA_UNUSED, Efl_Io_Buffer_Data *pd EINA_UNUSED) +_efl_io_buffer_efl_io_closer_close_on_exec_get(const Eo *o EINA_UNUSED, Efl_Io_Buffer_Data *pd EINA_UNUSED) { return EINA_TRUE; } @@ -361,7 +361,7 @@ _efl_io_buffer_efl_io_closer_close_on_destructor_set(Eo *o EINA_UNUSED, Efl_Io_B } EOLIAN static Eina_Bool -_efl_io_buffer_efl_io_closer_close_on_destructor_get(Eo *o EINA_UNUSED, Efl_Io_Buffer_Data *pd EINA_UNUSED) +_efl_io_buffer_efl_io_closer_close_on_destructor_get(const Eo *o EINA_UNUSED, Efl_Io_Buffer_Data *pd EINA_UNUSED) { return EINA_TRUE; } @@ -427,7 +427,7 @@ _efl_io_buffer_efl_io_sizer_resize(Eo *o, Efl_Io_Buffer_Data *pd, uint64_t size) } EOLIAN static uint64_t -_efl_io_buffer_efl_io_sizer_size_get(Eo *o EINA_UNUSED, Efl_Io_Buffer_Data *pd) +_efl_io_buffer_efl_io_sizer_size_get(const Eo *o EINA_UNUSED, Efl_Io_Buffer_Data *pd) { return pd->used; } @@ -463,7 +463,7 @@ _efl_io_buffer_efl_io_positioner_seek(Eo *o, Efl_Io_Buffer_Data *pd EINA_UNUSED, } EOLIAN static uint64_t -_efl_io_buffer_efl_io_positioner_position_get(Eo *o, Efl_Io_Buffer_Data *pd EINA_UNUSED) +_efl_io_buffer_efl_io_positioner_position_get(const Eo *o, Efl_Io_Buffer_Data *pd EINA_UNUSED) { uint64_t r = efl_io_buffer_position_read_get(o); uint64_t w = efl_io_buffer_position_write_get(o); @@ -508,7 +508,7 @@ _efl_io_buffer_position_read_set(Eo *o, Efl_Io_Buffer_Data *pd, uint64_t positio } EOLIAN static uint64_t -_efl_io_buffer_position_read_get(Eo *o EINA_UNUSED, Efl_Io_Buffer_Data *pd) +_efl_io_buffer_position_read_get(const Eo *o EINA_UNUSED, Efl_Io_Buffer_Data *pd) { return pd->position_read; } @@ -544,7 +544,7 @@ _efl_io_buffer_position_write_set(Eo *o, Efl_Io_Buffer_Data *pd, uint64_t positi } EOLIAN static uint64_t -_efl_io_buffer_position_write_get(Eo *o EINA_UNUSED, Efl_Io_Buffer_Data *pd) +_efl_io_buffer_position_write_get(const Eo *o EINA_UNUSED, Efl_Io_Buffer_Data *pd) { return pd->position_write; } diff --git a/src/lib/efl/interfaces/efl_io_queue.c b/src/lib/efl/interfaces/efl_io_queue.c index d073836c93..9885a5b693 100644 --- a/src/lib/efl/interfaces/efl_io_queue.c +++ b/src/lib/efl/interfaces/efl_io_queue.c @@ -189,19 +189,19 @@ _efl_io_queue_limit_set(Eo *o, Efl_Io_Queue_Data *pd, size_t limit) } EOLIAN static size_t -_efl_io_queue_limit_get(Eo *o EINA_UNUSED, Efl_Io_Queue_Data *pd) +_efl_io_queue_limit_get(const Eo *o EINA_UNUSED, Efl_Io_Queue_Data *pd) { return pd->limit; } EOLIAN static size_t -_efl_io_queue_usage_get(Eo *o EINA_UNUSED, Efl_Io_Queue_Data *pd) +_efl_io_queue_usage_get(const Eo *o EINA_UNUSED, Efl_Io_Queue_Data *pd) { return pd->position_write - pd->position_read; } EOLIAN static Eina_Slice -_efl_io_queue_slice_get(Eo *o, Efl_Io_Queue_Data *pd) +_efl_io_queue_slice_get(const Eo *o, Efl_Io_Queue_Data *pd) { Eina_Slice slice = { }; @@ -335,7 +335,7 @@ _efl_io_queue_discard(Eo *o, Efl_Io_Queue_Data *pd, size_t amount) } EOLIAN static Eina_Bool -_efl_io_queue_efl_io_reader_can_read_get(Eo *o EINA_UNUSED, Efl_Io_Queue_Data *pd) +_efl_io_queue_efl_io_reader_can_read_get(const Eo *o EINA_UNUSED, Efl_Io_Queue_Data *pd) { return pd->can_read; } @@ -350,7 +350,7 @@ _efl_io_queue_efl_io_reader_can_read_set(Eo *o, Efl_Io_Queue_Data *pd, Eina_Bool } EOLIAN static Eina_Bool -_efl_io_queue_efl_io_reader_eos_get(Eo *o EINA_UNUSED, Efl_Io_Queue_Data *pd EINA_UNUSED) +_efl_io_queue_efl_io_reader_eos_get(const Eo *o EINA_UNUSED, Efl_Io_Queue_Data *pd EINA_UNUSED) { return pd->eos; } @@ -437,7 +437,7 @@ _efl_io_queue_efl_io_writer_write(Eo *o, Efl_Io_Queue_Data *pd, Eina_Slice *slic } EOLIAN static Eina_Bool -_efl_io_queue_efl_io_writer_can_write_get(Eo *o EINA_UNUSED, Efl_Io_Queue_Data *pd) +_efl_io_queue_efl_io_writer_can_write_get(const Eo *o EINA_UNUSED, Efl_Io_Queue_Data *pd) { return pd->can_write; } @@ -463,7 +463,7 @@ _efl_io_queue_efl_io_closer_close(Eo *o, Efl_Io_Queue_Data *pd) } EOLIAN static Eina_Bool -_efl_io_queue_efl_io_closer_closed_get(Eo *o EINA_UNUSED, Efl_Io_Queue_Data *pd) +_efl_io_queue_efl_io_closer_closed_get(const Eo *o EINA_UNUSED, Efl_Io_Queue_Data *pd) { return pd->closed; } @@ -477,7 +477,7 @@ _efl_io_queue_efl_io_closer_close_on_exec_set(Eo *o EINA_UNUSED, Efl_Io_Queue_Da } EOLIAN static Eina_Bool -_efl_io_queue_efl_io_closer_close_on_exec_get(Eo *o EINA_UNUSED, Efl_Io_Queue_Data *pd EINA_UNUSED) +_efl_io_queue_efl_io_closer_close_on_exec_get(const Eo *o EINA_UNUSED, Efl_Io_Queue_Data *pd EINA_UNUSED) { return EINA_TRUE; } @@ -488,7 +488,7 @@ _efl_io_queue_efl_io_closer_close_on_destructor_set(Eo *o EINA_UNUSED, Efl_Io_Qu } EOLIAN static Eina_Bool -_efl_io_queue_efl_io_closer_close_on_destructor_get(Eo *o EINA_UNUSED, Efl_Io_Queue_Data *pd EINA_UNUSED) +_efl_io_queue_efl_io_closer_close_on_destructor_get(const Eo *o EINA_UNUSED, Efl_Io_Queue_Data *pd EINA_UNUSED) { return EINA_TRUE; } diff --git a/src/lib/efl/interfaces/efl_text_annotate.eo b/src/lib/efl/interfaces/efl_text_annotate.eo index 7826d07991..5800fa6ffd 100644 --- a/src/lib/efl/interfaces/efl_text_annotate.eo +++ b/src/lib/efl/interfaces/efl_text_annotate.eo @@ -33,7 +33,7 @@ interface Efl.Text.Annotate { format: string; [[The new format for the given annotation]] } } - range_annotations_get { + range_annotations_get @const { [[Returns an iterator of all the handles in a range. @since 1.18 diff --git a/src/lib/efl/interfaces/efl_ui_format.c b/src/lib/efl/interfaces/efl_ui_format.c index 4ee5a63590..c7b8c59aa9 100644 --- a/src/lib/efl/interfaces/efl_ui_format.c +++ b/src/lib/efl/interfaces/efl_ui_format.c @@ -166,7 +166,7 @@ _efl_ui_format_format_string_set(Eo *obj, Efl_Ui_Format_Data *sd, const char *te } EOLIAN static const char * -_efl_ui_format_format_string_get(Eo *obj EINA_UNUSED, Efl_Ui_Format_Data *sd) +_efl_ui_format_format_string_get(const Eo *obj EINA_UNUSED, Efl_Ui_Format_Data *sd) { return sd->template; } diff --git a/src/lib/eio/efl_io_manager.c b/src/lib/eio/efl_io_manager.c index f4c56dc0ac..113c712275 100644 --- a/src/lib/eio/efl_io_manager.c +++ b/src/lib/eio/efl_io_manager.c @@ -489,7 +489,7 @@ _efl_io_manager_xattr_set(Eo *obj, } static Eina_Future * -_efl_io_manager_xattr_get(Eo *obj, +_efl_io_manager_xattr_get(const Eo *obj, Efl_Io_Manager_Data *pd EINA_UNUSED, const char *path, const char *attribute) @@ -509,7 +509,8 @@ _efl_io_manager_xattr_get(Eo *obj, if (!h) goto end; eina_promise_data_set(p, h); - return efl_future_Eina_FutureXXX_then(obj, future); + /* XXX const */ + return efl_future_Eina_FutureXXX_then((Eo *)obj, future); end: return future; diff --git a/src/lib/eio/eio_model.c b/src/lib/eio/eio_model.c index c34257fa38..282c159353 100644 --- a/src/lib/eio/eio_model.c +++ b/src/lib/eio/eio_model.c @@ -280,7 +280,7 @@ _eio_error_unlink_cb(void *data EINA_UNUSED, Eio_File *handler EINA_UNUSED, int * Interfaces impl. */ static Eina_Array const * -_eio_model_efl_model_properties_get(Eo *obj EINA_UNUSED, Eio_Model_Data *_pd) +_eio_model_efl_model_properties_get(const Eo *obj EINA_UNUSED, Eio_Model_Data *_pd) { Eio_Model_Data *priv = _pd; @@ -798,7 +798,7 @@ _eio_model_efl_object_destructor(Eo *obj , Eio_Model_Data *priv) } static Eo * -_eio_model_efl_object_parent_get(Eo *obj , Eio_Model_Data *priv) +_eio_model_efl_object_parent_get(const Eo *obj , Eio_Model_Data *priv) { Eo *model = efl_parent_get(efl_super(obj, MY_CLASS)); diff --git a/src/lib/eldbus/eldbus_model_arguments.c b/src/lib/eldbus/eldbus_model_arguments.c index 9e034ff1b8..834296df91 100644 --- a/src/lib/eldbus/eldbus_model_arguments.c +++ b/src/lib/eldbus/eldbus_model_arguments.c @@ -71,7 +71,7 @@ _eldbus_model_arguments_efl_object_destructor(Eo *obj, Eldbus_Model_Arguments_Da } static Eina_Array const * -_eldbus_model_arguments_efl_model_properties_get(Eo *obj EINA_UNUSED, +_eldbus_model_arguments_efl_model_properties_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Arguments_Data *pd) { EINA_SAFETY_ON_NULL_RETURN_VAL(pd, NULL); @@ -208,7 +208,7 @@ _eldbus_model_arguments_efl_model_children_count_get(Eo *obj EINA_UNUSED, } static const char * -_eldbus_model_arguments_arg_name_get(Eo *obj EINA_UNUSED, Eldbus_Model_Arguments_Data *pd) +_eldbus_model_arguments_arg_name_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Arguments_Data *pd) { return pd->name; } diff --git a/src/lib/eldbus/eldbus_model_connection.c b/src/lib/eldbus/eldbus_model_connection.c index 8a64f899f4..5fe0202e62 100644 --- a/src/lib/eldbus/eldbus_model_connection.c +++ b/src/lib/eldbus/eldbus_model_connection.c @@ -59,7 +59,7 @@ _eldbus_model_connection_efl_object_destructor(Eo *obj, Eldbus_Model_Connection_ } static Eina_Array const * -_eldbus_model_connection_efl_model_properties_get(Eo *obj EINA_UNUSED, +_eldbus_model_connection_efl_model_properties_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Connection_Data *pd) { EINA_SAFETY_ON_NULL_RETURN_VAL(pd, NULL); @@ -207,19 +207,19 @@ _eldbus_model_connection_efl_model_children_count_get(Eo *obj EINA_UNUSED, } static const char * -_eldbus_model_connection_address_get(Eo *obj EINA_UNUSED, Eldbus_Model_Connection_Data *pd) +_eldbus_model_connection_address_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Connection_Data *pd) { return pd->address; } static Eina_Bool -_eldbus_model_connection_private_get(Eo *obj EINA_UNUSED, Eldbus_Model_Connection_Data *pd) +_eldbus_model_connection_private_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Connection_Data *pd) { return pd->private; } static Eldbus_Connection_Type -_eldbus_model_connection_type_get(Eo *obj EINA_UNUSED, Eldbus_Model_Connection_Data *pd) +_eldbus_model_connection_type_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Connection_Data *pd) { return pd->type; } diff --git a/src/lib/eldbus/eldbus_model_object.c b/src/lib/eldbus/eldbus_model_object.c index 695f91ce96..04af7cf563 100644 --- a/src/lib/eldbus/eldbus_model_object.c +++ b/src/lib/eldbus/eldbus_model_object.c @@ -93,7 +93,7 @@ _eldbus_model_object_efl_object_destructor(Eo *obj, Eldbus_Model_Object_Data *pd } static Eina_Array const * -_eldbus_model_object_efl_model_properties_get(Eo *obj EINA_UNUSED, +_eldbus_model_object_efl_model_properties_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Object_Data *pd) { EINA_SAFETY_ON_NULL_RETURN_VAL(pd, NULL); @@ -226,31 +226,31 @@ _eldbus_model_object_efl_model_children_count_get(Eo *obj EINA_UNUSED, } static const char * -_eldbus_model_object_address_get(Eo *obj EINA_UNUSED, Eldbus_Model_Object_Data *pd) +_eldbus_model_object_address_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Object_Data *pd) { return pd->address; } static Eina_Bool -_eldbus_model_object_private_get(Eo *obj EINA_UNUSED, Eldbus_Model_Object_Data *pd) +_eldbus_model_object_private_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Object_Data *pd) { return pd->private; } static Eldbus_Connection_Type -_eldbus_model_object_type_get(Eo *obj EINA_UNUSED, Eldbus_Model_Object_Data *pd) +_eldbus_model_object_type_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Object_Data *pd) { return pd->type; } static const char * -_eldbus_model_object_bus_get(Eo *obj EINA_UNUSED, Eldbus_Model_Object_Data *pd) +_eldbus_model_object_bus_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Object_Data *pd) { return pd->bus; } static const char * -_eldbus_model_object_path_get(Eo *obj EINA_UNUSED, Eldbus_Model_Object_Data *pd) +_eldbus_model_object_path_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Object_Data *pd) { return pd->path; } diff --git a/src/lib/eldbus/eldbus_model_proxy.c b/src/lib/eldbus/eldbus_model_proxy.c index e4eeb8cc37..586dfbbb96 100644 --- a/src/lib/eldbus/eldbus_model_proxy.c +++ b/src/lib/eldbus/eldbus_model_proxy.c @@ -108,7 +108,7 @@ _eldbus_model_proxy_efl_object_destructor(Eo *obj, Eldbus_Model_Proxy_Data *pd) } static Eina_Array const * -_eldbus_model_proxy_efl_model_properties_get(Eo *obj EINA_UNUSED, +_eldbus_model_proxy_efl_model_properties_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Proxy_Data *pd) { Eina_Bool ret; @@ -353,7 +353,7 @@ _eldbus_model_proxy_create_signals_children(Eldbus_Model_Proxy_Data *pd) } static const char * -_eldbus_model_proxy_proxy_name_get(Eo *obj EINA_UNUSED, Eldbus_Model_Proxy_Data *pd) +_eldbus_model_proxy_proxy_name_get(const Eo *obj EINA_UNUSED, Eldbus_Model_Proxy_Data *pd) { return pd->name; } diff --git a/src/lib/elementary/efl_access.c b/src/lib/elementary/efl_access.c index f1fd0e95fd..be02807a31 100644 --- a/src/lib/elementary/efl_access.c +++ b/src/lib/elementary/efl_access.c @@ -140,7 +140,7 @@ static Eina_List *global_callbacks; static Eo *root; EOLIAN static int -_efl_access_index_in_parent_get(Eo *obj, Efl_Access_Data *pd EINA_UNUSED) +_efl_access_index_in_parent_get(const Eo *obj, Efl_Access_Data *pd EINA_UNUSED) { Eina_List *l, *children = NULL; Eo *chld, *parent = NULL; @@ -184,7 +184,7 @@ _efl_access_efl_object_provider_find(const Eo *obj, Efl_Access_Data *pd EINA_UNU } EOLIAN Eina_List* -_efl_access_attributes_get(Eo *obj EINA_UNUSED, Efl_Access_Data *pd EINA_UNUSED) +_efl_access_attributes_get(const Eo *obj EINA_UNUSED, Efl_Access_Data *pd EINA_UNUSED) { Eina_List *attr_list = NULL; if (pd->attr_list) @@ -276,13 +276,13 @@ _efl_access_reading_info_type_set(Eo *obj, Efl_Access_Data *pd, Efl_Access_Readi } EOLIAN Efl_Access_Reading_Info_Type -_efl_access_reading_info_type_get(Eo *obj EINA_UNUSED, Efl_Access_Data *pd) +_efl_access_reading_info_type_get(const Eo *obj EINA_UNUSED, Efl_Access_Data *pd) { return pd->reading_info; } EOLIAN static Efl_Access_Role -_efl_access_role_get(Eo *obj EINA_UNUSED, Efl_Access_Data *pd EINA_UNUSED) +_efl_access_role_get(const Eo *obj EINA_UNUSED, Efl_Access_Data *pd EINA_UNUSED) { return pd->role; } @@ -298,7 +298,7 @@ _efl_access_role_set(Eo *obj, Efl_Access_Data *pd EINA_UNUSED, Efl_Access_Role r } EOLIAN const char * -_efl_access_role_name_get(Eo *obj EINA_UNUSED, Efl_Access_Data *pd EINA_UNUSED) +_efl_access_role_name_get(const Eo *obj EINA_UNUSED, Efl_Access_Data *pd EINA_UNUSED) { Efl_Access_Role role; @@ -308,7 +308,7 @@ _efl_access_role_name_get(Eo *obj EINA_UNUSED, Efl_Access_Data *pd EINA_UNUSED) } EOLIAN const char * -_efl_access_i18n_name_get(Eo *obj EINA_UNUSED, Efl_Access_Data *pd) +_efl_access_i18n_name_get(const Eo *obj EINA_UNUSED, Efl_Access_Data *pd) { #ifdef ENABLE_NLS if (pd->translation_domain) @@ -323,7 +323,7 @@ _efl_access_i18n_name_set(Eo *obj EINA_UNUSED, Efl_Access_Data *pd, const char * eina_stringshare_replace(&pd->name, val); } -const char * _efl_access_description_get(Eo *obj EINA_UNUSED, Efl_Access_Data *pd) +const char * _efl_access_description_get(const Eo *obj EINA_UNUSED, Efl_Access_Data *pd) { #ifdef ENABLE_NLS if (pd->translation_domain) @@ -339,7 +339,7 @@ _efl_access_description_set(Eo *obj EINA_UNUSED, Efl_Access_Data *pd, const char } EOLIAN static const char * -_efl_access_localized_role_name_get(Eo *obj EINA_UNUSED, Efl_Access_Data *pd EINA_UNUSED) +_efl_access_localized_role_name_get(const Eo *obj EINA_UNUSED, Efl_Access_Data *pd EINA_UNUSED) { const char *ret = NULL; ret = efl_access_role_name_get(obj); @@ -350,14 +350,15 @@ _efl_access_localized_role_name_get(Eo *obj EINA_UNUSED, Efl_Access_Data *pd EIN } EOLIAN static Eina_List * -_efl_access_access_children_get(Eo *obj EINA_UNUSED, Efl_Access_Data *pd EINA_UNUSED) +_efl_access_access_children_get(const Eo *obj EINA_UNUSED, Efl_Access_Data *pd EINA_UNUSED) { Eina_List *children = NULL; Eina_Iterator *iter = NULL; Eo *chld; // By default use Efl_Object object hierarchy - iter = efl_children_iterator_new(obj); + /* XXX const */ + iter = efl_children_iterator_new((Eo *)obj); if (!iter) return NULL; EINA_ITERATOR_FOREACH(iter, chld) @@ -371,13 +372,13 @@ _efl_access_access_children_get(Eo *obj EINA_UNUSED, Efl_Access_Data *pd EINA_UN } EOLIAN static Efl_Access_State_Set -_efl_access_state_set_get(Eo *obj EINA_UNUSED, Efl_Access_Data *pd EINA_UNUSED) +_efl_access_state_set_get(const Eo *obj EINA_UNUSED, Efl_Access_Data *pd EINA_UNUSED) { return 0; } EOLIAN Efl_Access_Relation_Set -_efl_access_relation_set_get(Eo *obj EINA_UNUSED, Efl_Access_Data *pd EINA_UNUSED) +_efl_access_relation_set_get(const Eo *obj EINA_UNUSED, Efl_Access_Data *pd EINA_UNUSED) { return efl_access_relation_set_clone(pd->relations); } @@ -466,7 +467,7 @@ _efl_access_translation_domain_set(Eo *obj EINA_UNUSED, Efl_Access_Data *pd, con EOLIAN const char* -_efl_access_translation_domain_get(Eo *obj EINA_UNUSED, Efl_Access_Data *pd) +_efl_access_translation_domain_get(const Eo *obj EINA_UNUSED, Efl_Access_Data *pd) { return pd->translation_domain; } @@ -644,7 +645,7 @@ _efl_access_relationships_clear(Eo *obj EINA_UNUSED, Efl_Access_Data *sd) } EOLIAN Eo* -_efl_access_access_root_get(Eo *class EINA_UNUSED, void *pd EINA_UNUSED) +_efl_access_access_root_get(const Eo *class EINA_UNUSED, void *pd EINA_UNUSED) { if (!root) root = efl_add(ELM_ATSPI_APP_OBJECT_CLASS, efl_main_loop_get()); @@ -653,7 +654,7 @@ _efl_access_access_root_get(Eo *class EINA_UNUSED, void *pd EINA_UNUSED) } EOLIAN Efl_Access_Type -_efl_access_access_type_get(Eo *obj EINA_UNUSED, Efl_Access_Data *pd) +_efl_access_access_type_get(const Eo *obj EINA_UNUSED, Efl_Access_Data *pd) { return pd->type; } diff --git a/src/lib/elementary/efl_access_action.c b/src/lib/elementary/efl_access_action.c index a6aba74f33..8e56d79fd2 100644 --- a/src/lib/elementary/efl_access_action.c +++ b/src/lib/elementary/efl_access_action.c @@ -10,7 +10,7 @@ #include "elm_priv.h" EOLIAN const char * -_efl_access_action_action_localized_name_get(Eo *obj, void *pd EINA_UNUSED, int id) +_efl_access_action_action_localized_name_get(const Eo *obj, void *pd EINA_UNUSED, int id) { const char *ret = NULL; diff --git a/src/lib/elementary/efl_access_component.c b/src/lib/elementary/efl_access_component.c index fffdf53a4b..3cd166906f 100644 --- a/src/lib/elementary/efl_access_component.c +++ b/src/lib/elementary/efl_access_component.c @@ -12,7 +12,7 @@ EOLIAN static void -_efl_access_component_screen_position_get(Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED, int *x, int *y) +_efl_access_component_screen_position_get(const Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED, int *x, int *y) { Eina_Rect r; @@ -68,7 +68,7 @@ _efl_access_component_accessible_at_point_get(Eo *obj, void *_pd EINA_UNUSED, Ei } EOLIAN static Eina_Rect -_efl_access_component_extents_get(Eo *obj, void *_pd EINA_UNUSED, Eina_Bool screen_coords) +_efl_access_component_extents_get(const Eo *obj, void *_pd EINA_UNUSED, Eina_Bool screen_coords) { Eina_Rect r; @@ -111,7 +111,7 @@ _efl_access_component_extents_set(Eo *obj, void *_pd EINA_UNUSED, Eina_Bool scre EOLIAN static int -_efl_access_component_z_order_get(Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED) +_efl_access_component_z_order_get(const Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED) { // Currently not used. return 0; diff --git a/src/lib/elementary/efl_access_widget_action.c b/src/lib/elementary/efl_access_widget_action.c index a8bed05f60..bb0c920f49 100644 --- a/src/lib/elementary/efl_access_widget_action.c +++ b/src/lib/elementary/efl_access_widget_action.c @@ -94,7 +94,7 @@ _efl_access_widget_action_efl_access_action_action_keybinding_get(Eo *obj, void } EOLIAN static const char * -_efl_access_widget_action_efl_access_action_action_name_get(Eo *obj, void *pd EINA_UNUSED, int id) +_efl_access_widget_action_efl_access_action_action_name_get(const Eo *obj, void *pd EINA_UNUSED, int id) { const Efl_Access_Action_Data *actions = NULL; int tmp = 0; @@ -117,13 +117,13 @@ _efl_access_widget_action_efl_access_action_action_description_set(Eo *obj EINA_ } EOLIAN static const char * -_efl_access_widget_action_efl_access_action_action_description_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED, int id EINA_UNUSED) +_efl_access_widget_action_efl_access_action_action_description_get(const Eo *obj EINA_UNUSED, void *pd EINA_UNUSED, int id EINA_UNUSED) { return NULL; } EOLIAN static Eina_List* -_efl_access_widget_action_efl_access_action_actions_get(Eo *obj, void *pd EINA_UNUSED) +_efl_access_widget_action_efl_access_action_actions_get(const Eo *obj, void *pd EINA_UNUSED) { const Efl_Access_Action_Data *actions = NULL; Eina_List *ret = NULL; diff --git a/src/lib/elementary/efl_ui_bg_widget.c b/src/lib/elementary/efl_ui_bg_widget.c index 7f18b8a8c4..09f07b1e63 100644 --- a/src/lib/elementary/efl_ui_bg_widget.c +++ b/src/lib/elementary/efl_ui_bg_widget.c @@ -127,7 +127,7 @@ _efl_ui_bg_widget_efl_image_scale_type_set(Eo *obj EINA_UNUSED, Efl_Ui_Bg_Widget } EOLIAN static Efl_Image_Scale_Type -_efl_ui_bg_widget_efl_image_scale_type_get(Eo *obj EINA_UNUSED, Efl_Ui_Bg_Widget_Data *sd) +_efl_ui_bg_widget_efl_image_scale_type_get(const Eo *obj EINA_UNUSED, Efl_Ui_Bg_Widget_Data *sd) { return efl_image_scale_type_get(sd->img); } @@ -166,7 +166,7 @@ elm_bg_color_get(const Evas_Object *obj, } EOLIAN static void -_efl_ui_bg_widget_efl_gfx_color_color_get(Eo *obj, Efl_Ui_Bg_Widget_Data *sd, int *r, int *g, int *b, int *a) +_efl_ui_bg_widget_efl_gfx_color_color_get(const Eo *obj, Efl_Ui_Bg_Widget_Data *sd, int *r, int *g, int *b, int *a) { if (!sd->rect) efl_gfx_color_get(efl_super(obj, MY_CLASS), r, g, b, a); @@ -188,7 +188,7 @@ _efl_ui_bg_widget_efl_image_load_load_size_set(Eo *obj EINA_UNUSED, Efl_Ui_Bg_Wi } EOLIAN static Eina_Size2D -_efl_ui_bg_widget_efl_image_load_load_size_get(Eo *obj EINA_UNUSED, Efl_Ui_Bg_Widget_Data *sd) +_efl_ui_bg_widget_efl_image_load_load_size_get(const Eo *obj EINA_UNUSED, Efl_Ui_Bg_Widget_Data *sd) { return efl_image_load_size_get(sd->img); } @@ -214,7 +214,7 @@ elm_bg_file_get(const Eo *obj, const char **file, const char **group) } EOLIAN static void -_efl_ui_bg_widget_efl_file_file_get(Eo *obj, Efl_Ui_Bg_Widget_Data *sd, const char **file, const char **key) +_efl_ui_bg_widget_efl_file_file_get(const Eo *obj, Efl_Ui_Bg_Widget_Data *sd, const char **file, const char **key) { if (elm_widget_is_legacy(obj)) { @@ -234,7 +234,7 @@ _efl_ui_bg_widget_efl_file_mmap_set(Eo *obj EINA_UNUSED, Efl_Ui_Bg_Widget_Data * } EOLIAN static void -_efl_ui_bg_widget_efl_file_mmap_get(Eo *obj EINA_UNUSED, Efl_Ui_Bg_Widget_Data *sd, +_efl_ui_bg_widget_efl_file_mmap_get(const Eo *obj EINA_UNUSED, Efl_Ui_Bg_Widget_Data *sd, const Eina_File **file, const char **key) { efl_file_mmap_get(sd->img, file, key); diff --git a/src/lib/elementary/efl_ui_box.c b/src/lib/elementary/efl_ui_box.c index 9274b5666b..4cf38a1273 100644 --- a/src/lib/elementary/efl_ui_box.c +++ b/src/lib/elementary/efl_ui_box.c @@ -488,7 +488,7 @@ _efl_ui_box_efl_ui_direction_direction_set(Eo *obj, Efl_Ui_Box_Data *pd, Efl_Ui_ } EOLIAN static Efl_Ui_Dir -_efl_ui_box_efl_ui_direction_direction_get(Eo *obj EINA_UNUSED, Efl_Ui_Box_Data *pd) +_efl_ui_box_efl_ui_direction_direction_get(const Eo *obj EINA_UNUSED, Efl_Ui_Box_Data *pd) { return pd->dir; } @@ -514,7 +514,7 @@ _efl_ui_box_efl_pack_pack_padding_set(Eo *obj, Efl_Ui_Box_Data *pd, double h, do } EOLIAN static void -_efl_ui_box_efl_pack_pack_padding_get(Eo *obj, Efl_Ui_Box_Data *pd, double *h, double *v, Eina_Bool *scalable) +_efl_ui_box_efl_pack_pack_padding_get(const Eo *obj, Efl_Ui_Box_Data *pd, double *h, double *v, Eina_Bool *scalable) { ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd); @@ -540,7 +540,7 @@ _efl_ui_box_efl_pack_pack_align_set(Eo *obj, Efl_Ui_Box_Data *pd, double h, doub } EOLIAN static void -_efl_ui_box_efl_pack_pack_align_get(Eo *obj EINA_UNUSED, Efl_Ui_Box_Data *pd, double *h, double *v) +_efl_ui_box_efl_pack_pack_align_get(const Eo *obj EINA_UNUSED, Efl_Ui_Box_Data *pd, double *h, double *v) { if (h) *h = pd->align.h; if (v) *v = pd->align.v; diff --git a/src/lib/elementary/efl_ui_box_flow.c b/src/lib/elementary/efl_ui_box_flow.c index 4f69a3d290..a93ccc9e49 100644 --- a/src/lib/elementary/efl_ui_box_flow.c +++ b/src/lib/elementary/efl_ui_box_flow.c @@ -17,7 +17,7 @@ _efl_ui_box_flow_box_flow_homogenous_set(Eo *obj EINA_UNUSED, Efl_Ui_Box_Flow_Da } EOLIAN static Eina_Bool -_efl_ui_box_flow_box_flow_homogenous_get(Eo *obj EINA_UNUSED, Efl_Ui_Box_Flow_Data *pd) +_efl_ui_box_flow_box_flow_homogenous_get(const Eo *obj EINA_UNUSED, Efl_Ui_Box_Flow_Data *pd) { return pd->homogenous; } @@ -29,7 +29,7 @@ _efl_ui_box_flow_box_flow_max_size_set(Eo *obj EINA_UNUSED, Efl_Ui_Box_Flow_Data } EOLIAN static Eina_Bool -_efl_ui_box_flow_box_flow_max_size_get(Eo *obj EINA_UNUSED, Efl_Ui_Box_Flow_Data *pd) +_efl_ui_box_flow_box_flow_max_size_get(const Eo *obj EINA_UNUSED, Efl_Ui_Box_Flow_Data *pd) { return pd->max_size; } diff --git a/src/lib/elementary/efl_ui_button.c b/src/lib/elementary/efl_ui_button.c index db291f1ace..ba24914836 100644 --- a/src/lib/elementary/efl_ui_button.c +++ b/src/lib/elementary/efl_ui_button.c @@ -261,13 +261,13 @@ _internal_efl_ui_button_autorepeat_supported_get(const Evas_Object *obj) } EOLIAN static Eina_Bool -_efl_ui_button_efl_ui_autorepeat_autorepeat_supported_get(Eo *obj EINA_UNUSED, Efl_Ui_Button_Data *_pd EINA_UNUSED) +_efl_ui_button_efl_ui_autorepeat_autorepeat_supported_get(const Eo *obj EINA_UNUSED, Efl_Ui_Button_Data *_pd EINA_UNUSED) { return EINA_TRUE; } EOLIAN static Eina_Bool -_efl_ui_button_efl_ui_autorepeat_autorepeat_enabled_get(Eo *obj, Efl_Ui_Button_Data *sd) +_efl_ui_button_efl_ui_autorepeat_autorepeat_enabled_get(const Eo *obj, Efl_Ui_Button_Data *sd) { return (_AR_CAPABLE(obj) & sd->autorepeat); } @@ -287,7 +287,7 @@ _efl_ui_button_efl_ui_autorepeat_autorepeat_initial_timeout_set(Eo *obj, Efl_Ui_ } EOLIAN static double -_efl_ui_button_efl_ui_autorepeat_autorepeat_initial_timeout_get(Eo *obj, Efl_Ui_Button_Data *sd) +_efl_ui_button_efl_ui_autorepeat_autorepeat_initial_timeout_get(const Eo *obj, Efl_Ui_Button_Data *sd) { if (!_AR_CAPABLE(obj)) return 0.0; @@ -311,13 +311,13 @@ _efl_ui_button_efl_ui_autorepeat_autorepeat_gap_timeout_set(Eo *obj, Efl_Ui_Butt } EOLIAN static double -_efl_ui_button_efl_ui_autorepeat_autorepeat_gap_timeout_get(Eo *obj EINA_UNUSED, Efl_Ui_Button_Data *sd) +_efl_ui_button_efl_ui_autorepeat_autorepeat_gap_timeout_get(const Eo *obj EINA_UNUSED, Efl_Ui_Button_Data *sd) { return sd->ar_gap_timeout; } EOLIAN const Efl_Access_Action_Data * -_efl_ui_button_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Efl_Ui_Button_Data *pd EINA_UNUSED) +_efl_ui_button_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Efl_Ui_Button_Data *pd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "activate", "activate", NULL, _key_action_activate }, diff --git a/src/lib/elementary/efl_ui_calendar.c b/src/lib/elementary/efl_ui_calendar.c index e630b1dc22..60f6730083 100644 --- a/src/lib/elementary/efl_ui_calendar.c +++ b/src/lib/elementary/efl_ui_calendar.c @@ -1103,7 +1103,7 @@ _efl_ui_calendar_date_min_set(Eo *obj, Efl_Ui_Calendar_Data *sd, Efl_Time min) } EOLIAN static Efl_Time -_efl_ui_calendar_date_min_get(Eo *obj EINA_UNUSED, Efl_Ui_Calendar_Data *sd) +_efl_ui_calendar_date_min_get(const Eo *obj EINA_UNUSED, Efl_Ui_Calendar_Data *sd) { return sd->date_min; } @@ -1164,7 +1164,7 @@ _efl_ui_calendar_date_max_set(Eo *obj, Efl_Ui_Calendar_Data *sd, Efl_Time max) } EOLIAN static Efl_Time -_efl_ui_calendar_date_max_get(Eo *obj EINA_UNUSED, Efl_Ui_Calendar_Data *sd) +_efl_ui_calendar_date_max_get(const Eo *obj EINA_UNUSED, Efl_Ui_Calendar_Data *sd) { return sd->date_max; } @@ -1204,7 +1204,7 @@ _efl_ui_calendar_date_set(Eo *obj, Efl_Ui_Calendar_Data *sd, Efl_Time date) } EOLIAN static Efl_Time -_efl_ui_calendar_date_get(Eo *obj EINA_UNUSED, Efl_Ui_Calendar_Data *sd) +_efl_ui_calendar_date_get(const Eo *obj EINA_UNUSED, Efl_Ui_Calendar_Data *sd) { return sd->date; } @@ -1238,7 +1238,7 @@ _efl_ui_calendar_first_day_of_week_set(Eo *obj, Efl_Ui_Calendar_Data *sd, Efl_Ui } EOLIAN static Efl_Ui_Calendar_Weekday -_efl_ui_calendar_first_day_of_week_get(Eo *obj EINA_UNUSED, Efl_Ui_Calendar_Data *sd) +_efl_ui_calendar_first_day_of_week_get(const Eo *obj EINA_UNUSED, Efl_Ui_Calendar_Data *sd) { return sd->first_week_day; } @@ -1253,7 +1253,7 @@ _efl_ui_calendar_class_constructor(Efl_Class *klass) } EOLIAN static const Efl_Access_Action_Data* -_efl_ui_calendar_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Efl_Ui_Calendar_Data *sd EINA_UNUSED) +_efl_ui_calendar_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Efl_Ui_Calendar_Data *sd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "activate", "activate", NULL, _key_action_activate}, @@ -1299,7 +1299,7 @@ _efl_ui_calendar_item_day_number_set(Eo *obj, Efl_Ui_Calendar_Item_Data *pd, int } EOLIAN static int -_efl_ui_calendar_item_day_number_get(Eo *obj EINA_UNUSED, Efl_Ui_Calendar_Item_Data *pd) +_efl_ui_calendar_item_day_number_get(const Eo *obj EINA_UNUSED, Efl_Ui_Calendar_Item_Data *pd) { return pd->v; } @@ -1314,7 +1314,7 @@ _efl_ui_calendar_item_efl_ui_focus_object_focus_set(Eo *obj, Efl_Ui_Calendar_Ite } EOLIAN static Eina_Rect -_efl_ui_calendar_item_efl_ui_focus_object_focus_geometry_get(Eo *obj EINA_UNUSED, Efl_Ui_Calendar_Item_Data *pd) +_efl_ui_calendar_item_efl_ui_focus_object_focus_geometry_get(const Eo *obj EINA_UNUSED, Efl_Ui_Calendar_Item_Data *pd) { return efl_gfx_geometry_get(pd->part); } diff --git a/src/lib/elementary/efl_ui_check.c b/src/lib/elementary/efl_ui_check.c index 168ab6304e..dcde1a6830 100644 --- a/src/lib/elementary/efl_ui_check.c +++ b/src/lib/elementary/efl_ui_check.c @@ -86,7 +86,7 @@ _activate(Evas_Object *obj) } EOLIAN static Efl_Access_State_Set -_efl_ui_check_efl_access_state_set_get(Eo *obj, Efl_Ui_Check_Data *_pd EINA_UNUSED) +_efl_ui_check_efl_access_state_set_get(const Eo *obj, Efl_Ui_Check_Data *_pd EINA_UNUSED) { Efl_Access_State_Set states = 0; @@ -234,7 +234,7 @@ _on_check_toggle(void *data, } EOLIAN static Eina_Bool -_efl_ui_check_selected_get(Eo *obj, Efl_Ui_Check_Data *pd EINA_UNUSED) +_efl_ui_check_selected_get(const Eo *obj, Efl_Ui_Check_Data *pd EINA_UNUSED) { return !!efl_ui_nstate_value_get(obj); } @@ -351,7 +351,7 @@ elm_check_state_pointer_set(Eo *obj, Eina_Bool *statep) } EOLIAN const Efl_Access_Action_Data * -_efl_ui_check_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Efl_Ui_Check_Data *pd EINA_UNUSED) +_efl_ui_check_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Efl_Ui_Check_Data *pd EINA_UNUSED) { static Efl_Access_Action_Data atspi_action[] = { { "activate", "activate", NULL, _key_action_activate }, diff --git a/src/lib/elementary/efl_ui_clock.c b/src/lib/elementary/efl_ui_clock.c index 694c0a2492..11c17986cd 100644 --- a/src/lib/elementary/efl_ui_clock.c +++ b/src/lib/elementary/efl_ui_clock.c @@ -438,7 +438,7 @@ _efl_ui_clock_pause_set(Eo *obj EINA_UNUSED, Efl_Ui_Clock_Data *sd, Eina_Bool pa } EOLIAN static Eina_Bool -_efl_ui_clock_pause_get(Eo *obj EINA_UNUSED, Efl_Ui_Clock_Data *sd) +_efl_ui_clock_pause_get(const Eo *obj EINA_UNUSED, Efl_Ui_Clock_Data *sd) { return sd->paused; } @@ -450,7 +450,7 @@ _efl_ui_clock_edit_mode_set(Eo *obj EINA_UNUSED, Efl_Ui_Clock_Data *sd, Eina_Boo } EOLIAN static Eina_Bool -_efl_ui_clock_edit_mode_get(Eo *obj EINA_UNUSED, Efl_Ui_Clock_Data *sd) +_efl_ui_clock_edit_mode_get(const Eo *obj EINA_UNUSED, Efl_Ui_Clock_Data *sd) { return sd->edit_mode; } @@ -939,7 +939,7 @@ _efl_ui_clock_efl_object_constructor(Eo *obj, Efl_Ui_Clock_Data *_pd EINA_UNUSED } EOLIAN static const char* -_efl_ui_clock_format_get(Eo *obj EINA_UNUSED, Efl_Ui_Clock_Data *sd) +_efl_ui_clock_format_get(const Eo *obj EINA_UNUSED, Efl_Ui_Clock_Data *sd) { return sd->format; } @@ -959,7 +959,7 @@ _efl_ui_clock_format_set(Eo *obj, Efl_Ui_Clock_Data *sd, const char *fmt) } EOLIAN static Eina_Bool -_efl_ui_clock_field_visible_get(Eo *obj EINA_UNUSED, Efl_Ui_Clock_Data *sd, Efl_Ui_Clock_Type fieldtype) +_efl_ui_clock_field_visible_get(const Eo *obj EINA_UNUSED, Efl_Ui_Clock_Data *sd, Efl_Ui_Clock_Type fieldtype) { Clock_Field *field; @@ -1031,7 +1031,7 @@ _efl_ui_clock_field_visible_set(Eo *obj, Efl_Ui_Clock_Data *sd, Efl_Ui_Clock_Typ } EOLIAN static void -_efl_ui_clock_field_limit_get(Eo *obj EINA_UNUSED, Efl_Ui_Clock_Data *sd, Efl_Ui_Clock_Type fieldtype, int *min, int *max) +_efl_ui_clock_field_limit_get(const Eo *obj EINA_UNUSED, Efl_Ui_Clock_Data *sd, Efl_Ui_Clock_Type fieldtype, int *min, int *max) { Clock_Field *field; @@ -1070,7 +1070,7 @@ _efl_ui_clock_field_limit_set(Eo *obj, Efl_Ui_Clock_Data *sd, Efl_Ui_Clock_Type } EOLIAN static Efl_Time -_efl_ui_clock_time_get(Eo *obj EINA_UNUSED, Efl_Ui_Clock_Data *sd) +_efl_ui_clock_time_get(const Eo *obj EINA_UNUSED, Efl_Ui_Clock_Data *sd) { return sd->curr_time; } @@ -1091,7 +1091,7 @@ _efl_ui_clock_time_set(Eo *obj, Efl_Ui_Clock_Data *sd, Efl_Time newtime) } EOLIAN static Efl_Time -_efl_ui_clock_time_min_get(Eo *obj EINA_UNUSED, Efl_Ui_Clock_Data *sd) +_efl_ui_clock_time_min_get(const Eo *obj EINA_UNUSED, Efl_Ui_Clock_Data *sd) { return sd->min_limit; } @@ -1116,7 +1116,7 @@ _efl_ui_clock_time_min_set(Eo *obj, Efl_Ui_Clock_Data *sd, Efl_Time mintime) } EOLIAN static Efl_Time -_efl_ui_clock_time_max_get(Eo *obj EINA_UNUSED, Efl_Ui_Clock_Data *sd) +_efl_ui_clock_time_max_get(const Eo *obj EINA_UNUSED, Efl_Ui_Clock_Data *sd) { return sd->max_limit; } diff --git a/src/lib/elementary/efl_ui_dnd.c b/src/lib/elementary/efl_ui_dnd.c index c70a80ceba..f40827812a 100644 --- a/src/lib/elementary/efl_ui_dnd.c +++ b/src/lib/elementary/efl_ui_dnd.c @@ -80,7 +80,7 @@ _efl_ui_dnd_drop_target_del(Eo *obj, void *pd EINA_UNUSED, Efl_Selection_Format } EOLIAN static double -_efl_ui_dnd_container_drag_delay_time_get(Eo *obj EINA_UNUSED, Efl_Ui_Dnd_Container_Data *pd) +_efl_ui_dnd_container_drag_delay_time_get(const Eo *obj EINA_UNUSED, Efl_Ui_Dnd_Container_Data *pd) { return pd->drag_delay_time; } diff --git a/src/lib/elementary/efl_ui_flip.c b/src/lib/elementary/efl_ui_flip.c index e9c5412c21..b1a4fd2fac 100644 --- a/src/lib/elementary/efl_ui_flip.c +++ b/src/lib/elementary/efl_ui_flip.c @@ -1874,7 +1874,7 @@ _efl_ui_flip_efl_object_constructor(Eo *obj, Efl_Ui_Flip_Data *sd) } EOLIAN static Eina_Bool -_efl_ui_flip_front_visible_get(Eo *obj EINA_UNUSED, Efl_Ui_Flip_Data *sd) +_efl_ui_flip_front_visible_get(const Eo *obj EINA_UNUSED, Efl_Ui_Flip_Data *sd) { return sd->state; } @@ -2029,7 +2029,7 @@ _efl_ui_flip_interaction_set(Eo *obj, Efl_Ui_Flip_Data *sd, Efl_Ui_Flip_Interact } EOLIAN static Efl_Ui_Flip_Interaction -_efl_ui_flip_interaction_get(Eo *obj EINA_UNUSED, Efl_Ui_Flip_Data *sd) +_efl_ui_flip_interaction_get(const Eo *obj EINA_UNUSED, Efl_Ui_Flip_Data *sd) { return sd->intmode; } diff --git a/src/lib/elementary/efl_ui_focus_composition.c b/src/lib/elementary/efl_ui_focus_composition.c index 61bd59a475..5cd5e35aa6 100644 --- a/src/lib/elementary/efl_ui_focus_composition.c +++ b/src/lib/elementary/efl_ui_focus_composition.c @@ -115,7 +115,7 @@ cont: } EOLIAN static Eina_List* -_efl_ui_focus_composition_composition_elements_get(Eo *obj EINA_UNUSED, Efl_Ui_Focus_Composition_Data *pd) +_efl_ui_focus_composition_composition_elements_get(const Eo *obj EINA_UNUSED, Efl_Ui_Focus_Composition_Data *pd) { return eina_list_clone(pd->order); } @@ -173,7 +173,7 @@ _efl_ui_focus_composition_custom_manager_set(Eo *obj EINA_UNUSED, Efl_Ui_Focus_C } EOLIAN static Efl_Ui_Focus_Manager* -_efl_ui_focus_composition_custom_manager_get(Eo *obj EINA_UNUSED, Efl_Ui_Focus_Composition_Data *pd) +_efl_ui_focus_composition_custom_manager_get(const Eo *obj EINA_UNUSED, Efl_Ui_Focus_Composition_Data *pd) { return pd->custom_manager; } @@ -185,7 +185,7 @@ _efl_ui_focus_composition_logical_mode_set(Eo *obj EINA_UNUSED, Efl_Ui_Focus_Com } EOLIAN static Eina_Bool -_efl_ui_focus_composition_logical_mode_get(Eo *obj EINA_UNUSED, Efl_Ui_Focus_Composition_Data *pd) +_efl_ui_focus_composition_logical_mode_get(const Eo *obj EINA_UNUSED, Efl_Ui_Focus_Composition_Data *pd) { return pd->logical; } @@ -231,13 +231,13 @@ _efl_ui_focus_composition_adapter_canvas_object_set(Eo *obj, Efl_Ui_Focus_Compos } EOLIAN static Efl_Canvas_Object* -_efl_ui_focus_composition_adapter_canvas_object_get(Eo *obj EINA_UNUSED, Efl_Ui_Focus_Composition_Adapter_Data *pd) +_efl_ui_focus_composition_adapter_canvas_object_get(const Eo *obj EINA_UNUSED, Efl_Ui_Focus_Composition_Adapter_Data *pd) { return pd->object; } EOLIAN static Eina_Rect -_efl_ui_focus_composition_adapter_efl_ui_focus_object_focus_geometry_get(Eo *obj EINA_UNUSED, Efl_Ui_Focus_Composition_Adapter_Data *pd EINA_UNUSED) +_efl_ui_focus_composition_adapter_efl_ui_focus_object_focus_geometry_get(const Eo *obj EINA_UNUSED, Efl_Ui_Focus_Composition_Adapter_Data *pd EINA_UNUSED) { return efl_gfx_geometry_get(pd->object); } diff --git a/src/lib/elementary/efl_ui_focus_layer.c b/src/lib/elementary/efl_ui_focus_layer.c index ba451b8719..3687a4df5f 100644 --- a/src/lib/elementary/efl_ui_focus_layer.c +++ b/src/lib/elementary/efl_ui_focus_layer.c @@ -59,7 +59,7 @@ _efl_ui_focus_layer_efl_object_destructor(Eo *obj, Efl_Ui_Focus_Layer_Data *pd E } EOLIAN static Efl_Ui_Focus_Manager* -_efl_ui_focus_layer_efl_ui_focus_object_focus_manager_get(Eo *obj, Efl_Ui_Focus_Layer_Data *pd EINA_UNUSED) +_efl_ui_focus_layer_efl_ui_focus_object_focus_manager_get(const Eo *obj, Efl_Ui_Focus_Layer_Data *pd EINA_UNUSED) { if (pd->registered_manager) return elm_widget_top_get(obj); @@ -68,7 +68,7 @@ _efl_ui_focus_layer_efl_ui_focus_object_focus_manager_get(Eo *obj, Efl_Ui_Focus_ } EOLIAN static Efl_Ui_Focus_Object* -_efl_ui_focus_layer_efl_ui_focus_object_focus_parent_get(Eo *obj EINA_UNUSED, Efl_Ui_Focus_Layer_Data *pd) +_efl_ui_focus_layer_efl_ui_focus_object_focus_parent_get(const Eo *obj EINA_UNUSED, Efl_Ui_Focus_Layer_Data *pd) { if (pd->registered_manager) return efl_ui_focus_manager_root_get(pd->registered_manager); @@ -128,7 +128,7 @@ _efl_ui_focus_layer_enable_set(Eo *obj, Efl_Ui_Focus_Layer_Data *pd, Eina_Bool v } EOLIAN static Eina_Bool -_efl_ui_focus_layer_enable_get(Eo *obj, Efl_Ui_Focus_Layer_Data *pd) +_efl_ui_focus_layer_enable_get(const Eo *obj, Efl_Ui_Focus_Layer_Data *pd) { if (!pd->registered_manager) return EINA_FALSE; return (efl_ui_focus_manager_redirect_get(pd->registered_manager) == obj); @@ -142,7 +142,7 @@ _efl_ui_focus_layer_behaviour_set(Eo *obj EINA_UNUSED, Efl_Ui_Focus_Layer_Data * } EOLIAN static void -_efl_ui_focus_layer_behaviour_get(Eo *obj EINA_UNUSED, Efl_Ui_Focus_Layer_Data *pd, Eina_Bool *enable_on_visible, Eina_Bool *cycle) +_efl_ui_focus_layer_behaviour_get(const Eo *obj EINA_UNUSED, Efl_Ui_Focus_Layer_Data *pd, Eina_Bool *enable_on_visible, Eina_Bool *cycle) { *cycle = pd->cycle; *enable_on_visible = pd->enable_on_visible; diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c b/src/lib/elementary/efl_ui_focus_manager_calc.c index 3e2292c92a..f8ec29ae64 100644 --- a/src/lib/elementary/efl_ui_focus_manager_calc.c +++ b/src/lib/elementary/efl_ui_focus_manager_calc.c @@ -1079,7 +1079,7 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_redirect_set(Eo *obj, Efl_Ui_Foc } EOLIAN static Efl_Ui_Focus_Manager * -_efl_ui_focus_manager_calc_efl_ui_focus_manager_redirect_get(Eo *obj EINA_UNUSED, Efl_Ui_Focus_Manager_Calc_Data *pd) +_efl_ui_focus_manager_calc_efl_ui_focus_manager_redirect_get(const Eo *obj EINA_UNUSED, Efl_Ui_Focus_Manager_Calc_Data *pd) { return pd->redirect; } @@ -1176,12 +1176,13 @@ _iterator_free(Border_Elements_Iterator *it) } EOLIAN static Eina_Iterator* -_efl_ui_focus_manager_calc_efl_ui_focus_manager_border_elements_get(Eo *obj, Efl_Ui_Focus_Manager_Calc_Data *pd) +_efl_ui_focus_manager_calc_efl_ui_focus_manager_border_elements_get(const Eo *obj, Efl_Ui_Focus_Manager_Calc_Data *pd) { Border_Elements_Iterator *it; Node *n; - dirty_flush_all(obj, pd); + /* XXX const */ + dirty_flush_all((Eo *)obj, pd); Eina_Iterator *elements = eina_hash_iterator_data_new(pd->node_hash); EINA_ITERATOR_FOREACH(elements, n) @@ -1199,7 +1200,7 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_border_elements_get(Eo *obj, Efl it->iterator.next = FUNC_ITERATOR_NEXT(_iterator_next); it->iterator.get_container = FUNC_ITERATOR_GET_CONTAINER(_iterator_get_container); it->iterator.free = FUNC_ITERATOR_FREE(_iterator_free); - it->object = obj; + it->object = (Eo *)obj; return (Eina_Iterator*) it; } @@ -1784,7 +1785,7 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_root_set(Eo *obj EINA_UNUSED, Ef } EOLIAN static Efl_Ui_Focus_Object* -_efl_ui_focus_manager_calc_efl_ui_focus_manager_root_get(Eo *obj EINA_UNUSED, Efl_Ui_Focus_Manager_Calc_Data *pd) +_efl_ui_focus_manager_calc_efl_ui_focus_manager_root_get(const Eo *obj EINA_UNUSED, Efl_Ui_Focus_Manager_Calc_Data *pd) { if (!pd->root) return NULL; @@ -1823,7 +1824,7 @@ _convert(Border b) } EOLIAN static Efl_Ui_Focus_Object* -_efl_ui_focus_manager_calc_efl_ui_focus_manager_manager_focus_get(Eo *obj EINA_UNUSED, Efl_Ui_Focus_Manager_Calc_Data *pd) +_efl_ui_focus_manager_calc_efl_ui_focus_manager_manager_focus_get(const Eo *obj EINA_UNUSED, Efl_Ui_Focus_Manager_Calc_Data *pd) { Node *upper = NULL; diff --git a/src/lib/elementary/efl_ui_focus_manager_root_focus.c b/src/lib/elementary/efl_ui_focus_manager_root_focus.c index 61e5456111..cd73f02b6d 100644 --- a/src/lib/elementary/efl_ui_focus_manager_root_focus.c +++ b/src/lib/elementary/efl_ui_focus_manager_root_focus.c @@ -100,7 +100,7 @@ _efl_ui_focus_manager_root_focus_efl_ui_focus_manager_manager_focus_set(Eo *obj, EOLIAN static Efl_Ui_Focus_Object* -_efl_ui_focus_manager_root_focus_efl_ui_focus_manager_manager_focus_get(Eo *obj, Efl_Ui_Focus_Manager_Root_Focus_Data *pd) +_efl_ui_focus_manager_root_focus_efl_ui_focus_manager_manager_focus_get(const Eo *obj, Efl_Ui_Focus_Manager_Root_Focus_Data *pd) { return _trap(pd, efl_ui_focus_manager_focus_get(efl_super(obj, MY_CLASS))); } @@ -125,7 +125,7 @@ _efl_ui_focus_manager_root_focus_efl_ui_focus_manager_logical_end(Eo *obj, Efl_U } EOLIAN static Eina_Iterator * -_efl_ui_focus_manager_root_focus_efl_ui_focus_manager_border_elements_get(Eo *obj, Efl_Ui_Focus_Manager_Root_Focus_Data *pd) +_efl_ui_focus_manager_root_focus_efl_ui_focus_manager_border_elements_get(const Eo *obj, Efl_Ui_Focus_Manager_Root_Focus_Data *pd) { if (pd->rect_registered) return eina_list_iterator_new(pd->iterator_list); diff --git a/src/lib/elementary/efl_ui_focus_object.c b/src/lib/elementary/efl_ui_focus_object.c index 71764c4eae..946d605ccf 100644 --- a/src/lib/elementary/efl_ui_focus_object.c +++ b/src/lib/elementary/efl_ui_focus_object.c @@ -22,7 +22,7 @@ _efl_ui_focus_object_focus_set(Eo *obj, Efl_Ui_Focus_Object_Data *pd, Eina_Bool } EOLIAN static Eina_Bool -_efl_ui_focus_object_focus_get(Eo *obj EINA_UNUSED, Efl_Ui_Focus_Object_Data *pd) +_efl_ui_focus_object_focus_get(const Eo *obj EINA_UNUSED, Efl_Ui_Focus_Object_Data *pd) { return pd->old_focus; } diff --git a/src/lib/elementary/efl_ui_focus_parent_provider_gen.c b/src/lib/elementary/efl_ui_focus_parent_provider_gen.c index 807e67519c..8fc0134801 100644 --- a/src/lib/elementary/efl_ui_focus_parent_provider_gen.c +++ b/src/lib/elementary/efl_ui_focus_parent_provider_gen.c @@ -21,7 +21,7 @@ _efl_ui_focus_parent_provider_gen_content_item_map_set(Eo *obj, Efl_Ui_Focus_Par } EOLIAN static Eina_Hash* -_efl_ui_focus_parent_provider_gen_content_item_map_get(Eo *obj EINA_UNUSED, Efl_Ui_Focus_Parent_Provider_Gen_Data *pd) +_efl_ui_focus_parent_provider_gen_content_item_map_get(const Eo *obj EINA_UNUSED, Efl_Ui_Focus_Parent_Provider_Gen_Data *pd) { return pd->map; } @@ -39,7 +39,7 @@ _efl_ui_focus_parent_provider_gen_container_set(Eo *obj, Efl_Ui_Focus_Parent_Pro } EOLIAN static Efl_Ui_Widget* -_efl_ui_focus_parent_provider_gen_container_get(Eo *obj EINA_UNUSED, Efl_Ui_Focus_Parent_Provider_Gen_Data *pd) +_efl_ui_focus_parent_provider_gen_container_get(const Eo *obj EINA_UNUSED, Efl_Ui_Focus_Parent_Provider_Gen_Data *pd) { return pd->container; } diff --git a/src/lib/elementary/efl_ui_frame.c b/src/lib/elementary/efl_ui_frame.c index 9236bafc03..2b9a1fe00b 100644 --- a/src/lib/elementary/efl_ui_frame.c +++ b/src/lib/elementary/efl_ui_frame.c @@ -145,7 +145,7 @@ _efl_ui_frame_autocollapse_set(Eo *obj EINA_UNUSED, Efl_Ui_Frame_Data *sd, Eina_ } EOLIAN static Eina_Bool -_efl_ui_frame_autocollapse_get(Eo *obj EINA_UNUSED, Efl_Ui_Frame_Data *sd) +_efl_ui_frame_autocollapse_get(const Eo *obj EINA_UNUSED, Efl_Ui_Frame_Data *sd) { return sd->collapsible; } @@ -184,7 +184,7 @@ _efl_ui_frame_collapse_go(Eo *obj, Efl_Ui_Frame_Data *sd, Eina_Bool collapse) } EOLIAN static Eina_Bool -_efl_ui_frame_collapse_get(Eo *obj EINA_UNUSED, Efl_Ui_Frame_Data *sd) +_efl_ui_frame_collapse_get(const Eo *obj EINA_UNUSED, Efl_Ui_Frame_Data *sd) { return sd->collapsed; } diff --git a/src/lib/elementary/efl_ui_image.c b/src/lib/elementary/efl_ui_image.c index 2a72e73347..c1e2b3a602 100644 --- a/src/lib/elementary/efl_ui_image.c +++ b/src/lib/elementary/efl_ui_image.c @@ -531,7 +531,7 @@ _efl_ui_image_efl_image_smooth_scale_set(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data } EOLIAN static Eina_Bool -_efl_ui_image_efl_image_smooth_scale_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd) +_efl_ui_image_efl_image_smooth_scale_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd) { return sd->smooth; } @@ -1163,7 +1163,7 @@ _efl_ui_image_efl_layout_signal_signal_emit(Eo *obj EINA_UNUSED, Efl_Ui_Image_Da } EOLIAN static Eina_Size2D -_efl_ui_image_efl_layout_group_group_size_min_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd) +_efl_ui_image_efl_layout_group_group_size_min_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd) { if (sd->edje) return efl_layout_group_size_min_get(sd->img); @@ -1172,7 +1172,7 @@ _efl_ui_image_efl_layout_group_group_size_min_get(Eo *obj EINA_UNUSED, Efl_Ui_Im } EOLIAN static Eina_Size2D -_efl_ui_image_efl_layout_group_group_size_max_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd) +_efl_ui_image_efl_layout_group_group_size_max_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd) { if (sd->edje) return efl_layout_group_size_max_get(sd->img); @@ -1200,7 +1200,7 @@ _efl_ui_image_efl_layout_calc_calc_size_min(Eo *obj EINA_UNUSED, Efl_Ui_Image_Da } EOLIAN static void -_efl_ui_image_efl_file_file_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd, const char **file, const char **key) +_efl_ui_image_efl_file_file_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd, const char **file, const char **key) { if (sd->async.th) { @@ -1244,7 +1244,7 @@ elm_image_async_open_set(Eo *obj, Eina_Bool async) } EOLIAN static Eina_Size2D -_efl_ui_image_efl_gfx_view_view_size_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd) +_efl_ui_image_efl_gfx_view_view_size_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd) { int tw, th; @@ -1257,7 +1257,7 @@ _efl_ui_image_efl_gfx_view_view_size_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data } EOLIAN static Eina_Size2D -_efl_ui_image_efl_image_image_size_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd) +_efl_ui_image_efl_image_image_size_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd) { if (sd->edje) return EINA_SIZE2D(0, 0); @@ -1292,7 +1292,7 @@ elm_image_prescale_get(const Evas_Object *obj) } EOLIAN static Eina_Size2D -_efl_ui_image_efl_image_load_load_size_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd) +_efl_ui_image_efl_image_load_load_size_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd) { return sd->load_size; } @@ -1310,7 +1310,7 @@ _efl_ui_image_efl_orientation_orientation_set(Eo *obj, Efl_Ui_Image_Data *sd, Ef } EOLIAN static Efl_Orient -_efl_ui_image_efl_orientation_orientation_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd) +_efl_ui_image_efl_orientation_orientation_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd) { return sd->orient; } @@ -1329,7 +1329,7 @@ _efl_ui_image_efl_orientation_flip_set(Eo *obj, Efl_Ui_Image_Data *sd, Efl_Flip } EOLIAN static Efl_Flip -_efl_ui_image_efl_orientation_flip_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd) +_efl_ui_image_efl_orientation_flip_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd) { return sd->flip; } @@ -1369,7 +1369,7 @@ _efl_ui_image_efl_ui_draggable_drag_target_set(Eo *obj, Efl_Ui_Image_Data *sd, E } EOLIAN static Eina_Bool -_efl_ui_image_efl_ui_draggable_drag_target_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd) +_efl_ui_image_efl_ui_draggable_drag_target_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd) { return sd->edit; } @@ -1381,7 +1381,7 @@ elm_image_animated_available_get(const Evas_Object *obj) } EOLIAN static Eina_Bool -_efl_ui_image_efl_player_playable_get(Eo *obj, Efl_Ui_Image_Data *sd) +_efl_ui_image_efl_player_playable_get(const Eo *obj, Efl_Ui_Image_Data *sd) { if (sd->edje) return EINA_TRUE; @@ -1500,7 +1500,7 @@ _efl_ui_image_efl_player_play_set(Eo *obj, Efl_Ui_Image_Data *sd, Eina_Bool play } EOLIAN static Eina_Bool -_efl_ui_image_efl_player_play_get(Eo *obj, Efl_Ui_Image_Data *sd) +_efl_ui_image_efl_player_play_get(const Eo *obj, Efl_Ui_Image_Data *sd) { return _efl_ui_image_animated_play_get_internal(obj, sd); } @@ -1516,7 +1516,7 @@ _efl_ui_image_efl_image_scale_type_set(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *s } EOLIAN static Efl_Image_Scale_Type -_efl_ui_image_efl_image_scale_type_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd) +_efl_ui_image_efl_image_scale_type_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd) { return sd->scale_type; } @@ -1533,7 +1533,7 @@ _efl_ui_image_scalable_set(Eo *obj, Efl_Ui_Image_Data *sd, Eina_Bool up, Eina_Bo } EOLIAN static void -_efl_ui_image_scalable_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd, Eina_Bool *scale_up, Eina_Bool *scale_down) +_efl_ui_image_scalable_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd, Eina_Bool *scale_up, Eina_Bool *scale_down) { if (scale_up) *scale_up = sd->scale_up; if (scale_down) *scale_down = sd->scale_down; @@ -1561,7 +1561,7 @@ _efl_ui_image_align_set(Eo *obj, Efl_Ui_Image_Data *sd, double align_x, double a } EOLIAN static void -_efl_ui_image_align_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd, double *align_x, double *align_y) +_efl_ui_image_align_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd, double *align_x, double *align_y) { if (align_x) *align_x = sd->align_x; if (align_y) *align_y = sd->align_y; @@ -1570,7 +1570,7 @@ _efl_ui_image_align_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd, double *alig // A11Y EOLIAN static Eina_Rect -_efl_ui_image_efl_access_component_extents_get(Eo *obj, Efl_Ui_Image_Data *sd EINA_UNUSED, Eina_Bool screen_coords) +_efl_ui_image_efl_access_component_extents_get(const Eo *obj, Efl_Ui_Image_Data *sd EINA_UNUSED, Eina_Bool screen_coords) { int ee_x, ee_y; Eina_Rect r; @@ -1593,7 +1593,7 @@ _efl_ui_image_efl_access_component_extents_get(Eo *obj, Efl_Ui_Image_Data *sd EI } EOLIAN const Efl_Access_Action_Data * -_efl_ui_image_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *pd EINA_UNUSED) +_efl_ui_image_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *pd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "activate", "activate", NULL, _key_action_activate }, @@ -1771,7 +1771,7 @@ _efl_ui_image_icon_set(Eo *obj, Efl_Ui_Image_Data *_pd EINA_UNUSED, const char * } EOLIAN static const char* -_efl_ui_image_icon_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd) +_efl_ui_image_icon_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *sd) { return sd->stdicon; } @@ -1929,7 +1929,7 @@ _efl_ui_image_efl_ui_view_model_set(Eo *obj, Efl_Ui_Image_Data *pd, Efl_Model *m } EOLIAN static Efl_Model * -_efl_ui_image_efl_ui_view_model_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *pd) +_efl_ui_image_efl_ui_view_model_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Data *pd) { return pd->model; } diff --git a/src/lib/elementary/efl_ui_image_zoomable.c b/src/lib/elementary/efl_ui_image_zoomable.c index bae6834b61..a2bb38ffb3 100644 --- a/src/lib/elementary/efl_ui_image_zoomable.c +++ b/src/lib/elementary/efl_ui_image_zoomable.c @@ -393,13 +393,13 @@ _efl_ui_image_zoomable_pan_efl_ui_pan_pan_position_set(Eo *obj, Efl_Ui_Image_Zoo } EOLIAN static Eina_Position2D -_efl_ui_image_zoomable_pan_efl_ui_pan_pan_position_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Pan_Data *psd) +_efl_ui_image_zoomable_pan_efl_ui_pan_pan_position_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Pan_Data *psd) { return EINA_POSITION2D(psd->wsd->pan_x, psd->wsd->pan_y); } EOLIAN static Eina_Position2D -_efl_ui_image_zoomable_pan_efl_ui_pan_pan_position_max_get(Eo *obj, Efl_Ui_Image_Zoomable_Pan_Data *psd) +_efl_ui_image_zoomable_pan_efl_ui_pan_pan_position_max_get(const Eo *obj, Efl_Ui_Image_Zoomable_Pan_Data *psd) { Evas_Coord ow, oh; @@ -413,13 +413,13 @@ _efl_ui_image_zoomable_pan_efl_ui_pan_pan_position_max_get(Eo *obj, Efl_Ui_Image } EOLIAN static Eina_Position2D -_efl_ui_image_zoomable_pan_efl_ui_pan_pan_position_min_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Pan_Data *_pd EINA_UNUSED) +_efl_ui_image_zoomable_pan_efl_ui_pan_pan_position_min_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Pan_Data *_pd EINA_UNUSED) { return EINA_POSITION2D(0, 0); } EOLIAN static Eina_Size2D -_efl_ui_image_zoomable_pan_efl_ui_pan_content_size_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Pan_Data *psd) +_efl_ui_image_zoomable_pan_efl_ui_pan_content_size_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Pan_Data *psd) { return EINA_SIZE2D(psd->wsd->minw, psd->wsd->minh); } @@ -1339,7 +1339,7 @@ _efl_ui_image_zoomable_efl_orientation_orientation_set(Eo *obj, Efl_Ui_Image_Zoo } EOLIAN static Efl_Orient -_efl_ui_image_zoomable_efl_orientation_orientation_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *sd) +_efl_ui_image_zoomable_efl_orientation_orientation_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *sd) { return sd->orient; } @@ -1354,7 +1354,7 @@ _efl_ui_image_zoomable_efl_orientation_flip_set(Eo *obj, Efl_Ui_Image_Zoomable_D } EOLIAN static Efl_Flip -_efl_ui_image_zoomable_efl_orientation_flip_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *sd) +_efl_ui_image_zoomable_efl_orientation_flip_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *sd) { return sd->flip; } @@ -1795,13 +1795,13 @@ _efl_ui_image_zoomable_efl_object_constructor(Eo *obj, Efl_Ui_Image_Zoomable_Dat } EOLIAN static Eina_Size2D -_efl_ui_image_zoomable_efl_image_image_size_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *pd) +_efl_ui_image_zoomable_efl_image_image_size_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *pd) { return EINA_SIZE2D(pd->size.imw, pd->size.imh); } EOLIAN static Eina_Size2D -_efl_ui_image_zoomable_efl_layout_group_group_size_min_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *sd) +_efl_ui_image_zoomable_efl_layout_group_group_size_min_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *sd) { if (sd->edje) return efl_layout_group_size_min_get(sd->edje); @@ -1810,7 +1810,7 @@ _efl_ui_image_zoomable_efl_layout_group_group_size_min_get(Eo *obj EINA_UNUSED, } EOLIAN static Eina_Size2D -_efl_ui_image_zoomable_efl_layout_group_group_size_max_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *sd) +_efl_ui_image_zoomable_efl_layout_group_group_size_max_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *sd) { if (sd->edje) return efl_layout_group_size_max_get(sd->edje); @@ -2219,7 +2219,7 @@ _efl_ui_image_zoomable_efl_file_file_set(Eo *obj, Efl_Ui_Image_Zoomable_Data *sd } EOLIAN static void -_efl_ui_image_zoomable_efl_file_file_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *sd, const char **file, const char **key) +_efl_ui_image_zoomable_efl_file_file_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *sd, const char **file, const char **key) { if (file) *file = sd->file; if (key) *key = NULL; @@ -2454,7 +2454,7 @@ done: } EOLIAN static double -_efl_ui_image_zoomable_efl_ui_zoom_zoom_level_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *sd) +_efl_ui_image_zoomable_efl_ui_zoom_zoom_level_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *sd) { return sd->zoom; } @@ -2472,19 +2472,19 @@ _efl_ui_image_zoomable_efl_ui_zoom_zoom_mode_set(Eo *obj, Efl_Ui_Image_Zoomable_ } EOLIAN static Elm_Photocam_Zoom_Mode -_efl_ui_image_zoomable_efl_ui_zoom_zoom_mode_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *sd) +_efl_ui_image_zoomable_efl_ui_zoom_zoom_mode_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *sd) { return sd->mode; } EOLIAN static Eina_Size2D -_efl_ui_image_zoomable_efl_gfx_view_view_size_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *pd) +_efl_ui_image_zoomable_efl_gfx_view_view_size_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *pd) { return EINA_SIZE2D(pd->size.imw, pd->size.imh); } EOLIAN static Eina_Rect -_efl_ui_image_zoomable_image_region_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *sd) +_efl_ui_image_zoomable_image_region_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *sd) { Eina_Rect region = {}; @@ -2570,7 +2570,7 @@ _efl_ui_image_zoomable_efl_ui_zoom_zoom_animation_set(Eo *obj, Efl_Ui_Image_Zoom } EOLIAN static Eina_Bool -_efl_ui_image_zoomable_efl_ui_zoom_zoom_animation_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *sd) +_efl_ui_image_zoomable_efl_ui_zoom_zoom_animation_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *sd) { return sd->paused; } @@ -2824,19 +2824,19 @@ _efl_ui_image_zoomable_efl_ui_image_icon_set(Eo *obj, Efl_Ui_Image_Zoomable_Data } EOLIAN static const char * -_efl_ui_image_zoomable_efl_ui_image_icon_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *pd) +_efl_ui_image_zoomable_efl_ui_image_icon_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *pd) { return pd->stdicon; } EOLIAN static Eina_Bool -_efl_ui_image_zoomable_gesture_enabled_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *sd) +_efl_ui_image_zoomable_gesture_enabled_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *sd) { return sd->do_gesture; } EOLIAN static Eina_Bool -_efl_ui_image_zoomable_efl_player_playable_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *sd) +_efl_ui_image_zoomable_efl_player_playable_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *sd) { if (sd->edje) return EINA_TRUE; return evas_object_image_animated_get(sd->img); @@ -2946,7 +2946,7 @@ _efl_ui_image_zoomable_animated_play_get_internal(const Eo *obj EINA_UNUSED, Efl } EOLIAN static Eina_Bool -_efl_ui_image_zoomable_efl_player_play_get(Eo *obj, Efl_Ui_Image_Zoomable_Data *sd) +_efl_ui_image_zoomable_efl_player_play_get(const Eo *obj, Efl_Ui_Image_Zoomable_Data *sd) { return _efl_ui_image_zoomable_animated_play_get_internal(obj, sd); } @@ -2963,7 +2963,7 @@ _efl_ui_image_zoomable_class_constructor(Efl_Class *klass EINA_UNUSED) } EOLIAN const Efl_Access_Action_Data * -_efl_ui_image_zoomable_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *pd EINA_UNUSED) +_efl_ui_image_zoomable_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Efl_Ui_Image_Zoomable_Data *pd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "move,prior", "move", "prior", _key_action_move}, diff --git a/src/lib/elementary/efl_ui_internal_text_interactive.c b/src/lib/elementary/efl_ui_internal_text_interactive.c index 4f70c8cc2d..bc043efb3a 100644 --- a/src/lib/elementary/efl_ui_internal_text_interactive.c +++ b/src/lib/elementary/efl_ui_internal_text_interactive.c @@ -1410,13 +1410,13 @@ _efl_ui_internal_text_interactive_efl_ui_text_interactive_selection_allowed_set( } EOLIAN static Eina_Bool -_efl_ui_internal_text_interactive_efl_ui_text_interactive_selection_allowed_get(Eo *obj EINA_UNUSED, Efl_Ui_Internal_Text_Interactive_Data *pd) +_efl_ui_internal_text_interactive_efl_ui_text_interactive_selection_allowed_get(const Eo *obj EINA_UNUSED, Efl_Ui_Internal_Text_Interactive_Data *pd) { return pd->select_allow; } EOLIAN static void -_efl_ui_internal_text_interactive_efl_ui_text_interactive_selection_cursors_get(Eo *obj EINA_UNUSED, Efl_Ui_Internal_Text_Interactive_Data *pd, Efl_Text_Cursor_Cursor **start, Evas_Textblock_Cursor **end) +_efl_ui_internal_text_interactive_efl_ui_text_interactive_selection_cursors_get(const Eo *obj EINA_UNUSED, Efl_Ui_Internal_Text_Interactive_Data *pd, Efl_Text_Cursor_Cursor **start, Evas_Textblock_Cursor **end) { if (start) *start = pd->sel_start; if (end) *end = pd->sel_end; @@ -1429,7 +1429,7 @@ _efl_ui_internal_text_interactive_efl_ui_text_interactive_editable_set(Eo *obj E } EOLIAN static Eina_Bool -_efl_ui_internal_text_interactive_efl_ui_text_interactive_editable_get(Eo *obj EINA_UNUSED, Efl_Ui_Internal_Text_Interactive_Data *sd) +_efl_ui_internal_text_interactive_efl_ui_text_interactive_editable_get(const Eo *obj EINA_UNUSED, Efl_Ui_Internal_Text_Interactive_Data *sd) { return sd->editable; } diff --git a/src/lib/elementary/efl_ui_layout.c b/src/lib/elementary/efl_ui_layout.c index 2de3bbc84e..1d0755ce93 100644 --- a/src/lib/elementary/efl_ui_layout.c +++ b/src/lib/elementary/efl_ui_layout.c @@ -779,7 +779,7 @@ _efl_ui_layout_efl_file_file_set(Eo *obj, Efl_Ui_Layout_Data *sd, const char *fi } EOLIAN static void -_efl_ui_layout_efl_file_file_get(Eo *obj, Efl_Ui_Layout_Data *sd EINA_UNUSED, const char **file, const char **group) +_efl_ui_layout_efl_file_file_get(const Eo *obj, Efl_Ui_Layout_Data *sd EINA_UNUSED, const char **file, const char **group) { ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd); edje_object_file_get(wd->resize_obj, file, group); @@ -811,7 +811,7 @@ _efl_ui_layout_efl_file_mmap_set(Eo *obj, Efl_Ui_Layout_Data *sd, const Eina_Fil } EOLIAN static void -_efl_ui_layout_efl_file_mmap_get(Eo *obj, Efl_Ui_Layout_Data *sd EINA_UNUSED, const Eina_File **file, const char **group) +_efl_ui_layout_efl_file_mmap_get(const Eo *obj, Efl_Ui_Layout_Data *sd EINA_UNUSED, const Eina_File **file, const char **group) { ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd); efl_file_mmap_get(wd->resize_obj, file, group); @@ -1577,7 +1577,7 @@ elm_layout_edje_get(const Eo *obj) } EOLIAN static const char * -_efl_ui_layout_efl_layout_group_group_data_get(Eo *obj, Efl_Ui_Layout_Data *_pd EINA_UNUSED, const char *key) +_efl_ui_layout_efl_layout_group_group_data_get(const Eo *obj, Efl_Ui_Layout_Data *_pd EINA_UNUSED, const char *key) { ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, NULL); @@ -1585,7 +1585,7 @@ _efl_ui_layout_efl_layout_group_group_data_get(Eo *obj, Efl_Ui_Layout_Data *_pd } EOLIAN static Eina_Size2D -_efl_ui_layout_efl_layout_group_group_size_min_get(Eo *obj, Efl_Ui_Layout_Data *_pd EINA_UNUSED) +_efl_ui_layout_efl_layout_group_group_size_min_get(const Eo *obj, Efl_Ui_Layout_Data *_pd EINA_UNUSED) { ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EINA_SIZE2D(0, 0)); @@ -1593,7 +1593,7 @@ _efl_ui_layout_efl_layout_group_group_size_min_get(Eo *obj, Efl_Ui_Layout_Data * } EOLIAN static Eina_Size2D -_efl_ui_layout_efl_layout_group_group_size_max_get(Eo *obj, Efl_Ui_Layout_Data *_pd EINA_UNUSED) +_efl_ui_layout_efl_layout_group_group_size_max_get(const Eo *obj, Efl_Ui_Layout_Data *_pd EINA_UNUSED) { ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EINA_SIZE2D(0, 0)); @@ -1601,7 +1601,7 @@ _efl_ui_layout_efl_layout_group_group_size_max_get(Eo *obj, Efl_Ui_Layout_Data * } EOLIAN static Eina_Bool -_efl_ui_layout_efl_layout_group_part_exist_get(Eo *obj, Efl_Ui_Layout_Data *_pd EINA_UNUSED, const char *part) +_efl_ui_layout_efl_layout_group_part_exist_get(const Eo *obj, Efl_Ui_Layout_Data *_pd EINA_UNUSED, const char *part) { ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EINA_FALSE); @@ -2027,7 +2027,7 @@ _efl_ui_layout_efl_ui_view_model_set(Eo *obj EINA_UNUSED, Efl_Ui_Layout_Data *pd } EOLIAN static Efl_Model * -_efl_ui_layout_efl_ui_view_model_get(Eo *obj EINA_UNUSED, Efl_Ui_Layout_Data *pd) +_efl_ui_layout_efl_ui_view_model_get(const Eo *obj EINA_UNUSED, Efl_Ui_Layout_Data *pd) { return pd->model; } @@ -2239,7 +2239,7 @@ _efl_ui_layout_part_efl_ui_cursor_cursor_set(Eo *obj, void *_pd EINA_UNUSED, con } EOLIAN static const char * -_efl_ui_layout_part_efl_ui_cursor_cursor_get(Eo *obj, void *_pd EINA_UNUSED) +_efl_ui_layout_part_efl_ui_cursor_cursor_get(const Eo *obj, void *_pd EINA_UNUSED) { Elm_Part_Data *pd = efl_data_scope_get(obj, EFL_UI_WIDGET_PART_CLASS); Efl_Ui_Layout_Data *sd = efl_data_scope_get(pd->obj, MY_CLASS); @@ -2255,7 +2255,7 @@ _efl_ui_layout_part_efl_ui_cursor_cursor_style_set(Eo *obj, void *_pd EINA_UNUSE } EOLIAN static const char * -_efl_ui_layout_part_efl_ui_cursor_cursor_style_get(Eo *obj, void *_pd EINA_UNUSED) +_efl_ui_layout_part_efl_ui_cursor_cursor_style_get(const Eo *obj, void *_pd EINA_UNUSED) { Elm_Part_Data *pd = efl_data_scope_get(obj, EFL_UI_WIDGET_PART_CLASS); Efl_Ui_Layout_Data *sd = efl_data_scope_get(pd->obj, MY_CLASS); @@ -2271,7 +2271,7 @@ _efl_ui_layout_part_efl_ui_cursor_cursor_theme_search_enabled_set(Eo *obj, void } EOLIAN static Eina_Bool -_efl_ui_layout_part_efl_ui_cursor_cursor_theme_search_enabled_get(Eo *obj, void *_pd EINA_UNUSED) +_efl_ui_layout_part_efl_ui_cursor_cursor_theme_search_enabled_get(const Eo *obj, void *_pd EINA_UNUSED) { Elm_Part_Data *pd = efl_data_scope_get(obj, EFL_UI_WIDGET_PART_CLASS); Efl_Ui_Layout_Data *sd = efl_data_scope_get(pd->obj, MY_CLASS); @@ -2290,7 +2290,7 @@ ELM_PART_OVERRIDE_TEXT_MARKUP_GET_FULL(efl_ui_layout_part_text, efl_ui_layout, E ELM_PART_OVERRIDE_TEXT_MARKUP_SET_FULL(efl_ui_layout_part_text, efl_ui_layout, EFL_UI_LAYOUT, Efl_Ui_Layout_Data) EOLIAN static const char * -_efl_ui_layout_part_text_efl_ui_translatable_translatable_text_get(Eo *obj, void *_pd EINA_UNUSED, const char **domain) +_efl_ui_layout_part_text_efl_ui_translatable_translatable_text_get(const Eo *obj, void *_pd EINA_UNUSED, const char **domain) { Elm_Part_Data *pd = efl_data_scope_get(obj, EFL_UI_WIDGET_PART_CLASS); return elm_widget_part_translatable_text_get(pd->obj, pd->part, domain); @@ -2313,7 +2313,7 @@ ELM_PART_OVERRIDE_TEXT_MARKUP_GET_FULL(efl_ui_layout_part_legacy, efl_ui_layout, ELM_PART_OVERRIDE_TEXT_MARKUP_SET_FULL(efl_ui_layout_part_legacy, efl_ui_layout, EFL_UI_LAYOUT, Efl_Ui_Layout_Data) EOLIAN static const char * -_efl_ui_layout_part_legacy_efl_ui_translatable_translatable_text_get(Eo *obj, void *_pd EINA_UNUSED, const char **domain) +_efl_ui_layout_part_legacy_efl_ui_translatable_translatable_text_get(const Eo *obj, void *_pd EINA_UNUSED, const char **domain) { Elm_Part_Data *pd = efl_data_scope_get(obj, EFL_UI_WIDGET_PART_CLASS); return elm_widget_part_translatable_text_get(pd->obj, pd->part, domain); diff --git a/src/lib/elementary/efl_ui_layout_pack.c b/src/lib/elementary/efl_ui_layout_pack.c index d4cacc1a33..4494bdfdab 100644 --- a/src/lib/elementary/efl_ui_layout_pack.c +++ b/src/lib/elementary/efl_ui_layout_pack.c @@ -194,7 +194,7 @@ _efl_ui_layout_part_box_efl_pack_linear_pack_index_get(Eo *obj EINA_UNUSED, Efl_ } EOLIAN static Efl_Ui_Dir -_efl_ui_layout_part_box_efl_ui_direction_direction_get(Eo *obj EINA_UNUSED, Efl_Ui_Layout_Box_Data *pd) +_efl_ui_layout_part_box_efl_ui_direction_direction_get(const Eo *obj EINA_UNUSED, Efl_Ui_Layout_Box_Data *pd) { ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EFL_UI_DIR_DEFAULT); @@ -309,7 +309,7 @@ _efl_ui_layout_part_table_efl_pack_table_table_contents_get(Eo *obj EINA_UNUSED, } EOLIAN static Eina_Bool -_efl_ui_layout_part_table_efl_pack_table_table_position_get(Eo *obj EINA_UNUSED, Efl_Ui_Layout_Table_Data *pd, Efl_Gfx * subobj, int *col, int *row, int *colspan, int *rowspan) +_efl_ui_layout_part_table_efl_pack_table_table_position_get(const Eo *obj EINA_UNUSED, Efl_Ui_Layout_Table_Data *pd, Efl_Gfx * subobj, int *col, int *row, int *colspan, int *rowspan) { unsigned short c, r, cs, rs; Eina_Bool ret; @@ -325,14 +325,14 @@ _efl_ui_layout_part_table_efl_pack_table_table_position_get(Eo *obj EINA_UNUSED, } EOLIAN static void -_efl_ui_layout_part_table_efl_pack_table_table_size_get(Eo *obj EINA_UNUSED, Efl_Ui_Layout_Table_Data *pd, int *cols, int *rows) +_efl_ui_layout_part_table_efl_pack_table_table_size_get(const Eo *obj EINA_UNUSED, Efl_Ui_Layout_Table_Data *pd, int *cols, int *rows) { Eo *pack = (Eo *) edje_object_part_object_get(pd->obj, pd->part); evas_object_table_col_row_size_get(pack, cols, rows); } EOLIAN static int -_efl_ui_layout_part_table_efl_pack_table_table_columns_get(Eo *obj EINA_UNUSED, Efl_Ui_Layout_Table_Data *pd) +_efl_ui_layout_part_table_efl_pack_table_table_columns_get(const Eo *obj EINA_UNUSED, Efl_Ui_Layout_Table_Data *pd) { int cols, rows; Eo *pack = (Eo *) edje_object_part_object_get(pd->obj, pd->part); @@ -341,7 +341,7 @@ _efl_ui_layout_part_table_efl_pack_table_table_columns_get(Eo *obj EINA_UNUSED, } EOLIAN static int -_efl_ui_layout_part_table_efl_pack_table_table_rows_get(Eo *obj EINA_UNUSED, Efl_Ui_Layout_Table_Data *pd) +_efl_ui_layout_part_table_efl_pack_table_table_rows_get(const Eo *obj EINA_UNUSED, Efl_Ui_Layout_Table_Data *pd) { int cols, rows; Eo *pack = (Eo *) edje_object_part_object_get(pd->obj, pd->part); diff --git a/src/lib/elementary/efl_ui_multibuttonentry.c b/src/lib/elementary/efl_ui_multibuttonentry.c index 5ec2c27c17..2a504374bd 100644 --- a/src/lib/elementary/efl_ui_multibuttonentry.c +++ b/src/lib/elementary/efl_ui_multibuttonentry.c @@ -633,7 +633,7 @@ _elm_multibuttonentry_item_elm_widget_item_part_text_set(Eo *eo_item EINA_UNUSED } EOLIAN static const char * -_elm_multibuttonentry_item_elm_widget_item_part_text_get(Eo *eo_item EINA_UNUSED, +_elm_multibuttonentry_item_elm_widget_item_part_text_get(const Eo *eo_item EINA_UNUSED, Elm_Multibuttonentry_Item_Data *item, const char *part) { @@ -1686,13 +1686,13 @@ _efl_ui_multibuttonentry_efl_object_constructor(Eo *obj, Efl_Ui_Multibuttonentry } EOLIAN static Evas_Object* -_efl_ui_multibuttonentry_entry_get(Eo *obj EINA_UNUSED, Efl_Ui_Multibuttonentry_Data *sd) +_efl_ui_multibuttonentry_entry_get(const Eo *obj EINA_UNUSED, Efl_Ui_Multibuttonentry_Data *sd) { return sd->entry; } EOLIAN static Eina_Bool -_efl_ui_multibuttonentry_expanded_get(Eo *obj EINA_UNUSED, Efl_Ui_Multibuttonentry_Data *sd) +_efl_ui_multibuttonentry_expanded_get(const Eo *obj EINA_UNUSED, Efl_Ui_Multibuttonentry_Data *sd) { return sd->view_state == MULTIBUTTONENTRY_VIEW_SHRINK ? EINA_FALSE : EINA_TRUE; @@ -1730,7 +1730,7 @@ _efl_ui_multibuttonentry_editable_set(Eo *obj EINA_UNUSED, Efl_Ui_Multibuttonent } EOLIAN static Eina_Bool -_efl_ui_multibuttonentry_editable_get(Eo *obj EINA_UNUSED, Efl_Ui_Multibuttonentry_Data *sd) +_efl_ui_multibuttonentry_editable_get(const Eo *obj EINA_UNUSED, Efl_Ui_Multibuttonentry_Data *sd) { return sd->editable; } @@ -1760,25 +1760,25 @@ _efl_ui_multibuttonentry_item_insert_after(Eo *obj EINA_UNUSED, Efl_Ui_Multibutt } EOLIAN static const Eina_List* -_efl_ui_multibuttonentry_items_get(Eo *obj EINA_UNUSED, Efl_Ui_Multibuttonentry_Data *sd) +_efl_ui_multibuttonentry_items_get(const Eo *obj EINA_UNUSED, Efl_Ui_Multibuttonentry_Data *sd) { return sd->items; } EOLIAN static Elm_Object_Item* -_efl_ui_multibuttonentry_first_item_get(Eo *obj EINA_UNUSED, Efl_Ui_Multibuttonentry_Data *sd) +_efl_ui_multibuttonentry_first_item_get(const Eo *obj EINA_UNUSED, Efl_Ui_Multibuttonentry_Data *sd) { return eina_list_data_get(sd->items); } EOLIAN static Elm_Object_Item* -_efl_ui_multibuttonentry_last_item_get(Eo *obj EINA_UNUSED, Efl_Ui_Multibuttonentry_Data *sd) +_efl_ui_multibuttonentry_last_item_get(const Eo *obj EINA_UNUSED, Efl_Ui_Multibuttonentry_Data *sd) { return eina_list_data_get(eina_list_last(sd->items)); } EOLIAN static Elm_Object_Item* -_efl_ui_multibuttonentry_selected_item_get(Eo *obj EINA_UNUSED, Efl_Ui_Multibuttonentry_Data *sd) +_efl_ui_multibuttonentry_selected_item_get(const Eo *obj EINA_UNUSED, Efl_Ui_Multibuttonentry_Data *sd) { return EO_OBJ(sd->selected_it); } @@ -1793,7 +1793,7 @@ _elm_multibuttonentry_item_selected_set(Eo *eo_item EINA_UNUSED, } EOLIAN static Eina_Bool -_elm_multibuttonentry_item_selected_get(Eo *eo_item, +_elm_multibuttonentry_item_selected_get(const Eo *eo_item, Elm_Multibuttonentry_Item_Data *item) { EFL_UI_MULTIBUTTONENTRY_DATA_GET_OR_RETURN_VAL(WIDGET(item), sd, EINA_FALSE); @@ -1975,7 +1975,7 @@ _efl_ui_multibuttonentry_class_constructor(Efl_Class *klass EINA_UNUSED) } EOLIAN static Eina_List* -_efl_ui_multibuttonentry_efl_access_access_children_get(Eo *obj, Efl_Ui_Multibuttonentry_Data *sd) +_efl_ui_multibuttonentry_efl_access_access_children_get(const Eo *obj, Efl_Ui_Multibuttonentry_Data *sd) { Eina_List *ret; ret = efl_access_children_get(efl_super(obj, EFL_UI_MULTIBUTTONENTRY_CLASS)); @@ -1983,7 +1983,7 @@ _efl_ui_multibuttonentry_efl_access_access_children_get(Eo *obj, Efl_Ui_Multibut } EOLIAN static const char* -_elm_multibuttonentry_item_efl_access_i18n_name_get(Eo *eo_it, Elm_Multibuttonentry_Item_Data *item) +_elm_multibuttonentry_item_efl_access_i18n_name_get(const Eo *eo_it, Elm_Multibuttonentry_Item_Data *item) { const char *ret; ret = efl_access_i18n_name_get(efl_super(eo_it, ELM_MULTIBUTTONENTRY_ITEM_CLASS)); @@ -1994,7 +1994,7 @@ _elm_multibuttonentry_item_efl_access_i18n_name_get(Eo *eo_it, Elm_Multibuttonen } EOLIAN static Efl_Access_State_Set -_elm_multibuttonentry_item_efl_access_state_set_get(Eo *eo_it, Elm_Multibuttonentry_Item_Data *sd EINA_UNUSED) +_elm_multibuttonentry_item_efl_access_state_set_get(const Eo *eo_it, Elm_Multibuttonentry_Item_Data *sd EINA_UNUSED) { Efl_Access_State_Set ret; Eina_Bool sel; @@ -2037,7 +2037,7 @@ _key_action_longpress(Eo *obj, const char *params EINA_UNUSED) } EOLIAN const Efl_Access_Action_Data * -_elm_multibuttonentry_item_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Multibuttonentry_Item_Data *pd EINA_UNUSED) +_elm_multibuttonentry_item_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Multibuttonentry_Item_Data *pd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "activate", NULL, NULL, _key_action_activate }, diff --git a/src/lib/elementary/efl_ui_nstate.c b/src/lib/elementary/efl_ui_nstate.c index 2f35480ddf..f0cf1e5aac 100644 --- a/src/lib/elementary/efl_ui_nstate.c +++ b/src/lib/elementary/efl_ui_nstate.c @@ -78,7 +78,7 @@ _state_active(Evas_Object *obj, Efl_Ui_Nstate_Data *sd) } EOLIAN static int -_efl_ui_nstate_count_get(Eo *obj EINA_UNUSED, Efl_Ui_Nstate_Data *pd) +_efl_ui_nstate_count_get(const Eo *obj EINA_UNUSED, Efl_Ui_Nstate_Data *pd) { return pd->nstate; } @@ -93,7 +93,7 @@ _efl_ui_nstate_count_set(Eo *obj EINA_UNUSED, Efl_Ui_Nstate_Data *pd, int nstate } EOLIAN static int -_efl_ui_nstate_value_get(Eo *obj EINA_UNUSED, Efl_Ui_Nstate_Data *pd) +_efl_ui_nstate_value_get(const Eo *obj EINA_UNUSED, Efl_Ui_Nstate_Data *pd) { return pd->state; } diff --git a/src/lib/elementary/efl_ui_pan.c b/src/lib/elementary/efl_ui_pan.c index 67c063b160..36a8cc181c 100644 --- a/src/lib/elementary/efl_ui_pan.c +++ b/src/lib/elementary/efl_ui_pan.c @@ -72,13 +72,13 @@ _efl_ui_pan_pan_position_set(Eo *obj EINA_UNUSED, Efl_Ui_Pan_Data *psd, Eina_Pos } EOLIAN static Eina_Position2D -_efl_ui_pan_pan_position_get(Eo *obj EINA_UNUSED, Efl_Ui_Pan_Data *psd) +_efl_ui_pan_pan_position_get(const Eo *obj EINA_UNUSED, Efl_Ui_Pan_Data *psd) { return EINA_POSITION2D(psd->px, psd->py); } EOLIAN static Eina_Position2D -_efl_ui_pan_pan_position_max_get(Eo *obj EINA_UNUSED, Efl_Ui_Pan_Data *psd) +_efl_ui_pan_pan_position_max_get(const Eo *obj EINA_UNUSED, Efl_Ui_Pan_Data *psd) { Eina_Position2D pos = { 0, 0}; if (psd->w < psd->content_w) pos.x = psd->content_w - psd->w; @@ -88,13 +88,13 @@ _efl_ui_pan_pan_position_max_get(Eo *obj EINA_UNUSED, Efl_Ui_Pan_Data *psd) } EOLIAN static Eina_Position2D -_efl_ui_pan_pan_position_min_get(Eo *obj EINA_UNUSED, Efl_Ui_Pan_Data *_pd EINA_UNUSED) +_efl_ui_pan_pan_position_min_get(const Eo *obj EINA_UNUSED, Efl_Ui_Pan_Data *_pd EINA_UNUSED) { return EINA_POSITION2D(0 ,0); } EOLIAN static Eina_Size2D -_efl_ui_pan_content_size_get(Eo *obj EINA_UNUSED, Efl_Ui_Pan_Data *psd) +_efl_ui_pan_content_size_get(const Eo *obj EINA_UNUSED, Efl_Ui_Pan_Data *psd) { return EINA_SIZE2D(psd->content_w, psd->content_h); } diff --git a/src/lib/elementary/efl_ui_panes.c b/src/lib/elementary/efl_ui_panes.c index 4548c9036b..1888cf1dc4 100644 --- a/src/lib/elementary/efl_ui_panes.c +++ b/src/lib/elementary/efl_ui_panes.c @@ -471,7 +471,7 @@ _efl_ui_panes_efl_object_constructor(Eo *obj, Efl_Ui_Panes_Data *_pd EINA_UNUSED } EOLIAN static double -_efl_ui_panes_split_ratio_get(Eo *obj, Efl_Ui_Panes_Data *sd) +_efl_ui_panes_split_ratio_get(const Eo *obj, Efl_Ui_Panes_Data *sd) { double w, h; ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, 0.0); @@ -515,7 +515,7 @@ _efl_ui_panes_efl_ui_direction_direction_set(Eo *obj, Efl_Ui_Panes_Data *sd, Efl } EOLIAN static Efl_Ui_Dir -_efl_ui_panes_efl_ui_direction_direction_get(Eo *obj EINA_UNUSED, Efl_Ui_Panes_Data *sd) +_efl_ui_panes_efl_ui_direction_direction_get(const Eo *obj EINA_UNUSED, Efl_Ui_Panes_Data *sd) { return sd->dir; } @@ -543,7 +543,7 @@ _efl_ui_panes_fixed_set(Eo *obj, Efl_Ui_Panes_Data *sd, Eina_Bool fixed) } EOLIAN static Eina_Bool -_efl_ui_panes_fixed_get(Eo *obj EINA_UNUSED, Efl_Ui_Panes_Data *sd) +_efl_ui_panes_fixed_get(const Eo *obj EINA_UNUSED, Efl_Ui_Panes_Data *sd) { return sd->fixed; } @@ -586,7 +586,7 @@ _efl_ui_panes_part_hint_min_allow_set(Eo *obj, void *_pd EINA_UNUSED, Eina_Bool } EOLIAN static Eina_Bool -_efl_ui_panes_part_hint_min_allow_get(Eo *obj, void *_pd EINA_UNUSED) +_efl_ui_panes_part_hint_min_allow_get(const Eo *obj, void *_pd EINA_UNUSED) { Eina_Bool ret = EINA_FALSE; Elm_Part_Data *pd = efl_data_scope_get(obj, EFL_UI_WIDGET_PART_CLASS); @@ -605,7 +605,7 @@ _efl_ui_panes_part_hint_min_allow_get(Eo *obj, void *_pd EINA_UNUSED) } EOLIAN static double -_efl_ui_panes_part_split_ratio_min_get(Eo *obj, void *_pd EINA_UNUSED) +_efl_ui_panes_part_split_ratio_min_get(const Eo *obj, void *_pd EINA_UNUSED) { Elm_Part_Data *pd = efl_data_scope_get(obj, EFL_UI_WIDGET_PART_CLASS); Efl_Ui_Panes_Data *sd = efl_data_scope_get(pd->obj, EFL_UI_PANES_CLASS); diff --git a/src/lib/elementary/efl_ui_popup.c b/src/lib/elementary/efl_ui_popup.c index e5071daf4a..f9c65315d4 100644 --- a/src/lib/elementary/efl_ui_popup.c +++ b/src/lib/elementary/efl_ui_popup.c @@ -124,7 +124,7 @@ _efl_ui_popup_align_set(Eo *obj EINA_UNUSED, Efl_Ui_Popup_Data *pd, Efl_Ui_Popup } EOLIAN static Efl_Ui_Popup_Align -_efl_ui_popup_align_get(Eo *obj EINA_UNUSED, Efl_Ui_Popup_Data *pd) +_efl_ui_popup_align_get(const Eo *obj EINA_UNUSED, Efl_Ui_Popup_Data *pd) { return pd->align; } @@ -136,7 +136,7 @@ _efl_ui_popup_popup_size_set(Eo *obj, Efl_Ui_Popup_Data *pd EINA_UNUSED, Eina_Si } EOLIAN static Eina_Size2D -_efl_ui_popup_popup_size_get(Eo *obj, Efl_Ui_Popup_Data *pd EINA_UNUSED) +_efl_ui_popup_popup_size_get(const Eo *obj, Efl_Ui_Popup_Data *pd EINA_UNUSED) { return efl_gfx_size_get(obj); } @@ -198,7 +198,7 @@ _efl_ui_popup_timeout_set(Eo *obj, Efl_Ui_Popup_Data *pd, double time) } EOLIAN static double -_efl_ui_popup_timeout_get(Eo *obj EINA_UNUSED, Efl_Ui_Popup_Data *pd) +_efl_ui_popup_timeout_get(const Eo *obj EINA_UNUSED, Efl_Ui_Popup_Data *pd) { return pd->timeout; } @@ -345,7 +345,7 @@ _efl_ui_popup_part_efl_canvas_object_repeat_events_set(Eo *obj, void *_pd EINA_U } EOLIAN static Eina_Bool -_efl_ui_popup_part_efl_canvas_object_repeat_events_get(Eo *obj, void *_pd EINA_UNUSED) +_efl_ui_popup_part_efl_canvas_object_repeat_events_get(const Eo *obj, void *_pd EINA_UNUSED) { Elm_Part_Data *pd = efl_data_scope_get(obj, EFL_UI_WIDGET_PART_CLASS); Efl_Ui_Popup_Data *sd = efl_data_scope_get(pd->obj, EFL_UI_POPUP_CLASS); diff --git a/src/lib/elementary/efl_ui_popup_alert_scroll.c b/src/lib/elementary/efl_ui_popup_alert_scroll.c index e6bcdcb4f2..2d3ad1acaa 100644 --- a/src/lib/elementary/efl_ui_popup_alert_scroll.c +++ b/src/lib/elementary/efl_ui_popup_alert_scroll.c @@ -240,7 +240,7 @@ _efl_ui_popup_alert_scroll_expandable_set(Eo *obj EINA_UNUSED, Efl_Ui_Popup_Aler } static Eina_Size2D -_efl_ui_popup_alert_scroll_expandable_get(Eo *obj EINA_UNUSED, Efl_Ui_Popup_Alert_Scroll_Data *pd) +_efl_ui_popup_alert_scroll_expandable_get(const Eo *obj EINA_UNUSED, Efl_Ui_Popup_Alert_Scroll_Data *pd) { return pd->max_size; } diff --git a/src/lib/elementary/efl_ui_popup_alert_text.c b/src/lib/elementary/efl_ui_popup_alert_text.c index c013847fda..dabb29022f 100644 --- a/src/lib/elementary/efl_ui_popup_alert_text.c +++ b/src/lib/elementary/efl_ui_popup_alert_text.c @@ -210,7 +210,7 @@ _efl_ui_popup_alert_text_text_set(Eo *obj, Efl_Ui_Popup_Alert_Text_Data *pd, con } const char * -_efl_ui_popup_alert_text_text_get(Eo *obj EINA_UNUSED, Efl_Ui_Popup_Alert_Text_Data *pd, const char *part) +_efl_ui_popup_alert_text_text_get(const Eo *obj EINA_UNUSED, Efl_Ui_Popup_Alert_Text_Data *pd, const char *part) { if (part && !strcmp(part, "elm.text")) { @@ -230,7 +230,7 @@ _efl_ui_popup_alert_text_efl_text_text_set(Eo *obj, Efl_Ui_Popup_Alert_Text_Data } EOLIAN static const char* -_efl_ui_popup_alert_text_efl_text_text_get(Eo *obj, Efl_Ui_Popup_Alert_Text_Data *pd) +_efl_ui_popup_alert_text_efl_text_text_get(const Eo *obj, Efl_Ui_Popup_Alert_Text_Data *pd) { return _efl_ui_popup_alert_text_text_get(obj, pd, "elm.text"); } diff --git a/src/lib/elementary/efl_ui_popup_anchor.c b/src/lib/elementary/efl_ui_popup_anchor.c index 9112a0cc5b..4251e565c0 100644 --- a/src/lib/elementary/efl_ui_popup_anchor.c +++ b/src/lib/elementary/efl_ui_popup_anchor.c @@ -253,7 +253,7 @@ _efl_ui_popup_anchor_anchor_set(Eo *obj, Efl_Ui_Popup_Anchor_Data *pd, Eo *ancho } EOLIAN static Efl_Object * -_efl_ui_popup_anchor_anchor_get(Eo *obj EINA_UNUSED, Efl_Ui_Popup_Anchor_Data *pd) +_efl_ui_popup_anchor_anchor_get(const Eo *obj EINA_UNUSED, Efl_Ui_Popup_Anchor_Data *pd) { return pd->anchor; } @@ -275,7 +275,7 @@ _efl_ui_popup_anchor_align_priority_set(Eo *obj EINA_UNUSED, } EOLIAN static void -_efl_ui_popup_anchor_align_priority_get(Eo *obj EINA_UNUSED, +_efl_ui_popup_anchor_align_priority_get(const Eo *obj EINA_UNUSED, Efl_Ui_Popup_Anchor_Data *pd, Efl_Ui_Popup_Align *first, Efl_Ui_Popup_Align *second, diff --git a/src/lib/elementary/efl_ui_progressbar.c b/src/lib/elementary/efl_ui_progressbar.c index 5d40038c31..d92e79d1ca 100644 --- a/src/lib/elementary/efl_ui_progressbar.c +++ b/src/lib/elementary/efl_ui_progressbar.c @@ -398,7 +398,7 @@ _efl_ui_progressbar_pulse_mode_set(Eo *obj EINA_UNUSED, Efl_Ui_Progressbar_Data } EOLIAN static Eina_Bool -_efl_ui_progressbar_pulse_mode_get(Eo *obj EINA_UNUSED, Efl_Ui_Progressbar_Data *sd) +_efl_ui_progressbar_pulse_mode_get(const Eo *obj EINA_UNUSED, Efl_Ui_Progressbar_Data *sd) { return sd->pulse; } @@ -412,7 +412,7 @@ _efl_ui_progressbar_efl_ui_direction_direction_set(Eo *obj, Efl_Ui_Progressbar_D } EOLIAN static Efl_Ui_Dir -_efl_ui_progressbar_efl_ui_direction_direction_get(Eo *obj EINA_UNUSED, Efl_Ui_Progressbar_Data *sd) +_efl_ui_progressbar_efl_ui_direction_direction_get(const Eo *obj EINA_UNUSED, Efl_Ui_Progressbar_Data *sd) { return sd->dir; } @@ -545,7 +545,7 @@ _efl_ui_progressbar_efl_ui_range_range_value_set(Eo *obj, Efl_Ui_Progressbar_Dat } EOLIAN static double -_efl_ui_progressbar_efl_ui_range_range_value_get(Eo *obj, Efl_Ui_Progressbar_Data *sd EINA_UNUSED) +_efl_ui_progressbar_efl_ui_range_range_value_get(const Eo *obj, Efl_Ui_Progressbar_Data *sd EINA_UNUSED) { return efl_ui_range_value_get(efl_part(obj, "elm.cur.progressbar")); } @@ -588,7 +588,7 @@ _efl_ui_progressbar_pulse_set(Eo *obj, Efl_Ui_Progressbar_Data *sd, Eina_Bool st } EOLIAN static Eina_Bool -_efl_ui_progressbar_pulse_get(Eo *obj EINA_UNUSED, Efl_Ui_Progressbar_Data *sd) +_efl_ui_progressbar_pulse_get(const Eo *obj EINA_UNUSED, Efl_Ui_Progressbar_Data *sd) { return (sd->pulse_state && sd->pulse); } @@ -600,7 +600,7 @@ _efl_ui_progressbar_efl_ui_range_range_min_max_set(Eo *obj, Efl_Ui_Progressbar_D } EOLIAN static void -_efl_ui_progressbar_efl_ui_range_range_min_max_get(Eo *obj EINA_UNUSED, Efl_Ui_Progressbar_Data *sd, double *min, double *max) +_efl_ui_progressbar_efl_ui_range_range_min_max_get(const Eo *obj EINA_UNUSED, Efl_Ui_Progressbar_Data *sd, double *min, double *max) { if (min) *min = sd->val_min; if (max) *max = sd->val_max; @@ -631,7 +631,7 @@ _efl_ui_progressbar_part_efl_ui_range_range_value_set(Eo *obj, void *_pd EINA_UN } EOLIAN static double -_efl_ui_progressbar_part_efl_ui_range_range_value_get(Eo *obj, void *_pd EINA_UNUSED) +_efl_ui_progressbar_part_efl_ui_range_range_value_get(const Eo *obj, void *_pd EINA_UNUSED) { Elm_Part_Data *pd = efl_data_scope_get(obj, EFL_UI_WIDGET_PART_CLASS); Efl_Ui_Progressbar_Data *sd = efl_data_scope_get(pd->obj, EFL_UI_PROGRESSBAR_CLASS); @@ -640,7 +640,7 @@ _efl_ui_progressbar_part_efl_ui_range_range_value_get(Eo *obj, void *_pd EINA_UN } EOLIAN static void -_efl_ui_progressbar_efl_access_value_value_and_text_get(Eo *obj EINA_UNUSED, Efl_Ui_Progressbar_Data *_pd, double *value, const char **text EINA_UNUSED) +_efl_ui_progressbar_efl_access_value_value_and_text_get(const Eo *obj EINA_UNUSED, Efl_Ui_Progressbar_Data *_pd, double *value, const char **text EINA_UNUSED) { if (value) *value = _pd->val; } @@ -655,7 +655,7 @@ _efl_ui_progressbar_part_efl_ui_range_range_min_max_set(Eo *obj, void *_pd EINA_ } EOLIAN static void -_efl_ui_progressbar_part_efl_ui_range_range_min_max_get(Eo *obj, void *_pd EINA_UNUSED, double *min, double *max) +_efl_ui_progressbar_part_efl_ui_range_range_min_max_get(const Eo *obj, void *_pd EINA_UNUSED, double *min, double *max) { Efl_Ui_Progress_Status *ps; Eina_List *l; diff --git a/src/lib/elementary/efl_ui_radio.c b/src/lib/elementary/efl_ui_radio.c index 5cae7ec113..78afc19c60 100644 --- a/src/lib/elementary/efl_ui_radio.c +++ b/src/lib/elementary/efl_ui_radio.c @@ -250,7 +250,7 @@ _efl_ui_radio_state_value_set(Eo *obj, Efl_Ui_Radio_Data *sd, int value) } EOLIAN static int -_efl_ui_radio_state_value_get(Eo *obj EINA_UNUSED, Efl_Ui_Radio_Data *sd) +_efl_ui_radio_state_value_get(const Eo *obj EINA_UNUSED, Efl_Ui_Radio_Data *sd) { return sd->value; } @@ -265,7 +265,7 @@ _efl_ui_radio_efl_ui_nstate_value_set(Eo *obj EINA_UNUSED, Efl_Ui_Radio_Data *sd } EOLIAN static int -_efl_ui_radio_efl_ui_nstate_value_get(Eo *obj EINA_UNUSED, Efl_Ui_Radio_Data *sd) +_efl_ui_radio_efl_ui_nstate_value_get(const Eo *obj EINA_UNUSED, Efl_Ui_Radio_Data *sd) { return sd->group->value; } @@ -286,7 +286,7 @@ _efl_ui_radio_value_pointer_set(Eo *obj EINA_UNUSED, Efl_Ui_Radio_Data *sd, int } EOLIAN static Evas_Object* -_efl_ui_radio_selected_object_get(Eo *obj EINA_UNUSED, Efl_Ui_Radio_Data *sd) +_efl_ui_radio_selected_object_get(const Eo *obj EINA_UNUSED, Efl_Ui_Radio_Data *sd) { Eina_List *l; Evas_Object *child; @@ -313,7 +313,7 @@ _efl_ui_radio_efl_ui_widget_on_access_activate(Eo *obj, Efl_Ui_Radio_Data *_pd E } EOLIAN const Efl_Access_Action_Data * -_efl_ui_radio_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Efl_Ui_Radio_Data *pd EINA_UNUSED) +_efl_ui_radio_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Efl_Ui_Radio_Data *pd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "activate", "activate", NULL, _key_action_activate}, @@ -323,7 +323,7 @@ _efl_ui_radio_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Efl_ } EOLIAN Efl_Access_State_Set -_efl_ui_radio_efl_access_state_set_get(Eo *obj, Efl_Ui_Radio_Data *pd EINA_UNUSED) +_efl_ui_radio_efl_access_state_set_get(const Eo *obj, Efl_Ui_Radio_Data *pd EINA_UNUSED) { Efl_Access_State_Set ret; diff --git a/src/lib/elementary/efl_ui_scroll_manager.c b/src/lib/elementary/efl_ui_scroll_manager.c index bdef8f1055..cdfb46ea11 100644 --- a/src/lib/elementary/efl_ui_scroll_manager.c +++ b/src/lib/elementary/efl_ui_scroll_manager.c @@ -255,13 +255,13 @@ _efl_ui_scroll_manager_edge_right(Efl_Ui_Scroll_Manager_Data *sd) } EOLIAN static Eina_Size2D -_efl_ui_scroll_manager_efl_ui_scrollable_interactive_content_size_get(Eo *obj EINA_UNUSED, Efl_Ui_Scroll_Manager_Data *sd) +_efl_ui_scroll_manager_efl_ui_scrollable_interactive_content_size_get(const Eo *obj EINA_UNUSED, Efl_Ui_Scroll_Manager_Data *sd) { return efl_ui_pan_content_size_get(sd->pan_obj); } EOLIAN static Eina_Rect -_efl_ui_scroll_manager_efl_ui_scrollable_interactive_viewport_geometry_get(Eo *obj EINA_UNUSED, +_efl_ui_scroll_manager_efl_ui_scrollable_interactive_viewport_geometry_get(const Eo *obj EINA_UNUSED, Efl_Ui_Scroll_Manager_Data *sd) { if (!sd->pan_obj) return EINA_RECT(0, 0, 0, 0); @@ -397,7 +397,7 @@ _efl_ui_scroll_manager_bounce_eval(Efl_Ui_Scroll_Manager_Data *sd) } EOLIAN static Eina_Position2D -_efl_ui_scroll_manager_efl_ui_scrollable_interactive_content_pos_get(Eo *obj EINA_UNUSED, Efl_Ui_Scroll_Manager_Data *sd) +_efl_ui_scroll_manager_efl_ui_scrollable_interactive_content_pos_get(const Eo *obj EINA_UNUSED, Efl_Ui_Scroll_Manager_Data *sd) { if (!sd->pan_obj) return EINA_POSITION2D(0, 0); @@ -594,7 +594,7 @@ _efl_ui_scroll_manager_efl_ui_scrollbar_bar_mode_set(Eo *obj EINA_UNUSED, } EOLIAN static void -_efl_ui_scroll_manager_efl_ui_scrollbar_bar_mode_get(Eo *obj EINA_UNUSED, +_efl_ui_scroll_manager_efl_ui_scrollbar_bar_mode_get(const Eo *obj EINA_UNUSED, Efl_Ui_Scroll_Manager_Data *sd, Efl_Ui_Scrollbar_Mode *hmode, Efl_Ui_Scrollbar_Mode *vmode) @@ -2213,7 +2213,7 @@ _efl_ui_scroll_manager_efl_ui_scrollbar_bar_position_set(Eo *obj EINA_UNUSED, Ef } EOLIAN static void -_efl_ui_scroll_manager_efl_ui_scrollbar_bar_position_get(Eo *obj EINA_UNUSED, Efl_Ui_Scroll_Manager_Data *sd, double *posx, double *posy) +_efl_ui_scroll_manager_efl_ui_scrollbar_bar_position_get(const Eo *obj EINA_UNUSED, Efl_Ui_Scroll_Manager_Data *sd, double *posx, double *posy) { if (!sd->pan_obj) return; @@ -2244,7 +2244,7 @@ _efl_ui_scroll_manager_efl_ui_scrollbar_bar_position_get(Eo *obj EINA_UNUSED, Ef } EOLIAN static void -_efl_ui_scroll_manager_efl_ui_scrollbar_bar_size_get(Eo *obj EINA_UNUSED, Efl_Ui_Scroll_Manager_Data *sd, double *width, double *height) +_efl_ui_scroll_manager_efl_ui_scrollbar_bar_size_get(const Eo *obj EINA_UNUSED, Efl_Ui_Scroll_Manager_Data *sd, double *width, double *height) { if (!sd->pan_obj) return; @@ -2301,7 +2301,7 @@ _efl_ui_scroll_manager_pan_set(Eo *obj, Efl_Ui_Scroll_Manager_Data *sd, Eo *pan) } EOLIAN static Eina_Bool -_efl_ui_scroll_manager_efl_ui_scrollable_interactive_scroll_hold_get(Eo *obj EINA_UNUSED, Efl_Ui_Scroll_Manager_Data *sd) +_efl_ui_scroll_manager_efl_ui_scrollable_interactive_scroll_hold_get(const Eo *obj EINA_UNUSED, Efl_Ui_Scroll_Manager_Data *sd) { return sd->hold; } @@ -2313,7 +2313,7 @@ _efl_ui_scroll_manager_efl_ui_scrollable_interactive_scroll_hold_set(Eo *obj EIN } EOLIAN static Eina_Bool -_efl_ui_scroll_manager_efl_ui_scrollable_interactive_scroll_freeze_get(Eo *obj EINA_UNUSED, Efl_Ui_Scroll_Manager_Data *sd) +_efl_ui_scroll_manager_efl_ui_scrollable_interactive_scroll_freeze_get(const Eo *obj EINA_UNUSED, Efl_Ui_Scroll_Manager_Data *sd) { return sd->freeze; } @@ -2338,7 +2338,7 @@ _efl_ui_scroll_manager_efl_ui_scrollable_interactive_bounce_enabled_set(Eo *obj } EOLIAN static void -_efl_ui_scroll_manager_efl_ui_scrollable_interactive_bounce_enabled_get(Eo *obj EINA_UNUSED, Efl_Ui_Scroll_Manager_Data *sd, Eina_Bool *horiz, Eina_Bool *vert) +_efl_ui_scroll_manager_efl_ui_scrollable_interactive_bounce_enabled_get(const Eo *obj EINA_UNUSED, Efl_Ui_Scroll_Manager_Data *sd, Eina_Bool *horiz, Eina_Bool *vert) { if (horiz) *horiz = sd->bounce_horiz; if (vert) *vert = sd->bounce_vert; @@ -2383,7 +2383,7 @@ _efl_ui_scroll_manager_efl_ui_scrollable_interactive_gravity_set(Eo *obj EINA_UN } EOLIAN static void -_efl_ui_scroll_manager_efl_ui_scrollable_interactive_gravity_get(Eo *obj EINA_UNUSED, Efl_Ui_Scroll_Manager_Data *sd, double *x, double *y) +_efl_ui_scroll_manager_efl_ui_scrollable_interactive_gravity_get(const Eo *obj EINA_UNUSED, Efl_Ui_Scroll_Manager_Data *sd, double *x, double *y) { if (x) *x = sd->gravity_x; if (y) *y = sd->gravity_y; @@ -2396,7 +2396,7 @@ _efl_ui_scroll_manager_efl_ui_scrollable_interactive_movement_block_set(Eo *obj } EOLIAN static Efl_Ui_Scroll_Block -_efl_ui_scroll_manager_efl_ui_scrollable_interactive_movement_block_get(Eo *obj EINA_UNUSED, Efl_Ui_Scroll_Manager_Data *sd) +_efl_ui_scroll_manager_efl_ui_scrollable_interactive_movement_block_get(const Eo *obj EINA_UNUSED, Efl_Ui_Scroll_Manager_Data *sd) { return sd->block; } @@ -2411,7 +2411,7 @@ _efl_ui_scroll_manager_efl_ui_scrollable_interactive_looping_set(Eo *obj EINA_UN } EOLIAN static void -_efl_ui_scroll_manager_efl_ui_scrollable_interactive_looping_get(Eo *obj EINA_UNUSED, Efl_Ui_Scroll_Manager_Data *sd, Eina_Bool *loop_h, Eina_Bool *loop_v) +_efl_ui_scroll_manager_efl_ui_scrollable_interactive_looping_get(const Eo *obj EINA_UNUSED, Efl_Ui_Scroll_Manager_Data *sd, Eina_Bool *loop_h, Eina_Bool *loop_v) { *loop_h = sd->loop_h; *loop_v = sd->loop_v; diff --git a/src/lib/elementary/efl_ui_scroller.c b/src/lib/elementary/efl_ui_scroller.c index 43885baf96..b5eeb0d0f9 100644 --- a/src/lib/elementary/efl_ui_scroller.c +++ b/src/lib/elementary/efl_ui_scroller.c @@ -528,14 +528,14 @@ _efl_ui_scroller_efl_ui_widget_theme_apply(Eo *obj, Efl_Ui_Scroller_Data *sd) } EOLIAN static Eina_Size2D -_efl_ui_scroller_efl_ui_scrollable_interactive_content_size_get(Eo *obj EINA_UNUSED, +_efl_ui_scroller_efl_ui_scrollable_interactive_content_size_get(const Eo *obj EINA_UNUSED, Efl_Ui_Scroller_Data *sd) { return efl_ui_scrollable_content_size_get(sd->smanager); } EOLIAN static Eina_Rect -_efl_ui_scroller_efl_ui_scrollable_interactive_viewport_geometry_get(Eo *obj EINA_UNUSED, +_efl_ui_scroller_efl_ui_scrollable_interactive_viewport_geometry_get(const Eo *obj EINA_UNUSED, Efl_Ui_Scroller_Data *sd) { return efl_ui_scrollable_viewport_geometry_get(sd->smanager); @@ -551,7 +551,7 @@ _efl_ui_scroller_efl_ui_scrollable_interactive_bounce_enabled_set(Eo *obj EINA_U } EOLIAN static void -_efl_ui_scroller_efl_ui_scrollable_interactive_bounce_enabled_get(Eo *obj EINA_UNUSED, +_efl_ui_scroller_efl_ui_scrollable_interactive_bounce_enabled_get(const Eo *obj EINA_UNUSED, Efl_Ui_Scroller_Data *sd, Eina_Bool *horiz, Eina_Bool *vert) @@ -560,7 +560,7 @@ _efl_ui_scroller_efl_ui_scrollable_interactive_bounce_enabled_get(Eo *obj EINA_U } EOLIAN static Eina_Bool -_efl_ui_scroller_efl_ui_scrollable_interactive_scroll_hold_get(Eo *obj EINA_UNUSED, +_efl_ui_scroller_efl_ui_scrollable_interactive_scroll_hold_get(const Eo *obj EINA_UNUSED, Efl_Ui_Scroller_Data *sd) { return efl_ui_scrollable_scroll_hold_get(sd->smanager); @@ -575,7 +575,7 @@ _efl_ui_scroller_efl_ui_scrollable_interactive_scroll_hold_set(Eo *obj EINA_UNUS } EOLIAN static Eina_Bool -_efl_ui_scroller_efl_ui_scrollable_interactive_scroll_freeze_get(Eo *obj EINA_UNUSED, +_efl_ui_scroller_efl_ui_scrollable_interactive_scroll_freeze_get(const Eo *obj EINA_UNUSED, Efl_Ui_Scroller_Data *sd) { return efl_ui_scrollable_scroll_freeze_get(sd->smanager); @@ -613,7 +613,7 @@ _efl_ui_scroller_efl_ui_scrollbar_bar_mode_set(Eo *obj EINA_UNUSED, } EOLIAN static void -_efl_ui_scroller_efl_ui_scrollbar_bar_mode_get(Eo *obj EINA_UNUSED, +_efl_ui_scroller_efl_ui_scrollbar_bar_mode_get(const Eo *obj EINA_UNUSED, Efl_Ui_Scroller_Data *sd, Efl_Ui_Scrollbar_Mode *hmode, Efl_Ui_Scrollbar_Mode *vmode) diff --git a/src/lib/elementary/efl_ui_slider.c b/src/lib/elementary/efl_ui_slider.c index c02564bbb3..48c447bee4 100644 --- a/src/lib/elementary/efl_ui_slider.c +++ b/src/lib/elementary/efl_ui_slider.c @@ -1230,7 +1230,7 @@ _efl_ui_slider_efl_ui_direction_direction_set(Eo *obj, Efl_Ui_Slider_Data *sd, E } EOLIAN static Efl_Ui_Dir -_efl_ui_slider_efl_ui_direction_direction_get(Eo *obj EINA_UNUSED, Efl_Ui_Slider_Data *sd) +_efl_ui_slider_efl_ui_direction_direction_get(const Eo *obj EINA_UNUSED, Efl_Ui_Slider_Data *sd) { return sd->dir; } @@ -1248,7 +1248,7 @@ _efl_ui_slider_efl_ui_range_range_min_max_set(Eo *obj, Efl_Ui_Slider_Data *sd, d } EOLIAN static void -_efl_ui_slider_efl_ui_range_range_min_max_get(Eo *obj EINA_UNUSED, Efl_Ui_Slider_Data *sd, double *min, double *max) +_efl_ui_slider_efl_ui_range_range_min_max_get(const Eo *obj EINA_UNUSED, Efl_Ui_Slider_Data *sd, double *min, double *max) { if (min) *min = sd->val_min; if (max) *max = sd->val_max; @@ -1268,13 +1268,13 @@ _efl_ui_slider_efl_ui_range_range_value_set(Eo *obj, Efl_Ui_Slider_Data *sd, dou } EOLIAN static double -_efl_ui_slider_efl_ui_range_range_value_get(Eo *obj EINA_UNUSED, Efl_Ui_Slider_Data *sd) +_efl_ui_slider_efl_ui_range_range_value_get(const Eo *obj EINA_UNUSED, Efl_Ui_Slider_Data *sd) { return sd->val; } EOLIAN static double -_efl_ui_slider_efl_ui_range_range_step_get(Eo *obj EINA_UNUSED, Efl_Ui_Slider_Data *sd) +_efl_ui_slider_efl_ui_range_range_step_get(const Eo *obj EINA_UNUSED, Efl_Ui_Slider_Data *sd) { return sd->step; } @@ -1308,7 +1308,7 @@ _efl_ui_slider_efl_ui_focus_object_on_focus_update(Eo *obj, Efl_Ui_Slider_Data * // A11Y Accessibility EOLIAN static void -_efl_ui_slider_efl_access_value_value_and_text_get(Eo *obj EINA_UNUSED, Efl_Ui_Slider_Data *sd, double *value, const char **text) +_efl_ui_slider_efl_access_value_value_and_text_get(const Eo *obj EINA_UNUSED, Efl_Ui_Slider_Data *sd, double *value, const char **text) { if (value) *value = sd->val; if (text) *text = NULL; @@ -1333,7 +1333,7 @@ _efl_ui_slider_efl_access_value_value_and_text_set(Eo *obj, Efl_Ui_Slider_Data * } EOLIAN static void -_efl_ui_slider_efl_access_value_range_get(Eo *obj EINA_UNUSED, Efl_Ui_Slider_Data *sd, double *lower, double *upper, const char **descr) +_efl_ui_slider_efl_access_value_range_get(const Eo *obj EINA_UNUSED, Efl_Ui_Slider_Data *sd, double *lower, double *upper, const char **descr) { if (lower) *lower = sd->val_min; if (upper) *upper = sd->val_max; @@ -1341,7 +1341,7 @@ _efl_ui_slider_efl_access_value_range_get(Eo *obj EINA_UNUSED, Efl_Ui_Slider_Dat } EOLIAN static double -_efl_ui_slider_efl_access_value_increment_get(Eo *obj EINA_UNUSED, Efl_Ui_Slider_Data *sd) +_efl_ui_slider_efl_access_value_increment_get(const Eo *obj EINA_UNUSED, Efl_Ui_Slider_Data *sd) { return sd->step; } @@ -1373,7 +1373,7 @@ _efl_ui_slider_efl_ui_format_format_cb_set(Eo *obj, Efl_Ui_Slider_Data *sd, void } EOLIAN const Efl_Access_Action_Data * -_efl_ui_slider_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Efl_Ui_Slider_Data *pd EINA_UNUSED) +_efl_ui_slider_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Efl_Ui_Slider_Data *pd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "drag,left", "drag", "left", _key_action_drag}, @@ -1491,7 +1491,7 @@ _efl_ui_slider_part_indicator_efl_ui_format_format_string_set(Eo *obj, void *_pd } EOLIAN static const char * -_efl_ui_slider_part_indicator_efl_ui_format_format_string_get(Eo *obj, void *_pd EINA_UNUSED) +_efl_ui_slider_part_indicator_efl_ui_format_format_string_get(const Eo *obj, void *_pd EINA_UNUSED) { Elm_Part_Data *pd = efl_data_scope_get(obj, EFL_UI_WIDGET_PART_CLASS); Efl_Ui_Slider_Data *sd = efl_data_scope_get(pd->obj, EFL_UI_SLIDER_CLASS); @@ -1513,7 +1513,7 @@ _efl_ui_slider_part_indicator_visible_mode_set(Eo *obj, void *_pd EINA_UNUSED, E } EOLIAN static Efl_Ui_Slider_Indicator_Visible_Mode -_efl_ui_slider_part_indicator_visible_mode_get(Eo *obj, void *_pd EINA_UNUSED) +_efl_ui_slider_part_indicator_visible_mode_get(const Eo *obj, void *_pd EINA_UNUSED) { Elm_Part_Data *pd = efl_data_scope_get(obj, EFL_UI_WIDGET_PART_CLASS); Efl_Ui_Slider_Data *sd = efl_data_scope_get(pd->obj, EFL_UI_SLIDER_CLASS); diff --git a/src/lib/elementary/efl_ui_slider_interval.c b/src/lib/elementary/efl_ui_slider_interval.c index 17b86c2409..f30d4efd0d 100644 --- a/src/lib/elementary/efl_ui_slider_interval.c +++ b/src/lib/elementary/efl_ui_slider_interval.c @@ -14,7 +14,7 @@ #define MY_CLASS_NAME "Efl.Ui.Slider_Interval" EOLIAN static void -_efl_ui_slider_interval_interval_value_get(Eo *obj, void *sd EINA_UNUSED, double *from, double *to) +_efl_ui_slider_interval_interval_value_get(const Eo *obj, void *sd EINA_UNUSED, double *from, double *to) { Efl_Ui_Slider_Data *pd = efl_data_scope_get(obj, EFL_UI_SLIDER_CLASS); if (from) *from = fmin(pd->intvl_from, pd->intvl_to); diff --git a/src/lib/elementary/efl_ui_spin.c b/src/lib/elementary/efl_ui_spin.c index ad73ab4d0f..c479099c6c 100644 --- a/src/lib/elementary/efl_ui_spin.c +++ b/src/lib/elementary/efl_ui_spin.c @@ -259,7 +259,7 @@ _efl_ui_spin_efl_ui_range_range_min_max_set(Eo *obj, Efl_Ui_Spin_Data *sd, doubl } EOLIAN static void -_efl_ui_spin_efl_ui_range_range_min_max_get(Eo *obj EINA_UNUSED, Efl_Ui_Spin_Data *sd, double *min, double *max) +_efl_ui_spin_efl_ui_range_range_min_max_get(const Eo *obj EINA_UNUSED, Efl_Ui_Spin_Data *sd, double *min, double *max) { if (min) *min = sd->val_min; if (max) *max = sd->val_max; @@ -278,7 +278,7 @@ _efl_ui_spin_efl_ui_range_range_step_set(Eo *obj EINA_UNUSED, Efl_Ui_Spin_Data * } EOLIAN static double -_efl_ui_spin_efl_ui_range_range_step_get(Eo *obj EINA_UNUSED, Efl_Ui_Spin_Data *sd) +_efl_ui_spin_efl_ui_range_range_step_get(const Eo *obj EINA_UNUSED, Efl_Ui_Spin_Data *sd) { return sd->step; } @@ -306,7 +306,7 @@ _efl_ui_spin_efl_ui_range_range_value_set(Eo *obj, Efl_Ui_Spin_Data *sd, double } EOLIAN static double -_efl_ui_spin_efl_ui_range_range_value_get(Eo *obj EINA_UNUSED, Efl_Ui_Spin_Data *sd) +_efl_ui_spin_efl_ui_range_range_value_get(const Eo *obj EINA_UNUSED, Efl_Ui_Spin_Data *sd) { return sd->val; } diff --git a/src/lib/elementary/efl_ui_spin_button.c b/src/lib/elementary/efl_ui_spin_button.c index 64144176b3..21b08a31d0 100644 --- a/src/lib/elementary/efl_ui_spin_button.c +++ b/src/lib/elementary/efl_ui_spin_button.c @@ -812,7 +812,7 @@ _efl_ui_spin_button_editable_set(Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *s } EOLIAN static Eina_Bool -_efl_ui_spin_button_editable_get(Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd) +_efl_ui_spin_button_editable_get(const Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd) { return sd->editable; } @@ -824,13 +824,13 @@ _efl_ui_spin_button_circulate_set(Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data * } EOLIAN static Eina_Bool -_efl_ui_spin_button_circulate_get(Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd) +_efl_ui_spin_button_circulate_get(const Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd) { return sd->circulate; } EOLIAN static const Efl_Access_Action_Data * -_efl_ui_spin_button_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED) +_efl_ui_spin_button_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "toggle", "toggle", NULL, _key_action_toggle}, @@ -842,7 +842,7 @@ _efl_ui_spin_button_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED // A11Y Accessibility EOLIAN static void -_efl_ui_spin_button_efl_access_value_value_and_text_get(Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED, double *value, const char **text) +_efl_ui_spin_button_efl_access_value_value_and_text_get(const Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED, double *value, const char **text) { Efl_Ui_Spin_Data *pd = efl_data_scope_get(obj, EFL_UI_SPIN_CLASS); @@ -865,7 +865,7 @@ _efl_ui_spin_button_efl_access_value_value_and_text_set(Eo *obj, Efl_Ui_Spin_But } EOLIAN static void -_efl_ui_spin_button_efl_access_value_range_get(Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED, double *lower, double *upper, const char **descr) +_efl_ui_spin_button_efl_access_value_range_get(const Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED, double *lower, double *upper, const char **descr) { Efl_Ui_Spin_Data *pd = efl_data_scope_get(obj, EFL_UI_SPIN_CLASS); @@ -875,7 +875,7 @@ _efl_ui_spin_button_efl_access_value_range_get(Eo *obj EINA_UNUSED, Efl_Ui_Spin_ } EOLIAN static double -_efl_ui_spin_button_efl_access_value_increment_get(Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED) +_efl_ui_spin_button_efl_access_value_increment_get(const Eo *obj EINA_UNUSED, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED) { Efl_Ui_Spin_Data *pd = efl_data_scope_get(obj, EFL_UI_SPIN_CLASS); @@ -883,7 +883,7 @@ _efl_ui_spin_button_efl_access_value_increment_get(Eo *obj EINA_UNUSED, Efl_Ui_S } EOLIAN static const char* -_efl_ui_spin_button_efl_access_i18n_name_get(Eo *obj, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED) +_efl_ui_spin_button_efl_access_i18n_name_get(const Eo *obj, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED) { const char *name; name = efl_access_i18n_name_get(efl_super(obj, EFL_UI_SPIN_BUTTON_CLASS)); diff --git a/src/lib/elementary/efl_ui_table.c b/src/lib/elementary/efl_ui_table.c index 6fd241b6d9..b734057307 100644 --- a/src/lib/elementary/efl_ui_table.c +++ b/src/lib/elementary/efl_ui_table.c @@ -222,7 +222,7 @@ _efl_ui_table_efl_pack_pack_padding_set(Eo *obj, Efl_Ui_Table_Data *pd EINA_UNUS } EOLIAN static void -_efl_ui_table_efl_pack_pack_padding_get(Eo *obj, Efl_Ui_Table_Data *pd EINA_UNUSED, double *h, double *v, Eina_Bool *scalable) +_efl_ui_table_efl_pack_pack_padding_get(const Eo *obj, Efl_Ui_Table_Data *pd EINA_UNUSED, double *h, double *v, Eina_Bool *scalable) { ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd); @@ -320,7 +320,7 @@ _efl_ui_table_efl_pack_table_pack_table(Eo *obj, Efl_Ui_Table_Data *pd, } EOLIAN static Eina_Bool -_efl_ui_table_efl_pack_table_table_position_get(Eo *obj, Efl_Ui_Table_Data *pd EINA_UNUSED, Evas_Object *subobj, int *col, int *row, int *colspan, int *rowspan) +_efl_ui_table_efl_pack_table_table_position_get(const Eo *obj, Efl_Ui_Table_Data *pd EINA_UNUSED, Evas_Object *subobj, int *col, int *row, int *colspan, int *rowspan) { int c = -1, r = -1, cs = 0, rs = 0; Table_Item *gi; @@ -570,7 +570,7 @@ _efl_ui_table_efl_ui_direction_direction_set(Eo *obj, Efl_Ui_Table_Data *pd, Efl } EOLIAN static Efl_Ui_Dir -_efl_ui_table_efl_ui_direction_direction_get(Eo *obj EINA_UNUSED, Efl_Ui_Table_Data *pd) +_efl_ui_table_efl_ui_direction_direction_get(const Eo *obj EINA_UNUSED, Efl_Ui_Table_Data *pd) { return pd->dir1; } @@ -596,7 +596,7 @@ _efl_ui_table_efl_pack_table_table_direction_set(Eo *obj, Efl_Ui_Table_Data *pd, } EOLIAN static void -_efl_ui_table_efl_pack_table_table_direction_get(Eo *obj EINA_UNUSED, Efl_Ui_Table_Data *pd, Efl_Ui_Dir *primary, Efl_Ui_Dir *secondary) +_efl_ui_table_efl_pack_table_table_direction_get(const Eo *obj EINA_UNUSED, Efl_Ui_Table_Data *pd, Efl_Ui_Dir *primary, Efl_Ui_Dir *secondary) { if (primary) *primary = pd->dir1; if (secondary) *secondary = pd->dir2; @@ -615,7 +615,7 @@ _efl_ui_table_efl_pack_table_table_size_set(Eo *obj, Efl_Ui_Table_Data *pd EINA_ } EOLIAN static void -_efl_ui_table_efl_pack_table_table_size_get(Eo *obj EINA_UNUSED, Efl_Ui_Table_Data *pd EINA_UNUSED, int *cols, int *rows) +_efl_ui_table_efl_pack_table_table_size_get(const Eo *obj EINA_UNUSED, Efl_Ui_Table_Data *pd EINA_UNUSED, int *cols, int *rows) { if (cols) *cols = efl_pack_table_columns_get(obj); if (rows) *rows = efl_pack_table_rows_get(obj); @@ -630,7 +630,7 @@ _efl_ui_table_efl_pack_table_table_columns_set(Eo *obj, Efl_Ui_Table_Data *pd, i } EOLIAN static int -_efl_ui_table_efl_pack_table_table_columns_get(Eo *obj EINA_UNUSED, Efl_Ui_Table_Data *pd) +_efl_ui_table_efl_pack_table_table_columns_get(const Eo *obj EINA_UNUSED, Efl_Ui_Table_Data *pd) { if (!pd->req_cols) { @@ -651,7 +651,7 @@ _efl_ui_table_efl_pack_table_table_rows_set(Eo *obj, Efl_Ui_Table_Data *pd, int } EOLIAN static int -_efl_ui_table_efl_pack_table_table_rows_get(Eo *obj EINA_UNUSED, Efl_Ui_Table_Data *pd) +_efl_ui_table_efl_pack_table_table_rows_get(const Eo *obj EINA_UNUSED, Efl_Ui_Table_Data *pd) { if (!pd->req_rows) { diff --git a/src/lib/elementary/efl_ui_text.c b/src/lib/elementary/efl_ui_text.c index b8fa0ea20e..1b784f5b7c 100644 --- a/src/lib/elementary/efl_ui_text.c +++ b/src/lib/elementary/efl_ui_text.c @@ -278,7 +278,7 @@ static void _efl_ui_text_move_cb(void *data, Evas *e, Evas_Object *obj, void *ev static void _efl_ui_text_select_none(Eo *obj, Efl_Ui_Text_Data *sd); static void _efl_ui_text_anchor_hover_end(Eo *obj, Efl_Ui_Text_Data *sd); static void _efl_ui_text_anchor_hover_parent_set(Eo *obj, Efl_Ui_Text_Data *sd, Evas_Object *parent); -static const char* _efl_ui_text_selection_get(Eo *obj, Efl_Ui_Text_Data *sd); +static const char* _efl_ui_text_selection_get(const Eo *obj, Efl_Ui_Text_Data *sd); static void _edje_signal_emit(Efl_Ui_Text_Data *obj, const char *sig, const char *src); static void _decoration_defer_all(Eo *obj); static inline Eo * _decoration_create(Eo *obj, Efl_Ui_Text_Data *sd, const char *source, Eina_Bool above); @@ -1187,7 +1187,7 @@ _efl_ui_text_efl_ui_focus_object_on_focus_update(Eo *obj, Efl_Ui_Text_Data *sd) } EOLIAN static Eina_Rect -_efl_ui_text_efl_ui_widget_interest_region_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) +_efl_ui_text_efl_ui_widget_interest_region_get(const Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) { Evas_Coord edje_x, edje_y, elm_x, elm_y; Eina_Rect r = {}; @@ -3336,7 +3336,7 @@ _efl_ui_text_password_mode_set(Eo *obj, Efl_Ui_Text_Data *sd, Eina_Bool password } EOLIAN static Eina_Bool -_efl_ui_text_password_mode_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) +_efl_ui_text_password_mode_get(const Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) { return sd->password; } @@ -3350,7 +3350,7 @@ _efl_ui_text_calc_force(Eo *obj, Efl_Ui_Text_Data *sd) } static const char* -_efl_ui_text_selection_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) +_efl_ui_text_selection_get(const Eo *obj, Efl_Ui_Text_Data *sd) { Efl_Text_Cursor_Cursor *start_obj, *end_obj; @@ -3368,7 +3368,7 @@ _efl_ui_text_selection_handler_disabled_set(Eo *obj EINA_UNUSED, Efl_Ui_Text_Dat } EOLIAN static Eina_Bool -_efl_ui_text_selection_handler_disabled_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) +_efl_ui_text_selection_handler_disabled_get(const Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) { return sd->sel_handler_disabled; } @@ -3516,7 +3516,7 @@ _efl_ui_text_context_menu_disabled_set(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd } EOLIAN static Eina_Bool -_efl_ui_text_context_menu_disabled_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) +_efl_ui_text_context_menu_disabled_get(const Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) { return !sd->context_menu; } @@ -3532,7 +3532,7 @@ _efl_ui_text_efl_file_file_set(Eo *obj, Efl_Ui_Text_Data *sd, const char *file, } EOLIAN static void -_efl_ui_text_efl_file_file_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd, const char **file, const char **group) +_efl_ui_text_efl_file_file_get(const Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd, const char **file, const char **group) { if (file) *file = sd->file; if (group) *group = NULL; @@ -3577,7 +3577,7 @@ _efl_ui_text_cnp_mode_set(Eo *obj, Efl_Ui_Text_Data *sd, Efl_Selection_Format cn } EOLIAN static Efl_Selection_Format -_efl_ui_text_cnp_mode_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) +_efl_ui_text_cnp_mode_get(const Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) { return sd->cnp_mode; } @@ -3665,7 +3665,7 @@ _efl_ui_text_scrollable_set(Eo *obj, Efl_Ui_Text_Data *sd, Eina_Bool scroll) } EOLIAN static Eina_Bool -_efl_ui_text_scrollable_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) +_efl_ui_text_scrollable_get(const Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) { return sd->scroll; } @@ -3701,7 +3701,7 @@ _efl_ui_text_input_panel_layout_set(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd, E } EOLIAN static Elm_Input_Panel_Layout -_efl_ui_text_input_panel_layout_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) +_efl_ui_text_input_panel_layout_get(const Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) { return sd->input_panel_layout; } @@ -3716,7 +3716,7 @@ _efl_ui_text_input_panel_layout_variation_set(Eo *obj EINA_UNUSED, Efl_Ui_Text_D } EOLIAN static int -_efl_ui_text_input_panel_layout_variation_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) +_efl_ui_text_input_panel_layout_variation_get(const Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) { return sd->input_panel_layout_variation; } @@ -3730,7 +3730,7 @@ _efl_ui_text_autocapital_type_set(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd, Elm } EOLIAN static Elm_Autocapital_Type -_efl_ui_text_autocapital_type_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) +_efl_ui_text_autocapital_type_get(const Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) { return sd->autocapital_type; } @@ -3744,7 +3744,7 @@ _efl_ui_text_prediction_allow_set(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd, Ein } EOLIAN static Eina_Bool -_efl_ui_text_prediction_allow_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) +_efl_ui_text_prediction_allow_get(const Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) { return sd->prediction_allow; } @@ -3759,7 +3759,7 @@ _efl_ui_text_input_hint_set(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd, Elm_Input } EOLIAN static Elm_Input_Hints -_efl_ui_text_input_hint_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) +_efl_ui_text_input_hint_get(const Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) { return sd->input_hints; } @@ -3773,7 +3773,7 @@ _efl_ui_text_input_panel_enabled_set(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd, } EOLIAN static Eina_Bool -_efl_ui_text_input_panel_enabled_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) +_efl_ui_text_input_panel_enabled_get(const Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) { return sd->input_panel_enable; } @@ -3800,7 +3800,7 @@ _efl_ui_text_input_panel_language_set(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd, } EOLIAN static Elm_Input_Panel_Lang -_efl_ui_text_input_panel_language_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) +_efl_ui_text_input_panel_language_get(const Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) { return sd->input_panel_lang; } @@ -3836,7 +3836,7 @@ _efl_ui_text_input_panel_return_key_type_set(Eo *obj EINA_UNUSED, Efl_Ui_Text_Da } EOLIAN static Elm_Input_Panel_Return_Key_Type -_efl_ui_text_input_panel_return_key_type_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) +_efl_ui_text_input_panel_return_key_type_get(const Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) { return sd->input_panel_return_key_type; } @@ -3851,7 +3851,7 @@ _efl_ui_text_input_panel_return_key_disabled_set(Eo *obj EINA_UNUSED, Efl_Ui_Tex } EOLIAN static Eina_Bool -_efl_ui_text_input_panel_return_key_disabled_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) +_efl_ui_text_input_panel_return_key_disabled_get(const Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) { return sd->input_panel_return_key_disabled; } @@ -3873,7 +3873,7 @@ _efl_ui_text_input_panel_show_on_demand_set(Eo *obj EINA_UNUSED, Efl_Ui_Text_Dat } EOLIAN static Eina_Bool -_efl_ui_text_input_panel_show_on_demand_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) +_efl_ui_text_input_panel_show_on_demand_get(const Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd) { return sd->input_panel_show_on_demand; } @@ -3932,7 +3932,7 @@ _efl_ui_text_efl_ui_widget_on_access_activate(Eo *obj, Efl_Ui_Text_Data *_pd EIN // ATSPI Accessibility EOLIAN static Eina_Unicode -_efl_ui_text_efl_access_text_character_get(Eo *obj, Efl_Ui_Text_Data *_pd EINA_UNUSED, int offset) +_efl_ui_text_efl_access_text_character_get(const Eo *obj, Efl_Ui_Text_Data *_pd EINA_UNUSED, int offset) { const char *txt; int idx = 0; @@ -3951,7 +3951,7 @@ _efl_ui_text_efl_access_text_character_get(Eo *obj, Efl_Ui_Text_Data *_pd EINA_U } EOLIAN static int -_efl_ui_text_efl_access_text_character_count_get(Eo *obj, Efl_Ui_Text_Data *_pd EINA_UNUSED) +_efl_ui_text_efl_access_text_character_count_get(const Eo *obj, Efl_Ui_Text_Data *_pd EINA_UNUSED) { const char *txt; @@ -3961,7 +3961,7 @@ _efl_ui_text_efl_access_text_character_count_get(Eo *obj, Efl_Ui_Text_Data *_pd } EOLIAN static char* -_efl_ui_text_efl_access_text_string_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *pd, Efl_Access_Text_Granularity granularity, int *start_offset, int *end_offset) +_efl_ui_text_efl_access_text_string_get(const Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *pd, Efl_Access_Text_Granularity granularity, int *start_offset, int *end_offset) { Evas_Textblock_Cursor *cur = NULL, *cur2 = NULL; char *ret = NULL; @@ -4043,7 +4043,7 @@ fail: } EOLIAN static char* -_efl_ui_text_efl_access_text_access_text_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *pd EINA_UNUSED, int start_offset, int end_offset) +_efl_ui_text_efl_access_text_access_text_get(const Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *pd EINA_UNUSED, int start_offset, int end_offset) { Evas_Textblock_Cursor *cur = NULL, *cur2 = NULL; char *ret = NULL; @@ -4080,7 +4080,7 @@ fail: } EOLIAN static int -_efl_ui_text_efl_access_text_caret_offset_get(Eo *obj, Efl_Ui_Text_Data *_pd EINA_UNUSED) +_efl_ui_text_efl_access_text_caret_offset_get(const Eo *obj, Efl_Ui_Text_Data *_pd EINA_UNUSED) { return efl_text_cursor_position_get(obj, efl_text_cursor_get(obj, EFL_TEXT_CURSOR_GET_MAIN)); } @@ -4093,13 +4093,13 @@ _efl_ui_text_efl_access_text_caret_offset_set(Eo *obj, Efl_Ui_Text_Data *_pd EIN } EOLIAN static int -_efl_ui_text_efl_access_text_selections_count_get(Eo *obj, Efl_Ui_Text_Data *_pd EINA_UNUSED) +_efl_ui_text_efl_access_text_selections_count_get(const Eo *obj, Efl_Ui_Text_Data *_pd EINA_UNUSED) { return _efl_ui_text_selection_get(obj, _pd) ? 1 : 0; } EOLIAN static void -_efl_ui_text_efl_access_text_access_selection_get(Eo *obj, Efl_Ui_Text_Data *_pd EINA_UNUSED, int selection_number, int *start_offset, int *end_offset) +_efl_ui_text_efl_access_text_access_selection_get(const Eo *obj, Efl_Ui_Text_Data *_pd EINA_UNUSED, int selection_number, int *start_offset, int *end_offset) { if (selection_number != 0) return; @@ -4133,13 +4133,13 @@ _efl_ui_text_efl_access_text_selection_add(Eo *obj, Efl_Ui_Text_Data *pd EINA_UN } EOLIAN static Eina_List* -_efl_ui_text_efl_access_text_bounded_ranges_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *_pd EINA_UNUSED, Eina_Bool screen_coods EINA_UNUSED, Eina_Rect rect EINA_UNUSED, Efl_Access_Text_Clip_Type xclip EINA_UNUSED, Efl_Access_Text_Clip_Type yclip EINA_UNUSED) +_efl_ui_text_efl_access_text_bounded_ranges_get(const Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *_pd EINA_UNUSED, Eina_Bool screen_coods EINA_UNUSED, Eina_Rect rect EINA_UNUSED, Efl_Access_Text_Clip_Type xclip EINA_UNUSED, Efl_Access_Text_Clip_Type yclip EINA_UNUSED) { return NULL; } EOLIAN static int -_efl_ui_text_efl_access_text_offset_at_point_get(Eo *obj, Efl_Ui_Text_Data *pd EINA_UNUSED, Eina_Bool screen_coods, int x, int y) +_efl_ui_text_efl_access_text_offset_at_point_get(const Eo *obj, Efl_Ui_Text_Data *pd EINA_UNUSED, Eina_Bool screen_coods, int x, int y) { Evas_Textblock_Cursor *cur; int ret; @@ -4172,7 +4172,7 @@ _efl_ui_text_efl_access_text_offset_at_point_get(Eo *obj, Efl_Ui_Text_Data *pd E } EOLIAN static Eina_Bool -_efl_ui_text_efl_access_text_character_extents_get(Eo *obj, Efl_Ui_Text_Data *pd EINA_UNUSED, int offset, Eina_Bool screen_coods, Eina_Rect *rect) +_efl_ui_text_efl_access_text_character_extents_get(const Eo *obj, Efl_Ui_Text_Data *pd EINA_UNUSED, int offset, Eina_Bool screen_coods, Eina_Rect *rect) { Evas_Textblock_Cursor *cur; int ret; @@ -4203,7 +4203,7 @@ _efl_ui_text_efl_access_text_character_extents_get(Eo *obj, Efl_Ui_Text_Data *pd } EOLIAN static Eina_Bool -_efl_ui_text_efl_access_text_range_extents_get(Eo *obj, Efl_Ui_Text_Data *pd EINA_UNUSED, Eina_Bool screen_coods, int start_offset, int end_offset, Eina_Rect *rect) +_efl_ui_text_efl_access_text_range_extents_get(const Eo *obj, Efl_Ui_Text_Data *pd EINA_UNUSED, Eina_Bool screen_coods, int start_offset, int end_offset, Eina_Rect *rect) { Evas_Textblock_Cursor *cur1, *cur2; int ret; @@ -4251,7 +4251,7 @@ _efl_ui_text_efl_access_text_range_extents_get(Eo *obj, Efl_Ui_Text_Data *pd EIN } static Efl_Access_Text_Attribute* -_textblock_node_format_to_atspi_text_attr(Eo *obj, +_textblock_node_format_to_atspi_text_attr(const Eo *obj, Efl_Text_Annotate_Annotation *annotation) { Efl_Access_Text_Attribute *ret; @@ -4271,7 +4271,7 @@ _textblock_node_format_to_atspi_text_attr(Eo *obj, } EOLIAN static Eina_Bool -_efl_ui_text_efl_access_text_attribute_get(Eo *obj, Efl_Ui_Text_Data *_pd EINA_UNUSED, const char *attr_name EINA_UNUSED, int *start_offset, int *end_offset, char **value) +_efl_ui_text_efl_access_text_attribute_get(const Eo *obj, Efl_Ui_Text_Data *_pd EINA_UNUSED, const char *attr_name EINA_UNUSED, int *start_offset, int *end_offset, char **value) { Evas_Textblock_Cursor *cur1, *cur2; Efl_Access_Text_Attribute *attr; @@ -4316,7 +4316,7 @@ _efl_ui_text_efl_access_text_attribute_get(Eo *obj, Efl_Ui_Text_Data *_pd EINA_U } EOLIAN static Eina_List* -_efl_ui_text_efl_access_text_text_attributes_get(Eo *obj, Efl_Ui_Text_Data *pd EINA_UNUSED, int *start_offset, int *end_offset) +_efl_ui_text_efl_access_text_text_attributes_get(const Eo *obj, Efl_Ui_Text_Data *pd EINA_UNUSED, int *start_offset, int *end_offset) { Evas_Textblock_Cursor *cur1, *cur2; Eina_List *ret = NULL; @@ -4356,7 +4356,7 @@ _efl_ui_text_efl_access_text_text_attributes_get(Eo *obj, Efl_Ui_Text_Data *pd E } EOLIAN static Eina_List* -_efl_ui_text_efl_access_text_default_attributes_get(Eo *obj, Efl_Ui_Text_Data *_pd EINA_UNUSED) +_efl_ui_text_efl_access_text_default_attributes_get(const Eo *obj, Efl_Ui_Text_Data *_pd EINA_UNUSED) { Eina_List *ret = NULL; Efl_Access_Text_Attribute *attr; @@ -4365,11 +4365,12 @@ _efl_ui_text_efl_access_text_default_attributes_get(Eo *obj, Efl_Ui_Text_Data *_ Efl_Text_Annotate_Annotation *an; /* Retrieve all annotations in the text. */ - start = efl_text_cursor_new(obj); - end = efl_text_cursor_new(obj); + Eo *mobj = (Eo *)obj; /* XXX const */ + start = efl_text_cursor_new(mobj); + end = efl_text_cursor_new(mobj); - efl_text_cursor_paragraph_first(obj, start); - efl_text_cursor_paragraph_last(obj, end); + efl_text_cursor_paragraph_first(mobj, start); + efl_text_cursor_paragraph_last(mobj, end); annotations = efl_text_range_annotations_get(obj, start, end); @@ -4459,7 +4460,7 @@ _efl_ui_text_efl_access_editable_text_cut(Eo *obj, Efl_Ui_Text_Data *pd EINA_UNU } EOLIAN static Efl_Access_State_Set -_efl_ui_text_efl_access_state_set_get(Eo *obj, Efl_Ui_Text_Data *_pd EINA_UNUSED) +_efl_ui_text_efl_access_state_set_get(const Eo *obj, Efl_Ui_Text_Data *_pd EINA_UNUSED) { Efl_Access_State_Set ret; ret = efl_access_state_set_get(efl_super(obj, EFL_UI_TEXT_CLASS)); @@ -4471,7 +4472,7 @@ _efl_ui_text_efl_access_state_set_get(Eo *obj, Efl_Ui_Text_Data *_pd EINA_UNUSED } EOLIAN static const char* -_efl_ui_text_efl_access_i18n_name_get(Eo *obj, Efl_Ui_Text_Data *pd) +_efl_ui_text_efl_access_i18n_name_get(const Eo *obj, Efl_Ui_Text_Data *pd) { const char *name; name = efl_access_i18n_name_get(efl_super(obj, EFL_UI_TEXT_CLASS)); @@ -5237,7 +5238,7 @@ _efl_ui_text_item_factory_set(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *pd, } static Eo * -_efl_ui_text_item_factory_get(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *pd) +_efl_ui_text_item_factory_get(const Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *pd) { return pd->item_factory; } diff --git a/src/lib/elementary/efl_ui_textpath.c b/src/lib/elementary/efl_ui_textpath.c index f133de5b31..ad800b4a18 100644 --- a/src/lib/elementary/efl_ui_textpath.c +++ b/src/lib/elementary/efl_ui_textpath.c @@ -537,7 +537,7 @@ _efl_ui_textpath_efl_text_text_set(Eo *obj, Efl_Ui_Textpath_Data *pd, const char } EOLIAN static const char * -_efl_ui_textpath_efl_text_text_get(Eo *obj EINA_UNUSED, Efl_Ui_Textpath_Data *pd) +_efl_ui_textpath_efl_text_text_get(const Eo *obj EINA_UNUSED, Efl_Ui_Textpath_Data *pd) { return edje_object_part_text_get(pd->text_obj, "elm.text"); } @@ -605,7 +605,7 @@ _efl_ui_textpath_circle_set(Eo *obj, Efl_Ui_Textpath_Data *pd, double x, double } EOLIAN static Eina_Bool -_efl_ui_textpath_autofit_get(Eo *obj EINA_UNUSED, Efl_Ui_Textpath_Data *pd) +_efl_ui_textpath_autofit_get(const Eo *obj EINA_UNUSED, Efl_Ui_Textpath_Data *pd) { return pd->autofit; } @@ -619,7 +619,7 @@ _efl_ui_textpath_autofit_set(Eo *obj EINA_UNUSED, Efl_Ui_Textpath_Data *pd, Eina } EOLIAN static int -_efl_ui_textpath_slice_number_get(Eo *obj EINA_UNUSED, Efl_Ui_Textpath_Data *pd) +_efl_ui_textpath_slice_number_get(const Eo *obj EINA_UNUSED, Efl_Ui_Textpath_Data *pd) { return pd->slice_no; } @@ -643,7 +643,7 @@ _efl_ui_textpath_ellipsis_set(Eo *obj EINA_UNUSED, Efl_Ui_Textpath_Data *pd, Ein } EOLIAN static Eina_Bool -_efl_ui_textpath_ellipsis_get(Eo *obj EINA_UNUSED, Efl_Ui_Textpath_Data *pd) +_efl_ui_textpath_ellipsis_get(const Eo *obj EINA_UNUSED, Efl_Ui_Textpath_Data *pd) { return pd->ellipsis; } diff --git a/src/lib/elementary/efl_ui_video.c b/src/lib/elementary/efl_ui_video.c index f042be9373..f23fe57bce 100644 --- a/src/lib/elementary/efl_ui_video.c +++ b/src/lib/elementary/efl_ui_video.c @@ -282,14 +282,14 @@ _efl_ui_video_efl_file_file_set(Eo *obj, Efl_Ui_Video_Data *sd, const char *file } EOLIAN static void -_efl_ui_video_efl_file_file_get(Eo *obj EINA_UNUSED, Efl_Ui_Video_Data *sd EINA_UNUSED, const char **filename, const char **key EINA_UNUSED) +_efl_ui_video_efl_file_file_get(const Eo *obj EINA_UNUSED, Efl_Ui_Video_Data *sd EINA_UNUSED, const char **filename, const char **key EINA_UNUSED) { if (filename) *filename = emotion_object_file_get(sd->emotion); } EOLIAN static Evas_Object* -_efl_ui_video_emotion_get(Eo *obj EINA_UNUSED, Efl_Ui_Video_Data *sd) +_efl_ui_video_emotion_get(const Eo *obj EINA_UNUSED, Efl_Ui_Video_Data *sd) { return sd->emotion; } @@ -340,13 +340,13 @@ _efl_ui_video_efl_player_stop(Eo *obj, Efl_Ui_Video_Data *sd) } EOLIAN static Eina_Bool -_efl_ui_video_efl_player_play_get(Eo *obj EINA_UNUSED, Efl_Ui_Video_Data *sd) +_efl_ui_video_efl_player_play_get(const Eo *obj EINA_UNUSED, Efl_Ui_Video_Data *sd) { return emotion_object_play_get(sd->emotion); } EOLIAN static const char* -_efl_ui_video_title_get(Eo *obj EINA_UNUSED, Efl_Ui_Video_Data *sd) +_efl_ui_video_title_get(const Eo *obj EINA_UNUSED, Efl_Ui_Video_Data *sd) { return emotion_object_title_get(sd->emotion); } @@ -358,13 +358,13 @@ _efl_ui_video_remember_position_set(Eo *obj EINA_UNUSED, Efl_Ui_Video_Data *sd, } EOLIAN static Eina_Bool -_efl_ui_video_remember_position_get(Eo *obj EINA_UNUSED, Efl_Ui_Video_Data *sd) +_efl_ui_video_remember_position_get(const Eo *obj EINA_UNUSED, Efl_Ui_Video_Data *sd) { return sd->remember; } EOLIAN const Efl_Access_Action_Data * -_efl_ui_video_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Efl_Ui_Video_Data *pd EINA_UNUSED) +_efl_ui_video_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Efl_Ui_Video_Data *pd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "move,left", "move", "left", _key_action_move}, diff --git a/src/lib/elementary/efl_ui_view_list.c b/src/lib/elementary/efl_ui_view_list.c index c58541009d..785888e9c2 100644 --- a/src/lib/elementary/efl_ui_view_list.c +++ b/src/lib/elementary/efl_ui_view_list.c @@ -67,13 +67,13 @@ _efl_ui_view_list_pan_efl_ui_pan_pan_position_set(Eo *obj EINA_UNUSED, Efl_Ui_Vi } EOLIAN static Eina_Position2D -_efl_ui_view_list_pan_efl_ui_pan_pan_position_get(Eo *obj EINA_UNUSED, Efl_Ui_View_List_Pan_Data *psd) +_efl_ui_view_list_pan_efl_ui_pan_pan_position_get(const Eo *obj EINA_UNUSED, Efl_Ui_View_List_Pan_Data *psd) { return psd->gmt.pos; } EOLIAN static Eina_Position2D -_efl_ui_view_list_pan_efl_ui_pan_pan_position_max_get(Eo *obj EINA_UNUSED, Efl_Ui_View_List_Pan_Data *psd) +_efl_ui_view_list_pan_efl_ui_pan_pan_position_max_get(const Eo *obj EINA_UNUSED, Efl_Ui_View_List_Pan_Data *psd) { EFL_UI_VIEW_LIST_DATA_GET(psd->wobj, pd); Eina_Rect vgmt = {}; @@ -91,13 +91,13 @@ _efl_ui_view_list_pan_efl_ui_pan_pan_position_max_get(Eo *obj EINA_UNUSED, Efl_U } EOLIAN static Eina_Position2D -_efl_ui_view_list_pan_efl_ui_pan_pan_position_min_get(Eo *obj EINA_UNUSED, Efl_Ui_View_List_Pan_Data *psd EINA_UNUSED) +_efl_ui_view_list_pan_efl_ui_pan_pan_position_min_get(const Eo *obj EINA_UNUSED, Efl_Ui_View_List_Pan_Data *psd EINA_UNUSED) { return EINA_POSITION2D(0, 0); } EOLIAN static Eina_Size2D -_efl_ui_view_list_pan_efl_ui_pan_content_size_get(Eo *obj EINA_UNUSED, Efl_Ui_View_List_Pan_Data *psd) +_efl_ui_view_list_pan_efl_ui_pan_content_size_get(const Eo *obj EINA_UNUSED, Efl_Ui_View_List_Pan_Data *psd) { Eina_Size2D min = {}; min = efl_ui_view_list_model_min_size_get(psd->wobj); @@ -120,21 +120,21 @@ _efl_ui_view_list_efl_ui_scrollable_interactive_content_pos_set(Eo *obj EINA_UNU } EOLIAN static Eina_Position2D -_efl_ui_view_list_efl_ui_scrollable_interactive_content_pos_get(Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *psd) +_efl_ui_view_list_efl_ui_scrollable_interactive_content_pos_get(const Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *psd) { Eina_Position2D pos = efl_ui_scrollable_content_pos_get(psd->scrl_mgr); return pos; } EOLIAN static Eina_Size2D -_efl_ui_view_list_efl_ui_scrollable_interactive_content_size_get(Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *psd) +_efl_ui_view_list_efl_ui_scrollable_interactive_content_size_get(const Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *psd) { Eina_Size2D size = efl_ui_scrollable_content_size_get(psd->scrl_mgr); return size; } EOLIAN static Eina_Rect -_efl_ui_view_list_efl_ui_scrollable_interactive_viewport_geometry_get(Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *psd) +_efl_ui_view_list_efl_ui_scrollable_interactive_viewport_geometry_get(const Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *psd) { Eina_Rect gmt = efl_ui_scrollable_viewport_geometry_get(psd->scrl_mgr); return gmt; @@ -231,7 +231,7 @@ _efl_ui_view_list_select_mode_set(Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *pd } EOLIAN static Elm_Object_Select_Mode -_efl_ui_view_list_select_mode_get(Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *pd) +_efl_ui_view_list_select_mode_get(const Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *pd) { return pd->select_mode; } @@ -243,7 +243,7 @@ _efl_ui_view_list_default_style_set(Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data * } EOLIAN static Eina_Stringshare * -_efl_ui_view_list_default_style_get(Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *pd) +_efl_ui_view_list_default_style_get(const Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *pd) { return pd->style; } @@ -255,7 +255,7 @@ _efl_ui_view_list_homogeneous_set(Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *pd } EOLIAN static Eina_Bool -_efl_ui_view_list_homogeneous_get(Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *pd) +_efl_ui_view_list_homogeneous_get(const Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *pd) { return pd->homogeneous; } @@ -805,19 +805,19 @@ _efl_ui_view_list_efl_ui_view_model_set(Eo *obj EINA_UNUSED, Efl_Ui_View_List_Da } EOLIAN static Efl_Model * -_efl_ui_view_list_efl_ui_view_model_get(Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *pd) +_efl_ui_view_list_efl_ui_view_model_get(const Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *pd) { return pd->model; } EOLIAN int -_efl_ui_view_list_efl_access_selection_selected_children_count_get(Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *pd) +_efl_ui_view_list_efl_access_selection_selected_children_count_get(const Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *pd) { return eina_list_count(pd->selected_items); } EOLIAN Eo* -_efl_ui_view_list_efl_access_selection_selected_child_get(Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *pd, int child_index) +_efl_ui_view_list_efl_access_selection_selected_child_get(const Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *pd, int child_index) { if(child_index < (int) eina_list_count(pd->selected_items)) { @@ -916,7 +916,7 @@ _efl_ui_view_list_relayout_set(Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *pd EI } static Efl_Ui_View_List_Relayout * -_efl_ui_view_list_relayout_get(Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *pd EINA_UNUSED) +_efl_ui_view_list_relayout_get(const Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *pd EINA_UNUSED) { return pd->relayout; } @@ -945,7 +945,7 @@ _children_slice_then(void * data, Efl_Event const* event) /* EFL UI LIST MODEL INTERFACE */ EOLIAN static Eina_Size2D -_efl_ui_view_list_efl_ui_view_list_model_min_size_get(Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *pd) +_efl_ui_view_list_efl_ui_view_list_model_min_size_get(const Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *pd) { return pd->min; } @@ -970,7 +970,7 @@ _efl_ui_view_list_efl_ui_focus_composition_prepare(Eo *obj, Efl_Ui_View_List_Dat } EOLIAN Eina_List* -_efl_ui_view_list_efl_access_access_children_get(Eo *obj, Efl_Ui_View_List_Data *pd) +_efl_ui_view_list_efl_access_access_children_get(const Eo *obj, Efl_Ui_View_List_Data *pd) { Eina_List *ret = NULL, *ret2 = NULL; @@ -1051,7 +1051,7 @@ _efl_ui_view_list_efl_ui_view_list_model_load_range_set(Eo* obj EINA_UNUSED, Efl } EOLIAN static int -_efl_ui_view_list_efl_ui_view_list_model_model_size_get(Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *pd) +_efl_ui_view_list_efl_ui_view_list_model_model_size_get(const Eo *obj EINA_UNUSED, Efl_Ui_View_List_Data *pd) { return pd->item_count; } diff --git a/src/lib/elementary/efl_ui_view_list_precise_layouter.c b/src/lib/elementary/efl_ui_view_list_precise_layouter.c index 644fa54647..a711e5315a 100644 --- a/src/lib/elementary/efl_ui_view_list_precise_layouter.c +++ b/src/lib/elementary/efl_ui_view_list_precise_layouter.c @@ -524,7 +524,7 @@ _efl_ui_view_list_precise_layouter_efl_object_constructor(Eo *obj EINA_UNUSED, E } EOLIAN static Eina_List * -_efl_ui_view_list_precise_layouter_efl_ui_view_list_relayout_elements_get(Eo *obj EINA_UNUSED, Efl_Ui_View_List_Precise_Layouter_Data *pd) +_efl_ui_view_list_precise_layouter_efl_ui_view_list_relayout_elements_get(const Eo *obj EINA_UNUSED, Efl_Ui_View_List_Precise_Layouter_Data *pd) { Eina_List *elements_order = NULL; Efl_Ui_View_List_LayoutItem* layout_item; diff --git a/src/lib/elementary/efl_ui_view_list_segarray.c b/src/lib/elementary/efl_ui_view_list_segarray.c index b883abf6a3..0390103a92 100644 --- a/src/lib/elementary/efl_ui_view_list_segarray.c +++ b/src/lib/elementary/efl_ui_view_list_segarray.c @@ -336,7 +336,7 @@ _efl_ui_view_list_segarray_accessor_setup(Efl_Ui_View_List_Segarray_Eina_Accesso } EOLIAN static Eina_Accessor* -_efl_ui_view_list_segarray_accessor_get(Eo *obj EINA_UNUSED, Efl_Ui_View_List_SegArray_Data* pd) +_efl_ui_view_list_segarray_accessor_get(const Eo *obj EINA_UNUSED, Efl_Ui_View_List_SegArray_Data* pd) { Efl_Ui_View_List_Segarray_Eina_Accessor* acc = calloc(1, sizeof(Efl_Ui_View_List_Segarray_Eina_Accessor)); _efl_ui_view_list_segarray_accessor_setup(acc, pd); @@ -435,7 +435,7 @@ _efl_ui_view_list_segarray_node_accessor_setup(Efl_Ui_View_List_Segarray_Node_Ac } EOLIAN static Eina_Accessor* -_efl_ui_view_list_segarray_node_accessor_get(Eo *obj EINA_UNUSED, Efl_Ui_View_List_SegArray_Data* pd) +_efl_ui_view_list_segarray_node_accessor_get(const Eo *obj EINA_UNUSED, Efl_Ui_View_List_SegArray_Data* pd) { Efl_Ui_View_List_Segarray_Node_Accessor* acc = calloc(1, sizeof(Efl_Ui_View_List_Segarray_Node_Accessor)); _efl_ui_view_list_segarray_node_accessor_setup(acc, pd); diff --git a/src/lib/elementary/efl_ui_widget.c b/src/lib/elementary/efl_ui_widget.c index 00ab716b90..9ec840fb20 100644 --- a/src/lib/elementary/efl_ui_widget.c +++ b/src/lib/elementary/efl_ui_widget.c @@ -263,7 +263,7 @@ _efl_ui_widget_focus_highlight_object_get(const Evas_Object *obj) } EOLIAN static Eina_Bool -_efl_ui_widget_focus_highlight_enabled_get(Eo *obj, Elm_Widget_Smart_Data *sd EINA_UNUSED) +_efl_ui_widget_focus_highlight_enabled_get(const Eo *obj, Elm_Widget_Smart_Data *sd EINA_UNUSED) { // Forward to closest parent Window const Evas_Object *win = elm_widget_top_get(obj); @@ -285,7 +285,7 @@ _efl_ui_widget_focus_highlight_enabled_set(Eo *obj, Elm_Widget_Smart_Data *sd EI } EOLIAN static Eina_Bool -_efl_ui_widget_focus_highlight_animate_get(Eo *obj, Elm_Widget_Smart_Data *sd EINA_UNUSED) +_efl_ui_widget_focus_highlight_animate_get(const Eo *obj, Elm_Widget_Smart_Data *sd EINA_UNUSED) { // Forward to closest parent Window const Evas_Object *win = elm_widget_top_get(obj); @@ -319,7 +319,7 @@ _efl_ui_widget_focus_highlight_style_set(Eo *obj, Elm_Widget_Smart_Data *sd EINA } EOLIAN static const char * -_efl_ui_widget_focus_highlight_style_get(Eo *obj, Elm_Widget_Smart_Data *sd EINA_UNUSED) +_efl_ui_widget_focus_highlight_style_get(const Eo *obj, Elm_Widget_Smart_Data *sd EINA_UNUSED) { // Forward to closest parent Window Evas_Object *win = elm_widget_top_get(obj); @@ -1345,7 +1345,7 @@ _efl_ui_widget_theme_apply(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED) * **/ EOLIAN static Eina_Bool -_efl_ui_widget_efl_ui_base_mirrored_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) +_efl_ui_widget_efl_ui_base_mirrored_get(const Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) { return sd->is_mirrored; } @@ -1377,7 +1377,7 @@ _efl_ui_widget_efl_ui_base_mirrored_set(Eo *obj, Elm_Widget_Smart_Data *sd, Eina * **/ EOLIAN static Eina_Bool -_efl_ui_widget_efl_ui_base_mirrored_automatic_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) +_efl_ui_widget_efl_ui_base_mirrored_automatic_get(const Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) { return sd->mirrored_auto_mode; } @@ -1790,7 +1790,7 @@ _efl_ui_widget_focus_allow_set(Eo *obj, Elm_Widget_Smart_Data *sd, Eina_Bool can } EOLIAN static Eina_Bool -_efl_ui_widget_focus_allow_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) +_efl_ui_widget_focus_allow_get(const Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) { return sd->can_focus; } @@ -1977,7 +1977,7 @@ elm_widget_highlight_get(const Eo *obj) } EOLIAN static Evas_Object* -_efl_ui_widget_widget_top_get(Eo *obj, Elm_Widget_Smart_Data *sd EINA_UNUSED) +_efl_ui_widget_widget_top_get(const Eo *obj, Elm_Widget_Smart_Data *sd EINA_UNUSED) { Efl_Ui_Widget *parent = elm_widget_parent_get(obj); if (parent) @@ -1985,7 +1985,8 @@ _efl_ui_widget_widget_top_get(Eo *obj, Elm_Widget_Smart_Data *sd EINA_UNUSED) if (!efl_isa(parent, EFL_UI_WIDGET_CLASS)) return NULL; return efl_ui_widget_top_get(parent); } - return obj; + /* XXX const */ + return (Evas_Object *)obj; } EAPI Eina_Bool @@ -2430,7 +2431,7 @@ elm_widget_parent_highlight_set(Eo *obj, Eina_Bool highlighted) } EOLIAN static Evas_Object* -_efl_ui_widget_widget_parent_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) +_efl_ui_widget_widget_parent_get(const Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) { return sd->parent_obj; } @@ -2509,7 +2510,7 @@ _efl_ui_widget_disabled_set(Eo *obj, Elm_Widget_Smart_Data *sd, Eina_Bool disabl } EOLIAN static Eina_Bool -_efl_ui_widget_disabled_get(Eo *obj, Elm_Widget_Smart_Data *sd) +_efl_ui_widget_disabled_get(const Eo *obj, Elm_Widget_Smart_Data *sd) { Eo *parent; @@ -2564,7 +2565,7 @@ _efl_ui_widget_show_region_set(Eo *obj, Elm_Widget_Smart_Data *sd, Eina_Rect sr, } EOLIAN static Eina_Rect -_efl_ui_widget_show_region_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) +_efl_ui_widget_show_region_get(const Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) { return (Eina_Rect) sd->show_region; } @@ -2588,7 +2589,7 @@ _efl_ui_widget_show_region_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) * @ingroup Widget */ EOLIAN static Eina_Rect -_efl_ui_widget_interest_region_get(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED) +_efl_ui_widget_interest_region_get(const Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED) { Eina_Rect r = {}; r.size = efl_gfx_size_get(obj); @@ -2721,7 +2722,7 @@ _efl_ui_widget_efl_gfx_scale_set(Eo *obj, Elm_Widget_Smart_Data *sd, double scal } EOLIAN static double -_efl_ui_widget_efl_gfx_scale_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) +_efl_ui_widget_efl_gfx_scale_get(const Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) { // FIXME: save walking up the tree by storing/caching parent scale if (sd->scale == 0.0) @@ -2949,7 +2950,7 @@ _efl_ui_widget_access_info_set(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd, c } EOLIAN static const char* -_efl_ui_widget_access_info_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) +_efl_ui_widget_access_info_get(const Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) { return sd->access_info; } @@ -2984,7 +2985,7 @@ _efl_ui_widget_style_set(Eo *obj, Elm_Widget_Smart_Data *sd, const char *style) } EOLIAN static const char* -_efl_ui_widget_style_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) +_efl_ui_widget_style_get(const Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) { const char *ret; ret = "default"; @@ -3431,7 +3432,7 @@ elm_widget_focus_highlight_focus_part_geometry_get(const Evas_Object *obj, } EOLIAN static Eina_Rect -_efl_ui_widget_focus_highlight_geometry_get(Eo *obj, Elm_Widget_Smart_Data *sd) +_efl_ui_widget_focus_highlight_geometry_get(const Eo *obj, Elm_Widget_Smart_Data *sd) { Evas_Coord ox = 0, oy = 0, ow = 0, oh = 0; Evas_Object *scroller = (Evas_Object *)obj; @@ -3467,7 +3468,7 @@ _efl_ui_widget_focus_highlight_geometry_get(Eo *obj, Elm_Widget_Smart_Data *sd) } EOLIAN static Elm_Object_Item* -_efl_ui_widget_focused_item_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *_pd EINA_UNUSED) +_efl_ui_widget_focused_item_get(const Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *_pd EINA_UNUSED) { return NULL; } @@ -3479,7 +3480,7 @@ _efl_ui_widget_interest_region_mode_set(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Da } EOLIAN static Elm_Focus_Region_Show_Mode -_efl_ui_widget_interest_region_mode_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *_pd) +_efl_ui_widget_interest_region_mode_get(const Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *_pd) { return _pd->focus_region_show_mode; } @@ -3559,7 +3560,7 @@ _efl_ui_widget_orientation_mode_set(Eo *obj, Elm_Widget_Smart_Data *sd, Efl_Ui_W } EOLIAN static Efl_Ui_Widget_Orientation_Mode -_efl_ui_widget_orientation_mode_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) +_efl_ui_widget_orientation_mode_get(const Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) { if (sd->orient_mode == -1) return EFL_UI_WIDGET_ORIENTATION_MODE_DISABLED; else return EFL_UI_WIDGET_ORIENTATION_MODE_DEFAULT; @@ -3597,7 +3598,7 @@ _efl_ui_widget_on_orientation_update(Eo *obj, Elm_Widget_Smart_Data *sd, int ori * **/ EOLIAN static Elm_Focus_Move_Policy -_efl_ui_widget_focus_move_policy_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) +_efl_ui_widget_focus_move_policy_get(const Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) { return sd->focus_move_policy; } @@ -3626,7 +3627,7 @@ _efl_ui_widget_focus_move_policy_set(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data * **/ EOLIAN static Eina_Bool -_efl_ui_widget_focus_move_policy_automatic_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) +_efl_ui_widget_focus_move_policy_automatic_get(const Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *sd) { return sd->focus_move_policy_auto_mode; } @@ -4092,9 +4093,9 @@ _elm_widget_item_widget_get(const Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data } EAPI Eina_Bool -_elm_widget_onscreen_is(Evas_Object *widget) +_elm_widget_onscreen_is(const Evas_Object *widget) { - Evas_Object *parent = widget; + Evas_Object *parent = (Evas_Object *)widget; Eina_Rectangle r1, r2; Evas *evas = evas_object_evas_get(widget); @@ -4130,7 +4131,7 @@ _elm_widget_onscreen_is(Evas_Object *widget) } EAPI Eina_Bool -_elm_widget_item_onscreen_is(Elm_Object_Item *item) +_elm_widget_item_onscreen_is(const Elm_Object_Item *item) { Eina_Rectangle r1, r2; Elm_Widget_Item_Data *id = efl_data_scope_get(item, ELM_WIDGET_ITEM_CLASS); @@ -4154,7 +4155,7 @@ _elm_widget_item_onscreen_is(Elm_Object_Item *item) } const char* -_elm_widget_accessible_plain_name_get(Evas_Object *obj, const char* name) +_elm_widget_accessible_plain_name_get(const Evas_Object *obj, const char* name) { char *accessible_plain_name; @@ -4168,7 +4169,7 @@ _elm_widget_accessible_plain_name_get(Evas_Object *obj, const char* name) } const char* -_elm_widget_item_accessible_plain_name_get(Elm_Object_Item *item, const char* name) +_elm_widget_item_accessible_plain_name_get(const Elm_Object_Item *item, const char* name) { char *accessible_plain_name; @@ -4183,7 +4184,7 @@ _elm_widget_item_accessible_plain_name_get(Elm_Object_Item *item, const char* na } EOLIAN static Efl_Access_State_Set -_elm_widget_item_efl_access_state_set_get(Eo *eo_item, +_elm_widget_item_efl_access_state_set_get(const Eo *eo_item, Elm_Widget_Item_Data *item EINA_UNUSED) { Efl_Access_State_Set states = 0; @@ -4230,7 +4231,7 @@ _elm_widget_item_disabled_set(Eo *eo_item EINA_UNUSED, } EOLIAN static Eina_Bool -_elm_widget_item_disabled_get(Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data *item) +_elm_widget_item_disabled_get(const Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data *item) { ELM_WIDGET_ITEM_CHECK_OR_RETURN(item, EINA_FALSE); return item->disabled; @@ -4243,7 +4244,7 @@ _elm_widget_item_style_set(Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data *item, } EOLIAN static const char * -_elm_widget_item_style_get(Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data *item) +_elm_widget_item_style_get(const Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data *item) { return item->style; } @@ -4260,7 +4261,7 @@ _elm_widget_item_item_focus_set(Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data *i } EOLIAN static Eina_Bool -_elm_widget_item_item_focus_get(Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data *item) +_elm_widget_item_item_focus_get(const Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data *item) { ERR_NOT_SUPPORTED(item, "elm_object_item_focus_get"); return EINA_FALSE; @@ -4644,7 +4645,7 @@ _elm_widget_item_tooltip_window_mode_set(Eo *eo_item EINA_UNUSED, } EOLIAN static Eina_Bool -_elm_widget_item_tooltip_window_mode_get(Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data *item) +_elm_widget_item_tooltip_window_mode_get(const Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data *item) { ELM_WIDGET_ITEM_CHECK_OR_RETURN(item, EINA_FALSE); ELM_WIDGET_ITEM_RETURN_IF_ONDEL(item, EINA_FALSE); @@ -4664,7 +4665,7 @@ _elm_widget_item_tooltip_window_mode_get(Eo *eo_item EINA_UNUSED, Elm_Widget_Ite * @ingroup Widget */ EOLIAN static const char * -_elm_widget_item_tooltip_style_get(Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data *item) +_elm_widget_item_tooltip_style_get(const Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data *item) { ELM_WIDGET_ITEM_CHECK_OR_RETURN(item, NULL); @@ -4683,7 +4684,7 @@ _elm_widget_item_cursor_set(Eo *eo_item EINA_UNUSED, } EOLIAN static const char * -_elm_widget_item_cursor_get(Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data *item) +_elm_widget_item_cursor_get(const Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data *item) { ELM_WIDGET_ITEM_CHECK_OR_RETURN(item, NULL); return elm_object_cursor_get(item->view); @@ -4734,7 +4735,7 @@ _elm_widget_item_cursor_style_set(Eo *eo_item EINA_UNUSED, * @ingroup Widget */ EOLIAN static const char * -_elm_widget_item_cursor_style_get(Eo *eo_item EINA_UNUSED, +_elm_widget_item_cursor_style_get(const Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data *item) { ELM_WIDGET_ITEM_CHECK_OR_RETURN(item, NULL); @@ -4781,7 +4782,7 @@ _elm_widget_item_cursor_engine_only_set(Eo *eo_item EINA_UNUSED, * @ingroup Widget */ EOLIAN static Eina_Bool -_elm_widget_item_cursor_engine_only_get(Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data *item) +_elm_widget_item_cursor_engine_only_get(const Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data *item) { ELM_WIDGET_ITEM_CHECK_OR_RETURN(item, EINA_FALSE); return !elm_object_cursor_theme_search_enabled_get(item->view); @@ -4797,7 +4798,7 @@ _elm_widget_item_part_content_set(Eo *eo_item EINA_UNUSED, } EOLIAN static Evas_Object * -_elm_widget_item_part_content_get(Eo *eo_item EINA_UNUSED, +_elm_widget_item_part_content_get(const Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data *item, const char *part EINA_UNUSED) { @@ -4824,7 +4825,7 @@ _elm_widget_item_part_text_set(Eo *eo_item EINA_UNUSED, } EOLIAN static const char * -_elm_widget_item_part_text_get(Eo *eo_item EINA_UNUSED, +_elm_widget_item_part_text_get(const Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data *item, const char *part EINA_UNUSED) { @@ -4873,7 +4874,7 @@ _elm_widget_item_part_text_custom_set(Eo *eo_item EINA_UNUSED, } EOLIAN static const char * -_elm_widget_item_part_text_custom_get(Eo *eo_item EINA_UNUSED, +_elm_widget_item_part_text_custom_get(const Eo *eo_item EINA_UNUSED, Elm_Widget_Item_Data *item, const char *part) { @@ -5370,7 +5371,7 @@ _efl_ui_widget_efl_access_component_focus_grab(Eo *obj, Elm_Widget_Smart_Data *p } EOLIAN static const char* -_efl_ui_widget_efl_access_i18n_name_get(Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED) +_efl_ui_widget_efl_access_i18n_name_get(const Eo *obj, Elm_Widget_Smart_Data *_pd EINA_UNUSED) { const char *ret, *name; name = efl_access_i18n_name_get(efl_super(obj, EFL_UI_WIDGET_CLASS)); @@ -5384,7 +5385,7 @@ _efl_ui_widget_efl_access_i18n_name_get(Eo *obj, Elm_Widget_Smart_Data *_pd EINA } EOLIAN static Eina_List* -_efl_ui_widget_efl_access_access_children_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *pd) +_efl_ui_widget_efl_access_access_children_get(const Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *pd) { Eina_List *l, *accs = NULL; Evas_Object *widget; @@ -5409,7 +5410,7 @@ _efl_ui_widget_efl_access_access_children_get(Eo *obj EINA_UNUSED, Elm_Widget_Sm } EOLIAN static Efl_Access_State_Set -_efl_ui_widget_efl_access_state_set_get(Eo *obj, Elm_Widget_Smart_Data *pd EINA_UNUSED) +_efl_ui_widget_efl_access_state_set_get(const Eo *obj, Elm_Widget_Smart_Data *pd EINA_UNUSED) { Efl_Access_State_Set states = 0; @@ -5438,7 +5439,7 @@ _efl_ui_widget_efl_access_state_set_get(Eo *obj, Elm_Widget_Smart_Data *pd EINA_ } EOLIAN static Eina_List* -_efl_ui_widget_efl_access_attributes_get(Eo *obj, Elm_Widget_Smart_Data *pd EINA_UNUSED) +_efl_ui_widget_efl_access_attributes_get(const Eo *obj, Elm_Widget_Smart_Data *pd EINA_UNUSED) { const char *type = NULL; const char *style = NULL; @@ -5476,7 +5477,7 @@ _efl_ui_widget_efl_access_attributes_get(Eo *obj, Elm_Widget_Smart_Data *pd EINA } EOLIAN static Eina_List * -_elm_widget_item_efl_access_attributes_get(Eo *eo_item, Elm_Widget_Item_Data *pd EINA_UNUSED) +_elm_widget_item_efl_access_attributes_get(const Eo *eo_item, Elm_Widget_Item_Data *pd EINA_UNUSED) { const char *style = NULL; Eina_List *attr_list = NULL; @@ -5499,7 +5500,7 @@ _elm_widget_item_efl_access_attributes_get(Eo *eo_item, Elm_Widget_Item_Data *pd } EOLIAN static Eina_Rect -_elm_widget_item_efl_access_component_extents_get(Eo *obj EINA_UNUSED, Elm_Widget_Item_Data *sd EINA_UNUSED, Eina_Bool screen_coords) +_elm_widget_item_efl_access_component_extents_get(const Eo *obj EINA_UNUSED, Elm_Widget_Item_Data *sd EINA_UNUSED, Eina_Bool screen_coords) { Eina_Rect r = EINA_RECT(-1, -1, -1, -1); int ee_x, ee_y; @@ -5560,19 +5561,19 @@ _efl_ui_widget_efl_object_provider_find(const Eo *obj, Elm_Widget_Smart_Data *pd } EOLIAN static Efl_Ui_Focus_Manager* -_efl_ui_widget_efl_ui_focus_object_focus_parent_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *pd EINA_UNUSED) +_efl_ui_widget_efl_ui_focus_object_focus_parent_get(const Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *pd EINA_UNUSED) { return pd->focus.parent; } EOLIAN static Efl_Ui_Focus_Manager* -_efl_ui_widget_efl_ui_focus_object_focus_manager_get(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *pd EINA_UNUSED) +_efl_ui_widget_efl_ui_focus_object_focus_manager_get(const Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *pd EINA_UNUSED) { return pd->focus.manager; } EOLIAN static Eina_Rect -_efl_ui_widget_efl_ui_focus_object_focus_geometry_get(Eo *obj, Elm_Widget_Smart_Data *pd EINA_UNUSED) +_efl_ui_widget_efl_ui_focus_object_focus_geometry_get(const Eo *obj, Elm_Widget_Smart_Data *pd EINA_UNUSED) { return efl_gfx_geometry_get(obj); } @@ -5739,7 +5740,7 @@ EFL_CALLBACKS_ARRAY_DEFINE(widget_shadow_cb, { EFL_GFX_EVENT_SHOW, _widget_shadow_event_cb }) static Widget_Shadow * -_widget_shadow_part_get(Eo *part_obj) +_widget_shadow_part_get(const Eo *part_obj) { Elm_Part_Data *pd = efl_data_scope_get(part_obj, EFL_UI_WIDGET_PART_CLASS); Widget_Shadow *shadow; @@ -5826,7 +5827,7 @@ _efl_ui_widget_part_shadow_efl_gfx_blur_offset_set(Eo *obj, void *_pd EINA_UNUSE } EOLIAN static void -_efl_ui_widget_part_shadow_efl_gfx_blur_offset_get(Eo *obj, void *_pd EINA_UNUSED, double *ox, double *oy) +_efl_ui_widget_part_shadow_efl_gfx_blur_offset_get(const Eo *obj, void *_pd EINA_UNUSED, double *ox, double *oy) { Widget_Shadow *shadow = _widget_shadow_part_get(obj); if (ox) *ox = shadow->props.ox; @@ -5843,7 +5844,7 @@ _efl_ui_widget_part_shadow_efl_gfx_blur_radius_set(Eo *obj, void *_pd EINA_UNUSE } EOLIAN static void -_efl_ui_widget_part_shadow_efl_gfx_blur_radius_get(Eo *obj, void *_pd EINA_UNUSED, double *rx, double *ry) +_efl_ui_widget_part_shadow_efl_gfx_blur_radius_get(const Eo *obj, void *_pd EINA_UNUSED, double *rx, double *ry) { Widget_Shadow *shadow = _widget_shadow_part_get(obj); if (rx) *rx = shadow->props.rx; @@ -5862,7 +5863,7 @@ _efl_ui_widget_part_shadow_efl_gfx_color_color_set(Eo *obj, void *_pd EINA_UNUSE } EOLIAN static void -_efl_ui_widget_part_shadow_efl_gfx_color_color_get(Eo *obj, void *_pd EINA_UNUSED, int *r, int *g, int *b, int *a) +_efl_ui_widget_part_shadow_efl_gfx_color_color_get(const Eo *obj, void *_pd EINA_UNUSED, int *r, int *g, int *b, int *a) { Widget_Shadow *shadow = _widget_shadow_part_get(obj); if (r) *r = shadow->props.r; @@ -5880,7 +5881,7 @@ _efl_ui_widget_part_shadow_efl_gfx_blur_grow_set(Eo *obj, void *_pd EINA_UNUSED, } EOLIAN static double -_efl_ui_widget_part_shadow_efl_gfx_blur_grow_get(Eo *obj, void *_pd EINA_UNUSED) +_efl_ui_widget_part_shadow_efl_gfx_blur_grow_get(const Eo *obj, void *_pd EINA_UNUSED) { Widget_Shadow *shadow = _widget_shadow_part_get(obj); return shadow->props.grow; @@ -5896,7 +5897,7 @@ _efl_ui_widget_part_shadow_efl_gfx_filter_filter_program_set(Eo *obj, void *_pd } EOLIAN static void -_efl_ui_widget_part_shadow_efl_gfx_filter_filter_program_get(Eo *obj, void *_pd EINA_UNUSED, const char **code, const char **name) +_efl_ui_widget_part_shadow_efl_gfx_filter_filter_program_get(const Eo *obj, void *_pd EINA_UNUSED, const char **code, const char **name) { Widget_Shadow *ws = _widget_shadow_part_get(obj); efl_gfx_filter_program_get(ws->surface, code, name); @@ -5911,7 +5912,7 @@ _efl_ui_widget_part_shadow_efl_gfx_filter_filter_source_set(Eo *obj, void *_pd E } EOLIAN static Efl_Gfx * -_efl_ui_widget_part_shadow_efl_gfx_filter_filter_source_get(Eo *obj, void *_pd EINA_UNUSED, const char *name) +_efl_ui_widget_part_shadow_efl_gfx_filter_filter_source_get(const Eo *obj, void *_pd EINA_UNUSED, const char *name) { Widget_Shadow *ws = _widget_shadow_part_get(obj); return efl_gfx_filter_source_get(ws->surface, name); @@ -5926,14 +5927,14 @@ _efl_ui_widget_part_shadow_efl_gfx_filter_filter_data_set(Eo *obj, void *_pd EIN } EOLIAN static void -_efl_ui_widget_part_shadow_efl_gfx_filter_filter_data_get(Eo *obj, void *_pd EINA_UNUSED, const char *name, const char **value, Eina_Bool *execute) +_efl_ui_widget_part_shadow_efl_gfx_filter_filter_data_get(const Eo *obj, void *_pd EINA_UNUSED, const char *name, const char **value, Eina_Bool *execute) { Widget_Shadow *ws = _widget_shadow_part_get(obj); efl_gfx_filter_data_get(ws->surface, name, value, execute); } EOLIAN static void -_efl_ui_widget_part_shadow_efl_gfx_filter_filter_padding_get(Eo *obj, void *_pd EINA_UNUSED, int *l, int *r, int *t, int *b) +_efl_ui_widget_part_shadow_efl_gfx_filter_filter_padding_get(const Eo *obj, void *_pd EINA_UNUSED, int *l, int *r, int *t, int *b) { Widget_Shadow *ws = _widget_shadow_part_get(obj); efl_gfx_filter_padding_get(ws->surface, l, r, t, b); @@ -5947,7 +5948,7 @@ _efl_ui_widget_part_shadow_efl_gfx_filter_filter_state_set(Eo *obj, void *_pd EI } EOLIAN static void -_efl_ui_widget_part_shadow_efl_gfx_filter_filter_state_get(Eo *obj, void *_pd EINA_UNUSED, const char **cur_state, double *cur_val, const char **next_state, double *next_val, double *pos) +_efl_ui_widget_part_shadow_efl_gfx_filter_filter_state_get(const Eo *obj, void *_pd EINA_UNUSED, const char **cur_state, double *cur_val, const char **next_state, double *next_val, double *pos) { Widget_Shadow *ws = _widget_shadow_part_get(obj); efl_gfx_filter_state_get(ws->surface, cur_state, cur_val, next_state, next_val, pos); @@ -5985,17 +5986,18 @@ _efl_ui_widget_part_efl_object_destructor(Eo *obj, Elm_Part_Data *pd) /* Efl.Part Bg implementation */ Efl_Canvas_Object * -_efl_ui_widget_bg_get(Efl_Ui_Widget *obj) +_efl_ui_widget_bg_get(const Efl_Ui_Widget *obj) { Elm_Widget_Smart_Data *sd = efl_data_scope_get(obj, MY_CLASS); Evas_Object *bg_obj = sd->bg; if (!bg_obj) { - bg_obj = efl_add(EFL_UI_BG_WIDGET_CLASS, obj); + /* XXX const */ + bg_obj = efl_add(EFL_UI_BG_WIDGET_CLASS, (Eo *)obj); EINA_SAFETY_ON_NULL_RETURN_VAL(bg_obj, NULL); sd->bg = bg_obj; - efl_canvas_group_member_add(obj, sd->bg); + efl_canvas_group_member_add((Eo *)obj, sd->bg); evas_object_stack_below(sd->bg, sd->resize_obj); _smart_reconfigure(sd); } @@ -6004,7 +6006,7 @@ _efl_ui_widget_bg_get(Efl_Ui_Widget *obj) } static inline Efl_Canvas_Object * -efl_ui_widget_part_bg_get(Eo *part_obj) +efl_ui_widget_part_bg_get(const Eo *part_obj) { Elm_Part_Data *pd = efl_data_scope_get(part_obj, EFL_UI_WIDGET_PART_CLASS); return _efl_ui_widget_bg_get(pd->obj); @@ -6019,7 +6021,7 @@ _efl_ui_widget_part_bg_efl_file_file_set(Eo *obj, void *pd EINA_UNUSED, const ch } EOLIAN static void -_efl_ui_widget_part_bg_efl_file_file_get(Eo *obj, void *pd EINA_UNUSED, const char **file, const char **key) +_efl_ui_widget_part_bg_efl_file_file_get(const Eo *obj, void *pd EINA_UNUSED, const char **file, const char **key) { Evas_Object *bg_obj = efl_ui_widget_part_bg_get(obj); @@ -6035,7 +6037,7 @@ _efl_ui_widget_part_bg_efl_gfx_color_color_set(Eo *obj, void *pd EINA_UNUSED, in } EOLIAN static void -_efl_ui_widget_part_bg_efl_gfx_color_color_get(Eo *obj, void *pd EINA_UNUSED, int *r, int *g, int *b, int *a) +_efl_ui_widget_part_bg_efl_gfx_color_color_get(const Eo *obj, void *pd EINA_UNUSED, int *r, int *g, int *b, int *a) { Evas_Object *bg_obj = efl_ui_widget_part_bg_get(obj); @@ -6051,7 +6053,7 @@ _efl_ui_widget_part_bg_efl_image_scale_type_set(Eo *obj, void *pd EINA_UNUSED, E } EOLIAN static Efl_Image_Scale_Type -_efl_ui_widget_part_bg_efl_image_scale_type_get(Eo *obj, void *pd EINA_UNUSED) +_efl_ui_widget_part_bg_efl_image_scale_type_get(const Eo *obj, void *pd EINA_UNUSED) { Evas_Object *bg_obj = efl_ui_widget_part_bg_get(obj); diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c index ecddd2ff97..b226f9008e 100644 --- a/src/lib/elementary/efl_ui_win.c +++ b/src/lib/elementary/efl_ui_win.c @@ -2384,7 +2384,7 @@ _efl_ui_win_efl_gfx_visible_set(Eo *obj, Efl_Ui_Win_Data *sd, Eina_Bool vis) } EOLIAN static Eina_Position2D -_efl_ui_win_efl_canvas_pointer_position_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_efl_canvas_pointer_position_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { Eina_Position2D pos; evas_pointer_canvas_xy_get(sd->evas, &pos.x, &pos.y); @@ -2392,7 +2392,7 @@ _efl_ui_win_efl_canvas_pointer_position_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data } EOLIAN static Eina_Bool -_efl_ui_win_efl_canvas_pointer_pointer_inside_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, Eo *dev) +_efl_ui_win_efl_canvas_pointer_pointer_inside_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, Eo *dev) { return efl_canvas_pointer_inside_get(sd->evas, dev); } @@ -2496,7 +2496,7 @@ _efl_ui_win_efl_canvas_pointer_iterate(const Eo *obj, Efl_Ui_Win_Data *sd, } EOLIAN static Eina_Bool -_efl_ui_win_efl_canvas_image_max_size_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, Eina_Size2D *max) +_efl_ui_win_efl_canvas_image_max_size_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, Eina_Size2D *max) { return efl_canvas_image_max_size_get(sd->evas, max); } @@ -2536,13 +2536,13 @@ _efl_ui_win_efl_canvas_object_top_in_rectangle_get(const Eo *obj EINA_UNUSED, Ef } EOLIAN static Efl_Input_Device * -_efl_ui_win_efl_canvas_device_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, const char *name) +_efl_ui_win_efl_canvas_device_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, const char *name) { return efl_canvas_device_get(sd->evas, name); } EOLIAN static Efl_Input_Device * -_efl_ui_win_efl_canvas_seat_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, int id) +_efl_ui_win_efl_canvas_seat_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, int id) { return efl_canvas_seat_get(sd->evas, id); } @@ -5551,7 +5551,7 @@ _efl_ui_win_efl_text_text_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, const ch } EOLIAN static const char* -_efl_ui_win_efl_text_text_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_efl_text_text_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { return sd->title; } @@ -5568,7 +5568,7 @@ _efl_ui_win_win_type_set(Eo *obj, Efl_Ui_Win_Data *sd, Efl_Ui_Win_Type type) } EOLIAN static Efl_Ui_Win_Type -_efl_ui_win_win_type_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_win_type_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { return sd->type; } @@ -5585,7 +5585,7 @@ _efl_ui_win_win_name_set(Eo *obj, Efl_Ui_Win_Data *sd, const char *name) } EOLIAN static const char * -_efl_ui_win_win_name_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_win_name_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { return sd->name; } @@ -5602,7 +5602,7 @@ _efl_ui_win_accel_preference_set(Eo *obj, Efl_Ui_Win_Data *pd, const char *accel } EOLIAN static const char * -_efl_ui_win_accel_preference_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd) +_efl_ui_win_accel_preference_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd) { return pd->accel_pref; } @@ -5617,7 +5617,7 @@ _efl_ui_win_noblank_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd, Eina_Bool nobl } EOLIAN static Eina_Bool -_efl_ui_win_noblank_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd) +_efl_ui_win_noblank_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd) { return pd->noblank; } @@ -5633,7 +5633,7 @@ _efl_ui_win_win_role_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, const char *r } EOLIAN static const char* -_efl_ui_win_win_role_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_win_role_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { return sd->role; } @@ -5670,7 +5670,7 @@ _efl_ui_win_icon_object_set(Eo *obj, Efl_Ui_Win_Data *sd, Evas_Object *icon) } EOLIAN static const Evas_Object* -_efl_ui_win_icon_object_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_icon_object_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { return sd->icon; } @@ -5698,7 +5698,7 @@ _efl_ui_win_autohide_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, Eina_Bool aut } EOLIAN static Eina_Bool -_efl_ui_win_autohide_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_autohide_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { return sd->autohide; } @@ -5844,7 +5844,7 @@ _efl_ui_win_borderless_set(Eo *obj, Efl_Ui_Win_Data *sd, Eina_Bool borderless) } EOLIAN static Eina_Bool -_efl_ui_win_borderless_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_borderless_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { if (!sd->csd.need) return ecore_evas_borderless_get(sd->ee); @@ -5860,7 +5860,7 @@ _efl_ui_win_alpha_set(Eo *obj, Efl_Ui_Win_Data *sd, Eina_Bool enabled) } EOLIAN static Eina_Bool -_efl_ui_win_alpha_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_alpha_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { if (sd->img_obj) { @@ -5900,7 +5900,7 @@ _efl_ui_win_fullscreen_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, Eina_Bool f } EOLIAN static Eina_Bool -_efl_ui_win_fullscreen_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_fullscreen_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { const char *engine_name = ecore_evas_engine_name_get(sd->ee); @@ -5999,7 +5999,7 @@ _efl_ui_win_maximized_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, Eina_Bool ma } EOLIAN static Eina_Bool -_efl_ui_win_maximized_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_maximized_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { return sd->maximized; } @@ -6015,7 +6015,7 @@ _efl_ui_win_iconified_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, Eina_Bool ic } EOLIAN static Eina_Bool -_efl_ui_win_iconified_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_iconified_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { return sd->iconified; } @@ -6068,7 +6068,7 @@ _efl_ui_win_wm_available_profiles_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, } EOLIAN static const Eina_Array * -_efl_ui_win_wm_available_profiles_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_wm_available_profiles_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { if (ecore_evas_window_profile_supported_get(sd->ee)) { @@ -6117,7 +6117,7 @@ _efl_ui_win_urgent_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, Efl_Ui_Win_Urge } EOLIAN static Efl_Ui_Win_Urgent_Mode -_efl_ui_win_urgent_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_urgent_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { if (sd->urgent) return EFL_UI_WIN_URGENT_URGENT; return EFL_UI_WIN_URGENT_NONE; @@ -6143,7 +6143,7 @@ _efl_ui_win_modal_set(Eo *obj, Efl_Ui_Win_Data *sd, Efl_Ui_Win_Modal_Mode modal) } EOLIAN static Efl_Ui_Win_Modal_Mode -_efl_ui_win_modal_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_modal_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { if (sd->modal) return EFL_UI_WIN_MODAL_MODAL; return EFL_UI_WIN_MODAL_NONE; @@ -6201,7 +6201,7 @@ _efl_ui_win_efl_gfx_size_hint_hint_base_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data } EOLIAN static Eina_Size2D -_efl_ui_win_efl_gfx_size_hint_hint_base_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_efl_gfx_size_hint_hint_base_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { return EINA_SIZE2D(sd->size_base_w, sd->size_base_h); } @@ -6235,7 +6235,7 @@ _efl_ui_win_efl_gfx_size_hint_hint_max_set(Eo *obj, Efl_Ui_Win_Data *sd, Eina_Si } EOLIAN static Eina_Size2D -_efl_ui_win_efl_gfx_size_hint_hint_step_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_efl_gfx_size_hint_hint_step_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { return EINA_SIZE2D(sd->size_step_w, sd->size_step_h); } @@ -6359,7 +6359,7 @@ _efl_ui_win_wm_available_rotations_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, } EOLIAN static Eina_Bool -_efl_ui_win_wm_available_rotations_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, +_efl_ui_win_wm_available_rotations_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, Eina_Bool *allow_0, Eina_Bool *allow_90, Eina_Bool *allow_180, Eina_Bool *allow_270) { @@ -6449,7 +6449,7 @@ _efl_ui_win_sticky_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, Eina_Bool stick } EOLIAN static Eina_Bool -_efl_ui_win_sticky_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_sticky_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { return sd->sticky; } @@ -6470,7 +6470,7 @@ _efl_ui_win_keyboard_mode_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, Elm_Win_ } EOLIAN static Elm_Win_Keyboard_Mode -_efl_ui_win_keyboard_mode_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_keyboard_mode_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { return sd->kbdmode; } @@ -6503,14 +6503,14 @@ _efl_ui_win_indicator_mode_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, Efl_Ui_ } EOLIAN static Efl_Ui_Win_Indicator_Mode -_efl_ui_win_indicator_mode_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd EINA_UNUSED) +_efl_ui_win_indicator_mode_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd EINA_UNUSED) { sd->legacy.forbidden = EINA_TRUE; return sd->indimode; } EOLIAN static Eina_Bool -_efl_ui_win_efl_ui_focus_object_focus_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_efl_ui_focus_object_focus_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { // Bypass widget implementation here. return ecore_evas_focus_get(sd->ee); @@ -6523,13 +6523,13 @@ _efl_ui_win_screen_constrain_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, Eina_ } EOLIAN static Eina_Bool -_efl_ui_win_screen_constrain_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_screen_constrain_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { return sd->constrain; } EOLIAN static Eina_Size2D -_efl_ui_win_efl_screen_screen_size_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_efl_screen_screen_size_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { Eina_Size2D sz; ecore_evas_screen_geometry_get(sd->ee, NULL, NULL, &sz.w, &sz.h); @@ -6537,13 +6537,13 @@ _efl_ui_win_efl_screen_screen_size_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) } EOLIAN static void -_efl_ui_win_efl_screen_screen_dpi_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, int *xdpi, int *ydpi) +_efl_ui_win_efl_screen_screen_dpi_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, int *xdpi, int *ydpi) { ecore_evas_screen_dpi_get(sd->ee, xdpi, ydpi); } EOLIAN static int -_efl_ui_win_efl_screen_screen_rotation_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_efl_screen_screen_rotation_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { //TODO: query to wm about device's rotation (void)sd; @@ -6631,7 +6631,7 @@ _efl_ui_win_efl_ui_widget_focus_highlight_enabled_set(Eo *obj EINA_UNUSED, Efl_U } EOLIAN static Eina_Bool -_efl_ui_win_efl_ui_widget_focus_highlight_enabled_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_efl_ui_widget_focus_highlight_enabled_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { // Do not call efl_super() here. Only Win handles this property. return sd->focus_highlight.enabled; @@ -6695,7 +6695,7 @@ _efl_ui_win_efl_ui_widget_focus_highlight_style_set(Eo *obj EINA_UNUSED, Efl_Ui_ } EOLIAN static const char* -_efl_ui_win_efl_ui_widget_focus_highlight_style_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_efl_ui_widget_focus_highlight_style_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { // Do not call efl_super() here. Only Win handles this property. return sd->focus_highlight.style; @@ -6715,14 +6715,14 @@ _efl_ui_win_efl_ui_widget_focus_highlight_animate_set(Eo *obj EINA_UNUSED, Efl_U } EOLIAN static Eina_Bool -_efl_ui_win_efl_ui_widget_focus_highlight_animate_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_efl_ui_widget_focus_highlight_animate_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { // Do not call efl_super() here. Only Win handles this property. return sd->focus_highlight.animate; } EOLIAN static const char * -_efl_ui_win_stack_id_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_stack_id_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { return sd->stack_id; } @@ -6746,7 +6746,7 @@ _efl_ui_win_stack_master_id_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, const } EOLIAN static const char * -_efl_ui_win_stack_master_id_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_stack_master_id_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { return sd->stack_master_id; } @@ -6765,7 +6765,7 @@ _efl_ui_win_stack_base_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, Eina_Bool b } EOLIAN static Eina_Bool -_efl_ui_win_stack_base_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) +_efl_ui_win_stack_base_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) { return sd->stack_base; } @@ -6994,7 +6994,7 @@ _efl_ui_win_efl_object_debug_name_override(Eo *obj, Efl_Ui_Win_Data *pd, Eina_St } EOLIAN static const Efl_Access_Action_Data* -_efl_ui_win_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd EINA_UNUSED) +_efl_ui_win_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "move,previous", "move", "previous", _key_action_move}, @@ -7009,7 +7009,7 @@ _efl_ui_win_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Efl_Ui } EOLIAN static Efl_Access_State_Set -_efl_ui_win_efl_access_state_set_get(Eo *obj, Efl_Ui_Win_Data *sd EINA_UNUSED) +_efl_ui_win_efl_access_state_set_get(const Eo *obj, Efl_Ui_Win_Data *sd EINA_UNUSED) { Efl_Access_State_Set ret; ret = efl_access_state_set_get(efl_super(obj, MY_CLASS)); @@ -7021,7 +7021,7 @@ _efl_ui_win_efl_access_state_set_get(Eo *obj, Efl_Ui_Win_Data *sd EINA_UNUSED) } EOLIAN static const char* -_efl_ui_win_efl_access_i18n_name_get(Eo *obj, Efl_Ui_Win_Data *sd EINA_UNUSED) +_efl_ui_win_efl_access_i18n_name_get(const Eo *obj, Efl_Ui_Win_Data *sd EINA_UNUSED) { const char *ret; ret = efl_access_i18n_name_get(efl_super(obj, EFL_UI_WIN_CLASS)); @@ -7031,7 +7031,7 @@ _efl_ui_win_efl_access_i18n_name_get(Eo *obj, Efl_Ui_Win_Data *sd EINA_UNUSED) } EOLIAN static Eina_Rect -_efl_ui_win_efl_access_component_extents_get(Eo *obj, Efl_Ui_Win_Data *_pd EINA_UNUSED, Eina_Bool screen_coords) +_efl_ui_win_efl_access_component_extents_get(const Eo *obj, Efl_Ui_Win_Data *_pd EINA_UNUSED, Eina_Bool screen_coords) { Eina_Rect r; int ee_x, ee_y; @@ -7052,7 +7052,7 @@ _efl_ui_win_efl_access_component_extents_get(Eo *obj, Efl_Ui_Win_Data *_pd EINA_ } EOLIAN static Eina_Bool -_efl_ui_win_efl_input_state_modifier_enabled_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd, +_efl_ui_win_efl_input_state_modifier_enabled_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd, Efl_Input_Modifier mod, const Efl_Input_Device *seat) { const Evas_Modifier *m = evas_key_modifier_get(pd->evas); @@ -7061,7 +7061,7 @@ _efl_ui_win_efl_input_state_modifier_enabled_get(Eo *obj EINA_UNUSED, Efl_Ui_Win } EOLIAN static Eina_Bool -_efl_ui_win_efl_input_state_lock_enabled_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd, +_efl_ui_win_efl_input_state_lock_enabled_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd, Efl_Input_Lock lock, const Efl_Input_Device *seat) { const Evas_Lock *m = evas_key_lock_get(pd->evas); @@ -7339,7 +7339,7 @@ _efl_ui_win_part_efl_gfx_color_color_set(Eo *obj, void *_pd EINA_UNUSED, int r, } static void -_efl_ui_win_part_efl_gfx_color_color_get(Eo *obj, void *_pd EINA_UNUSED, int *r, int *g, int *b, int *a) +_efl_ui_win_part_efl_gfx_color_color_get(const Eo *obj, void *_pd EINA_UNUSED, int *r, int *g, int *b, int *a) { Elm_Part_Data *pd = efl_data_scope_get(obj, EFL_UI_WIDGET_PART_CLASS); Efl_Ui_Win_Data *sd = efl_data_scope_get(pd->obj, MY_CLASS); @@ -7355,7 +7355,7 @@ _efl_ui_win_part_efl_file_file_set(Eo *obj, void *_pd EINA_UNUSED, const char *f } static void -_efl_ui_win_part_efl_file_file_get(Eo *obj, void *_pd EINA_UNUSED, const char **file, const char **key) +_efl_ui_win_part_efl_file_file_get(const Eo *obj, void *_pd EINA_UNUSED, const char **file, const char **key) { Elm_Part_Data *pd = efl_data_scope_get(obj, EFL_UI_WIDGET_PART_CLASS); Efl_Ui_Win_Data *sd = efl_data_scope_get(pd->obj, MY_CLASS); diff --git a/src/lib/elementary/efl_ui_win_inlined.c b/src/lib/elementary/efl_ui_win_inlined.c index dfa6306817..181d748a93 100644 --- a/src/lib/elementary/efl_ui_win_inlined.c +++ b/src/lib/elementary/efl_ui_win_inlined.c @@ -24,7 +24,7 @@ efl_ui_win_inlined_parent_set(Eo *obj, Efl_Canvas_Object *parent) } EOLIAN static Efl_Canvas_Object * -_efl_ui_win_inlined_inlined_parent_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Inlined_Data *pd) +_efl_ui_win_inlined_inlined_parent_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Inlined_Data *pd) { return pd->parent; } diff --git a/src/lib/elementary/elc_combobox.c b/src/lib/elementary/elc_combobox.c index 03696a3a89..a2b85ce880 100644 --- a/src/lib/elementary/elc_combobox.c +++ b/src/lib/elementary/elc_combobox.c @@ -347,7 +347,7 @@ _elm_combobox_efl_gfx_visible_set(Eo *obj, Elm_Combobox_Data *sd, Eina_Bool vis) } EOLIAN static Eina_Bool -_elm_combobox_efl_ui_autorepeat_autorepeat_supported_get(Eo *obj EINA_UNUSED, +_elm_combobox_efl_ui_autorepeat_autorepeat_supported_get(const Eo *obj EINA_UNUSED, Elm_Combobox_Data *sd EINA_UNUSED) { return EINA_FALSE; @@ -466,7 +466,7 @@ _elm_combobox_hover_end(Eo *obj, Elm_Combobox_Data *sd) } EOLIAN static Eina_Bool -_elm_combobox_expanded_get(Eo *obj EINA_UNUSED, Elm_Combobox_Data *sd) +_elm_combobox_expanded_get(const Eo *obj EINA_UNUSED, Elm_Combobox_Data *sd) { return sd->expanded; } @@ -521,7 +521,7 @@ _elm_combobox_class_constructor(Efl_Class *klass) } EOLIAN const Efl_Access_Action_Data * -_elm_combobox_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, +_elm_combobox_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Combobox_Data *pd EINA_UNUSED) { diff --git a/src/lib/elementary/elc_ctxpopup.c b/src/lib/elementary/elc_ctxpopup.c index 06df73832a..2f6d499eb3 100644 --- a/src/lib/elementary/elc_ctxpopup.c +++ b/src/lib/elementary/elc_ctxpopup.c @@ -778,7 +778,7 @@ _elm_ctxpopup_item_elm_widget_item_part_text_set(Eo *eo_ctxpopup_it EINA_UNUSED, } EOLIAN static const char * -_elm_ctxpopup_item_elm_widget_item_part_text_get(Eo *eo_ctxpopup_it EINA_UNUSED, +_elm_ctxpopup_item_elm_widget_item_part_text_get(const Eo *eo_ctxpopup_it EINA_UNUSED, Elm_Ctxpopup_Item_Data *ctxpopup_it, const char *part) { @@ -811,7 +811,7 @@ _elm_ctxpopup_item_elm_widget_item_part_content_set(Eo *eo_ctxpopup_it EINA_UNUS } EOLIAN static Evas_Object * -_elm_ctxpopup_item_elm_widget_item_part_content_get(Eo *eo_ctxpopup_it EINA_UNUSED, +_elm_ctxpopup_item_elm_widget_item_part_content_get(const Eo *eo_ctxpopup_it EINA_UNUSED, Elm_Ctxpopup_Item_Data *ctxpopup_it, const char *part) { @@ -892,7 +892,7 @@ _elm_ctxpopup_item_elm_widget_item_item_focus_set(Eo *eo_ctxpopup_it EINA_UNUSED } EOLIAN static Eina_Bool -_elm_ctxpopup_item_elm_widget_item_item_focus_get(Eo *eo_ctxpopup_it EINA_UNUSED, +_elm_ctxpopup_item_elm_widget_item_item_focus_get(const Eo *eo_ctxpopup_it EINA_UNUSED, Elm_Ctxpopup_Item_Data *ctxpopup_it) { return elm_object_item_focus_get(ctxpopup_it->list_item); @@ -1179,7 +1179,7 @@ _elm_ctxpopup_hover_parent_set(Eo *obj, Elm_Ctxpopup_Data *sd, Evas_Object *pare } EOLIAN static Evas_Object* -_elm_ctxpopup_hover_parent_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) +_elm_ctxpopup_hover_parent_get(const Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) { return sd->parent; } @@ -1206,7 +1206,7 @@ _elm_ctxpopup_horizontal_set(Eo *obj, Elm_Ctxpopup_Data *sd, Eina_Bool horizonta } EOLIAN static Eina_Bool -_elm_ctxpopup_horizontal_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) +_elm_ctxpopup_horizontal_get(const Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) { return sd->horizontal; } @@ -1329,7 +1329,7 @@ _elm_ctxpopup_direction_priority_set(Eo *obj, Elm_Ctxpopup_Data *sd, Elm_Ctxpopu } EOLIAN static void -_elm_ctxpopup_direction_priority_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd, Elm_Ctxpopup_Direction *first, Elm_Ctxpopup_Direction *second, Elm_Ctxpopup_Direction *third, Elm_Ctxpopup_Direction *fourth) +_elm_ctxpopup_direction_priority_get(const Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd, Elm_Ctxpopup_Direction *first, Elm_Ctxpopup_Direction *second, Elm_Ctxpopup_Direction *third, Elm_Ctxpopup_Direction *fourth) { if (first) *first = sd->dir_priority[0]; if (second) *second = sd->dir_priority[1]; @@ -1338,7 +1338,7 @@ _elm_ctxpopup_direction_priority_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd, } EOLIAN static Elm_Ctxpopup_Direction -_elm_ctxpopup_direction_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) +_elm_ctxpopup_direction_get(const Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) { return sd->dir; } @@ -1357,7 +1357,7 @@ _elm_ctxpopup_auto_hide_disabled_set(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd, } EOLIAN static Eina_Bool -_elm_ctxpopup_auto_hide_disabled_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) +_elm_ctxpopup_auto_hide_disabled_get(const Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) { return !sd->auto_hide; } @@ -1369,13 +1369,13 @@ _elm_ctxpopup_class_constructor(Efl_Class *klass) } EOLIAN static const Eina_List * -_elm_ctxpopup_items_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) +_elm_ctxpopup_items_get(const Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) { return sd->items; } EOLIAN static Elm_Object_Item* -_elm_ctxpopup_first_item_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) +_elm_ctxpopup_first_item_get(const Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) { if (!sd->items) return NULL; @@ -1383,7 +1383,7 @@ _elm_ctxpopup_first_item_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) } EOLIAN static Elm_Object_Item* -_elm_ctxpopup_last_item_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) +_elm_ctxpopup_last_item_get(const Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) { if (!sd->items) return NULL; @@ -1391,7 +1391,7 @@ _elm_ctxpopup_last_item_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) } EOLIAN static Elm_Object_Item* -_elm_ctxpopup_selected_item_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) +_elm_ctxpopup_selected_item_get(const Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) { Eina_List *l; Elm_Object_Item *eo_item; @@ -1406,7 +1406,7 @@ _elm_ctxpopup_selected_item_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) } EOLIAN static Elm_Object_Item* -_elm_ctxpopup_efl_ui_widget_focused_item_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) +_elm_ctxpopup_efl_ui_widget_focused_item_get(const Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) { if (!sd->list) return NULL; @@ -1434,7 +1434,7 @@ _elm_ctxpopup_item_prepend(Eo *obj, Elm_Ctxpopup_Data *sd, const char *label, Ev } EOLIAN static Elm_Object_Item * -_elm_ctxpopup_item_prev_get(Eo *eo_item EINA_UNUSED, Elm_Ctxpopup_Item_Data *item) +_elm_ctxpopup_item_prev_get(const Eo *eo_item EINA_UNUSED, Elm_Ctxpopup_Item_Data *item) { Eina_List *l; @@ -1449,7 +1449,7 @@ _elm_ctxpopup_item_prev_get(Eo *eo_item EINA_UNUSED, Elm_Ctxpopup_Item_Data *ite } EOLIAN static Elm_Object_Item * -_elm_ctxpopup_item_next_get(Eo *eo_item EINA_UNUSED, Elm_Ctxpopup_Item_Data *item) +_elm_ctxpopup_item_next_get(const Eo *eo_item EINA_UNUSED, Elm_Ctxpopup_Item_Data *item) { Eina_List *l; @@ -1487,7 +1487,7 @@ _elm_ctxpopup_item_selected_set(Eo *eo_item EINA_UNUSED, } EOLIAN static Eina_Bool -_elm_ctxpopup_item_selected_get(Eo *eo_item EINA_UNUSED, Elm_Ctxpopup_Item_Data *item) +_elm_ctxpopup_item_selected_get(const Eo *eo_item EINA_UNUSED, Elm_Ctxpopup_Item_Data *item) { return item->selected; } @@ -1522,7 +1522,7 @@ _elm_ctxpopup_item_init(Eo *eo_item, } EOLIAN static const Efl_Access_Action_Data* -_elm_ctxpopup_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd EINA_UNUSED) +_elm_ctxpopup_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "escape", "escape", NULL, _key_action_escape}, @@ -1532,7 +1532,7 @@ _elm_ctxpopup_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_ } EOLIAN static Efl_Access_State_Set -_elm_ctxpopup_efl_access_state_set_get(Eo *obj, Elm_Ctxpopup_Data *sd EINA_UNUSED) +_elm_ctxpopup_efl_access_state_set_get(const Eo *obj, Elm_Ctxpopup_Data *sd EINA_UNUSED) { Efl_Access_State_Set ret; ret = efl_access_state_set_get(efl_super(obj, MY_CLASS)); @@ -1553,7 +1553,7 @@ _item_access_action_activate(Evas_Object *obj, const char *params EINA_UNUSED) } EOLIAN static const Efl_Access_Action_Data* -_elm_ctxpopup_item_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Item_Data *sd EINA_UNUSED) +_elm_ctxpopup_item_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Ctxpopup_Item_Data *sd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "activate", NULL, NULL, _item_access_action_activate}, diff --git a/src/lib/elementary/elc_fileselector.c b/src/lib/elementary/elc_fileselector.c index 19441f377f..e4630b60d2 100644 --- a/src/lib/elementary/elc_fileselector.c +++ b/src/lib/elementary/elc_fileselector.c @@ -2177,7 +2177,7 @@ elm_fileselector_is_save_get(const Evas_Object *obj) } EOLIAN static Eina_Bool -_elm_fileselector_elm_interface_fileselector_is_save_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd) +_elm_fileselector_elm_interface_fileselector_is_save_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd) { return !elm_object_disabled_get(sd->name_entry); } @@ -2210,7 +2210,7 @@ elm_fileselector_folder_only_get(const Evas_Object *obj) } EOLIAN static Eina_Bool -_elm_fileselector_elm_interface_fileselector_folder_only_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd) +_elm_fileselector_elm_interface_fileselector_folder_only_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd) { return sd->only_folder; } @@ -2256,7 +2256,7 @@ _elm_fileselector_buttons_ok_cancel_set(Eo *obj, Elm_Fileselector_Data *sd, Eina } EOLIAN static Eina_Bool -_elm_fileselector_buttons_ok_cancel_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd) +_elm_fileselector_buttons_ok_cancel_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd) { return sd->ok_button ? EINA_TRUE : EINA_FALSE; } @@ -2288,7 +2288,7 @@ elm_fileselector_expandable_get(const Evas_Object *obj) } EOLIAN static Eina_Bool -_elm_fileselector_elm_interface_fileselector_expandable_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd) +_elm_fileselector_elm_interface_fileselector_expandable_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd) { return sd->expand; } @@ -2354,7 +2354,7 @@ _elm_fileselector_path_get_internal(const Evas_Object *obj) } EOLIAN static Efl_Model * -_elm_fileselector_efl_ui_view_model_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd) +_elm_fileselector_efl_ui_view_model_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd) { return sd->model; } @@ -2410,7 +2410,7 @@ elm_fileselector_mode_get(const Evas_Object *obj) } EOLIAN static Elm_Fileselector_Mode -_elm_fileselector_elm_interface_fileselector_mode_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd) +_elm_fileselector_elm_interface_fileselector_mode_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd) { return sd->mode; } @@ -2465,7 +2465,7 @@ elm_fileselector_multi_select_get(const Evas_Object *obj) } EOLIAN static Eina_Bool -_elm_fileselector_elm_interface_fileselector_multi_select_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd) +_elm_fileselector_elm_interface_fileselector_multi_select_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd) { return sd->multi; } @@ -2731,7 +2731,7 @@ _elm_fileselector_selected_paths_get_internal(const Evas_Object* obj) } EOLIAN static const Eina_List* -_elm_fileselector_elm_interface_fileselector_selected_models_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd) +_elm_fileselector_elm_interface_fileselector_selected_models_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd) { Eina_List *l; Elm_Object_Item *item; @@ -2761,7 +2761,7 @@ elm_fileselector_current_name_get(const Evas_Object *obj) } EOLIAN static const char * -_elm_fileselector_elm_interface_fileselector_current_name_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd) +_elm_fileselector_elm_interface_fileselector_current_name_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd) { return elm_object_text_get(sd->name_entry); } @@ -2953,7 +2953,7 @@ elm_fileselector_hidden_visible_get(const Evas_Object *obj) } EOLIAN static Eina_Bool -_elm_fileselector_elm_interface_fileselector_hidden_visible_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd) +_elm_fileselector_elm_interface_fileselector_hidden_visible_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd) { return sd->hidden_visible; } @@ -2997,7 +2997,7 @@ elm_fileselector_thumbnail_size_get(const Evas_Object *obj, } EOLIAN static void -_elm_fileselector_elm_interface_fileselector_thumbnail_size_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd, Evas_Coord *w, Evas_Coord *h) +_elm_fileselector_elm_interface_fileselector_thumbnail_size_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd, Evas_Coord *w, Evas_Coord *h) { if (w) *w = sd->thumbnail_size.w; if (h) *h = sd->thumbnail_size.h; @@ -3061,7 +3061,7 @@ elm_fileselector_sort_method_get(const Evas_Object *obj) } EOLIAN static Elm_Fileselector_Sort -_elm_fileselector_elm_interface_fileselector_sort_method_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd) +_elm_fileselector_elm_interface_fileselector_sort_method_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Data *sd) { return sd->sort_type; } @@ -3146,7 +3146,7 @@ _elm_fileselector_class_destructor(Efl_Class *klass EINA_UNUSED) } EOLIAN const Efl_Access_Action_Data * -_elm_fileselector_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Data *pd EINA_UNUSED) +_elm_fileselector_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Data *pd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "select", "select", NULL, _key_action_select }, diff --git a/src/lib/elementary/elc_fileselector_button.c b/src/lib/elementary/elc_fileselector_button.c index 9a89da5f00..7519ecd01a 100644 --- a/src/lib/elementary/elc_fileselector_button.c +++ b/src/lib/elementary/elc_fileselector_button.c @@ -254,7 +254,7 @@ _elm_fileselector_button_efl_canvas_group_group_del(Eo *obj, Elm_Fileselector_Bu } EOLIAN static Eina_Bool -_elm_fileselector_button_efl_ui_autorepeat_autorepeat_supported_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd EINA_UNUSED) +_elm_fileselector_button_efl_ui_autorepeat_autorepeat_supported_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd EINA_UNUSED) { return EINA_FALSE; } @@ -382,7 +382,7 @@ elm_fileselector_button_path_get(const Evas_Object *obj) } EOLIAN static Efl_Model * -_elm_fileselector_button_efl_ui_view_model_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd) +_elm_fileselector_button_efl_ui_view_model_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd) { return sd->fsd.model; } @@ -413,7 +413,7 @@ elm_fileselector_button_expandable_get(const Evas_Object *obj) } EOLIAN static Eina_Bool -_elm_fileselector_button_elm_interface_fileselector_expandable_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd) +_elm_fileselector_button_elm_interface_fileselector_expandable_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd) { return sd->fsd.expandable; } @@ -444,7 +444,7 @@ elm_fileselector_button_folder_only_get(const Evas_Object *obj) } EOLIAN static Eina_Bool -_elm_fileselector_button_elm_interface_fileselector_folder_only_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd) +_elm_fileselector_button_elm_interface_fileselector_folder_only_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd) { return sd->fsd.folder_only; } @@ -475,7 +475,7 @@ elm_fileselector_button_is_save_get(const Evas_Object *obj) } EOLIAN static Eina_Bool -_elm_fileselector_button_elm_interface_fileselector_is_save_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd) +_elm_fileselector_button_elm_interface_fileselector_is_save_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd) { return sd->fsd.is_save; } @@ -489,7 +489,7 @@ _elm_fileselector_button_elm_interface_fileselector_mode_set(Eo *obj EINA_UNUSED } EOLIAN static Elm_Fileselector_Mode -_elm_fileselector_button_elm_interface_fileselector_mode_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd) +_elm_fileselector_button_elm_interface_fileselector_mode_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd) { return sd->fsd.mode; } @@ -503,7 +503,7 @@ _elm_fileselector_button_elm_interface_fileselector_sort_method_set(Eo *obj EINA } EOLIAN static Elm_Fileselector_Sort -_elm_fileselector_button_elm_interface_fileselector_sort_method_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd) +_elm_fileselector_button_elm_interface_fileselector_sort_method_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd) { return sd->fsd.sort_type; } @@ -517,7 +517,7 @@ _elm_fileselector_button_elm_interface_fileselector_multi_select_set(Eo *obj EIN } EOLIAN static Eina_Bool -_elm_fileselector_button_elm_interface_fileselector_multi_select_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd) +_elm_fileselector_button_elm_interface_fileselector_multi_select_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd) { return sd->fsd.multi; } @@ -533,7 +533,7 @@ _elm_fileselector_button_selected_paths_get_internal(const Evas_Object *obj) } EOLIAN static const Eina_List* -_elm_fileselector_button_elm_interface_fileselector_selected_models_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd) +_elm_fileselector_button_elm_interface_fileselector_selected_models_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd) { if (sd->fs) return elm_interface_fileselector_selected_models_get(sd->fs); @@ -630,7 +630,7 @@ _elm_fileselector_button_elm_interface_fileselector_thumbnail_size_set(Eo *obj E } EOLIAN static void -_elm_fileselector_button_elm_interface_fileselector_thumbnail_size_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd, Evas_Coord *w, Evas_Coord *h) +_elm_fileselector_button_elm_interface_fileselector_thumbnail_size_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd, Evas_Coord *w, Evas_Coord *h) { if (w) *w = sd->fsd.thumbnail_size.w; if (h) *h = sd->fsd.thumbnail_size.h; @@ -645,7 +645,7 @@ _elm_fileselector_button_elm_interface_fileselector_hidden_visible_set(Eo *obj E } EOLIAN static Eina_Bool -_elm_fileselector_button_elm_interface_fileselector_hidden_visible_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd) +_elm_fileselector_button_elm_interface_fileselector_hidden_visible_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Button_Data *sd) { return sd->fsd.hidden_visible; } diff --git a/src/lib/elementary/elc_fileselector_entry.c b/src/lib/elementary/elc_fileselector_entry.c index 1617529c7c..357e48f290 100644 --- a/src/lib/elementary/elc_fileselector_entry.c +++ b/src/lib/elementary/elc_fileselector_entry.c @@ -495,7 +495,7 @@ _elm_fileselector_entry_path_get_internal(const Evas_Object *obj) } EOLIAN static Efl_Model * -_elm_fileselector_entry_efl_ui_view_model_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Entry_Data *sd) +_elm_fileselector_entry_efl_ui_view_model_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Entry_Data *sd) { Efl_Model *bmodel, *ret; Eina_Value path; @@ -539,7 +539,7 @@ elm_fileselector_entry_expandable_get(const Evas_Object *obj) } EOLIAN static Eina_Bool -_elm_fileselector_entry_elm_interface_fileselector_expandable_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Entry_Data *sd) +_elm_fileselector_entry_elm_interface_fileselector_expandable_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Entry_Data *sd) { return elm_fileselector_expandable_get(sd->button); } @@ -566,7 +566,7 @@ elm_fileselector_entry_folder_only_get(const Evas_Object *obj) } EOLIAN static Eina_Bool -_elm_fileselector_entry_elm_interface_fileselector_folder_only_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Entry_Data *sd) +_elm_fileselector_entry_elm_interface_fileselector_folder_only_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Entry_Data *sd) { return elm_fileselector_folder_only_get(sd->button); } @@ -593,7 +593,7 @@ elm_fileselector_entry_is_save_get(const Evas_Object *obj) } EOLIAN static Eina_Bool -_elm_fileselector_entry_elm_interface_fileselector_is_save_get(Eo *obj EINA_UNUSED, Elm_Fileselector_Entry_Data *sd) +_elm_fileselector_entry_elm_interface_fileselector_is_save_get(const Eo *obj EINA_UNUSED, Elm_Fileselector_Entry_Data *sd) { return elm_fileselector_is_save_get(sd->button); } diff --git a/src/lib/elementary/elc_hoversel.c b/src/lib/elementary/elc_hoversel.c index 1beb702e31..d0121c05c9 100644 --- a/src/lib/elementary/elc_hoversel.c +++ b/src/lib/elementary/elc_hoversel.c @@ -551,7 +551,7 @@ _elm_hoversel_item_elm_widget_item_part_text_set(Eo *eo_it EINA_UNUSED, } static const char * -_elm_hoversel_item_elm_widget_item_part_text_get(Eo *eo_it EINA_UNUSED, +_elm_hoversel_item_elm_widget_item_part_text_get(const Eo *eo_it EINA_UNUSED, Elm_Hoversel_Item_Data *it, const char *part) { @@ -577,7 +577,7 @@ _elm_hoversel_item_elm_widget_item_style_set(Eo *eo_it EINA_UNUSED, } EOLIAN static const char * -_elm_hoversel_item_elm_widget_item_style_get(Eo *eo_it EINA_UNUSED, +_elm_hoversel_item_elm_widget_item_style_get(const Eo *eo_it EINA_UNUSED, Elm_Hoversel_Item_Data *it) { return elm_object_style_get(VIEW(it)); @@ -592,7 +592,7 @@ _elm_hoversel_item_elm_widget_item_item_focus_set(Eo *eo_it EINA_UNUSED, } EOLIAN static Eina_Bool -_elm_hoversel_item_elm_widget_item_item_focus_get(Eo *eo_it EINA_UNUSED, +_elm_hoversel_item_elm_widget_item_item_focus_get(const Eo *eo_it EINA_UNUSED, Elm_Hoversel_Item_Data *it) { return efl_ui_focus_object_focus_get(VIEW(it)); @@ -687,7 +687,7 @@ _elm_hoversel_efl_ui_widget_widget_parent_set(Eo *obj, Elm_Hoversel_Data *_pd EI } EOLIAN static Eina_Bool -_elm_hoversel_efl_ui_autorepeat_autorepeat_supported_get(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd EINA_UNUSED) +_elm_hoversel_efl_ui_autorepeat_autorepeat_supported_get(const Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd EINA_UNUSED) { return EINA_FALSE; } @@ -737,7 +737,7 @@ _elm_hoversel_hover_parent_set(Eo *obj, Elm_Hoversel_Data *sd, Evas_Object *pare } EOLIAN static Evas_Object* -_elm_hoversel_hover_parent_get(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd) +_elm_hoversel_hover_parent_get(const Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd) { return sd->hover_parent; } @@ -767,7 +767,7 @@ _elm_hoversel_horizontal_set(Eo *obj, Elm_Hoversel_Data *sd, Eina_Bool horizonta } EOLIAN static Eina_Bool -_elm_hoversel_horizontal_get(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd) +_elm_hoversel_horizontal_get(const Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd) { return sd->horizontal; } @@ -801,7 +801,7 @@ _elm_hoversel_hover_end(Eo *obj, Elm_Hoversel_Data *sd) } EOLIAN static Eina_Bool -_elm_hoversel_expanded_get(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd) +_elm_hoversel_expanded_get(const Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd) { return (sd->hover) ? EINA_TRUE : EINA_FALSE; } @@ -819,7 +819,7 @@ _elm_hoversel_clear(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd) } EOLIAN static const Eina_List* -_elm_hoversel_items_get(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd) +_elm_hoversel_items_get(const Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd) { return sd->items; } @@ -897,7 +897,7 @@ _elm_hoversel_item_icon_set(Eo *eo_item EINA_UNUSED, } EOLIAN static void -_elm_hoversel_item_icon_get(Eo *eo_item EINA_UNUSED, +_elm_hoversel_item_icon_get(const Eo *eo_item EINA_UNUSED, Elm_Hoversel_Item_Data *item, const char **icon_file, const char **icon_group, @@ -1027,7 +1027,7 @@ _elm_hoversel_class_constructor(Efl_Class *klass) } EOLIAN const Efl_Access_Action_Data * -_elm_hoversel_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *pd EINA_UNUSED) +_elm_hoversel_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Hoversel_Data *pd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "activate", "activate", NULL, _key_action_activate}, @@ -1042,7 +1042,7 @@ _elm_hoversel_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_ } EOLIAN Eina_List* -_elm_hoversel_efl_access_access_children_get(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *pd) +_elm_hoversel_efl_access_access_children_get(const Eo *obj EINA_UNUSED, Elm_Hoversel_Data *pd) { return eina_list_clone(pd->items); } @@ -1054,7 +1054,7 @@ _elm_hoversel_auto_update_set(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd, Eina_B } EOLIAN Eina_Bool -_elm_hoversel_auto_update_get(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd) +_elm_hoversel_auto_update_get(const Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd) { return sd->auto_update; } diff --git a/src/lib/elementary/elc_naviframe.c b/src/lib/elementary/elc_naviframe.c index 75622354ea..3362efcd45 100644 --- a/src/lib/elementary/elc_naviframe.c +++ b/src/lib/elementary/elc_naviframe.c @@ -550,7 +550,7 @@ _elm_naviframe_item_elm_widget_item_part_text_set(Eo *eo_it, } EOLIAN static const char * -_elm_naviframe_item_elm_widget_item_part_text_get(Eo *nit EINA_UNUSED, +_elm_naviframe_item_elm_widget_item_part_text_get(const Eo *nit EINA_UNUSED, Elm_Naviframe_Item_Data *it, const char *part) { @@ -879,7 +879,7 @@ _elm_naviframe_item_elm_widget_item_part_content_set(Eo *eo_nit EINA_UNUSED, } EOLIAN static Evas_Object * -_elm_naviframe_item_elm_widget_item_part_content_get(Eo *eo_nit EINA_UNUSED, +_elm_naviframe_item_elm_widget_item_part_content_get(const Eo *eo_nit EINA_UNUSED, Elm_Naviframe_Item_Data *nit, const char *part) { @@ -1855,13 +1855,13 @@ _elm_naviframe_content_preserve_on_pop_set(Eo *obj EINA_UNUSED, Elm_Naviframe_Da } EOLIAN static Eina_Bool -_elm_naviframe_content_preserve_on_pop_get(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd) +_elm_naviframe_content_preserve_on_pop_get(const Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd) { return sd->preserve; } EOLIAN static Elm_Object_Item* -_elm_naviframe_top_item_get(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd) +_elm_naviframe_top_item_get(const Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd) { if (!sd->stack) return NULL; Elm_Naviframe_Item_Data *ret_it = EINA_INLIST_CONTAINER_GET @@ -1870,7 +1870,7 @@ _elm_naviframe_top_item_get(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd) } EOLIAN static Elm_Object_Item* -_elm_naviframe_bottom_item_get(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd) +_elm_naviframe_bottom_item_get(const Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd) { if (!sd->stack) return NULL; Elm_Naviframe_Item_Data *ret_it = EINA_INLIST_CONTAINER_GET @@ -1950,7 +1950,7 @@ _elm_naviframe_item_pop_cb_set(Eo *eo_item EINA_UNUSED, } EOLIAN static Eina_List* -_elm_naviframe_item_efl_access_access_children_get(Eo *eo_item EINA_UNUSED, Elm_Naviframe_Item_Data *nit) +_elm_naviframe_item_efl_access_access_children_get(const Eo *eo_item EINA_UNUSED, Elm_Naviframe_Item_Data *nit) { Eina_List *ret = NULL; @@ -1965,13 +1965,13 @@ _elm_naviframe_prev_btn_auto_pushed_set(Eo *obj EINA_UNUSED, Elm_Naviframe_Data } EOLIAN static Eina_Bool -_elm_naviframe_prev_btn_auto_pushed_get(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd) +_elm_naviframe_prev_btn_auto_pushed_get(const Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd) { return sd->auto_pushed; } EOLIAN static Eina_List* -_elm_naviframe_items_get(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd) +_elm_naviframe_items_get(const Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd) { Eina_List *ret = NULL; Elm_Naviframe_Item_Data *itr; @@ -1991,7 +1991,7 @@ _elm_naviframe_event_enabled_set(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd, Ei } EOLIAN static Eina_Bool -_elm_naviframe_event_enabled_get(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd) +_elm_naviframe_event_enabled_get(const Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd) { return !sd->freeze_events; } @@ -2003,7 +2003,7 @@ _elm_naviframe_class_constructor(Efl_Class *klass) } EOLIAN const Efl_Access_Action_Data * -_elm_naviframe_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *pd EINA_UNUSED) +_elm_naviframe_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Naviframe_Data *pd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "top_item_get", "top_item_get", NULL, _key_action_top_item_get }, diff --git a/src/lib/elementary/elc_player.c b/src/lib/elementary/elc_player.c index 368b8aca07..1c7cb92dbd 100644 --- a/src/lib/elementary/elc_player.c +++ b/src/lib/elementary/elc_player.c @@ -679,7 +679,7 @@ _elm_player_class_constructor(Efl_Class *klass) } EOLIAN const Efl_Access_Action_Data * -_elm_player_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Player_Data *pd EINA_UNUSED) +_elm_player_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Player_Data *pd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "move,left", "move", "left", _key_action_move}, diff --git a/src/lib/elementary/elc_popup.c b/src/lib/elementary/elc_popup.c index c137d3d2be..1b91e1805e 100644 --- a/src/lib/elementary/elc_popup.c +++ b/src/lib/elementary/elc_popup.c @@ -765,7 +765,7 @@ _elm_popup_item_elm_widget_item_part_text_set(Eo *eo_it EINA_UNUSED, Elm_Popup_I } EOLIAN static const char * -_elm_popup_item_elm_widget_item_part_text_get(Eo *eo_it EINA_UNUSED, Elm_Popup_Item_Data *it, +_elm_popup_item_elm_widget_item_part_text_get(const Eo *eo_it EINA_UNUSED, Elm_Popup_Item_Data *it, const char *part) { ELM_POPUP_ITEM_CHECK_OR_RETURN(it, NULL); @@ -813,7 +813,7 @@ _elm_popup_item_elm_widget_item_part_content_set(Eo *eo_it EINA_UNUSED, Elm_Popu } EOLIAN static Evas_Object * -_elm_popup_item_elm_widget_item_part_content_get(Eo *eo_it EINA_UNUSED, Elm_Popup_Item_Data *it, +_elm_popup_item_elm_widget_item_part_content_get(const Eo *eo_it EINA_UNUSED, Elm_Popup_Item_Data *it, const char *part) { ELM_POPUP_ITEM_CHECK_OR_RETURN(it, NULL); @@ -1540,7 +1540,7 @@ _elm_popup_content_text_wrap_type_set(Eo *obj EINA_UNUSED, Elm_Popup_Data *sd, E } EOLIAN static Elm_Wrap_Type -_elm_popup_content_text_wrap_type_get(Eo *obj EINA_UNUSED, Elm_Popup_Data *sd) +_elm_popup_content_text_wrap_type_get(const Eo *obj EINA_UNUSED, Elm_Popup_Data *sd) { return sd->content_text_wrap_type; } @@ -1638,7 +1638,7 @@ _elm_popup_orient_set(Eo *obj EINA_UNUSED, Elm_Popup_Data *sd, Elm_Popup_Orient } EOLIAN static Elm_Popup_Orient -_elm_popup_orient_get(Eo *obj EINA_UNUSED, Elm_Popup_Data *sd) +_elm_popup_orient_get(const Eo *obj EINA_UNUSED, Elm_Popup_Data *sd) { return (Elm_Popup_Orient)_elm_notify_orient_get(sd->notify); } @@ -1650,7 +1650,7 @@ _elm_popup_align_set(Eo *obj EINA_UNUSED, Elm_Popup_Data *sd, double horizontal, } EOLIAN static void -_elm_popup_align_get(Eo *obj EINA_UNUSED, Elm_Popup_Data *sd, double *horizontal, double *vertical) +_elm_popup_align_get(const Eo *obj EINA_UNUSED, Elm_Popup_Data *sd, double *horizontal, double *vertical) { elm_notify_align_get(sd->notify, horizontal, vertical); } @@ -1662,7 +1662,7 @@ _elm_popup_timeout_set(Eo *obj EINA_UNUSED, Elm_Popup_Data *sd, double timeout) } EOLIAN static double -_elm_popup_timeout_get(Eo *obj EINA_UNUSED, Elm_Popup_Data *sd) +_elm_popup_timeout_get(const Eo *obj EINA_UNUSED, Elm_Popup_Data *sd) { return elm_notify_timeout_get(sd->notify); } @@ -1676,7 +1676,7 @@ _elm_popup_allow_events_set(Eo *obj EINA_UNUSED, Elm_Popup_Data *sd, Eina_Bool a } EOLIAN static Eina_Bool -_elm_popup_allow_events_get(Eo *obj EINA_UNUSED, Elm_Popup_Data *sd) +_elm_popup_allow_events_get(const Eo *obj EINA_UNUSED, Elm_Popup_Data *sd) { return elm_notify_allow_events_get(sd->notify); } @@ -1756,7 +1756,7 @@ _elm_popup_scrollable_set(Eo *obj, Elm_Popup_Data *pd, Eina_Bool scroll) } EOLIAN Eina_Bool -_elm_popup_scrollable_get(Eo *obj EINA_UNUSED, Elm_Popup_Data *pd) +_elm_popup_scrollable_get(const Eo *obj EINA_UNUSED, Elm_Popup_Data *pd) { return pd->scroll; } @@ -1782,7 +1782,7 @@ _action_dismiss(Evas_Object *obj, const char *params EINA_UNUSED) } EOLIAN const Efl_Access_Action_Data * -_elm_popup_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Popup_Data *pd) +_elm_popup_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Popup_Data *pd) { static Efl_Access_Action_Data atspi_actions[] = { { "dismiss", NULL, NULL, _action_dismiss}, @@ -1794,7 +1794,7 @@ _elm_popup_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Pop } EOLIAN static Efl_Access_State_Set -_elm_popup_efl_access_state_set_get(Eo *obj, Elm_Popup_Data *sd EINA_UNUSED) +_elm_popup_efl_access_state_set_get(const Eo *obj, Elm_Popup_Data *sd EINA_UNUSED) { Efl_Access_State_Set ret; ret = efl_access_state_set_get(efl_super(obj, MY_CLASS)); @@ -1805,7 +1805,7 @@ _elm_popup_efl_access_state_set_get(Eo *obj, Elm_Popup_Data *sd EINA_UNUSED) } EOLIAN static const char* -_elm_popup_efl_access_i18n_name_get(Eo *obj, Elm_Popup_Data *sd) +_elm_popup_efl_access_i18n_name_get(const Eo *obj, Elm_Popup_Data *sd) { const char *name = NULL; Eina_Strbuf *buf; diff --git a/src/lib/elementary/elm_access.c b/src/lib/elementary/elm_access.c index a130ab8517..0859a0ecd6 100644 --- a/src/lib/elementary/elm_access.c +++ b/src/lib/elementary/elm_access.c @@ -1505,7 +1505,7 @@ _access_atspi_action_do(Evas_Object *obj, const char *params) } EOLIAN const Efl_Access_Action_Data * -_elm_access_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED) +_elm_access_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, void *pd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "highlight", NULL, "highlight", _access_atspi_action_do}, @@ -1522,7 +1522,7 @@ _elm_access_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, void * } EOLIAN static Efl_Access_State_Set -_elm_access_efl_access_state_set_get(Eo *obj, void *pd EINA_UNUSED) +_elm_access_efl_access_state_set_get(const Eo *obj, void *pd EINA_UNUSED) { Efl_Access_State_Set ret; ret = efl_access_state_set_get(efl_super(obj, ELM_ACCESS_CLASS)); diff --git a/src/lib/elementary/elm_actionslider.c b/src/lib/elementary/elm_actionslider.c index 1c45951256..ed834d87c2 100644 --- a/src/lib/elementary/elm_actionslider.c +++ b/src/lib/elementary/elm_actionslider.c @@ -571,7 +571,7 @@ _elm_actionslider_indicator_pos_set(Eo *obj, Elm_Actionslider_Data *_pd EINA_UNU } EOLIAN static Elm_Actionslider_Pos -_elm_actionslider_indicator_pos_get(Eo *obj, Elm_Actionslider_Data *_pd EINA_UNUSED) +_elm_actionslider_indicator_pos_get(const Eo *obj, Elm_Actionslider_Data *_pd EINA_UNUSED) { double position; @@ -599,7 +599,7 @@ _elm_actionslider_magnet_pos_set(Eo *obj EINA_UNUSED, Elm_Actionslider_Data *sd, } EOLIAN static Elm_Actionslider_Pos -_elm_actionslider_magnet_pos_get(Eo *obj EINA_UNUSED, Elm_Actionslider_Data *sd) +_elm_actionslider_magnet_pos_get(const Eo *obj EINA_UNUSED, Elm_Actionslider_Data *sd) { return sd->magnet_position; } @@ -611,13 +611,13 @@ _elm_actionslider_enabled_pos_set(Eo *obj EINA_UNUSED, Elm_Actionslider_Data *sd } EOLIAN static Elm_Actionslider_Pos -_elm_actionslider_enabled_pos_get(Eo *obj EINA_UNUSED, Elm_Actionslider_Data *sd) +_elm_actionslider_enabled_pos_get(const Eo *obj EINA_UNUSED, Elm_Actionslider_Data *sd) { return sd->enabled_position; } EOLIAN static const char* -_elm_actionslider_selected_label_get(Eo *obj, Elm_Actionslider_Data *sd) +_elm_actionslider_selected_label_get(const Eo *obj, Elm_Actionslider_Data *sd) { const char *ret; ret = NULL; diff --git a/src/lib/elementary/elm_atspi_app_object.c b/src/lib/elementary/elm_atspi_app_object.c index 0b97079d9f..570b996a3b 100644 --- a/src/lib/elementary/elm_atspi_app_object.c +++ b/src/lib/elementary/elm_atspi_app_object.c @@ -26,7 +26,7 @@ _elm_atspi_app_object_efl_object_destructor(Eo *obj EINA_UNUSED, Elm_Atspi_App_O } EOLIAN static Eina_List* -_elm_atspi_app_object_efl_access_access_children_get(Eo *obj EINA_UNUSED, Elm_Atspi_App_Object_Data *_pd EINA_UNUSED) +_elm_atspi_app_object_efl_access_access_children_get(const Eo *obj EINA_UNUSED, Elm_Atspi_App_Object_Data *_pd EINA_UNUSED) { Eina_List *l, *accs = NULL; Evas_Object *win; @@ -45,7 +45,7 @@ _elm_atspi_app_object_efl_access_access_children_get(Eo *obj EINA_UNUSED, Elm_At } EOLIAN static const char* -_elm_atspi_app_object_efl_access_i18n_name_get(Eo *obj EINA_UNUSED, Elm_Atspi_App_Object_Data *_pd EINA_UNUSED) +_elm_atspi_app_object_efl_access_i18n_name_get(const Eo *obj EINA_UNUSED, Elm_Atspi_App_Object_Data *_pd EINA_UNUSED) { const char *ret; ret = elm_app_name_get(); @@ -53,7 +53,7 @@ _elm_atspi_app_object_efl_access_i18n_name_get(Eo *obj EINA_UNUSED, Elm_Atspi_Ap } EOLIAN static const char* -_elm_atspi_app_object_efl_access_description_get(Eo *obj EINA_UNUSED, Elm_Atspi_App_Object_Data *_pd) +_elm_atspi_app_object_efl_access_description_get(const Eo *obj EINA_UNUSED, Elm_Atspi_App_Object_Data *_pd) { return _pd->descr; } @@ -65,7 +65,7 @@ _elm_atspi_app_object_efl_access_description_set(Eo *obj EINA_UNUSED, Elm_Atspi_ } EOLIAN static Efl_Access_Role -_elm_atspi_app_object_efl_access_role_get(Eo *obj EINA_UNUSED, Elm_Atspi_App_Object_Data *_pd EINA_UNUSED) +_elm_atspi_app_object_efl_access_role_get(const Eo *obj EINA_UNUSED, Elm_Atspi_App_Object_Data *_pd EINA_UNUSED) { return EFL_ACCESS_ROLE_APPLICATION; } diff --git a/src/lib/elementary/elm_atspi_bridge.c b/src/lib/elementary/elm_atspi_bridge.c index 0c7ab5c67b..bdc912259e 100644 --- a/src/lib/elementary/elm_atspi_bridge.c +++ b/src/lib/elementary/elm_atspi_bridge.c @@ -4728,7 +4728,7 @@ _elm_atspi_bridge_key_filter(void *data, void *loop EINA_UNUSED, int type, void } EOLIAN Eina_Bool -_elm_atspi_bridge_connected_get(Eo *obj EINA_UNUSED, Elm_Atspi_Bridge_Data *pd) +_elm_atspi_bridge_connected_get(const Eo *obj EINA_UNUSED, Elm_Atspi_Bridge_Data *pd) { return pd->connected; } diff --git a/src/lib/elementary/elm_box.c b/src/lib/elementary/elm_box.c index a7acdd48a7..ed5e6097d1 100644 --- a/src/lib/elementary/elm_box.c +++ b/src/lib/elementary/elm_box.c @@ -391,7 +391,7 @@ _elm_box_horizontal_set(Eo *obj, Elm_Box_Data *sd, Eina_Bool horizontal) } EOLIAN static Eina_Bool -_elm_box_horizontal_get(Eo *obj EINA_UNUSED, Elm_Box_Data *sd) +_elm_box_horizontal_get(const Eo *obj EINA_UNUSED, Elm_Box_Data *sd) { return sd->horizontal; } @@ -406,7 +406,7 @@ _elm_box_homogeneous_set(Eo *obj, Elm_Box_Data *sd, Eina_Bool homogeneous) } EOLIAN static Eina_Bool -_elm_box_homogeneous_get(Eo *obj EINA_UNUSED, Elm_Box_Data *sd) +_elm_box_homogeneous_get(const Eo *obj EINA_UNUSED, Elm_Box_Data *sd) { return sd->homogeneous; } @@ -604,7 +604,7 @@ elm_box_transition_free(void *data) } EOLIAN static Eina_List* -_elm_box_children_get(Eo *obj, Elm_Box_Data *_pd EINA_UNUSED) +_elm_box_children_get(const Eo *obj, Elm_Box_Data *_pd EINA_UNUSED) { ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, NULL); return evas_object_box_children_get(wd->resize_obj); @@ -620,7 +620,7 @@ _elm_box_padding_set(Eo *obj, Elm_Box_Data *_pd EINA_UNUSED, Evas_Coord horizont } EOLIAN static void -_elm_box_padding_get(Eo *obj, Elm_Box_Data *_pd EINA_UNUSED, Evas_Coord *horizontal, Evas_Coord *vertical) +_elm_box_padding_get(const Eo *obj, Elm_Box_Data *_pd EINA_UNUSED, Evas_Coord *horizontal, Evas_Coord *vertical) { ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd); evas_object_box_padding_get @@ -636,7 +636,7 @@ _elm_box_align_set(Eo *obj, Elm_Box_Data *_pd EINA_UNUSED, double horizontal, do } EOLIAN static void -_elm_box_align_get(Eo *obj, Elm_Box_Data *_pd EINA_UNUSED, double *horizontal, double *vertical) +_elm_box_align_get(const Eo *obj, Elm_Box_Data *_pd EINA_UNUSED, double *horizontal, double *vertical) { ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd); diff --git a/src/lib/elementary/elm_bubble.c b/src/lib/elementary/elm_bubble.c index 3c7ab9fd5d..d4b529f061 100644 --- a/src/lib/elementary/elm_bubble.c +++ b/src/lib/elementary/elm_bubble.c @@ -216,7 +216,7 @@ _elm_bubble_pos_set(Eo *obj, Elm_Bubble_Data *sd, Elm_Bubble_Pos pos) } EOLIAN static Elm_Bubble_Pos -_elm_bubble_pos_get(Eo *obj EINA_UNUSED, Elm_Bubble_Data *sd) +_elm_bubble_pos_get(const Eo *obj EINA_UNUSED, Elm_Bubble_Data *sd) { return sd->pos; } diff --git a/src/lib/elementary/elm_calendar.c b/src/lib/elementary/elm_calendar.c index dc57a5688c..d633e6d389 100644 --- a/src/lib/elementary/elm_calendar.c +++ b/src/lib/elementary/elm_calendar.c @@ -1636,7 +1636,7 @@ _elm_calendar_weekdays_names_set(Eo *obj, Elm_Calendar_Data *sd, const char **we } EOLIAN static const char** -_elm_calendar_weekdays_names_get(Eo *obj EINA_UNUSED, Elm_Calendar_Data *sd) +_elm_calendar_weekdays_names_get(const Eo *obj EINA_UNUSED, Elm_Calendar_Data *sd) { return sd->weekdays; } @@ -1648,7 +1648,7 @@ _elm_calendar_interval_set(Eo *obj EINA_UNUSED, Elm_Calendar_Data *sd, double in } EOLIAN static double -_elm_calendar_interval_get(Eo *obj EINA_UNUSED, Elm_Calendar_Data *sd) +_elm_calendar_interval_get(const Eo *obj EINA_UNUSED, Elm_Calendar_Data *sd) { return sd->first_interval; } @@ -1754,7 +1754,7 @@ _elm_calendar_date_min_set(Eo *obj, Elm_Calendar_Data *sd, const struct tm *min) } EOLIAN static const struct tm * -_elm_calendar_date_min_get(Eo *obj EINA_UNUSED, Elm_Calendar_Data *sd) +_elm_calendar_date_min_get(const Eo *obj EINA_UNUSED, Elm_Calendar_Data *sd) { return &(sd->date_min); } @@ -1807,7 +1807,7 @@ _elm_calendar_date_max_set(Eo *obj, Elm_Calendar_Data *sd, const struct tm *max) } EOLIAN static const struct tm * -_elm_calendar_date_max_get(Eo *obj EINA_UNUSED, Elm_Calendar_Data *sd) +_elm_calendar_date_max_get(const Eo *obj EINA_UNUSED, Elm_Calendar_Data *sd) { return &(sd->date_max); } @@ -1928,7 +1928,7 @@ _elm_calendar_marks_clear(Eo *obj EINA_UNUSED, Elm_Calendar_Data *sd) } EOLIAN static const Eina_List* -_elm_calendar_marks_get(Eo *obj EINA_UNUSED, Elm_Calendar_Data *sd) +_elm_calendar_marks_get(const Eo *obj EINA_UNUSED, Elm_Calendar_Data *sd) { return sd->marks; } @@ -1951,7 +1951,7 @@ _elm_calendar_first_day_of_week_set(Eo *obj, Elm_Calendar_Data *sd, Elm_Calendar } EOLIAN static Elm_Calendar_Weekday -_elm_calendar_first_day_of_week_get(Eo *obj EINA_UNUSED, Elm_Calendar_Data *sd) +_elm_calendar_first_day_of_week_get(const Eo *obj EINA_UNUSED, Elm_Calendar_Data *sd) { return sd->first_week_day; } @@ -1975,7 +1975,7 @@ _elm_calendar_select_mode_set(Eo *obj, Elm_Calendar_Data *sd, Elm_Calendar_Selec } EOLIAN static Elm_Calendar_Select_Mode -_elm_calendar_select_mode_get(Eo *obj EINA_UNUSED, Elm_Calendar_Data *sd) +_elm_calendar_select_mode_get(const Eo *obj EINA_UNUSED, Elm_Calendar_Data *sd) { return sd->select_mode; } @@ -1987,7 +1987,7 @@ _elm_calendar_selectable_set(Eo *obj EINA_UNUSED, Elm_Calendar_Data *sd, Elm_Cal } EOLIAN static Elm_Calendar_Selectable -_elm_calendar_selectable_get(Eo *obj EINA_UNUSED, Elm_Calendar_Data *sd) +_elm_calendar_selectable_get(const Eo *obj EINA_UNUSED, Elm_Calendar_Data *sd) { return sd->selectable; } @@ -2010,7 +2010,7 @@ _elm_calendar_class_constructor(Efl_Class *klass) } EOLIAN static const Efl_Access_Action_Data* -_elm_calendar_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Calendar_Data *sd EINA_UNUSED) +_elm_calendar_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Calendar_Data *sd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "activate", "activate", NULL, _key_action_activate}, @@ -2057,7 +2057,7 @@ _elm_calendar_item_day_number_set(Eo *obj, Elm_Calendar_Item_Data *pd, int i) } EOLIAN static int -_elm_calendar_item_day_number_get(Eo *obj EINA_UNUSED, Elm_Calendar_Item_Data *pd) +_elm_calendar_item_day_number_get(const Eo *obj EINA_UNUSED, Elm_Calendar_Item_Data *pd) { return pd->v; } @@ -2072,7 +2072,7 @@ _elm_calendar_item_efl_ui_focus_object_focus_set(Eo *obj, Elm_Calendar_Item_Data } EOLIAN static Eina_Rect -_elm_calendar_item_efl_ui_focus_object_focus_geometry_get(Eo *obj EINA_UNUSED, Elm_Calendar_Item_Data *pd) +_elm_calendar_item_efl_ui_focus_object_focus_geometry_get(const Eo *obj EINA_UNUSED, Elm_Calendar_Item_Data *pd) { return efl_gfx_geometry_get(pd->part); } diff --git a/src/lib/elementary/elm_clock.c b/src/lib/elementary/elm_clock.c index a7f758e563..58c26d8cb2 100644 --- a/src/lib/elementary/elm_clock.c +++ b/src/lib/elementary/elm_clock.c @@ -825,7 +825,7 @@ _elm_clock_time_set(Eo *obj, Elm_Clock_Data *sd, int hrs, int min, int sec) } EOLIAN static void -_elm_clock_time_get(Eo *obj EINA_UNUSED, Elm_Clock_Data *sd, int *hrs, int *min, int *sec) +_elm_clock_time_get(const Eo *obj EINA_UNUSED, Elm_Clock_Data *sd, int *hrs, int *min, int *sec) { if (hrs) *hrs = sd->hrs; if (min) *min = sd->min; @@ -845,7 +845,7 @@ _elm_clock_edit_set(Eo *obj, Elm_Clock_Data *sd, Eina_Bool edit) } EOLIAN static Eina_Bool -_elm_clock_edit_get(Eo *obj EINA_UNUSED, Elm_Clock_Data *sd) +_elm_clock_edit_get(const Eo *obj EINA_UNUSED, Elm_Clock_Data *sd) { return sd->edit; } @@ -861,7 +861,7 @@ _elm_clock_edit_mode_set(Eo *obj, Elm_Clock_Data *sd, Elm_Clock_Edit_Mode digedi } EOLIAN static Elm_Clock_Edit_Mode -_elm_clock_edit_mode_get(Eo *obj EINA_UNUSED, Elm_Clock_Data *sd) +_elm_clock_edit_mode_get(const Eo *obj EINA_UNUSED, Elm_Clock_Data *sd) { return sd->digedit; } @@ -874,7 +874,7 @@ _elm_clock_show_am_pm_set(Eo *obj, Elm_Clock_Data *sd, Eina_Bool am_pm) } EOLIAN static Eina_Bool -_elm_clock_show_am_pm_get(Eo *obj EINA_UNUSED, Elm_Clock_Data *sd) +_elm_clock_show_am_pm_get(const Eo *obj EINA_UNUSED, Elm_Clock_Data *sd) { return sd->am_pm; } @@ -887,7 +887,7 @@ _elm_clock_show_seconds_set(Eo *obj, Elm_Clock_Data *sd, Eina_Bool seconds) } EOLIAN static Eina_Bool -_elm_clock_show_seconds_get(Eo *obj EINA_UNUSED, Elm_Clock_Data *sd) +_elm_clock_show_seconds_get(const Eo *obj EINA_UNUSED, Elm_Clock_Data *sd) { return sd->seconds; } @@ -899,7 +899,7 @@ _elm_clock_first_interval_set(Eo *obj EINA_UNUSED, Elm_Clock_Data *sd, double in } EOLIAN static double -_elm_clock_first_interval_get(Eo *obj EINA_UNUSED, Elm_Clock_Data *sd) +_elm_clock_first_interval_get(const Eo *obj EINA_UNUSED, Elm_Clock_Data *sd) { return sd->first_interval; } @@ -921,7 +921,7 @@ _elm_clock_pause_set(Eo *obj EINA_UNUSED, Elm_Clock_Data *sd, Eina_Bool paused) } EOLIAN static Eina_Bool -_elm_clock_pause_get(Eo *obj EINA_UNUSED, Elm_Clock_Data *sd) +_elm_clock_pause_get(const Eo *obj EINA_UNUSED, Elm_Clock_Data *sd) { return sd->paused; } diff --git a/src/lib/elementary/elm_code_widget.c b/src/lib/elementary/elm_code_widget.c index d2df77ae7a..7593a3115f 100644 --- a/src/lib/elementary/elm_code_widget.c +++ b/src/lib/elementary/elm_code_widget.c @@ -2077,7 +2077,7 @@ _elm_code_widget_font_set(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd, } EOLIAN static void -_elm_code_widget_font_get(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd, +_elm_code_widget_font_get(const Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd, const char **name, Evas_Font_Size *size) { if (name) @@ -2087,7 +2087,7 @@ _elm_code_widget_font_get(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd, } EOLIAN static unsigned int -_elm_code_widget_columns_get(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd) +_elm_code_widget_columns_get(const Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd) { return pd->col_count; } @@ -2104,7 +2104,7 @@ _elm_code_widget_code_set(Eo *obj, Elm_Code_Widget_Data *pd, Elm_Code *code) } EOLIAN static Elm_Code * -_elm_code_widget_code_get(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd) +_elm_code_widget_code_get(const Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd) { return pd->code; } @@ -2117,7 +2117,7 @@ _elm_code_widget_gravity_set(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd, doub } EOLIAN static void -_elm_code_widget_gravity_get(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd, double *x, double *y) +_elm_code_widget_gravity_get(const Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd, double *x, double *y) { *x = pd->gravity_x; *y = pd->gravity_y; @@ -2130,7 +2130,7 @@ _elm_code_widget_policy_set(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd, Elm_S } EOLIAN static void -_elm_code_widget_policy_get(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) +_elm_code_widget_policy_get(const Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) { elm_scroller_policy_get(pd->scroller, policy_h, policy_v); } @@ -2143,7 +2143,7 @@ _elm_code_widget_tabstop_set(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd, unsi } EOLIAN static unsigned int -_elm_code_widget_tabstop_get(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd) +_elm_code_widget_tabstop_get(const Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd) { return pd->tabstop; } @@ -2156,7 +2156,7 @@ _elm_code_widget_editable_set(Eo *obj, Elm_Code_Widget_Data *pd, Eina_Bool edita } EOLIAN static Eina_Bool -_elm_code_widget_editable_get(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd) +_elm_code_widget_editable_get(const Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd) { return pd->editable; } @@ -2168,7 +2168,7 @@ _elm_code_widget_line_numbers_set(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd, } EOLIAN static Eina_Bool -_elm_code_widget_line_numbers_get(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd) +_elm_code_widget_line_numbers_get(const Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd) { return pd->show_line_numbers; } @@ -2181,7 +2181,7 @@ _elm_code_widget_line_width_marker_set(Eo *obj, Elm_Code_Widget_Data *pd, unsign } EOLIAN static unsigned int -_elm_code_widget_line_width_marker_get(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd) +_elm_code_widget_line_width_marker_get(const Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd) { return pd->line_width_marker; } @@ -2194,7 +2194,7 @@ _elm_code_widget_show_whitespace_set(Eo *obj, Elm_Code_Widget_Data *pd, Eina_Boo } EOLIAN static Eina_Bool -_elm_code_widget_show_whitespace_get(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd) +_elm_code_widget_show_whitespace_get(const Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd) { return pd->show_whitespace; } @@ -2217,9 +2217,9 @@ _elm_code_widget_syntax_enabled_set(Eo *obj, Elm_Code_Widget_Data *pd EINA_UNUSE } EOLIAN static Eina_Bool -_elm_code_widget_syntax_enabled_get(Eo *obj, Elm_Code_Widget_Data *pd EINA_UNUSED) +_elm_code_widget_syntax_enabled_get(const Eo *obj, Elm_Code_Widget_Data *pd EINA_UNUSED) { - Elm_Code_Widget *widget = obj; + const Elm_Code_Widget *widget = obj; Elm_Code *code; code = elm_code_widget_code_get(widget); @@ -2234,7 +2234,7 @@ _elm_code_widget_tab_inserts_spaces_set(Eo *obj EINA_UNUSED, Elm_Code_Widget_Dat } EOLIAN static Eina_Bool -_elm_code_widget_tab_inserts_spaces_get(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd) +_elm_code_widget_tab_inserts_spaces_get(const Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd) { return pd->tab_inserts_spaces; } @@ -2246,7 +2246,7 @@ _elm_code_widget_cursor_position_set(Eo *obj, Elm_Code_Widget_Data *pd, unsigned } EOLIAN static void -_elm_code_widget_cursor_position_get(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd, unsigned int *row, unsigned int *col) +_elm_code_widget_cursor_position_get(const Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd, unsigned int *row, unsigned int *col) { *row = pd->cursor_line; *col = pd->cursor_col; @@ -2279,7 +2279,7 @@ _elm_code_widget_efl_ui_widget_theme_apply(Eo *obj, Elm_Code_Widget_Data *pd) } EOLIAN static int -_elm_code_widget_alpha_get(Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd) +_elm_code_widget_alpha_get(const Eo *obj EINA_UNUSED, Elm_Code_Widget_Data *pd) { return pd->alpha; } diff --git a/src/lib/elementary/elm_colorselector.c b/src/lib/elementary/elm_colorselector.c index 8fa25fc1b8..d728c05745 100644 --- a/src/lib/elementary/elm_colorselector.c +++ b/src/lib/elementary/elm_colorselector.c @@ -2243,7 +2243,7 @@ _access_obj_process(Evas_Object *obj, Eina_Bool is_access) } EOLIAN static Eina_Rect -_elm_colorselector_efl_ui_widget_focus_highlight_geometry_get(Eo *obj EINA_UNUSED, Elm_Colorselector_Data *sd) +_elm_colorselector_efl_ui_widget_focus_highlight_geometry_get(const Eo *obj EINA_UNUSED, Elm_Colorselector_Data *sd) { if (sd->focused_item && (sd->focused == ELM_COLORSELECTOR_PALETTE)) { @@ -2288,7 +2288,7 @@ _elm_colorselector_picked_color_set(Eo *obj, Elm_Colorselector_Data *_pd EINA_UN } EOLIAN static void -_elm_colorselector_picked_color_get(Eo *obj EINA_UNUSED, Elm_Colorselector_Data *sd, int *r, int *g, int *b, int *a) +_elm_colorselector_picked_color_get(const Eo *obj EINA_UNUSED, Elm_Colorselector_Data *sd, int *r, int *g, int *b, int *a) { if (r) *r = sd->r; if (g) *g = sd->g; @@ -2377,7 +2377,7 @@ _elm_colorselector_mode_set(Eo *obj, Elm_Colorselector_Data *sd, Elm_Colorselect } EOLIAN static Elm_Colorselector_Mode -_elm_colorselector_mode_get(Eo *obj EINA_UNUSED, Elm_Colorselector_Data *sd) +_elm_colorselector_mode_get(const Eo *obj EINA_UNUSED, Elm_Colorselector_Data *sd) { return sd->mode; } @@ -2393,7 +2393,7 @@ elm_colorselector_palette_item_color_get(const Elm_Object_Item *it, } EOLIAN static void -_elm_color_item_color_get(Eo *eo_item EINA_UNUSED, +_elm_color_item_color_get(const Eo *eo_item EINA_UNUSED, Elm_Color_Item_Data *item, int *r, int *g, @@ -2482,7 +2482,7 @@ _elm_colorselector_palette_clear(Eo *obj, Elm_Colorselector_Data *sd) } EOLIAN static const Eina_List* -_elm_colorselector_palette_items_get(Eo *obj EINA_UNUSED, Elm_Colorselector_Data *sd) +_elm_colorselector_palette_items_get(const Eo *obj EINA_UNUSED, Elm_Colorselector_Data *sd) { return sd->items; } @@ -2543,7 +2543,7 @@ elm_colorselector_palette_item_selected_get(const Elm_Object_Item *it) } EOLIAN static Eina_Bool -_elm_color_item_selected_get(Eo *eo_item EINA_UNUSED, Elm_Color_Item_Data *item) +_elm_color_item_selected_get(const Eo *eo_item EINA_UNUSED, Elm_Color_Item_Data *item) { Eo *eo_temp_item; @@ -2555,7 +2555,7 @@ _elm_color_item_selected_get(Eo *eo_item EINA_UNUSED, Elm_Color_Item_Data *item) } EOLIAN static Elm_Object_Item* -_elm_colorselector_palette_selected_item_get(Eo *obj EINA_UNUSED, Elm_Colorselector_Data *sd) +_elm_colorselector_palette_selected_item_get(const Eo *obj EINA_UNUSED, Elm_Colorselector_Data *sd) { return eina_list_data_get(sd->selected); } @@ -2573,7 +2573,7 @@ _elm_colorselector_palette_name_set(Eo *obj, Elm_Colorselector_Data *sd, const c } EOLIAN static const char* -_elm_colorselector_palette_name_get(Eo *obj EINA_UNUSED, Elm_Colorselector_Data *sd) +_elm_colorselector_palette_name_get(const Eo *obj EINA_UNUSED, Elm_Colorselector_Data *sd) { return sd->palette_name; } @@ -2588,7 +2588,7 @@ _elm_colorselector_class_constructor(Efl_Class *klass) } EOLIAN static const Efl_Access_Action_Data* -_elm_colorselector_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Colorselector_Data *sd EINA_UNUSED) +_elm_colorselector_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Colorselector_Data *sd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "move,left", "move", "left", _key_action_move}, @@ -2601,7 +2601,7 @@ _elm_colorselector_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, } EOLIAN static Eina_List* -_elm_colorselector_efl_access_access_children_get(Eo *obj EINA_UNUSED, Elm_Colorselector_Data *sd) +_elm_colorselector_efl_access_access_children_get(const Eo *obj EINA_UNUSED, Elm_Colorselector_Data *sd) { Eina_List *ret = NULL; @@ -2615,7 +2615,7 @@ _elm_colorselector_efl_access_access_children_get(Eo *obj EINA_UNUSED, Elm_Color } EOLIAN static Efl_Access_State_Set -_elm_color_item_efl_access_state_set_get(Eo *obj, Elm_Color_Item_Data *sd EINA_UNUSED) +_elm_color_item_efl_access_state_set_get(const Eo *obj, Elm_Color_Item_Data *sd EINA_UNUSED) { Efl_Access_State_Set ret; Eina_Bool sel; @@ -2657,7 +2657,7 @@ _elm_color_item_elm_widget_item_item_focus_set(Eo *eo_it, Elm_Color_Item_Data *i } EOLIAN static Eina_Bool -_elm_color_item_elm_widget_item_item_focus_get(Eo *eo_it, Elm_Color_Item_Data *it) +_elm_color_item_elm_widget_item_item_focus_get(const Eo *eo_it, Elm_Color_Item_Data *it) { Evas_Object *obj = WIDGET(it); ELM_COLORSELECTOR_DATA_GET(obj, sd); @@ -2668,7 +2668,7 @@ _elm_color_item_elm_widget_item_item_focus_get(Eo *eo_it, Elm_Color_Item_Data *i } EOLIAN static const Efl_Access_Action_Data* -_elm_color_item_efl_access_widget_action_elm_actions_get(Eo *eo_it EINA_UNUSED, Elm_Color_Item_Data *it EINA_UNUSED) +_elm_color_item_efl_access_widget_action_elm_actions_get(const Eo *eo_it EINA_UNUSED, Elm_Color_Item_Data *it EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "activate", "activate", NULL, _item_action_activate}, @@ -2678,7 +2678,7 @@ _elm_color_item_efl_access_widget_action_elm_actions_get(Eo *eo_it EINA_UNUSED, } EOLIAN static const char* -_elm_color_item_efl_access_i18n_name_get(Eo *eo_it, Elm_Color_Item_Data *it) +_elm_color_item_efl_access_i18n_name_get(const Eo *eo_it, Elm_Color_Item_Data *it) { Eina_Strbuf *buf; const char *color_name = NULL; @@ -2705,7 +2705,7 @@ _elm_color_item_efl_access_i18n_name_get(Eo *eo_it, Elm_Color_Item_Data *it) } EOLIAN static Eina_Rect -_elm_color_item_efl_ui_focus_object_focus_geometry_get(Eo *obj EINA_UNUSED, Elm_Color_Item_Data *pd) +_elm_color_item_efl_ui_focus_object_focus_geometry_get(const Eo *obj EINA_UNUSED, Elm_Color_Item_Data *pd) { return efl_gfx_geometry_get(pd->color_obj); } diff --git a/src/lib/elementary/elm_config.c b/src/lib/elementary/elm_config.c index da29ddf0e7..7b1e13ddf9 100644 --- a/src/lib/elementary/elm_config.c +++ b/src/lib/elementary/elm_config.c @@ -4962,7 +4962,7 @@ _efl_config_global_efl_config_config_set(Eo *obj EINA_UNUSED, void *_pd EINA_UNU } EOLIAN static Eina_Value * -_efl_config_global_efl_config_config_get(Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED, +_efl_config_global_efl_config_config_get(const Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED, const char *name) { Eina_Value *val = NULL; @@ -5099,7 +5099,7 @@ _efl_config_global_profile_set(Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED, const } EOLIAN static const char * -_efl_config_global_profile_get(Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED) +_efl_config_global_profile_get(const Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED) { return elm_config_profile_get(); } diff --git a/src/lib/elementary/elm_dayselector.c b/src/lib/elementary/elm_dayselector.c index 389bc5217f..f0eb1ed235 100644 --- a/src/lib/elementary/elm_dayselector.c +++ b/src/lib/elementary/elm_dayselector.c @@ -506,7 +506,7 @@ _elm_dayselector_week_start_set(Eo *obj, Elm_Dayselector_Data *sd, Elm_Dayselect } EOLIAN static Elm_Dayselector_Day -_elm_dayselector_week_start_get(Eo *obj EINA_UNUSED, Elm_Dayselector_Data *sd) +_elm_dayselector_week_start_get(const Eo *obj EINA_UNUSED, Elm_Dayselector_Data *sd) { return sd->week_start; } @@ -521,7 +521,7 @@ _elm_dayselector_weekend_start_set(Eo *obj, Elm_Dayselector_Data *sd, Elm_Daysel } EOLIAN static Elm_Dayselector_Day -_elm_dayselector_weekend_start_get(Eo *obj EINA_UNUSED, Elm_Dayselector_Data *sd) +_elm_dayselector_weekend_start_get(const Eo *obj EINA_UNUSED, Elm_Dayselector_Data *sd) { return sd->weekend_start; } @@ -536,7 +536,7 @@ _elm_dayselector_weekend_length_set(Eo *obj, Elm_Dayselector_Data *sd, unsigned } EOLIAN static unsigned int -_elm_dayselector_weekend_length_get(Eo *obj EINA_UNUSED, Elm_Dayselector_Data *sd) +_elm_dayselector_weekend_length_get(const Eo *obj EINA_UNUSED, Elm_Dayselector_Data *sd) { return sd->weekend_len; } diff --git a/src/lib/elementary/elm_diskselector.c b/src/lib/elementary/elm_diskselector.c index f60226adf9..d79afa24be 100644 --- a/src/lib/elementary/elm_diskselector.c +++ b/src/lib/elementary/elm_diskselector.c @@ -494,7 +494,7 @@ _elm_diskselector_item_elm_widget_item_part_text_set(Eo *eo_it EINA_UNUSED, Elm_ } EOLIAN static const char * -_elm_diskselector_item_elm_widget_item_part_text_get(Eo *eo_it EINA_UNUSED, Elm_Diskselector_Item_Data *it, +_elm_diskselector_item_elm_widget_item_part_text_get(const Eo *eo_it EINA_UNUSED, Elm_Diskselector_Item_Data *it, const char *part) { if (part && strcmp(part, "default")) return NULL; @@ -585,7 +585,7 @@ _elm_diskselector_item_elm_widget_item_part_content_set(Eo *eo_it EINA_UNUSED, E } EOLIAN static Evas_Object * -_elm_diskselector_item_elm_widget_item_part_content_get(Eo *eo_it EINA_UNUSED, Elm_Diskselector_Item_Data *it, +_elm_diskselector_item_elm_widget_item_part_content_get(const Eo *eo_it EINA_UNUSED, Elm_Diskselector_Item_Data *it, const char *part) { if (part && strcmp(part, "icon")) return NULL; @@ -1422,7 +1422,7 @@ _elm_diskselector_efl_object_constructor(Eo *obj, Elm_Diskselector_Data *_pd EIN } EOLIAN static Eina_Bool -_elm_diskselector_round_enabled_get(Eo *obj EINA_UNUSED, Elm_Diskselector_Data *sd) +_elm_diskselector_round_enabled_get(const Eo *obj EINA_UNUSED, Elm_Diskselector_Data *sd) { return sd->round; } @@ -1508,7 +1508,7 @@ _elm_diskselector_round_enabled_set(Eo *obj, Elm_Diskselector_Data *sd, Eina_Boo } EOLIAN static int -_elm_diskselector_side_text_max_length_get(Eo *obj EINA_UNUSED, Elm_Diskselector_Data *sd) +_elm_diskselector_side_text_max_length_get(const Eo *obj EINA_UNUSED, Elm_Diskselector_Data *sd) { return sd->len_side; } @@ -1549,7 +1549,7 @@ elm_diskselector_scroller_policy_get(const Evas_Object *obj, } EOLIAN static void -_elm_diskselector_elm_interface_scrollable_policy_get(Eo *obj, Elm_Diskselector_Data *sd EINA_UNUSED, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) +_elm_diskselector_elm_interface_scrollable_policy_get(const Eo *obj, Elm_Diskselector_Data *sd EINA_UNUSED, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) { Elm_Scroller_Policy s_policy_h, s_policy_v; @@ -1596,7 +1596,7 @@ _elm_diskselector_clear(Eo *obj, Elm_Diskselector_Data *sd) } EOLIAN static const Eina_List* -_elm_diskselector_items_get(Eo *obj EINA_UNUSED, Elm_Diskselector_Data *sd) +_elm_diskselector_items_get(const Eo *obj EINA_UNUSED, Elm_Diskselector_Data *sd) { return sd->items; } @@ -1665,7 +1665,7 @@ _elm_diskselector_item_append(Eo *obj, Elm_Diskselector_Data *sd, const char *la } EOLIAN static Elm_Object_Item* -_elm_diskselector_selected_item_get(Eo *obj EINA_UNUSED, Elm_Diskselector_Data *sd) +_elm_diskselector_selected_item_get(const Eo *obj EINA_UNUSED, Elm_Diskselector_Data *sd) { return EO_OBJ(sd->selected_item); } @@ -1693,7 +1693,7 @@ _elm_diskselector_item_selected_set(Eo *eo_it EINA_UNUSED, Elm_Diskselector_Item } EOLIAN static Eina_Bool -_elm_diskselector_item_selected_get(Eo *eo_it EINA_UNUSED, Elm_Diskselector_Item_Data *it) +_elm_diskselector_item_selected_get(const Eo *eo_it EINA_UNUSED, Elm_Diskselector_Item_Data *it) { ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(it, EINA_FALSE); ELM_DISKSELECTOR_DATA_GET(WIDGET(it), sd); @@ -1702,7 +1702,7 @@ _elm_diskselector_item_selected_get(Eo *eo_it EINA_UNUSED, Elm_Diskselector_Item } EOLIAN static Elm_Object_Item * -_elm_diskselector_item_prev_get(Eo *eo_it EINA_UNUSED, Elm_Diskselector_Item_Data *it) +_elm_diskselector_item_prev_get(const Eo *eo_it EINA_UNUSED, Elm_Diskselector_Item_Data *it) { ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(it, NULL); Elm_Diskselector_Item_Data *prev_it = NULL; @@ -1713,7 +1713,7 @@ _elm_diskselector_item_prev_get(Eo *eo_it EINA_UNUSED, Elm_Diskselector_Item_Dat } EOLIAN static Elm_Object_Item * -_elm_diskselector_item_next_get(Eo *eo_it EINA_UNUSED, Elm_Diskselector_Item_Data *it) +_elm_diskselector_item_next_get(const Eo *eo_it EINA_UNUSED, Elm_Diskselector_Item_Data *it) { ELM_DISKSELECTOR_ITEM_CHECK_OR_RETURN(it, NULL); Elm_Diskselector_Item_Data *next_it = NULL; @@ -1724,7 +1724,7 @@ _elm_diskselector_item_next_get(Eo *eo_it EINA_UNUSED, Elm_Diskselector_Item_Dat } EOLIAN static Elm_Object_Item* -_elm_diskselector_first_item_get(Eo *obj EINA_UNUSED, Elm_Diskselector_Data *sd) +_elm_diskselector_first_item_get(const Eo *obj EINA_UNUSED, Elm_Diskselector_Data *sd) { if (!sd || !sd->items) return NULL; Elm_Diskselector_Item_Data *it = eina_list_data_get(sd->items); @@ -1733,7 +1733,7 @@ _elm_diskselector_first_item_get(Eo *obj EINA_UNUSED, Elm_Diskselector_Data *sd) } EOLIAN static Elm_Object_Item* -_elm_diskselector_last_item_get(Eo *obj EINA_UNUSED, Elm_Diskselector_Data *sd) +_elm_diskselector_last_item_get(const Eo *obj EINA_UNUSED, Elm_Diskselector_Data *sd) { if (!sd->items) return NULL; Elm_Diskselector_Item_Data *it = eina_list_data_get(eina_list_last(sd->items)); @@ -1752,7 +1752,7 @@ _elm_diskselector_display_item_num_set(Eo *obj EINA_UNUSED, Elm_Diskselector_Dat } EOLIAN static int -_elm_diskselector_display_item_num_get(Eo *obj EINA_UNUSED, Elm_Diskselector_Data *sd) +_elm_diskselector_display_item_num_get(const Eo *obj EINA_UNUSED, Elm_Diskselector_Data *sd) { return sd->display_item_num; } @@ -1767,7 +1767,7 @@ _elm_diskselector_class_constructor(Efl_Class *klass) } EOLIAN static const Efl_Access_Action_Data* -_elm_diskselector_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Diskselector_Data *sd EINA_UNUSED) +_elm_diskselector_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Diskselector_Data *sd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "move,previous", "move", "prev", _key_action_move}, diff --git a/src/lib/elementary/elm_entry.c b/src/lib/elementary/elm_entry.c index 9e0c64754c..014eecd7e1 100644 --- a/src/lib/elementary/elm_entry.c +++ b/src/lib/elementary/elm_entry.c @@ -1312,7 +1312,7 @@ _elm_entry_efl_ui_focus_object_on_focus_update(Eo *obj, Elm_Entry_Data *sd) } EOLIAN static Eina_Rect -_elm_entry_efl_ui_widget_interest_region_get(Eo *obj, Elm_Entry_Data *sd) +_elm_entry_efl_ui_widget_interest_region_get(const Eo *obj, Elm_Entry_Data *sd) { Evas_Coord cx, cy, cw, ch; Evas_Coord edx, edy; @@ -4165,7 +4165,7 @@ _elm_entry_single_line_set(Eo *obj, Elm_Entry_Data *sd, Eina_Bool single_line) } EOLIAN static Eina_Bool -_elm_entry_single_line_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_single_line_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return sd->single_line; } @@ -4209,7 +4209,7 @@ _elm_entry_password_set(Eo *obj, Elm_Entry_Data *sd, Eina_Bool password) } EOLIAN static Eina_Bool -_elm_entry_password_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_password_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return sd->password; } @@ -4261,7 +4261,7 @@ _elm_entry_is_empty(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) } EOLIAN static Evas_Object* -_elm_entry_textblock_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_textblock_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return (Evas_Object *)edje_object_part_object_get (sd->entry_edje, "elm.text"); @@ -4276,7 +4276,7 @@ _elm_entry_efl_layout_calc_calc_force(Eo *obj, Elm_Entry_Data *sd) } EOLIAN static const char* -_elm_entry_selection_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_selection_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { if ((sd->password)) return NULL; return edje_object_part_text_selection_get(sd->entry_edje, "elm.text"); @@ -4290,7 +4290,7 @@ _elm_entry_selection_handler_disabled_set(Eo *obj EINA_UNUSED, Elm_Entry_Data *s } EOLIAN static Eina_Bool -_elm_entry_selection_handler_disabled_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_selection_handler_disabled_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return sd->sel_handler_disabled; } @@ -4315,7 +4315,7 @@ _elm_entry_line_wrap_set(Eo *obj, Elm_Entry_Data *sd, Elm_Wrap_Type wrap) } EOLIAN static Elm_Wrap_Type -_elm_entry_line_wrap_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_line_wrap_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return sd->line_wrap; } @@ -4351,7 +4351,7 @@ _elm_entry_editable_set(Eo *obj, Elm_Entry_Data *sd, Eina_Bool editable) } EOLIAN static Eina_Bool -_elm_entry_editable_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_editable_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return sd->editable; } @@ -4420,7 +4420,7 @@ _elm_entry_select_region_set(Eo *obj, Elm_Entry_Data *sd, int start, int end) } EOLIAN static void -_elm_entry_select_region_get(Eo *obj, Elm_Entry_Data *sd, int *start, int *end) +_elm_entry_select_region_get(const Eo *obj, Elm_Entry_Data *sd, int *start, int *end) { if (!elm_entry_selection_get(obj)) { @@ -4436,7 +4436,7 @@ _elm_entry_select_region_get(Eo *obj, Elm_Entry_Data *sd, int *start, int *end) } EOLIAN static Eina_Bool -_elm_entry_textblock_cursor_geometry_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h) +_elm_entry_textblock_cursor_geometry_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h) { edje_object_part_text_cursor_geometry_get (sd->entry_edje, "elm.text", x, y, w, h); @@ -4512,21 +4512,21 @@ _elm_entry_cursor_selection_end(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) } EOLIAN static Eina_Bool -_elm_entry_cursor_is_format_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_cursor_is_format_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return edje_object_part_text_cursor_is_format_get (sd->entry_edje, "elm.text", EDJE_CURSOR_MAIN); } EOLIAN static Eina_Bool -_elm_entry_cursor_is_visible_format_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_cursor_is_visible_format_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return edje_object_part_text_cursor_is_visible_format_get (sd->entry_edje, "elm.text", EDJE_CURSOR_MAIN); } EOLIAN static char* -_elm_entry_textblock_cursor_content_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_textblock_cursor_content_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return edje_object_part_text_cursor_content_get (sd->entry_edje, "elm.text", EDJE_CURSOR_MAIN); @@ -4541,7 +4541,7 @@ _elm_entry_cursor_pos_set(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd, int pos) } EOLIAN static int -_elm_entry_cursor_pos_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_cursor_pos_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return edje_object_part_text_cursor_pos_get (sd->entry_edje, "elm.text", EDJE_CURSOR_MAIN); @@ -4607,7 +4607,7 @@ _elm_entry_context_menu_disabled_set(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd, Ei } EOLIAN static Eina_Bool -_elm_entry_context_menu_disabled_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_context_menu_disabled_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return !sd->context_menu; } @@ -4967,7 +4967,7 @@ elm_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *f } EOLIAN static void -_elm_entry_efl_file_file_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd, const char **file, const char **group) +_elm_entry_efl_file_file_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd, const char **file, const char **group) { if (file) *file = sd->file; if (group) *group = NULL; @@ -4989,7 +4989,7 @@ _elm_entry_autosave_set(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd, Eina_Bool auto_ } EOLIAN static Eina_Bool -_elm_entry_autosave_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_autosave_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return sd->auto_save; } @@ -5042,7 +5042,7 @@ _elm_entry_cnp_mode_set(Eo *obj, Elm_Entry_Data *sd, Elm_Cnp_Mode cnp_mode) } EOLIAN static Elm_Cnp_Mode -_elm_entry_cnp_mode_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_cnp_mode_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return sd->cnp_mode; } @@ -5133,7 +5133,7 @@ _elm_entry_scrollable_set(Eo *obj, Elm_Entry_Data *sd, Eina_Bool scroll) } EOLIAN static Eina_Bool -_elm_entry_scrollable_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_scrollable_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return sd->scroll; } @@ -5234,7 +5234,7 @@ _elm_entry_input_panel_layout_set(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd, Elm_I } EOLIAN static Elm_Input_Panel_Layout -_elm_entry_input_panel_layout_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_input_panel_layout_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return sd->input_panel_layout; } @@ -5253,7 +5253,7 @@ _elm_entry_input_panel_layout_variation_set(Eo *obj EINA_UNUSED, Elm_Entry_Data } EOLIAN static int -_elm_entry_input_panel_layout_variation_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_input_panel_layout_variation_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return sd->input_panel_layout_variation; } @@ -5267,7 +5267,7 @@ _elm_entry_autocapital_type_set(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd, Elm_Aut } EOLIAN static Elm_Autocapital_Type -_elm_entry_autocapital_type_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_autocapital_type_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return sd->autocapital_type; } @@ -5281,7 +5281,7 @@ _elm_entry_prediction_allow_set(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd, Eina_Bo } EOLIAN static Eina_Bool -_elm_entry_prediction_allow_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_prediction_allow_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return sd->prediction_allow; } @@ -5296,7 +5296,7 @@ _elm_entry_input_hint_set(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd, Elm_Input_Hin } EOLIAN static Elm_Input_Hints -_elm_entry_input_hint_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_input_hint_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return sd->input_hints; } @@ -5328,7 +5328,7 @@ _elm_entry_input_panel_enabled_set(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd, Eina } EOLIAN static Eina_Bool -_elm_entry_input_panel_enabled_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_input_panel_enabled_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return sd->input_panel_enable; } @@ -5355,7 +5355,7 @@ _elm_entry_input_panel_language_set(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd, Elm } EOLIAN static Elm_Input_Panel_Lang -_elm_entry_input_panel_language_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_input_panel_language_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return sd->input_panel_lang; } @@ -5391,7 +5391,7 @@ _elm_entry_input_panel_return_key_type_set(Eo *obj EINA_UNUSED, Elm_Entry_Data * } EOLIAN static Elm_Input_Panel_Return_Key_Type -_elm_entry_input_panel_return_key_type_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_input_panel_return_key_type_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return sd->input_panel_return_key_type; } @@ -5406,7 +5406,7 @@ _elm_entry_input_panel_return_key_disabled_set(Eo *obj EINA_UNUSED, Elm_Entry_Da } EOLIAN static Eina_Bool -_elm_entry_input_panel_return_key_disabled_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_input_panel_return_key_disabled_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return sd->input_panel_return_key_disabled; } @@ -5428,13 +5428,13 @@ _elm_entry_input_panel_show_on_demand_set(Eo *obj EINA_UNUSED, Elm_Entry_Data *s } EOLIAN static Eina_Bool -_elm_entry_input_panel_show_on_demand_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_input_panel_show_on_demand_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return sd->input_panel_show_on_demand; } EOLIAN static void* -_elm_entry_imf_context_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_imf_context_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { if (!sd) return NULL; @@ -5468,7 +5468,7 @@ _elm_entry_anchor_hover_parent_set(Eo *obj, Elm_Entry_Data *sd, Evas_Object *par } EOLIAN static Evas_Object* -_elm_entry_anchor_hover_parent_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_anchor_hover_parent_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return sd->anchor_hover.hover_parent; } @@ -5480,7 +5480,7 @@ _elm_entry_anchor_hover_style_set(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd, const } EOLIAN static const char* -_elm_entry_anchor_hover_style_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_anchor_hover_style_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return sd->anchor_hover.hover_style; } @@ -5527,7 +5527,7 @@ _elm_entry_select_allow_set(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd, Eina_Bool a } EOLIAN static Eina_Bool -_elm_entry_select_allow_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) +_elm_entry_select_allow_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd) { return sd->sel_allow; } @@ -5541,7 +5541,7 @@ _elm_entry_class_constructor(Efl_Class *klass) // ATSPI Accessibility EOLIAN static Eina_Unicode -_elm_entry_efl_access_text_character_get(Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED, int offset) +_elm_entry_efl_access_text_character_get(const Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED, int offset) { char *txt; int idx = 0; @@ -5563,7 +5563,7 @@ _elm_entry_efl_access_text_character_get(Eo *obj, Elm_Entry_Data *_pd EINA_UNUSE } EOLIAN static int -_elm_entry_efl_access_text_character_count_get(Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED) +_elm_entry_efl_access_text_character_count_get(const Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED) { char *txt; int ret = -1; @@ -5578,7 +5578,7 @@ _elm_entry_efl_access_text_character_count_get(Eo *obj, Elm_Entry_Data *_pd EINA } EOLIAN static char* -_elm_entry_efl_access_text_string_get(Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED, Efl_Access_Text_Granularity granularity, int *start_offset, int *end_offset) +_elm_entry_efl_access_text_string_get(const Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED, Efl_Access_Text_Granularity granularity, int *start_offset, int *end_offset) { Evas_Textblock_Cursor *cur = NULL, *cur2 = NULL; Evas_Object *tblk; @@ -5663,7 +5663,7 @@ fail: } EOLIAN static char* -_elm_entry_efl_access_text_access_text_get(Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED, int start_offset, int end_offset) +_elm_entry_efl_access_text_access_text_get(const Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED, int start_offset, int end_offset) { Evas_Textblock_Cursor *cur = NULL, *cur2 = NULL; Evas_Object *tblk; @@ -5703,7 +5703,7 @@ fail: } EOLIAN static int -_elm_entry_efl_access_text_caret_offset_get(Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED) +_elm_entry_efl_access_text_caret_offset_get(const Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED) { return elm_entry_cursor_pos_get(obj); } @@ -5716,13 +5716,13 @@ _elm_entry_efl_access_text_caret_offset_set(Eo *obj, Elm_Entry_Data *_pd EINA_UN } EOLIAN static int -_elm_entry_efl_access_text_selections_count_get(Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED) +_elm_entry_efl_access_text_selections_count_get(const Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED) { return elm_entry_selection_get(obj) ? 1 : 0; } EOLIAN static void -_elm_entry_efl_access_text_access_selection_get(Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED, int selection_number, int *start_offset, int *end_offset) +_elm_entry_efl_access_text_access_selection_get(const Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED, int selection_number, int *start_offset, int *end_offset) { if (selection_number != 0) return; @@ -5756,13 +5756,13 @@ _elm_entry_efl_access_text_selection_add(Eo *obj, Elm_Entry_Data *pd EINA_UNUSED } EOLIAN static Eina_List* -_elm_entry_efl_access_text_bounded_ranges_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *_pd EINA_UNUSED, Eina_Bool screen_coods EINA_UNUSED, Eina_Rect rect EINA_UNUSED, Efl_Access_Text_Clip_Type xclip EINA_UNUSED, Efl_Access_Text_Clip_Type yclip EINA_UNUSED) +_elm_entry_efl_access_text_bounded_ranges_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *_pd EINA_UNUSED, Eina_Bool screen_coods EINA_UNUSED, Eina_Rect rect EINA_UNUSED, Efl_Access_Text_Clip_Type xclip EINA_UNUSED, Efl_Access_Text_Clip_Type yclip EINA_UNUSED) { return NULL; } EOLIAN static int -_elm_entry_efl_access_text_offset_at_point_get(Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED, Eina_Bool screen_coods, int x, int y) +_elm_entry_efl_access_text_offset_at_point_get(const Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED, Eina_Bool screen_coods, int x, int y) { Evas_Object *txtblk; Evas_Textblock_Cursor *cur; @@ -5796,7 +5796,7 @@ _elm_entry_efl_access_text_offset_at_point_get(Eo *obj, Elm_Entry_Data *_pd EINA } EOLIAN static Eina_Bool -_elm_entry_efl_access_text_character_extents_get(Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED, int offset, Eina_Bool screen_coods, Eina_Rect *rect) +_elm_entry_efl_access_text_character_extents_get(const Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED, int offset, Eina_Bool screen_coods, Eina_Rect *rect) { Evas_Object *txtblk; Evas_Textblock_Cursor *cur; @@ -5828,7 +5828,7 @@ _elm_entry_efl_access_text_character_extents_get(Eo *obj, Elm_Entry_Data *_pd EI } EOLIAN static Eina_Bool -_elm_entry_efl_access_text_range_extents_get(Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED, Eina_Bool screen_coods, int start_offset, int end_offset, Eina_Rect *rect) +_elm_entry_efl_access_text_range_extents_get(const Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED, Eina_Bool screen_coods, int start_offset, int end_offset, Eina_Rect *rect) { Evas_Object *txtblk; Evas_Textblock_Cursor *cur1, *cur2; @@ -5906,7 +5906,7 @@ _textblock_node_format_to_atspi_text_attr(const Evas_Object_Textblock_Node_Forma } EOLIAN static Eina_Bool -_elm_entry_efl_access_text_attribute_get(Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED, const char *attr_name EINA_UNUSED, int *start_offset, int *end_offset, char **value) +_elm_entry_efl_access_text_attribute_get(const Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED, const char *attr_name EINA_UNUSED, int *start_offset, int *end_offset, char **value) { Evas_Object *txtblk; Evas_Textblock_Cursor *cur1, *cur2; @@ -5954,7 +5954,7 @@ _elm_entry_efl_access_text_attribute_get(Eo *obj, Elm_Entry_Data *_pd EINA_UNUSE } EOLIAN static Eina_List* -_elm_entry_efl_access_text_text_attributes_get(Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED, int *start_offset, int *end_offset) +_elm_entry_efl_access_text_text_attributes_get(const Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED, int *start_offset, int *end_offset) { Evas_Object *txtblk; Evas_Textblock_Cursor *cur1, *cur2; @@ -5996,7 +5996,7 @@ _elm_entry_efl_access_text_text_attributes_get(Eo *obj, Elm_Entry_Data *_pd EINA } EOLIAN static Eina_List* -_elm_entry_efl_access_text_default_attributes_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *_pd EINA_UNUSED) +_elm_entry_efl_access_text_default_attributes_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *_pd EINA_UNUSED) { Evas_Object *txtblk; Eina_List *ret = NULL; @@ -6094,7 +6094,7 @@ _elm_entry_efl_access_editable_text_cut(Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED } EOLIAN static Efl_Access_State_Set -_elm_entry_efl_access_state_set_get(Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED) +_elm_entry_efl_access_state_set_get(const Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED) { Efl_Access_State_Set ret; ret = efl_access_state_set_get(efl_super(obj, ELM_ENTRY_CLASS)); @@ -6106,7 +6106,7 @@ _elm_entry_efl_access_state_set_get(Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED) } EOLIAN static const char* -_elm_entry_efl_access_i18n_name_get(Eo *obj, Elm_Entry_Data *sd) +_elm_entry_efl_access_i18n_name_get(const Eo *obj, Elm_Entry_Data *sd) { const char *name; name = efl_access_i18n_name_get(efl_super(obj, ELM_ENTRY_CLASS)); @@ -6129,7 +6129,7 @@ _action_activate(Evas_Object *obj, const char *params EINA_UNUSED) } EOLIAN const Efl_Access_Action_Data * -_elm_entry_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd EINA_UNUSED) +_elm_entry_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "activate", "activate", NULL, _action_activate }, diff --git a/src/lib/elementary/elm_flipselector.c b/src/lib/elementary/elm_flipselector.c index 0c592ee8b4..63329d4e59 100644 --- a/src/lib/elementary/elm_flipselector.c +++ b/src/lib/elementary/elm_flipselector.c @@ -157,7 +157,7 @@ _elm_flipselector_item_elm_widget_item_part_text_set(Eo *eo_item, } EOLIAN static const char * -_elm_flipselector_item_elm_widget_item_part_text_get(Eo *eo_it EINA_UNUSED, +_elm_flipselector_item_elm_widget_item_part_text_get(const Eo *eo_it EINA_UNUSED, Elm_Flipselector_Item_Data *it, const char *part) { @@ -482,7 +482,7 @@ _elm_flipselector_efl_ui_range_range_min_max_set(Eo *obj, Elm_Flipselector_Data } EOLIAN static void -_elm_flipselector_efl_ui_range_range_min_max_get(Eo *obj EINA_UNUSED, Elm_Flipselector_Data *sd, double *min, double *max) +_elm_flipselector_efl_ui_range_range_min_max_get(const Eo *obj EINA_UNUSED, Elm_Flipselector_Data *sd, double *min, double *max) { if (min) *min = sd->val_min; if (max) *max = sd->val_max; @@ -498,13 +498,13 @@ _elm_flipselector_efl_ui_range_range_step_set(Eo *obj EINA_UNUSED, Elm_Flipselec } EOLIAN static double -_elm_flipselector_efl_ui_range_range_step_get(Eo *obj EINA_UNUSED, Elm_Flipselector_Data *sd) +_elm_flipselector_efl_ui_range_range_step_get(const Eo *obj EINA_UNUSED, Elm_Flipselector_Data *sd) { return sd->step; } EOLIAN static double -_elm_flipselector_efl_ui_range_range_value_get(Eo *obj EINA_UNUSED, Elm_Flipselector_Data *sd) +_elm_flipselector_efl_ui_range_range_value_get(const Eo *obj EINA_UNUSED, Elm_Flipselector_Data *sd) { if (sd->val_min == 0 && sd->val_max == 0) { @@ -748,25 +748,25 @@ _elm_flipselector_item_prepend(Eo *obj, Elm_Flipselector_Data *sd, const char *l } EOLIAN static const Eina_List* -_elm_flipselector_items_get(Eo *obj EINA_UNUSED, Elm_Flipselector_Data *sd) +_elm_flipselector_items_get(const Eo *obj EINA_UNUSED, Elm_Flipselector_Data *sd) { return sd->items; } EOLIAN static Elm_Object_Item* -_elm_flipselector_first_item_get(Eo *obj EINA_UNUSED, Elm_Flipselector_Data *sd) +_elm_flipselector_first_item_get(const Eo *obj EINA_UNUSED, Elm_Flipselector_Data *sd) { return eina_list_data_get(sd->items); } EOLIAN static Elm_Object_Item* -_elm_flipselector_last_item_get(Eo *obj EINA_UNUSED, Elm_Flipselector_Data *sd) +_elm_flipselector_last_item_get(const Eo *obj EINA_UNUSED, Elm_Flipselector_Data *sd) { return eina_list_last_data_get(sd->items); } EOLIAN static Elm_Object_Item* -_elm_flipselector_selected_item_get(Eo *obj EINA_UNUSED, Elm_Flipselector_Data *sd) +_elm_flipselector_selected_item_get(const Eo *obj EINA_UNUSED, Elm_Flipselector_Data *sd) { return DATA_GET(sd->current); } @@ -817,7 +817,7 @@ _elm_flipselector_item_selected_set(Eo *eo_item, } EOLIAN static Eina_Bool -_elm_flipselector_item_selected_get(Eo *eo_item, +_elm_flipselector_item_selected_get(const Eo *eo_item, Elm_Flipselector_Item_Data *item) { ELM_FLIPSELECTOR_DATA_GET(WIDGET(item), sd); @@ -864,7 +864,7 @@ _elm_flipselector_first_interval_set(Eo *obj EINA_UNUSED, Elm_Flipselector_Data } EOLIAN double -_elm_flipselector_first_interval_get(Eo *obj EINA_UNUSED, Elm_Flipselector_Data *sd) +_elm_flipselector_first_interval_get(const Eo *obj EINA_UNUSED, Elm_Flipselector_Data *sd) { return sd->first_interval; } @@ -876,7 +876,7 @@ _elm_flipselector_class_constructor(Efl_Class *klass) } EOLIAN const Efl_Access_Action_Data * -_elm_flipselector_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Flipselector_Data *pd EINA_UNUSED) +_elm_flipselector_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Flipselector_Data *pd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "flip,up", "flip", "up", _key_action_flip}, diff --git a/src/lib/elementary/elm_gengrid.c b/src/lib/elementary/elm_gengrid.c index be5879cae7..9e7c50bd97 100644 --- a/src/lib/elementary/elm_gengrid.c +++ b/src/lib/elementary/elm_gengrid.c @@ -347,7 +347,7 @@ _is_no_select(Elm_Gen_Item *it) } EOLIAN static void -_elm_gengrid_item_custom_size_get(Eo *eo_it EINA_UNUSED, +_elm_gengrid_item_custom_size_get(const Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it, Evas_Coord *w, Evas_Coord *h) @@ -2242,21 +2242,21 @@ _elm_gengrid_pan_elm_pan_pos_set(Eo *obj, Elm_Gengrid_Pan_Data *psd, Evas_Coord } EOLIAN static void -_elm_gengrid_pan_elm_pan_pos_get(Eo *obj EINA_UNUSED, Elm_Gengrid_Pan_Data *psd, Evas_Coord *x, Evas_Coord *y) +_elm_gengrid_pan_elm_pan_pos_get(const Eo *obj EINA_UNUSED, Elm_Gengrid_Pan_Data *psd, Evas_Coord *x, Evas_Coord *y) { if (x) *x = psd->wsd->pan_x; if (y) *y = psd->wsd->pan_y; } EOLIAN static void -_elm_gengrid_pan_elm_pan_content_size_get(Eo *obj EINA_UNUSED, Elm_Gengrid_Pan_Data *psd, Evas_Coord *w, Evas_Coord *h) +_elm_gengrid_pan_elm_pan_content_size_get(const Eo *obj EINA_UNUSED, Elm_Gengrid_Pan_Data *psd, Evas_Coord *w, Evas_Coord *h) { if (w) *w = psd->wsd->minw; if (h) *h = psd->wsd->minh; } EOLIAN static void -_elm_gengrid_pan_elm_pan_pos_max_get(Eo *obj, Elm_Gengrid_Pan_Data *psd, Evas_Coord *x, Evas_Coord *y) +_elm_gengrid_pan_elm_pan_pos_max_get(const Eo *obj, Elm_Gengrid_Pan_Data *psd, Evas_Coord *x, Evas_Coord *y) { Evas_Coord ow, oh; @@ -2268,7 +2268,7 @@ _elm_gengrid_pan_elm_pan_pos_max_get(Eo *obj, Elm_Gengrid_Pan_Data *psd, Evas_Co } EOLIAN static void -_elm_gengrid_pan_elm_pan_pos_min_get(Eo *obj, Elm_Gengrid_Pan_Data *psd, Evas_Coord *x, Evas_Coord *y) +_elm_gengrid_pan_elm_pan_pos_min_get(const Eo *obj, Elm_Gengrid_Pan_Data *psd, Evas_Coord *x, Evas_Coord *y) { Evas_Coord mx = 0, my = 0; Eina_Bool mirrored = efl_ui_mirrored_get(psd->wsd->obj); @@ -3518,7 +3518,7 @@ _elm_gengrid_nearest_visible_item_get(Evas_Object *obj, Elm_Object_Item *eo_it) } EOLIAN static Eina_Rect -_elm_gengrid_efl_ui_widget_interest_region_get(Eo *obj, Elm_Gengrid_Data *sd) +_elm_gengrid_efl_ui_widget_interest_region_get(const Eo *obj, Elm_Gengrid_Data *sd) { Eina_Rect r = {}; @@ -3783,13 +3783,13 @@ _elm_gengrid_item_elm_widget_item_del_pre(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *i } EOLIAN static Evas_Object * -_elm_gengrid_item_elm_widget_item_part_content_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it, const char * part) +_elm_gengrid_item_elm_widget_item_part_content_get(const Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it, const char * part) { return edje_object_part_swallow_get(VIEW(it), part); } EOLIAN static const char * -_elm_gengrid_item_elm_widget_item_part_text_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it, const char * part) +_elm_gengrid_item_elm_widget_item_part_text_get(const Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it, const char * part) { if (!it->itc->func.text_get) return NULL; return edje_object_part_text_get(VIEW(it), part); @@ -3834,7 +3834,7 @@ _elm_gengrid_item_elm_widget_item_item_focus_set(Eo *eo_it, Elm_Gen_Item *it, Ei } EOLIAN static Eina_Bool -_elm_gengrid_item_elm_widget_item_item_focus_get(Eo *eo_it, Elm_Gen_Item *it) +_elm_gengrid_item_elm_widget_item_item_focus_get(const Eo *eo_it, Elm_Gen_Item *it) { ELM_GENGRID_ITEM_CHECK_OR_RETURN(it, EINA_FALSE); Evas_Object *obj = WIDGET(it); @@ -4292,7 +4292,7 @@ _elm_gengrid_item_size_set(Eo *obj, Elm_Gengrid_Data *sd, Evas_Coord w, Evas_Coo } EOLIAN static void -_elm_gengrid_item_size_get(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd, Evas_Coord *w, Evas_Coord *h) +_elm_gengrid_item_size_get(const Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd, Evas_Coord *w, Evas_Coord *h) { if (w) *w = sd->item_width; if (h) *h = sd->item_height; @@ -4309,7 +4309,7 @@ _elm_gengrid_group_item_size_set(Eo *obj, Elm_Gengrid_Data *sd, Evas_Coord w, Ev } EOLIAN static void -_elm_gengrid_group_item_size_get(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd, Evas_Coord *w, Evas_Coord *h) +_elm_gengrid_group_item_size_get(const Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd, Evas_Coord *w, Evas_Coord *h) { if (w) *w = sd->group_item_width; if (h) *h = sd->group_item_height; @@ -4340,7 +4340,7 @@ _elm_gengrid_align_set(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd, double align_x } EOLIAN static void -_elm_gengrid_align_get(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd, double *align_x, double *align_y) +_elm_gengrid_align_get(const Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd, double *align_x, double *align_y) { if (align_x) *align_x = sd->align_x; if (align_y) *align_y = sd->align_y; @@ -4493,7 +4493,7 @@ _elm_gengrid_horizontal_set(Eo *obj, Elm_Gengrid_Data *sd, Eina_Bool horizontal) } EOLIAN static Eina_Bool -_elm_gengrid_horizontal_get(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) +_elm_gengrid_horizontal_get(const Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) { return sd->horizontal; } @@ -4551,7 +4551,7 @@ _elm_gengrid_item_fields_update(Eo *eo_item EINA_UNUSED, Elm_Gen_Item *it, } EOLIAN static const Elm_Gengrid_Item_Class * -_elm_gengrid_item_item_class_get(Eo *eo_item EINA_UNUSED, Elm_Gen_Item *item) +_elm_gengrid_item_item_class_get(const Eo *eo_item EINA_UNUSED, Elm_Gen_Item *item) { if (item->generation < GG_IT(item)->wsd->generation) return NULL; return item->itc; @@ -4571,7 +4571,7 @@ _elm_gengrid_item_item_class_update(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it, } EOLIAN static void -_elm_gengrid_item_pos_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it, +_elm_gengrid_item_pos_get(const Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it, unsigned int *x, unsigned int *y) { @@ -4586,7 +4586,7 @@ _elm_gengrid_multi_select_set(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd, Eina_Bo } EOLIAN static Eina_Bool -_elm_gengrid_multi_select_get(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) +_elm_gengrid_multi_select_get(const Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) { return sd->multi; } @@ -4602,20 +4602,20 @@ _elm_gengrid_multi_select_mode_set(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd, El } EOLIAN static Elm_Object_Multi_Select_Mode -_elm_gengrid_multi_select_mode_get(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) +_elm_gengrid_multi_select_mode_get(const Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) { return sd->multi_select_mode; } EOLIAN static Elm_Object_Item* -_elm_gengrid_selected_item_get(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) +_elm_gengrid_selected_item_get(const Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) { if (sd->selected) return sd->selected->data; return NULL; } EOLIAN static const Eina_List* -_elm_gengrid_selected_items_get(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) +_elm_gengrid_selected_items_get(const Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) { return sd->selected; } @@ -4651,13 +4651,13 @@ _elm_gengrid_item_selected_set(Eo *eo_item EINA_UNUSED, Elm_Gen_Item *it, } EOLIAN static Eina_Bool -_elm_gengrid_item_selected_get(Eo *eo_item EINA_UNUSED, Elm_Gen_Item *it) +_elm_gengrid_item_selected_get(const Eo *eo_item EINA_UNUSED, Elm_Gen_Item *it) { return it->selected; } EOLIAN static Eina_List* -_elm_gengrid_realized_items_get(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) +_elm_gengrid_realized_items_get(const Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) { Elm_Gen_Item *it; Eina_Bool done = EINA_FALSE; @@ -4814,7 +4814,7 @@ elm_gengrid_item_tooltip_style_get(const Elm_Object_Item *it) } EOLIAN static const char * -_elm_gengrid_item_elm_widget_item_tooltip_style_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) +_elm_gengrid_item_elm_widget_item_tooltip_style_get(const Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) { return it->tooltip.style; } @@ -4844,7 +4844,7 @@ elm_gengrid_item_tooltip_window_mode_get(const Elm_Object_Item *it) } EOLIAN static Eina_Bool -_elm_gengrid_item_elm_widget_item_tooltip_window_mode_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) +_elm_gengrid_item_elm_widget_item_tooltip_window_mode_get(const Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) { ELM_GENGRID_ITEM_CHECK_OR_RETURN(it, EINA_FALSE); @@ -4952,7 +4952,7 @@ _elm_gengrid_reorder_mode_set(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd, Eina_Bo } EOLIAN static Eina_Bool -_elm_gengrid_reorder_mode_get(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) +_elm_gengrid_reorder_mode_get(const Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) { return sd->reorder_mode; } @@ -5074,7 +5074,7 @@ elm_gengrid_scroller_policy_get(const Evas_Object *obj, } EOLIAN static void -_elm_gengrid_elm_interface_scrollable_policy_get(Eo *obj, Elm_Gengrid_Data *sd EINA_UNUSED, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) +_elm_gengrid_elm_interface_scrollable_policy_get(const Eo *obj, Elm_Gengrid_Data *sd EINA_UNUSED, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) { Elm_Scroller_Policy s_policy_h, s_policy_v; @@ -5084,7 +5084,7 @@ _elm_gengrid_elm_interface_scrollable_policy_get(Eo *obj, Elm_Gengrid_Data *sd E } EOLIAN static Elm_Object_Item* -_elm_gengrid_first_item_get(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) +_elm_gengrid_first_item_get(const Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) { if (!sd->items) return NULL; @@ -5185,7 +5185,7 @@ _elm_gengrid_at_xy_item_get(const Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd, Eva } EOLIAN static Elm_Object_Item* -_elm_gengrid_last_item_get(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) +_elm_gengrid_last_item_get(const Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) { if (!sd->items) return NULL; @@ -5197,7 +5197,7 @@ _elm_gengrid_last_item_get(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) } EOLIAN static Elm_Object_Item * -_elm_gengrid_item_next_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) +_elm_gengrid_item_next_get(const Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) { ELM_GENGRID_ITEM_CHECK_OR_RETURN(it, NULL); @@ -5211,7 +5211,7 @@ _elm_gengrid_item_next_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) } EOLIAN static Elm_Object_Item * -_elm_gengrid_item_prev_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) +_elm_gengrid_item_prev_get(const Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) { ELM_GENGRID_ITEM_CHECK_OR_RETURN(it, NULL); @@ -5261,7 +5261,7 @@ _elm_gengrid_filled_set(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd, Eina_Bool fil } EOLIAN static Eina_Bool -_elm_gengrid_filled_get(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) +_elm_gengrid_filled_get(const Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) { return sd->filled; } @@ -5333,7 +5333,7 @@ _elm_gengrid_select_mode_set(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd, Elm_Obje } EOLIAN static Elm_Object_Select_Mode -_elm_gengrid_select_mode_get(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) +_elm_gengrid_select_mode_get(const Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) { return sd->select_mode; } @@ -5345,13 +5345,13 @@ _elm_gengrid_highlight_mode_set(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd, Eina_ } EOLIAN static Eina_Bool -_elm_gengrid_highlight_mode_get(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) +_elm_gengrid_highlight_mode_get(const Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) { return sd->highlight; } EOLIAN static int -_elm_gengrid_item_index_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) +_elm_gengrid_item_index_get(const Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) { ELM_GENGRID_ITEM_CHECK_OR_RETURN(it, -1); @@ -5374,7 +5374,7 @@ _elm_gengrid_item_select_mode_set(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it, } EOLIAN static Elm_Object_Select_Mode -_elm_gengrid_item_select_mode_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) +_elm_gengrid_item_select_mode_get(const Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) { ELM_GENGRID_ITEM_CHECK_OR_RETURN(it, ELM_OBJECT_SELECT_MODE_MAX); @@ -5382,7 +5382,7 @@ _elm_gengrid_item_select_mode_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) } EOLIAN Efl_Access_State_Set -_elm_gengrid_item_efl_access_state_set_get(Eo *eo_it, Elm_Gen_Item *it EINA_UNUSED) +_elm_gengrid_item_efl_access_state_set_get(const Eo *eo_it, Elm_Gen_Item *it EINA_UNUSED) { Efl_Access_State_Set ret; Eina_Bool sel; @@ -5400,7 +5400,7 @@ _elm_gengrid_item_efl_access_state_set_get(Eo *eo_it, Elm_Gen_Item *it EINA_UNUS } EOLIAN const char* -_elm_gengrid_item_efl_access_i18n_name_get(Eo *eo_it, Elm_Gen_Item *it) +_elm_gengrid_item_efl_access_i18n_name_get(const Eo *eo_it, Elm_Gen_Item *it) { const char *ret; Eina_Strbuf *buf; @@ -5468,7 +5468,7 @@ elm_gengrid_nth_item_get(const Evas_Object *obj, unsigned int nth) } EOLIAN static Eina_Rect -_elm_gengrid_efl_ui_widget_focus_highlight_geometry_get(Eo *obj, Elm_Gengrid_Data *sd) +_elm_gengrid_efl_ui_widget_focus_highlight_geometry_get(const Eo *obj, Elm_Gengrid_Data *sd) { Evas_Coord ox, oy, oh, ow, item_x = 0, item_y = 0, item_w = 0, item_h = 0; Eina_Rect r = {}; @@ -5519,7 +5519,7 @@ _elm_gengrid_efl_ui_widget_focus_highlight_geometry_get(Eo *obj, Elm_Gengrid_Dat } EOLIAN static Elm_Object_Item * -_elm_gengrid_efl_ui_widget_focused_item_get(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) +_elm_gengrid_efl_ui_widget_focused_item_get(const Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) { return sd->focused_item; } @@ -5531,7 +5531,7 @@ _elm_gengrid_elm_interface_scrollable_item_loop_enabled_set(Eo *obj EINA_UNUSED, } EOLIAN static Eina_Bool -_elm_gengrid_elm_interface_scrollable_item_loop_enabled_get(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) +_elm_gengrid_elm_interface_scrollable_item_loop_enabled_get(const Eo *obj EINA_UNUSED, Elm_Gengrid_Data *sd) { return sd->item_loop_enable; } @@ -5558,7 +5558,7 @@ _elm_gengrid_class_constructor(Efl_Class *klass) } EOLIAN const Efl_Access_Action_Data * -_elm_gengrid_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *pd EINA_UNUSED) +_elm_gengrid_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Gengrid_Data *pd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "move,prior", "move", "prior", _key_action_move}, @@ -5582,7 +5582,7 @@ _elm_gengrid_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_G } EOLIAN Eina_List* -_elm_gengrid_efl_access_access_children_get(Eo *obj, Elm_Gengrid_Data *sd) +_elm_gengrid_efl_access_access_children_get(const Eo *obj, Elm_Gengrid_Data *sd) { Eina_List *ret = NULL, *ret2 = NULL; Elm_Gen_Item *it; @@ -5596,7 +5596,7 @@ _elm_gengrid_efl_access_access_children_get(Eo *obj, Elm_Gengrid_Data *sd) } EOLIAN Efl_Access_State_Set -_elm_gengrid_efl_access_state_set_get(Eo *obj, Elm_Gengrid_Data *sd EINA_UNUSED) +_elm_gengrid_efl_access_state_set_get(const Eo *obj, Elm_Gengrid_Data *sd EINA_UNUSED) { Efl_Access_State_Set ret; @@ -5611,13 +5611,13 @@ _elm_gengrid_efl_access_state_set_get(Eo *obj, Elm_Gengrid_Data *sd EINA_UNUSED) } EOLIAN int -_elm_gengrid_efl_access_selection_selected_children_count_get(Eo *objm EINA_UNUSED, Elm_Gengrid_Data *pd) +_elm_gengrid_efl_access_selection_selected_children_count_get(const Eo *objm EINA_UNUSED, Elm_Gengrid_Data *pd) { return eina_list_count(pd->selected); } EOLIAN Eo* -_elm_gengrid_efl_access_selection_selected_child_get(Eo *obj EINA_UNUSED, Elm_Gengrid_Data *pd, int child_idx) +_elm_gengrid_efl_access_selection_selected_child_get(const Eo *obj EINA_UNUSED, Elm_Gengrid_Data *pd, int child_idx) { return eina_list_nth(pd->selected, child_idx); } diff --git a/src/lib/elementary/elm_genlist.c b/src/lib/elementary/elm_genlist.c index 82025ebe0a..7f9c480846 100644 --- a/src/lib/elementary/elm_genlist.c +++ b/src/lib/elementary/elm_genlist.c @@ -236,14 +236,14 @@ done: } EOLIAN static void -_elm_genlist_pan_elm_pan_pos_get(Eo *obj EINA_UNUSED, Elm_Genlist_Pan_Data *psd, Evas_Coord *x, Evas_Coord *y) +_elm_genlist_pan_elm_pan_pos_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Pan_Data *psd, Evas_Coord *x, Evas_Coord *y) { if (x) *x = psd->wsd->pan_x; if (y) *y = psd->wsd->pan_y; } EOLIAN static void -_elm_genlist_pan_elm_pan_pos_max_get(Eo *obj, Elm_Genlist_Pan_Data *psd, Evas_Coord *x, Evas_Coord *y) +_elm_genlist_pan_elm_pan_pos_max_get(const Eo *obj, Elm_Genlist_Pan_Data *psd, Evas_Coord *x, Evas_Coord *y) { Evas_Coord ow, oh; @@ -257,14 +257,14 @@ _elm_genlist_pan_elm_pan_pos_max_get(Eo *obj, Elm_Genlist_Pan_Data *psd, Evas_Co } EOLIAN static void -_elm_genlist_pan_elm_pan_pos_min_get(Eo *obj EINA_UNUSED, Elm_Genlist_Pan_Data *_pd EINA_UNUSED, Evas_Coord *x, Evas_Coord *y) +_elm_genlist_pan_elm_pan_pos_min_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Pan_Data *_pd EINA_UNUSED, Evas_Coord *x, Evas_Coord *y) { if (x) *x = 0; if (y) *y = 0; } EOLIAN static void -_elm_genlist_pan_elm_pan_content_size_get(Eo *obj EINA_UNUSED, Elm_Genlist_Pan_Data *psd, Evas_Coord *w, Evas_Coord *h) +_elm_genlist_pan_elm_pan_content_size_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Pan_Data *psd, Evas_Coord *w, Evas_Coord *h) { if (w) *w = psd->wsd->minw; if (h) *h = psd->wsd->minh; @@ -6003,7 +6003,7 @@ item_deleted: } EOLIAN static Evas_Object * -_elm_genlist_item_elm_widget_item_part_content_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it, const char * part) +_elm_genlist_item_elm_widget_item_part_content_get(const Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it, const char * part) { Evas_Object *ret = NULL; if (it->deco_all_view) @@ -6021,7 +6021,7 @@ _elm_genlist_item_elm_widget_item_part_content_get(Eo *eo_it EINA_UNUSED, Elm_Ge } EOLIAN static const char * -_elm_genlist_item_elm_widget_item_part_text_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it, const char * part) +_elm_genlist_item_elm_widget_item_part_text_get(const Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it, const char * part) { if (!it->itc->func.text_get) return NULL; const char *ret = NULL; @@ -6131,7 +6131,7 @@ _elm_genlist_item_elm_widget_item_style_set(Eo *eo_it, } EOLIAN static const char * -_elm_genlist_item_elm_widget_item_style_get(Eo *eo_it EINA_UNUSED, +_elm_genlist_item_elm_widget_item_style_get(const Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) { if (it->itc) return it->itc->item_style; @@ -6183,7 +6183,7 @@ _elm_genlist_item_elm_widget_item_item_focus_set(Eo *eo_it, Elm_Gen_Item *it, Ei } EOLIAN static Eina_Bool -_elm_genlist_item_elm_widget_item_item_focus_get(Eo *eo_it, Elm_Gen_Item *it) +_elm_genlist_item_elm_widget_item_item_focus_get(const Eo *eo_it, Elm_Gen_Item *it) { Evas_Object *obj = WIDGET(it); ELM_GENLIST_DATA_GET(obj, sd); @@ -6721,7 +6721,7 @@ _elm_genlist_multi_select_set(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd, Eina_Bo } EOLIAN static Eina_Bool -_elm_genlist_multi_select_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) +_elm_genlist_multi_select_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) { return sd->multi; } @@ -6737,13 +6737,13 @@ _elm_genlist_multi_select_mode_set(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd, El } EOLIAN static Elm_Object_Multi_Select_Mode -_elm_genlist_multi_select_mode_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) +_elm_genlist_multi_select_mode_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) { return sd->multi_select_mode; } EOLIAN static Elm_Object_Item* -_elm_genlist_selected_item_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) +_elm_genlist_selected_item_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) { if (sd->selected) return sd->selected->data; @@ -6752,13 +6752,13 @@ _elm_genlist_selected_item_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) } EOLIAN static const Eina_List* -_elm_genlist_selected_items_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) +_elm_genlist_selected_items_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) { return sd->selected; } EOLIAN static Eina_List* -_elm_genlist_realized_items_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) +_elm_genlist_realized_items_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) { Item_Block *itb; Eina_Bool done = EINA_FALSE; @@ -7030,7 +7030,7 @@ _elm_genlist_prev_item_get_insane(Elm_Genlist_Data *sd, Elm_Gen_Item *it) EOLIAN static Elm_Object_Item* -_elm_genlist_first_item_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) +_elm_genlist_first_item_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) { Elm_Gen_Item *it; @@ -7046,7 +7046,7 @@ _elm_genlist_first_item_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) } EOLIAN static Elm_Object_Item* -_elm_genlist_last_item_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) +_elm_genlist_last_item_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) { Elm_Gen_Item *it; @@ -7063,7 +7063,7 @@ _elm_genlist_last_item_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) } EOLIAN static Elm_Object_Item * -_elm_genlist_item_next_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) +_elm_genlist_item_next_get(const Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) { ELM_GENLIST_DATA_GET_FROM_ITEM(it, sd); @@ -7077,7 +7077,7 @@ _elm_genlist_item_next_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) } EOLIAN static Elm_Object_Item * -_elm_genlist_item_prev_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) +_elm_genlist_item_prev_get(const Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) { ELM_GENLIST_DATA_GET_FROM_ITEM(it, sd); @@ -7091,7 +7091,7 @@ _elm_genlist_item_prev_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) } EOLIAN static Elm_Object_Item * -_elm_genlist_item_parent_item_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) +_elm_genlist_item_parent_item_get(const Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) { ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, NULL); @@ -7107,7 +7107,7 @@ _elm_genlist_item_subitems_count(Eo *eo_item EINA_UNUSED, Elm_Gen_Item *item) } EOLIAN static const Eina_List * -_elm_genlist_item_subitems_get(Eo *eo_item EINA_UNUSED, Elm_Gen_Item *item) +_elm_genlist_item_subitems_get(const Eo *eo_item EINA_UNUSED, Elm_Gen_Item *item) { ELM_GENLIST_ITEM_CHECK_OR_RETURN(item, NULL); @@ -7145,7 +7145,7 @@ _elm_genlist_item_selected_set(Eo *eo_item EINA_UNUSED, Elm_Gen_Item *it, } EOLIAN static Eina_Bool -_elm_genlist_item_selected_get(Eo *eo_item EINA_UNUSED, Elm_Gen_Item *it) +_elm_genlist_item_selected_get(const Eo *eo_item EINA_UNUSED, Elm_Gen_Item *it) { ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, EINA_FALSE); @@ -7298,7 +7298,7 @@ _elm_genlist_item_expanded_set(Eo *eo_item EINA_UNUSED, Elm_Gen_Item *it, Eina_B } EOLIAN static Eina_Bool -_elm_genlist_item_expanded_get(Eo *eo_item EINA_UNUSED, Elm_Gen_Item *it) +_elm_genlist_item_expanded_get(const Eo *eo_item EINA_UNUSED, Elm_Gen_Item *it) { ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, EINA_FALSE); @@ -7306,7 +7306,7 @@ _elm_genlist_item_expanded_get(Eo *eo_item EINA_UNUSED, Elm_Gen_Item *it) } EOLIAN static int -_elm_genlist_item_expanded_depth_get(Eo *eo_item EINA_UNUSED, Elm_Gen_Item *it) +_elm_genlist_item_expanded_depth_get(const Eo *eo_item EINA_UNUSED, Elm_Gen_Item *it) { ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, 0); @@ -7560,7 +7560,7 @@ _elm_genlist_item_item_class_update(Eo *eo_it, Elm_Gen_Item *it, } EOLIAN static const Elm_Genlist_Item_Class * -_elm_genlist_item_item_class_get(Eo *eo_item EINA_UNUSED, Elm_Gen_Item *it) +_elm_genlist_item_item_class_get(const Eo *eo_item EINA_UNUSED, Elm_Gen_Item *it) { ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, NULL); @@ -7699,7 +7699,7 @@ elm_genlist_item_tooltip_style_get(const Elm_Object_Item *it) } EOLIAN static const char * -_elm_genlist_item_elm_widget_item_tooltip_style_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) +_elm_genlist_item_elm_widget_item_tooltip_style_get(const Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) { return it->tooltip.style; } @@ -7735,7 +7735,7 @@ elm_genlist_item_tooltip_window_mode_get(const Elm_Object_Item *eo_it) } EOLIAN static Eina_Bool -_elm_genlist_item_elm_widget_item_tooltip_window_mode_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) +_elm_genlist_item_elm_widget_item_tooltip_window_mode_get(const Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) { return it->tooltip.free_size; } @@ -7807,7 +7807,7 @@ elm_genlist_item_cursor_engine_only_get(const Elm_Object_Item *eo_it) } EOLIAN static int -_elm_genlist_item_index_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) +_elm_genlist_item_index_get(const Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) { int cnt = 1; Elm_Gen_Item *tmp; @@ -7847,7 +7847,7 @@ _elm_genlist_mode_set(Eo *obj, Elm_Genlist_Data *sd, Elm_List_Mode mode) } EOLIAN static Elm_List_Mode -_elm_genlist_mode_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) +_elm_genlist_mode_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) { return sd->mode; } @@ -7881,7 +7881,7 @@ elm_genlist_bounce_get(const Evas_Object *obj, } EOLIAN static void -_elm_genlist_elm_interface_scrollable_bounce_allow_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd, Eina_Bool *h_bounce, Eina_Bool *v_bounce) +_elm_genlist_elm_interface_scrollable_bounce_allow_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd, Eina_Bool *h_bounce, Eina_Bool *v_bounce) { if (h_bounce) *h_bounce = sd->h_bounce; if (v_bounce) *v_bounce = sd->v_bounce; @@ -7894,7 +7894,7 @@ _elm_genlist_homogeneous_set(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd, Eina_Boo } EOLIAN static Eina_Bool -_elm_genlist_homogeneous_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) +_elm_genlist_homogeneous_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) { return sd->homogeneous; } @@ -7910,7 +7910,7 @@ _elm_genlist_block_count_set(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd, int coun } EOLIAN static int -_elm_genlist_block_count_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) +_elm_genlist_block_count_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) { return sd->max_items_per_block; } @@ -8150,7 +8150,7 @@ _elm_genlist_longpress_timeout_set(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd, do } EOLIAN static double -_elm_genlist_longpress_timeout_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) +_elm_genlist_longpress_timeout_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) { return sd->longpress_timeout; } @@ -8184,7 +8184,7 @@ elm_genlist_scroller_policy_get(const Evas_Object *obj, } EOLIAN static void -_elm_genlist_elm_interface_scrollable_policy_get(Eo *obj, Elm_Genlist_Data *sd EINA_UNUSED, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) +_elm_genlist_elm_interface_scrollable_policy_get(const Eo *obj, Elm_Genlist_Data *sd EINA_UNUSED, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) { Elm_Scroller_Policy s_policy_h, s_policy_v; @@ -8261,20 +8261,20 @@ _elm_genlist_item_decorate_mode_set(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it, } EOLIAN static const char * -_elm_genlist_item_decorate_mode_get(Eo *eo_i EINA_UNUSED, Elm_Gen_Item *i) +_elm_genlist_item_decorate_mode_get(const Eo *eo_i EINA_UNUSED, Elm_Gen_Item *i) { ELM_GENLIST_ITEM_CHECK_OR_RETURN(i, NULL); return i->item->wsd->decorate_it_type; } EOLIAN static Elm_Object_Item * -_elm_genlist_decorated_item_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) +_elm_genlist_decorated_item_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) { return EO_OBJ(sd->mode_item); } EOLIAN static Eina_Bool -_elm_genlist_decorate_mode_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) +_elm_genlist_decorate_mode_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) { return sd->decorate_all_mode; } @@ -8369,13 +8369,13 @@ _elm_genlist_reorder_mode_set(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd, Eina_Bo } EOLIAN static Eina_Bool -_elm_genlist_reorder_mode_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) +_elm_genlist_reorder_mode_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) { return sd->reorder_mode; } EOLIAN static Elm_Genlist_Item_Type -_elm_genlist_item_type_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) +_elm_genlist_item_type_get(const Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) { ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, ELM_GENLIST_ITEM_MAX); @@ -8406,7 +8406,7 @@ _elm_genlist_item_pin_set(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it, Eina_Bool pin } EOLIAN static Eina_Bool -_elm_genlist_item_pin_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) +_elm_genlist_item_pin_get(const Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) { ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, EINA_FALSE); ELM_GENLIST_DATA_GET(WIDGET(it), sd); @@ -8508,7 +8508,7 @@ _elm_genlist_item_flip_set(Eo *eo_it, Elm_Gen_Item *it, Eina_Bool flip) } EOLIAN static Eina_Bool -_elm_genlist_item_flip_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) +_elm_genlist_item_flip_get(const Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) { ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, EINA_FALSE); @@ -8537,7 +8537,7 @@ _elm_genlist_select_mode_set(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd, Elm_Obje } EOLIAN static Elm_Object_Select_Mode -_elm_genlist_select_mode_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) +_elm_genlist_select_mode_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) { return sd->select_mode; } @@ -8549,7 +8549,7 @@ _elm_genlist_highlight_mode_set(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd, Eina_ } EOLIAN static Eina_Bool -_elm_genlist_highlight_mode_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) +_elm_genlist_highlight_mode_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) { return sd->highlight; } @@ -8590,7 +8590,7 @@ _elm_genlist_item_select_mode_set(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it, } EOLIAN static Elm_Object_Select_Mode -_elm_genlist_item_select_mode_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) +_elm_genlist_item_select_mode_get(const Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) { ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, ELM_OBJECT_SELECT_MODE_MAX); @@ -8598,7 +8598,7 @@ _elm_genlist_item_select_mode_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it) } EOLIAN Efl_Access_State_Set -_elm_genlist_item_efl_access_state_set_get(Eo *eo_it, Elm_Gen_Item *it EINA_UNUSED) +_elm_genlist_item_efl_access_state_set_get(const Eo *eo_it, Elm_Gen_Item *it EINA_UNUSED) { Efl_Access_State_Set ret; Eina_Bool sel; @@ -8623,7 +8623,7 @@ _elm_genlist_item_efl_access_state_set_get(Eo *eo_it, Elm_Gen_Item *it EINA_UNUS } EOLIAN const char* -_elm_genlist_item_efl_access_i18n_name_get(Eo *eo_it, Elm_Gen_Item *it) +_elm_genlist_item_efl_access_i18n_name_get(const Eo *eo_it, Elm_Gen_Item *it) { const char *ret; Eina_Strbuf *buf; @@ -8675,7 +8675,7 @@ _elm_genlist_tree_effect_enabled_set(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd, } EOLIAN static Eina_Bool -_elm_genlist_tree_effect_enabled_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) +_elm_genlist_tree_effect_enabled_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) { return sd->tree_effect_enabled; } @@ -8687,7 +8687,7 @@ _elm_genlist_focus_on_selection_set(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd, E } EOLIAN static Eina_Bool -_elm_genlist_focus_on_selection_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) +_elm_genlist_focus_on_selection_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) { return sd->focus_on_selection_enabled; } @@ -8713,7 +8713,7 @@ elm_genlist_nth_item_get(const Evas_Object *obj, unsigned int nth) } EOLIAN static Eina_Rect -_elm_genlist_efl_ui_widget_focus_highlight_geometry_get(Eo *obj, Elm_Genlist_Data *sd) +_elm_genlist_efl_ui_widget_focus_highlight_geometry_get(const Eo *obj, Elm_Genlist_Data *sd) { Evas_Coord ox, oy, oh, ow, item_x = 0, item_y = 0, item_w = 0, item_h = 0; Eina_Rect r = {}; @@ -8800,7 +8800,7 @@ _elm_genlist_search_by_text_item_get(Eo *obj EINA_UNUSED, } EOLIAN static Elm_Object_Item* -_elm_genlist_efl_ui_widget_focused_item_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) +_elm_genlist_efl_ui_widget_focused_item_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) { return sd->focused_item; } @@ -8812,7 +8812,7 @@ _elm_genlist_elm_interface_scrollable_item_loop_enabled_set(Eo *obj EINA_UNUSED, } EOLIAN static Eina_Bool -_elm_genlist_elm_interface_scrollable_item_loop_enabled_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) +_elm_genlist_elm_interface_scrollable_item_loop_enabled_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd) { return sd->item_loop_enable; } @@ -8827,7 +8827,7 @@ _elm_genlist_class_constructor(Efl_Class *klass) } EOLIAN const Efl_Access_Action_Data * -_elm_genlist_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *pd EINA_UNUSED) +_elm_genlist_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Data *pd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "move,prior", "move", "prior", _key_action_move}, @@ -8849,7 +8849,7 @@ _elm_genlist_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_G } EOLIAN Eina_List* -_elm_genlist_efl_access_access_children_get(Eo *obj, Elm_Genlist_Data *sd) +_elm_genlist_efl_access_access_children_get(const Eo *obj, Elm_Genlist_Data *sd) { Eina_List *ret = NULL, *ret2 = NULL; Elm_Gen_Item *it; @@ -8863,7 +8863,7 @@ _elm_genlist_efl_access_access_children_get(Eo *obj, Elm_Genlist_Data *sd) } EOLIAN Efl_Access_State_Set -_elm_genlist_efl_access_state_set_get(Eo *obj, Elm_Genlist_Data *sd EINA_UNUSED) +_elm_genlist_efl_access_state_set_get(const Eo *obj, Elm_Genlist_Data *sd EINA_UNUSED) { Efl_Access_State_Set ret; @@ -8881,13 +8881,13 @@ _elm_genlist_efl_access_state_set_get(Eo *obj, Elm_Genlist_Data *sd EINA_UNUSED) } EOLIAN int -_elm_genlist_efl_access_selection_selected_children_count_get(Eo *objm EINA_UNUSED, Elm_Genlist_Data *pd) +_elm_genlist_efl_access_selection_selected_children_count_get(const Eo *objm EINA_UNUSED, Elm_Genlist_Data *pd) { return eina_list_count(pd->selected); } EOLIAN Eo* -_elm_genlist_efl_access_selection_selected_child_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *pd, int child_idx) +_elm_genlist_efl_access_selection_selected_child_get(const Eo *obj EINA_UNUSED, Elm_Genlist_Data *pd, int child_idx) { return eina_list_nth(pd->selected, child_idx); } diff --git a/src/lib/elementary/elm_gesture_layer.c b/src/lib/elementary/elm_gesture_layer.c index 143ae645ca..2ea1c69589 100644 --- a/src/lib/elementary/elm_gesture_layer.c +++ b/src/lib/elementary/elm_gesture_layer.c @@ -3845,7 +3845,7 @@ _elm_gesture_layer_efl_object_constructor(Eo *obj, Elm_Gesture_Layer_Data *_pd E } EOLIAN static Eina_Bool -_elm_gesture_layer_hold_events_get(Eo *obj EINA_UNUSED, Elm_Gesture_Layer_Data *sd) +_elm_gesture_layer_hold_events_get(const Eo *obj EINA_UNUSED, Elm_Gesture_Layer_Data *sd) { return !sd->repeat_events; } @@ -3857,7 +3857,7 @@ _elm_gesture_layer_hold_events_set(Eo *obj EINA_UNUSED, Elm_Gesture_Layer_Data * } EOLIAN static double -_elm_gesture_layer_zoom_step_get(Eo *obj EINA_UNUSED, Elm_Gesture_Layer_Data *sd) +_elm_gesture_layer_zoom_step_get(const Eo *obj EINA_UNUSED, Elm_Gesture_Layer_Data *sd) { return sd->zoom_step; } @@ -3871,7 +3871,7 @@ _elm_gesture_layer_zoom_step_set(Eo *obj EINA_UNUSED, Elm_Gesture_Layer_Data *sd } EOLIAN static double -_elm_gesture_layer_rotate_step_get(Eo *obj EINA_UNUSED, Elm_Gesture_Layer_Data *sd) +_elm_gesture_layer_rotate_step_get(const Eo *obj EINA_UNUSED, Elm_Gesture_Layer_Data *sd) { return sd->rotate_step; } @@ -4162,7 +4162,7 @@ _elm_gesture_layer_tap_finger_size_set(Eo *obj EINA_UNUSED, Elm_Gesture_Layer_Da } EOLIAN static Evas_Coord -_elm_gesture_layer_tap_finger_size_get(Eo *obj EINA_UNUSED, Elm_Gesture_Layer_Data *sd) +_elm_gesture_layer_tap_finger_size_get(const Eo *obj EINA_UNUSED, Elm_Gesture_Layer_Data *sd) { return sd->tap_finger_size; } diff --git a/src/lib/elementary/elm_glview.c b/src/lib/elementary/elm_glview.c index 8f48ba4f38..294d19cd67 100644 --- a/src/lib/elementary/elm_glview.c +++ b/src/lib/elementary/elm_glview.c @@ -375,7 +375,7 @@ _elm_glview_efl_object_finalize(Eo *obj, Elm_Glview_Data *sd) } EOLIAN static Evas_GL_API* -_elm_glview_gl_api_get(Eo *obj EINA_UNUSED, Elm_Glview_Data *sd) +_elm_glview_gl_api_get(const Eo *obj EINA_UNUSED, Elm_Glview_Data *sd) { return evas_gl_context_api_get(sd->evasgl, sd->context); } @@ -515,7 +515,7 @@ _elm_glview_efl_gfx_view_view_size_set(Eo *obj, Elm_Glview_Data *sd, Eina_Size2D } EOLIAN static Eina_Size2D -_elm_glview_efl_gfx_view_view_size_get(Eo *obj EINA_UNUSED, Elm_Glview_Data *sd) +_elm_glview_efl_gfx_view_view_size_get(const Eo *obj EINA_UNUSED, Elm_Glview_Data *sd) { return EINA_SIZE2D(sd->w, sd->h); } @@ -536,13 +536,13 @@ _elm_glview_draw_request(Eo *obj, Elm_Glview_Data *sd) } EOLIAN static Evas_GL * -_elm_glview_evas_gl_get(Eo *obj EINA_UNUSED, Elm_Glview_Data *sd) +_elm_glview_evas_gl_get(const Eo *obj EINA_UNUSED, Elm_Glview_Data *sd) { return sd->evasgl; } EOLIAN static int -_elm_glview_rotation_get(Eo *obj EINA_UNUSED, Elm_Glview_Data *sd) +_elm_glview_rotation_get(const Eo *obj EINA_UNUSED, Elm_Glview_Data *sd) { return evas_gl_rotation_get(sd->evasgl); } diff --git a/src/lib/elementary/elm_grid.c b/src/lib/elementary/elm_grid.c index fe44f085b4..f2fa303e00 100644 --- a/src/lib/elementary/elm_grid.c +++ b/src/lib/elementary/elm_grid.c @@ -112,7 +112,7 @@ _elm_grid_grid_size_set(Eo *obj, void *_pd EINA_UNUSED, Evas_Coord w, Evas_Coord } EOLIAN static void -_elm_grid_grid_size_get(Eo *obj, void *_pd EINA_UNUSED, Evas_Coord *w, Evas_Coord *h) +_elm_grid_grid_size_get(const Eo *obj, void *_pd EINA_UNUSED, Evas_Coord *w, Evas_Coord *h) { ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd); @@ -191,7 +191,7 @@ elm_grid_pack_get(Evas_Object *subobj, } EOLIAN static Eina_List* -_elm_grid_children_get(Eo *obj, void *_pd EINA_UNUSED) +_elm_grid_children_get(const Eo *obj, void *_pd EINA_UNUSED) { ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, NULL); return evas_object_grid_children_get(wd->resize_obj); diff --git a/src/lib/elementary/elm_hover.c b/src/lib/elementary/elm_hover.c index bc5b8559ba..69938c1180 100644 --- a/src/lib/elementary/elm_hover.c +++ b/src/lib/elementary/elm_hover.c @@ -761,7 +761,7 @@ _elm_hover_efl_ui_widget_widget_parent_set(Eo *obj, Elm_Hover_Data *sd, Evas_Obj } EOLIAN static Evas_Object* -_elm_hover_target_get(Eo *obj EINA_UNUSED, Elm_Hover_Data *sd) +_elm_hover_target_get(const Eo *obj EINA_UNUSED, Elm_Hover_Data *sd) { return sd->target; } @@ -774,7 +774,7 @@ elm_hover_parent_get(const Evas_Object *obj) } EOLIAN static Evas_Object* -_elm_hover_efl_ui_widget_widget_parent_get(Eo *obj EINA_UNUSED, Elm_Hover_Data *sd) +_elm_hover_efl_ui_widget_widget_parent_get(const Eo *obj EINA_UNUSED, Elm_Hover_Data *sd) { return sd->parent; } @@ -843,7 +843,7 @@ _action_dismiss(Evas_Object *obj, const char *params EINA_UNUSED) } EOLIAN const Efl_Access_Action_Data * -_elm_hover_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Hover_Data *pd EINA_UNUSED) +_elm_hover_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Hover_Data *pd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "dismiss", NULL, NULL, _action_dismiss}, @@ -853,7 +853,7 @@ _elm_hover_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Hov } EOLIAN static Efl_Access_State_Set -_elm_hover_efl_access_state_set_get(Eo *obj, Elm_Hover_Data *pd EINA_UNUSED) +_elm_hover_efl_access_state_set_get(const Eo *obj, Elm_Hover_Data *pd EINA_UNUSED) { Efl_Access_State_Set states; states = efl_access_state_set_get(efl_super(obj, MY_CLASS)); diff --git a/src/lib/elementary/elm_index.c b/src/lib/elementary/elm_index.c index 0a22a7000e..6233af307e 100644 --- a/src/lib/elementary/elm_index.c +++ b/src/lib/elementary/elm_index.c @@ -1235,7 +1235,7 @@ _elm_index_autohide_disabled_set(Eo *obj, Elm_Index_Data *sd, Eina_Bool disabled } EOLIAN static Eina_Bool -_elm_index_autohide_disabled_get(Eo *obj EINA_UNUSED, Elm_Index_Data *sd) +_elm_index_autohide_disabled_get(const Eo *obj EINA_UNUSED, Elm_Index_Data *sd) { return sd->autohide_disabled; } @@ -1248,7 +1248,7 @@ _elm_index_item_level_set(Eo *obj EINA_UNUSED, Elm_Index_Data *sd, int level) } EOLIAN static int -_elm_index_item_level_get(Eo *obj EINA_UNUSED, Elm_Index_Data *sd) +_elm_index_item_level_get(const Eo *obj EINA_UNUSED, Elm_Index_Data *sd) { return sd->level; } @@ -1562,7 +1562,7 @@ _elm_index_indicator_disabled_set(Eo *obj, Elm_Index_Data *sd, Eina_Bool disable } EOLIAN static Eina_Bool -_elm_index_indicator_disabled_get(Eo *obj EINA_UNUSED, Elm_Index_Data *sd) +_elm_index_indicator_disabled_get(const Eo *obj EINA_UNUSED, Elm_Index_Data *sd) { return sd->indicator_disabled; } @@ -1588,7 +1588,7 @@ _elm_index_efl_ui_direction_direction_set(Eo *obj, Elm_Index_Data *sd, Efl_Ui_Di } EOLIAN static Efl_Ui_Dir -_elm_index_efl_ui_direction_direction_get(Eo *obj EINA_UNUSED, Elm_Index_Data *sd) +_elm_index_efl_ui_direction_direction_get(const Eo *obj EINA_UNUSED, Elm_Index_Data *sd) { return sd->dir; } @@ -1600,7 +1600,7 @@ _elm_index_delay_change_time_set(Eo *obj EINA_UNUSED, Elm_Index_Data *sd, double } EOLIAN static double -_elm_index_delay_change_time_get(Eo *obj EINA_UNUSED, Elm_Index_Data *sd) +_elm_index_delay_change_time_get(const Eo *obj EINA_UNUSED, Elm_Index_Data *sd) { return sd->delay_change_time; } @@ -1622,7 +1622,7 @@ _elm_index_omit_enabled_set(Eo *obj, Elm_Index_Data *sd, Eina_Bool enabled) } EOLIAN static Eina_Bool -_elm_index_omit_enabled_get(Eo *obj EINA_UNUSED, Elm_Index_Data *sd) +_elm_index_omit_enabled_get(const Eo *obj EINA_UNUSED, Elm_Index_Data *sd) { return sd->omit_enabled; } @@ -1658,7 +1658,7 @@ _elm_index_standard_priority_set(Eo *obj, Elm_Index_Data *sd, int priority) } EOLIAN static int -_elm_index_standard_priority_get(Eo *obj EINA_UNUSED, Elm_Index_Data *sd) +_elm_index_standard_priority_get(const Eo *obj EINA_UNUSED, Elm_Index_Data *sd) { return sd->show_group; } @@ -1677,7 +1677,7 @@ _item_action_activate(Eo *obj, const char *params EINA_UNUSED EINA_UNUSED) } EOLIAN static Eina_List* -_elm_index_efl_access_access_children_get(Eo *obj, Elm_Index_Data *data) +_elm_index_efl_access_access_children_get(const Eo *obj, Elm_Index_Data *data) { Eina_List *ret; ret = efl_access_children_get(efl_super(obj, ELM_INDEX_CLASS)); @@ -1685,7 +1685,7 @@ _elm_index_efl_access_access_children_get(Eo *obj, Elm_Index_Data *data) } EOLIAN static const char* -_elm_index_item_efl_access_i18n_name_get(Eo *eo_it, Elm_Index_Item_Data *data) +_elm_index_item_efl_access_i18n_name_get(const Eo *eo_it, Elm_Index_Item_Data *data) { const char *name; name = efl_access_i18n_name_get(efl_super(eo_it, ELM_INDEX_ITEM_CLASS)); @@ -1695,7 +1695,7 @@ _elm_index_item_efl_access_i18n_name_get(Eo *eo_it, Elm_Index_Item_Data *data) } EOLIAN static const Efl_Access_Action_Data* -_elm_index_item_efl_access_widget_action_elm_actions_get(Eo *eo_it EINA_UNUSED, Elm_Index_Item_Data *data EINA_UNUSED) +_elm_index_item_efl_access_widget_action_elm_actions_get(const Eo *eo_it EINA_UNUSED, Elm_Index_Item_Data *data EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "activate", "activate", NULL, _item_action_activate}, diff --git a/src/lib/elementary/elm_interface_scrollable.c b/src/lib/elementary/elm_interface_scrollable.c index 3cb3e9c032..9ba2feb8fc 100644 --- a/src/lib/elementary/elm_interface_scrollable.c +++ b/src/lib/elementary/elm_interface_scrollable.c @@ -153,14 +153,14 @@ _elm_pan_pos_set(Eo *obj EINA_UNUSED, Elm_Pan_Smart_Data *psd, Evas_Coord x, Eva } EOLIAN static void -_elm_pan_pos_get(Eo *obj EINA_UNUSED, Elm_Pan_Smart_Data *psd, Evas_Coord *x, Evas_Coord *y) +_elm_pan_pos_get(const Eo *obj EINA_UNUSED, Elm_Pan_Smart_Data *psd, Evas_Coord *x, Evas_Coord *y) { if (x) *x = psd->px; if (y) *y = psd->py; } EOLIAN static void -_elm_pan_pos_max_get(Eo *obj EINA_UNUSED, Elm_Pan_Smart_Data *psd, Evas_Coord *x, Evas_Coord *y) +_elm_pan_pos_max_get(const Eo *obj EINA_UNUSED, Elm_Pan_Smart_Data *psd, Evas_Coord *x, Evas_Coord *y) { if (x) { @@ -175,7 +175,7 @@ _elm_pan_pos_max_get(Eo *obj EINA_UNUSED, Elm_Pan_Smart_Data *psd, Evas_Coord *x } EOLIAN static void -_elm_pan_pos_min_get(Eo *obj EINA_UNUSED, Elm_Pan_Smart_Data *_pd EINA_UNUSED, Evas_Coord *x, Evas_Coord *y) +_elm_pan_pos_min_get(const Eo *obj EINA_UNUSED, Elm_Pan_Smart_Data *_pd EINA_UNUSED, Evas_Coord *x, Evas_Coord *y) { if (x) *x = 0; @@ -184,7 +184,7 @@ _elm_pan_pos_min_get(Eo *obj EINA_UNUSED, Elm_Pan_Smart_Data *_pd EINA_UNUSED, E } EOLIAN static void -_elm_pan_content_size_get(Eo *obj EINA_UNUSED, Elm_Pan_Smart_Data *psd, Evas_Coord *w, Evas_Coord *h) +_elm_pan_content_size_get(const Eo *obj EINA_UNUSED, Elm_Pan_Smart_Data *psd, Evas_Coord *w, Evas_Coord *h) { if (w) *w = psd->content_w; if (h) *h = psd->content_h; @@ -1180,13 +1180,13 @@ _elm_scroll_edje_drag_h_cb(void *data, } EOLIAN static void -_elm_interface_scrollable_content_size_get(Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, Evas_Coord *w, Evas_Coord *h) +_elm_interface_scrollable_content_size_get(const Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, Evas_Coord *w, Evas_Coord *h) { elm_obj_pan_content_size_get(sid->pan_obj, w, h); } EOLIAN static void -_elm_interface_scrollable_content_viewport_geometry_get(Eo *obj EINA_UNUSED, +_elm_interface_scrollable_content_viewport_geometry_get(const Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, Evas_Coord *x, Evas_Coord *y, @@ -1483,7 +1483,7 @@ _elm_scroll_bounce_eval(Elm_Scrollable_Smart_Interface_Data *sid) } EOLIAN static void -_elm_interface_scrollable_content_pos_get(Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, Evas_Coord *x, Evas_Coord *y) +_elm_interface_scrollable_content_pos_get(const Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, Evas_Coord *x, Evas_Coord *y) { if (!sid->pan_obj) return; @@ -1801,7 +1801,7 @@ _elm_scroll_content_region_show_internal(Evas_Object *obj, } EOLIAN static void -_elm_interface_scrollable_content_region_get(Eo *obj, Elm_Scrollable_Smart_Interface_Data *_pd EINA_UNUSED, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h) +_elm_interface_scrollable_content_region_get(const Eo *obj, Elm_Scrollable_Smart_Interface_Data *_pd EINA_UNUSED, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h) { elm_interface_scrollable_content_pos_get(obj, x, y); elm_interface_scrollable_content_viewport_geometry_get @@ -4178,7 +4178,7 @@ _elm_interface_scrollable_content_viewport_resize_cb_set(Eo *obj EINA_UNUSED, El } EOLIAN static Eina_Bool -_elm_interface_scrollable_momentum_animator_disabled_get(Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid) +_elm_interface_scrollable_momentum_animator_disabled_get(const Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid) { return sid->momentum_animator_disabled; } @@ -4199,7 +4199,7 @@ _elm_interface_scrollable_momentum_animator_disabled_set(Eo *obj EINA_UNUSED, El } EOLIAN static Eina_Bool -_elm_interface_scrollable_bounce_animator_disabled_get(Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid) +_elm_interface_scrollable_bounce_animator_disabled_get(const Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid) { return sid->bounce_animator_disabled; } @@ -4216,7 +4216,7 @@ _elm_interface_scrollable_bounce_animator_disabled_set(Eo *obj EINA_UNUSED, Elm_ } EOLIAN static Eina_Bool -_elm_interface_scrollable_wheel_disabled_get(Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid) +_elm_interface_scrollable_wheel_disabled_get(const Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid) { return sid->wheel_disabled; } @@ -4249,7 +4249,7 @@ _elm_interface_scrollable_step_size_set(Eo *obj EINA_UNUSED, Elm_Scrollable_Smar } EOLIAN static void -_elm_interface_scrollable_step_size_get(Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, Evas_Coord *x, Evas_Coord *y) +_elm_interface_scrollable_step_size_get(const Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, Evas_Coord *x, Evas_Coord *y) { if (x) *x = sid->step.x; if (y) *y = sid->step.y; @@ -4265,7 +4265,7 @@ _elm_interface_scrollable_page_size_set(Eo *obj EINA_UNUSED, Elm_Scrollable_Smar } EOLIAN static void -_elm_interface_scrollable_page_size_get(Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, Evas_Coord *x, Evas_Coord *y) +_elm_interface_scrollable_page_size_get(const Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, Evas_Coord *x, Evas_Coord *y) { if (x) *x = sid->page.x; if (y) *y = sid->page.y; @@ -4287,7 +4287,7 @@ _elm_interface_scrollable_policy_set(Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_I } EOLIAN static void -_elm_interface_scrollable_policy_get(Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, Elm_Scroller_Policy *hbar, Elm_Scroller_Policy *vbar) +_elm_interface_scrollable_policy_get(const Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, Elm_Scroller_Policy *hbar, Elm_Scroller_Policy *vbar) { if (hbar) *hbar = sid->hbar_flags; if (vbar) *vbar = sid->vbar_flags; @@ -4300,7 +4300,7 @@ _elm_interface_scrollable_single_direction_set(Eo *obj EINA_UNUSED, Elm_Scrollab } EOLIAN static Elm_Scroller_Single_Direction -_elm_interface_scrollable_single_direction_get(Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid) +_elm_interface_scrollable_single_direction_get(const Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid) { return sid->one_direction_at_a_time; } @@ -4313,7 +4313,7 @@ _elm_interface_scrollable_content_events_set(Eo *obj EINA_UNUSED, Elm_Scrollable } EOLIAN static Eina_Bool -_elm_interface_scrollable_content_events_get(Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid) +_elm_interface_scrollable_content_events_get(const Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid) { if (sid->event_rect) return evas_object_repeat_events_get(sid->event_rect); @@ -4353,7 +4353,7 @@ _elm_interface_scrollable_page_snap_allow_set(Eo *obj EINA_UNUSED, Elm_Scrollabl } EOLIAN static void -_elm_interface_scrollable_page_snap_allow_get(Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, Eina_Bool *horiz, Eina_Bool *vert) +_elm_interface_scrollable_page_snap_allow_get(const Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, Eina_Bool *horiz, Eina_Bool *vert) { if (horiz) *horiz = sid->page_snap_horiz; if (vert) *vert = sid->page_snap_vert; @@ -4367,7 +4367,7 @@ _elm_interface_scrollable_bounce_allow_set(Eo *obj EINA_UNUSED, Elm_Scrollable_S } EOLIAN static void -_elm_interface_scrollable_bounce_allow_get(Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, Eina_Bool *horiz, Eina_Bool *vert) +_elm_interface_scrollable_bounce_allow_get(const Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, Eina_Bool *horiz, Eina_Bool *vert) { if (horiz) *horiz = sid->bounce_horiz; if (vert) *vert = sid->bounce_vert; @@ -4385,7 +4385,7 @@ _elm_interface_scrollable_paging_set(Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_I } EOLIAN static void -_elm_interface_scrollable_paging_get(Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, double *pagerel_h, double *pagerel_v, Evas_Coord *pagesize_h, Evas_Coord *pagesize_v) +_elm_interface_scrollable_paging_get(const Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, double *pagerel_h, double *pagerel_v, Evas_Coord *pagesize_h, Evas_Coord *pagesize_v) { if (pagerel_h) *pagerel_h = sid->pagerel_h; if (pagerel_v) *pagerel_v = sid->pagerel_v; @@ -4411,14 +4411,14 @@ _elm_interface_scrollable_page_scroll_limit_set(Eo *obj EINA_UNUSED, Elm_Scrolla } EOLIAN static void -_elm_interface_scrollable_page_scroll_limit_get(Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, int *page_limit_h, int *page_limit_v) +_elm_interface_scrollable_page_scroll_limit_get(const Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, int *page_limit_h, int *page_limit_v) { if (page_limit_h) *page_limit_h = sid->page_limit_h; if (page_limit_v) *page_limit_v = sid->page_limit_v; } EOLIAN static void -_elm_interface_scrollable_current_page_get(Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, int *pagenumber_h, int *pagenumber_v) +_elm_interface_scrollable_current_page_get(const Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, int *pagenumber_h, int *pagenumber_v) { Evas_Coord x, y; @@ -4457,7 +4457,7 @@ _elm_interface_scrollable_current_page_get(Eo *obj EINA_UNUSED, Elm_Scrollable_S } EOLIAN static void -_elm_interface_scrollable_last_page_get(Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, int *pagenumber_h, int *pagenumber_v) +_elm_interface_scrollable_last_page_get(const Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, int *pagenumber_h, int *pagenumber_v) { Evas_Coord cw, ch; @@ -4549,7 +4549,7 @@ _elm_interface_scrollable_gravity_set(Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_ } EOLIAN static void -_elm_interface_scrollable_gravity_get(Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, double *x, double *y) +_elm_interface_scrollable_gravity_get(const Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, double *x, double *y) { if (x) *x = sid->gravity_x; if (y) *y = sid->gravity_y; @@ -4562,7 +4562,7 @@ _elm_interface_scrollable_movement_block_set(Eo *obj EINA_UNUSED, Elm_Scrollable } EOLIAN static Efl_Ui_Scroll_Block -_elm_interface_scrollable_movement_block_get(Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid) +_elm_interface_scrollable_movement_block_get(const Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid) { return sid->block; } @@ -4587,7 +4587,7 @@ _elm_interface_scrollable_content_loop_set(Eo *obj EINA_UNUSED, Elm_Scrollable_S } EOLIAN static void -_elm_interface_scrollable_content_loop_get(Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, Eina_Bool *loop_h, Eina_Bool *loop_v) +_elm_interface_scrollable_content_loop_get(const Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *sid, Eina_Bool *loop_h, Eina_Bool *loop_v) { *loop_h = sid->loop_h; *loop_v = sid->loop_v; @@ -4700,7 +4700,7 @@ _filter_cb(const void *iterator EINA_UNUSED, void *data, void *fdata) } EOLIAN static Eina_Iterator* -_elm_interface_scrollable_efl_ui_focus_manager_border_elements_get(Eo *obj, Elm_Scrollable_Smart_Interface_Data *pd EINA_UNUSED) +_elm_interface_scrollable_efl_ui_focus_manager_border_elements_get(const Eo *obj, Elm_Scrollable_Smart_Interface_Data *pd EINA_UNUSED) { Eina_Iterator *border_elements; Eina_Rectangle *rect = calloc(1, sizeof(Eina_Rectangle)); @@ -4717,7 +4717,7 @@ _elm_interface_scrollable_item_loop_enabled_set(Eo *obj EINA_UNUSED, Elm_Scrolla } EOLIAN static Eina_Bool -_elm_interface_scrollable_item_loop_enabled_get(Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *pd EINA_UNUSED) +_elm_interface_scrollable_item_loop_enabled_get(const Eo *obj EINA_UNUSED, Elm_Scrollable_Smart_Interface_Data *pd EINA_UNUSED) { return EINA_FALSE; } diff --git a/src/lib/elementary/elm_interface_scrollable.eo b/src/lib/elementary/elm_interface_scrollable.eo index e6f1937ea5..b6554cd114 100644 --- a/src/lib/elementary/elm_interface_scrollable.eo +++ b/src/lib/elementary/elm_interface_scrollable.eo @@ -575,7 +575,7 @@ mixin Elm.Interface_Scrollable(Efl.Ui.Scrollable, Efl.Ui.Focus.Manager.Sub, Efl. scroll direction, or if an edge was reached.]] } } - content_pos_get { + content_pos_get @const { [[Get content position]] params { @out x: int; [[X coordinate]] diff --git a/src/lib/elementary/elm_label.c b/src/lib/elementary/elm_label.c index 5708a74f69..ab360cdfcf 100644 --- a/src/lib/elementary/elm_label.c +++ b/src/lib/elementary/elm_label.c @@ -480,7 +480,7 @@ _elm_label_line_wrap_set(Eo *obj, Elm_Label_Data *sd, Elm_Wrap_Type wrap) } EOLIAN static Elm_Wrap_Type -_elm_label_line_wrap_get(Eo *obj EINA_UNUSED, Elm_Label_Data *sd) +_elm_label_line_wrap_get(const Eo *obj EINA_UNUSED, Elm_Label_Data *sd) { return sd->linewrap; } @@ -503,7 +503,7 @@ _elm_label_wrap_width_set(Eo *obj, Elm_Label_Data *sd, Evas_Coord w) } EOLIAN static Evas_Coord -_elm_label_wrap_width_get(Eo *obj EINA_UNUSED, Elm_Label_Data *sd) +_elm_label_wrap_width_get(const Eo *obj EINA_UNUSED, Elm_Label_Data *sd) { return sd->wrap_w; } @@ -545,7 +545,7 @@ _elm_label_ellipsis_set(Eo *obj, Elm_Label_Data *sd, Eina_Bool ellipsis) } EOLIAN static Eina_Bool -_elm_label_ellipsis_get(Eo *obj EINA_UNUSED, Elm_Label_Data *sd) +_elm_label_ellipsis_get(const Eo *obj EINA_UNUSED, Elm_Label_Data *sd) { return sd->ellipsis; } @@ -557,7 +557,7 @@ _elm_label_slide_mode_set(Eo *obj EINA_UNUSED, Elm_Label_Data *sd, Elm_Label_Sli } EOLIAN static Elm_Label_Slide_Mode -_elm_label_slide_mode_get(Eo *obj EINA_UNUSED, Elm_Label_Data *sd) +_elm_label_slide_mode_get(const Eo *obj EINA_UNUSED, Elm_Label_Data *sd) { return sd->slide_mode; } @@ -595,7 +595,7 @@ _elm_label_slide_speed_set(Eo *obj EINA_UNUSED, Elm_Label_Data *sd, double speed } EOLIAN static double -_elm_label_slide_speed_get(Eo *obj EINA_UNUSED, Elm_Label_Data *sd) +_elm_label_slide_speed_get(const Eo *obj EINA_UNUSED, Elm_Label_Data *sd) { return sd->slide_speed; } @@ -610,7 +610,7 @@ _elm_label_slide_go(Eo *obj, Elm_Label_Data *sd) } EOLIAN static double -_elm_label_slide_duration_get(Eo *obj EINA_UNUSED, Elm_Label_Data *sd) +_elm_label_slide_duration_get(const Eo *obj EINA_UNUSED, Elm_Label_Data *sd) { return sd->slide_duration; } diff --git a/src/lib/elementary/elm_list.c b/src/lib/elementary/elm_list.c index 863497be70..1c9ee23d17 100644 --- a/src/lib/elementary/elm_list.c +++ b/src/lib/elementary/elm_list.c @@ -1964,7 +1964,7 @@ _elm_list_item_elm_widget_item_part_content_set(Eo *eo_item EINA_UNUSED, Elm_Lis } EOLIAN static Evas_Object * -_elm_list_item_elm_widget_item_part_content_get(Eo *eo_item EINA_UNUSED, Elm_List_Item_Data *item, +_elm_list_item_elm_widget_item_part_content_get(const Eo *eo_item EINA_UNUSED, Elm_List_Item_Data *item, const char *part) { if ((!part) || (!strcmp(part, "start"))) @@ -2018,7 +2018,7 @@ _elm_list_item_elm_widget_item_part_text_set(Eo *eo_list_it, Elm_List_Item_Data } EOLIAN static const char * -_elm_list_item_elm_widget_item_part_text_get(Eo *eo_it, Elm_List_Item_Data *it, +_elm_list_item_elm_widget_item_part_text_get(const Eo *eo_it, Elm_List_Item_Data *it, const char *part) { if (part && strcmp(part, "default")) @@ -2106,7 +2106,7 @@ _elm_list_item_elm_widget_item_item_focus_set(Eo *eo_it, Elm_List_Item_Data *it, } EOLIAN static Eina_Bool -_elm_list_item_elm_widget_item_item_focus_get(Eo *eo_it, Elm_List_Item_Data *it) +_elm_list_item_elm_widget_item_item_focus_get(const Eo *eo_it, Elm_List_Item_Data *it) { ELM_LIST_ITEM_CHECK_OR_RETURN(it, EINA_FALSE); Evas_Object *obj = WIDGET(it); @@ -2119,7 +2119,7 @@ _elm_list_item_elm_widget_item_item_focus_get(Eo *eo_it, Elm_List_Item_Data *it) } EOLIAN static Efl_Access_State_Set -_elm_list_item_efl_access_state_set_get(Eo *eo_it, Elm_List_Item_Data *data EINA_UNUSED) +_elm_list_item_efl_access_state_set_get(const Eo *eo_it, Elm_List_Item_Data *data EINA_UNUSED) { Efl_Access_State_Set ret; Eina_Bool sel; @@ -2141,7 +2141,7 @@ _elm_list_item_efl_access_state_set_get(Eo *eo_it, Elm_List_Item_Data *data EINA } EOLIAN static const char* -_elm_list_item_efl_access_i18n_name_get(Eo *eo_it, Elm_List_Item_Data *data) +_elm_list_item_efl_access_i18n_name_get(const Eo *eo_it, Elm_List_Item_Data *data) { const char *ret; ret = efl_access_i18n_name_get(efl_super(eo_it, ELM_LIST_ITEM_CLASS)); @@ -2543,7 +2543,7 @@ _elm_list_multi_select_set(Eo *obj EINA_UNUSED, Elm_List_Data *sd, Eina_Bool mul } EOLIAN static Eina_Bool -_elm_list_multi_select_get(Eo *obj EINA_UNUSED, Elm_List_Data *sd) +_elm_list_multi_select_get(const Eo *obj EINA_UNUSED, Elm_List_Data *sd) { return sd->multi; } @@ -2559,7 +2559,7 @@ _elm_list_multi_select_mode_set(Eo *obj EINA_UNUSED, Elm_List_Data *sd, Elm_Obje } EOLIAN static Elm_Object_Multi_Select_Mode -_elm_list_multi_select_mode_get(Eo *obj EINA_UNUSED, Elm_List_Data *sd) +_elm_list_multi_select_mode_get(const Eo *obj EINA_UNUSED, Elm_List_Data *sd) { return sd->multi_select_mode; } @@ -2586,7 +2586,7 @@ _elm_list_mode_set(Eo *obj, Elm_List_Data *sd, Elm_List_Mode mode) } EOLIAN static Elm_List_Mode -_elm_list_mode_get(Eo *obj EINA_UNUSED, Elm_List_Data *sd) +_elm_list_mode_get(const Eo *obj EINA_UNUSED, Elm_List_Data *sd) { return sd->mode; } @@ -2619,7 +2619,7 @@ _elm_list_horizontal_set(Eo *obj, Elm_List_Data *sd, Eina_Bool horizontal) } EOLIAN static Eina_Bool -_elm_list_horizontal_get(Eo *obj EINA_UNUSED, Elm_List_Data *sd) +_elm_list_horizontal_get(const Eo *obj EINA_UNUSED, Elm_List_Data *sd) { return sd->h_mode; } @@ -2635,7 +2635,7 @@ _elm_list_select_mode_set(Eo *obj EINA_UNUSED, Elm_List_Data *sd, Elm_Object_Sel } EOLIAN static Elm_Object_Select_Mode -_elm_list_select_mode_get(Eo *obj EINA_UNUSED, Elm_List_Data *sd) +_elm_list_select_mode_get(const Eo *obj EINA_UNUSED, Elm_List_Data *sd) { return sd->select_mode; } @@ -2732,20 +2732,20 @@ _elm_list_clear(Eo *obj, Elm_List_Data *sd) } EOLIAN static const Eina_List* -_elm_list_items_get(Eo *obj EINA_UNUSED, Elm_List_Data *sd) +_elm_list_items_get(const Eo *obj EINA_UNUSED, Elm_List_Data *sd) { return sd->items; } EOLIAN static Elm_Object_Item* -_elm_list_selected_item_get(Eo *obj EINA_UNUSED, Elm_List_Data *sd) +_elm_list_selected_item_get(const Eo *obj EINA_UNUSED, Elm_List_Data *sd) { if (sd->selected) return sd->selected->data; else return NULL; } EOLIAN static const Eina_List* -_elm_list_selected_items_get(Eo *obj EINA_UNUSED, Elm_List_Data *sd) +_elm_list_selected_items_get(const Eo *obj EINA_UNUSED, Elm_List_Data *sd) { return sd->selected; } @@ -2873,7 +2873,7 @@ _elm_list_item_separator_set(Eo *eo_item, Elm_List_Item_Data *it, Eina_Bool sett } EOLIAN static Eina_Bool -_elm_list_item_separator_get(Eo *eo_item EINA_UNUSED, Elm_List_Item_Data *it) +_elm_list_item_separator_get(const Eo *eo_item EINA_UNUSED, Elm_List_Item_Data *it) { ELM_LIST_ITEM_CHECK_OR_RETURN(it, EINA_FALSE); @@ -2923,7 +2923,7 @@ _elm_list_item_selected_set(Eo *eo_item EINA_UNUSED, Elm_List_Item_Data *item, } EOLIAN static Eina_Bool -_elm_list_item_selected_get(Eo *eo_item EINA_UNUSED, Elm_List_Item_Data *it) +_elm_list_item_selected_get(const Eo *eo_item EINA_UNUSED, Elm_List_Item_Data *it) { ELM_LIST_ITEM_CHECK_OR_RETURN(it, EINA_FALSE); @@ -2967,7 +2967,7 @@ _elm_list_item_bring_in(Eo *eo_it EINA_UNUSED, Elm_List_Item_Data *it) } EOLIAN static Evas_Object * -_elm_list_item_object_get(Eo *eo_it EINA_UNUSED, Elm_List_Item_Data *it) +_elm_list_item_object_get(const Eo *eo_it EINA_UNUSED, Elm_List_Item_Data *it) { ELM_LIST_ITEM_CHECK_OR_RETURN(it, NULL); @@ -2975,7 +2975,7 @@ _elm_list_item_object_get(Eo *eo_it EINA_UNUSED, Elm_List_Item_Data *it) } EOLIAN static Elm_Object_Item * -_elm_list_item_prev_get(Eo *eo_item EINA_UNUSED, Elm_List_Item_Data *item) +_elm_list_item_prev_get(const Eo *eo_item EINA_UNUSED, Elm_List_Item_Data *item) { if (item->node->prev) return item->node->prev->data; @@ -2983,7 +2983,7 @@ _elm_list_item_prev_get(Eo *eo_item EINA_UNUSED, Elm_List_Item_Data *item) } EOLIAN static Elm_Object_Item * -_elm_list_item_next_get(Eo *eo_item EINA_UNUSED, Elm_List_Item_Data *item) +_elm_list_item_next_get(const Eo *eo_item EINA_UNUSED, Elm_List_Item_Data *item) { if (item->node->next) return item->node->next->data; @@ -2991,7 +2991,7 @@ _elm_list_item_next_get(Eo *eo_item EINA_UNUSED, Elm_List_Item_Data *item) } EOLIAN static Elm_Object_Item* -_elm_list_first_item_get(Eo *obj EINA_UNUSED, Elm_List_Data *sd) +_elm_list_first_item_get(const Eo *obj EINA_UNUSED, Elm_List_Data *sd) { if (!sd->items) return NULL; else @@ -3000,7 +3000,7 @@ _elm_list_first_item_get(Eo *obj EINA_UNUSED, Elm_List_Data *sd) } EOLIAN static Elm_Object_Item* -_elm_list_last_item_get(Eo *obj EINA_UNUSED, Elm_List_Data *sd) +_elm_list_last_item_get(const Eo *obj EINA_UNUSED, Elm_List_Data *sd) { if (!sd->items) return NULL; else @@ -3059,7 +3059,7 @@ _elm_list_focus_on_selection_set(Eo *obj EINA_UNUSED, Elm_List_Data *sd, Eina_Bo } EOLIAN static Eina_Bool -_elm_list_focus_on_selection_get(Eo *obj EINA_UNUSED, Elm_List_Data *sd) +_elm_list_focus_on_selection_get(const Eo *obj EINA_UNUSED, Elm_List_Data *sd) { return sd->focus_on_selection_enabled; } @@ -3088,7 +3088,7 @@ _elm_list_item_coordinates_adjust(Elm_List_Item_Data *it) } EOLIAN static Eina_Rect -_elm_list_efl_ui_widget_focus_highlight_geometry_get(Eo *obj, Elm_List_Data *sd) +_elm_list_efl_ui_widget_focus_highlight_geometry_get(const Eo *obj, Elm_List_Data *sd) { Eina_Rect r = {}; @@ -3107,7 +3107,7 @@ _elm_list_efl_ui_widget_focus_highlight_geometry_get(Eo *obj, Elm_List_Data *sd) } EOLIAN static Elm_Object_Item* -_elm_list_efl_ui_widget_focused_item_get(Eo *obj EINA_UNUSED, Elm_List_Data *sd) +_elm_list_efl_ui_widget_focused_item_get(const Eo *obj EINA_UNUSED, Elm_List_Data *sd) { return sd->focused_item; } @@ -3119,7 +3119,7 @@ _elm_list_elm_interface_scrollable_item_loop_enabled_set(Eo *obj EINA_UNUSED, El } EOLIAN static Eina_Bool -_elm_list_elm_interface_scrollable_item_loop_enabled_get(Eo *obj EINA_UNUSED, Elm_List_Data *sd) +_elm_list_elm_interface_scrollable_item_loop_enabled_get(const Eo *obj EINA_UNUSED, Elm_List_Data *sd) { return sd->item_loop_enable; } @@ -3134,7 +3134,7 @@ _elm_list_class_constructor(Efl_Class *klass) } EOLIAN const Efl_Access_Action_Data * -_elm_list_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_List_Data *pd EINA_UNUSED) +_elm_list_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_List_Data *pd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "move,prior", "move", "prior", _key_action_move}, @@ -3157,7 +3157,7 @@ _elm_list_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_List } EOLIAN Eina_List* -_elm_list_efl_access_access_children_get(Eo *obj, Elm_List_Data *pd) +_elm_list_efl_access_access_children_get(const Eo *obj, Elm_List_Data *pd) { Eina_List *ret; ret = efl_access_children_get(efl_super(obj, ELM_LIST_CLASS)); @@ -3165,13 +3165,13 @@ _elm_list_efl_access_access_children_get(Eo *obj, Elm_List_Data *pd) } EOLIAN int -_elm_list_efl_access_selection_selected_children_count_get(Eo *objm EINA_UNUSED, Elm_List_Data *pd) +_elm_list_efl_access_selection_selected_children_count_get(const Eo *objm EINA_UNUSED, Elm_List_Data *pd) { return eina_list_count(pd->selected); } EOLIAN Eo* -_elm_list_efl_access_selection_selected_child_get(Eo *obj EINA_UNUSED, Elm_List_Data *pd, int child_idx) +_elm_list_efl_access_selection_selected_child_get(const Eo *obj EINA_UNUSED, Elm_List_Data *pd, int child_idx) { return eina_list_nth(pd->selected, child_idx); } diff --git a/src/lib/elementary/elm_map.c b/src/lib/elementary/elm_map.c index 6bbc65fd63..ae973880ba 100644 --- a/src/lib/elementary/elm_map.c +++ b/src/lib/elementary/elm_map.c @@ -3864,14 +3864,14 @@ _elm_map_pan_elm_pan_pos_set(Eo *obj, Elm_Map_Pan_Data *psd, Evas_Coord x, Evas_ } EOLIAN static void -_elm_map_pan_elm_pan_pos_get(Eo *obj EINA_UNUSED, Elm_Map_Pan_Data *psd, Evas_Coord *x, Evas_Coord *y) +_elm_map_pan_elm_pan_pos_get(const Eo *obj EINA_UNUSED, Elm_Map_Pan_Data *psd, Evas_Coord *x, Evas_Coord *y) { if (x) *x = psd->wsd->pan_x; if (y) *y = psd->wsd->pan_y; } EOLIAN static void -_elm_map_pan_elm_pan_pos_max_get(Eo *obj, Elm_Map_Pan_Data *psd, Evas_Coord *x, Evas_Coord *y) +_elm_map_pan_elm_pan_pos_max_get(const Eo *obj, Elm_Map_Pan_Data *psd, Evas_Coord *x, Evas_Coord *y) { Evas_Coord ow, oh; @@ -3886,14 +3886,14 @@ _elm_map_pan_elm_pan_pos_max_get(Eo *obj, Elm_Map_Pan_Data *psd, Evas_Coord *x, } EOLIAN static void -_elm_map_pan_elm_pan_pos_min_get(Eo *obj EINA_UNUSED, Elm_Map_Pan_Data *_pd EINA_UNUSED, Evas_Coord *x, Evas_Coord *y) +_elm_map_pan_elm_pan_pos_min_get(const Eo *obj EINA_UNUSED, Elm_Map_Pan_Data *_pd EINA_UNUSED, Evas_Coord *x, Evas_Coord *y) { if (x) *x = 0; if (y) *y = 0; } EOLIAN static void -_elm_map_pan_elm_pan_content_size_get(Eo *obj EINA_UNUSED, Elm_Map_Pan_Data *psd, Evas_Coord *w, Evas_Coord *h) +_elm_map_pan_elm_pan_content_size_get(const Eo *obj EINA_UNUSED, Elm_Map_Pan_Data *psd, Evas_Coord *w, Evas_Coord *h) { if (w) *w = psd->wsd->size.w; if (h) *h = psd->wsd->size.h; @@ -4356,7 +4356,7 @@ _elm_map_zoom_max_set(Eo *obj EINA_UNUSED, Elm_Map_Data *sd, int zoom) } EOLIAN static int -_elm_map_zoom_max_get(Eo *obj EINA_UNUSED, Elm_Map_Data *sd) +_elm_map_zoom_max_get(const Eo *obj EINA_UNUSED, Elm_Map_Data *sd) { EINA_SAFETY_ON_NULL_RETURN_VAL(sd->src_tile, -1); @@ -4372,7 +4372,7 @@ _elm_map_zoom_min_set(Eo *obj EINA_UNUSED, Elm_Map_Data *sd, int zoom) } EOLIAN static int -_elm_map_zoom_min_get(Eo *obj EINA_UNUSED, Elm_Map_Data *sd) +_elm_map_zoom_min_get(const Eo *obj EINA_UNUSED, Elm_Map_Data *sd) { EINA_SAFETY_ON_NULL_RETURN_VAL(sd->src_tile, -1); @@ -4408,7 +4408,7 @@ _elm_map_region_zoom_bring_in(Eo *obj EINA_UNUSED, Elm_Map_Data *sd, int zoom, d } EOLIAN static void -_elm_map_region_get(Eo *obj EINA_UNUSED, Elm_Map_Data *sd, double *lon, double *lat) +_elm_map_region_get(const Eo *obj EINA_UNUSED, Elm_Map_Data *sd, double *lon, double *lat) { double tlon, tlat; Evas_Coord vx = 0, vy = 0, vw = 0, vh = 0; @@ -4445,7 +4445,7 @@ _elm_map_paused_set(Eo *obj, Elm_Map_Data *sd, Eina_Bool paused) } EOLIAN static Eina_Bool -_elm_map_paused_get(Eo *obj EINA_UNUSED, Elm_Map_Data *sd) +_elm_map_paused_get(const Eo *obj EINA_UNUSED, Elm_Map_Data *sd) { return sd->paused; } @@ -4461,7 +4461,7 @@ _elm_map_map_rotate_set(Eo *obj EINA_UNUSED, Elm_Map_Data *sd, double degree, Ev } EOLIAN static void -_elm_map_map_rotate_get(Eo *obj EINA_UNUSED, Elm_Map_Data *sd, double *degree, Evas_Coord *cx, Evas_Coord *cy) +_elm_map_map_rotate_get(const Eo *obj EINA_UNUSED, Elm_Map_Data *sd, double *degree, Evas_Coord *cx, Evas_Coord *cy) { if (degree) *degree = sd->rotate.d; if (cx) *cx = sd->rotate.cx; @@ -4482,7 +4482,7 @@ _elm_map_elm_interface_scrollable_wheel_disabled_set(Eo *obj, Elm_Map_Data *sd, } EOLIAN static void -_elm_map_tile_load_status_get(Eo *obj EINA_UNUSED, Elm_Map_Data *sd, int *try_num, int *finish_num) +_elm_map_tile_load_status_get(const Eo *obj EINA_UNUSED, Elm_Map_Data *sd, int *try_num, int *finish_num) { if (try_num) *try_num = sd->try_num; if (finish_num) *finish_num = sd->finish_num; @@ -4520,7 +4520,7 @@ _elm_map_user_agent_set(Eo *obj EINA_UNUSED, Elm_Map_Data *sd, const char *user_ } EOLIAN static const char* -_elm_map_user_agent_get(Eo *obj EINA_UNUSED, Elm_Map_Data *sd) +_elm_map_user_agent_get(const Eo *obj EINA_UNUSED, Elm_Map_Data *sd) { return sd->user_agent; } @@ -4779,7 +4779,7 @@ _elm_map_overlay_add(Eo *obj EINA_UNUSED, Elm_Map_Data *sd, double lon, double l } EOLIAN static Eina_List * -_elm_map_overlays_get(Eo *obj EINA_UNUSED, Elm_Map_Data *sd) +_elm_map_overlays_get(const Eo *obj EINA_UNUSED, Elm_Map_Data *sd) { Eina_List *l; Elm_Map_Overlay *ovl; @@ -5615,7 +5615,7 @@ _elm_map_class_constructor(Efl_Class *klass) } EOLIAN const Efl_Access_Action_Data * -_elm_map_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Map_Data *pd EINA_UNUSED) +_elm_map_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Map_Data *pd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "move,prior", "move", "prior", _key_action_move}, diff --git a/src/lib/elementary/elm_mapbuf.c b/src/lib/elementary/elm_mapbuf.c index 36a824c679..a6346a3a65 100644 --- a/src/lib/elementary/elm_mapbuf.c +++ b/src/lib/elementary/elm_mapbuf.c @@ -227,7 +227,7 @@ _elm_mapbuf_content_set(Eo *obj, Elm_Mapbuf_Data *sd, const char *part, Evas_Obj } static Evas_Object* -_elm_mapbuf_content_get(Eo *obj EINA_UNUSED, Elm_Mapbuf_Data *sd, const char *part) +_elm_mapbuf_content_get(const Eo *obj EINA_UNUSED, Elm_Mapbuf_Data *sd, const char *part) { if (part && strcmp(part, "default")) return NULL; return sd->content; @@ -253,7 +253,7 @@ _elm_mapbuf_efl_content_content_set(Eo *obj, Elm_Mapbuf_Data *sd, Evas_Object *c } EOLIAN static Evas_Object* -_elm_mapbuf_efl_content_content_get(Eo *obj, Elm_Mapbuf_Data *sd) +_elm_mapbuf_efl_content_content_get(const Eo *obj, Elm_Mapbuf_Data *sd) { return _elm_mapbuf_content_get(obj, sd, NULL); } @@ -345,7 +345,7 @@ _elm_mapbuf_enabled_set(Eo *obj, Elm_Mapbuf_Data *sd, Eina_Bool enabled) } EOLIAN static Eina_Bool -_elm_mapbuf_enabled_get(Eo *obj EINA_UNUSED, Elm_Mapbuf_Data *sd) +_elm_mapbuf_enabled_get(const Eo *obj EINA_UNUSED, Elm_Mapbuf_Data *sd) { return sd->enabled; } @@ -360,7 +360,7 @@ _elm_mapbuf_smooth_set(Eo *obj, Elm_Mapbuf_Data *sd, Eina_Bool smooth) } EOLIAN static Eina_Bool -_elm_mapbuf_smooth_get(Eo *obj EINA_UNUSED, Elm_Mapbuf_Data *sd) +_elm_mapbuf_smooth_get(const Eo *obj EINA_UNUSED, Elm_Mapbuf_Data *sd) { return sd->smooth; } @@ -374,7 +374,7 @@ _elm_mapbuf_alpha_set(Eo *obj, Elm_Mapbuf_Data *sd, Eina_Bool alpha) } EOLIAN static Eina_Bool -_elm_mapbuf_alpha_get(Eo *obj EINA_UNUSED, Elm_Mapbuf_Data *sd) +_elm_mapbuf_alpha_get(const Eo *obj EINA_UNUSED, Elm_Mapbuf_Data *sd) { return sd->alpha; } @@ -398,13 +398,13 @@ _elm_mapbuf_auto_set(Eo *obj, Elm_Mapbuf_Data *sd, Eina_Bool on) } EOLIAN static Eina_Bool -_elm_mapbuf_auto_get(Eo *obj EINA_UNUSED, Elm_Mapbuf_Data *sd) +_elm_mapbuf_auto_get(const Eo *obj EINA_UNUSED, Elm_Mapbuf_Data *sd) { return sd->automode; } EOLIAN static void -_elm_mapbuf_point_color_get(Eo *obj EINA_UNUSED, Elm_Mapbuf_Data *sd, int idx, int *r, int *g, int *b, int *a) +_elm_mapbuf_point_color_get(const Eo *obj EINA_UNUSED, Elm_Mapbuf_Data *sd, int idx, int *r, int *g, int *b, int *a) { if ((idx < 0) || (idx >= 4)) { diff --git a/src/lib/elementary/elm_menu.c b/src/lib/elementary/elm_menu.c index 6088c6fda6..593f58439e 100644 --- a/src/lib/elementary/elm_menu.c +++ b/src/lib/elementary/elm_menu.c @@ -330,7 +330,7 @@ _elm_menu_item_elm_widget_item_part_text_set(Eo *eo_item EINA_UNUSED, } EOLIAN static const char * -_elm_menu_item_elm_widget_item_part_text_get(Eo *eo_item EINA_UNUSED, +_elm_menu_item_elm_widget_item_part_text_get(const Eo *eo_item EINA_UNUSED, Elm_Menu_Item_Data *it, const char *part) { @@ -358,7 +358,7 @@ _elm_menu_item_elm_widget_item_part_content_set(Eo *eo_item EINA_UNUSED, } EOLIAN static Evas_Object * -_elm_menu_item_elm_widget_item_part_content_get(Eo *eo_item EINA_UNUSED, +_elm_menu_item_elm_widget_item_part_content_get(const Eo *eo_item EINA_UNUSED, Elm_Menu_Item_Data *it, const char *part) { @@ -917,7 +917,7 @@ elm_menu_parent_get(const Evas_Object *obj) } EOLIAN static Evas_Object* -_elm_menu_efl_ui_widget_widget_parent_get(Eo *obj EINA_UNUSED, Elm_Menu_Data *sd) +_elm_menu_efl_ui_widget_widget_parent_get(const Eo *obj EINA_UNUSED, Elm_Menu_Data *sd) { return sd->parent; } @@ -1179,7 +1179,7 @@ _elm_menu_item_separator_add(Eo *obj, Elm_Menu_Data *sd, Elm_Object_Item *eo_p_i } EOLIAN static const char * -_elm_menu_item_icon_name_get(Eo *eo_item EINA_UNUSED, Elm_Menu_Item_Data *item) +_elm_menu_item_icon_name_get(const Eo *eo_item EINA_UNUSED, Elm_Menu_Item_Data *item) { return item->icon_str; } @@ -1208,7 +1208,7 @@ _elm_menu_item_subitems_clear(Eo *eo_item EINA_UNUSED, Elm_Menu_Item_Data *it) } EOLIAN static const Eina_List * -_elm_menu_items_get(Eo *obj EINA_UNUSED, Elm_Menu_Data *sd) +_elm_menu_items_get(const Eo *obj EINA_UNUSED, Elm_Menu_Data *sd) { return sd->items; } @@ -1234,13 +1234,13 @@ _elm_menu_item_selected_set(Eo *eo_item EINA_UNUSED, } EOLIAN static Eina_Bool -_elm_menu_item_selected_get(Eo *eo_item EINA_UNUSED, Elm_Menu_Item_Data *item) +_elm_menu_item_selected_get(const Eo *eo_item EINA_UNUSED, Elm_Menu_Item_Data *item) { return item->selected; } EOLIAN static Elm_Object_Item * -_elm_menu_item_prev_get(Eo *eo_item, Elm_Menu_Item_Data *item) +_elm_menu_item_prev_get(const Eo *eo_item, Elm_Menu_Item_Data *item) { if (item->parent) { @@ -1264,7 +1264,7 @@ _elm_menu_item_prev_get(Eo *eo_item, Elm_Menu_Item_Data *item) } EOLIAN static Elm_Object_Item * -_elm_menu_item_next_get(Eo *eo_item, Elm_Menu_Item_Data *item) +_elm_menu_item_next_get(const Eo *eo_item, Elm_Menu_Item_Data *item) { if (item->parent) { @@ -1288,20 +1288,20 @@ _elm_menu_item_next_get(Eo *eo_item, Elm_Menu_Item_Data *item) } EOLIAN static Elm_Object_Item* -_elm_menu_first_item_get(Eo *obj EINA_UNUSED, Elm_Menu_Data *sd) +_elm_menu_first_item_get(const Eo *obj EINA_UNUSED, Elm_Menu_Data *sd) { return (sd->items ? sd->items->data : NULL); } EOLIAN static Elm_Object_Item* -_elm_menu_last_item_get(Eo *obj EINA_UNUSED, Elm_Menu_Data *sd) +_elm_menu_last_item_get(const Eo *obj EINA_UNUSED, Elm_Menu_Data *sd) { Eina_List *l = eina_list_last(sd->items); return (l ? l->data : NULL); } EOLIAN static Elm_Object_Item* -_elm_menu_selected_item_get(Eo *obj EINA_UNUSED, Elm_Menu_Data *sd) +_elm_menu_selected_item_get(const Eo *obj EINA_UNUSED, Elm_Menu_Data *sd) { Eina_List *l; Elm_Object_Item *eo_item; @@ -1322,7 +1322,7 @@ _elm_menu_class_constructor(Efl_Class *klass) } EOLIAN static Eina_List* -_elm_menu_efl_access_access_children_get(Eo *obj, Elm_Menu_Data *sd) +_elm_menu_efl_access_access_children_get(const Eo *obj, Elm_Menu_Data *sd) { Eina_List *ret; ret = efl_access_children_get(efl_super(obj, ELM_MENU_CLASS)); @@ -1330,13 +1330,13 @@ _elm_menu_efl_access_access_children_get(Eo *obj, Elm_Menu_Data *sd) } EOLIAN static Eina_List* -_elm_menu_item_efl_access_access_children_get(Eo *obj EINA_UNUSED, Elm_Menu_Item_Data *sd) +_elm_menu_item_efl_access_access_children_get(const Eo *obj EINA_UNUSED, Elm_Menu_Item_Data *sd) { return eina_list_clone(sd->submenu.items); } EOLIAN static Eo* -_elm_menu_item_efl_object_parent_get(Eo *obj, Elm_Menu_Item_Data *sd) +_elm_menu_item_efl_object_parent_get(const Eo *obj, Elm_Menu_Item_Data *sd) { if (sd->parent) return EO_OBJ(sd->parent); if (sd->base) return WIDGET(sd); @@ -1344,13 +1344,13 @@ _elm_menu_item_efl_object_parent_get(Eo *obj, Elm_Menu_Item_Data *sd) } EOLIAN static Efl_Access_Role -_elm_menu_item_efl_access_role_get(Eo *obj EINA_UNUSED, Elm_Menu_Item_Data *sd) +_elm_menu_item_efl_access_role_get(const Eo *obj EINA_UNUSED, Elm_Menu_Item_Data *sd) { return sd->submenu.items ? EFL_ACCESS_ROLE_MENU : EFL_ACCESS_ROLE_MENU_ITEM; } EOLIAN static const char* -_elm_menu_item_efl_access_i18n_name_get(Eo *obj, Elm_Menu_Item_Data *sd) +_elm_menu_item_efl_access_i18n_name_get(const Eo *obj, Elm_Menu_Item_Data *sd) { const char *ret; ret = efl_access_i18n_name_get(efl_super(obj, ELM_MENU_ITEM_CLASS)); @@ -1359,7 +1359,7 @@ _elm_menu_item_efl_access_i18n_name_get(Eo *obj, Elm_Menu_Item_Data *sd) } EOLIAN static Efl_Access_State_Set -_elm_menu_item_efl_access_state_set_get(Eo *obj EINA_UNUSED, Elm_Menu_Item_Data *sd) +_elm_menu_item_efl_access_state_set_get(const Eo *obj EINA_UNUSED, Elm_Menu_Item_Data *sd) { Efl_Access_State_Set ret; ret = efl_access_state_set_get(efl_super(obj, ELM_MENU_ITEM_CLASS)); @@ -1373,7 +1373,7 @@ _elm_menu_item_efl_access_state_set_get(Eo *obj EINA_UNUSED, Elm_Menu_Item_Data } EOLIAN static int -_elm_menu_item_efl_access_selection_selected_children_count_get(Eo *obj EINA_UNUSED, Elm_Menu_Item_Data *sd) +_elm_menu_item_efl_access_selection_selected_children_count_get(const Eo *obj EINA_UNUSED, Elm_Menu_Item_Data *sd) { int ret = 0; Elm_Object_Item *sobj = NULL; @@ -1390,7 +1390,7 @@ _elm_menu_item_efl_access_selection_selected_children_count_get(Eo *obj EINA_UNU } EOLIAN static Eo* -_elm_menu_item_efl_access_selection_selected_child_get(Eo *obj EINA_UNUSED, Elm_Menu_Item_Data *sd, int child) +_elm_menu_item_efl_access_selection_selected_child_get(const Eo *obj EINA_UNUSED, Elm_Menu_Item_Data *sd, int child) { int seq = 0; Elm_Object_Item *sobj = NULL; @@ -1412,7 +1412,7 @@ _elm_menu_item_efl_access_selection_selected_child_get(Eo *obj EINA_UNUSED, Elm_ } EOLIAN static int -_elm_menu_efl_access_selection_selected_children_count_get(Eo *obj EINA_UNUSED, Elm_Menu_Data *sd) +_elm_menu_efl_access_selection_selected_children_count_get(const Eo *obj EINA_UNUSED, Elm_Menu_Data *sd) { Elm_Object_Item *sobj = NULL; Eina_List *l; @@ -1428,7 +1428,7 @@ _elm_menu_efl_access_selection_selected_children_count_get(Eo *obj EINA_UNUSED, } EOLIAN static Eo* -_elm_menu_efl_access_selection_selected_child_get(Eo *obj EINA_UNUSED, Elm_Menu_Data *sd, int child) +_elm_menu_efl_access_selection_selected_child_get(const Eo *obj EINA_UNUSED, Elm_Menu_Data *sd, int child) { int seq = 0; Elm_Object_Item *sobj = NULL; diff --git a/src/lib/elementary/elm_notify.c b/src/lib/elementary/elm_notify.c index 232837bf38..e7acd30d6a 100644 --- a/src/lib/elementary/elm_notify.c +++ b/src/lib/elementary/elm_notify.c @@ -382,7 +382,7 @@ _elm_notify_content_set(Eo *obj, Elm_Notify_Data *sd, const char *part, Evas_Obj } static Evas_Object* -_elm_notify_content_get(Eo *obj EINA_UNUSED, Elm_Notify_Data *sd, const char *part) +_elm_notify_content_get(const Eo *obj EINA_UNUSED, Elm_Notify_Data *sd, const char *part) { if (part && strcmp(part, "default")) return NULL; @@ -411,7 +411,7 @@ _elm_notify_efl_content_content_set(Eo *obj, Elm_Notify_Data *sd, Evas_Object *c } EOLIAN static Evas_Object* -_elm_notify_efl_content_content_get(Eo *obj EINA_UNUSED, Elm_Notify_Data *sd) +_elm_notify_efl_content_content_get(const Eo *obj EINA_UNUSED, Elm_Notify_Data *sd) { return _elm_notify_content_get(obj, sd, NULL); } @@ -540,7 +540,7 @@ elm_notify_parent_get(const Evas_Object *obj) } EOLIAN static Evas_Object* -_elm_notify_efl_ui_widget_widget_parent_get(Eo *obj EINA_UNUSED, Elm_Notify_Data *sd) +_elm_notify_efl_ui_widget_widget_parent_get(const Eo *obj EINA_UNUSED, Elm_Notify_Data *sd) { return sd->parent; } @@ -635,7 +635,7 @@ _elm_notify_timeout_set(Eo *obj, Elm_Notify_Data *sd, double timeout) } EOLIAN static double -_elm_notify_timeout_get(Eo *obj EINA_UNUSED, Elm_Notify_Data *sd) +_elm_notify_timeout_get(const Eo *obj EINA_UNUSED, Elm_Notify_Data *sd) { return sd->timeout; } @@ -663,7 +663,7 @@ _elm_notify_allow_events_set(Eo *obj, Elm_Notify_Data *sd, Eina_Bool allow) } EOLIAN static Eina_Bool -_elm_notify_allow_events_get(Eo *obj EINA_UNUSED, Elm_Notify_Data *sd) +_elm_notify_allow_events_get(const Eo *obj EINA_UNUSED, Elm_Notify_Data *sd) { return sd->allow_events; } @@ -687,7 +687,7 @@ _elm_notify_dismiss(Eo *obj EINA_UNUSED, Elm_Notify_Data *sd) EOLIAN static void -_elm_notify_align_get(Eo *obj EINA_UNUSED, Elm_Notify_Data *sd, double *horizontal, double *vertical) +_elm_notify_align_get(const Eo *obj EINA_UNUSED, Elm_Notify_Data *sd, double *horizontal, double *vertical) { if (horizontal) *horizontal = sd->horizontal_align; @@ -712,7 +712,7 @@ ELM_PART_OVERRIDE_CONTENT_UNSET(elm_notify, ELM_NOTIFY, Elm_Notify_Data) ELM_PART_CONTENT_DEFAULT_GET(elm_notify, "default") EOLIAN static const char * -_elm_notify_part_efl_ui_translatable_translatable_text_get(Eo *obj, void *_pd EINA_UNUSED, const char **domain) +_elm_notify_part_efl_ui_translatable_translatable_text_get(const Eo *obj, void *_pd EINA_UNUSED, const char **domain) { Elm_Part_Data *pd = efl_data_scope_get(obj, EFL_UI_WIDGET_PART_CLASS); return elm_widget_part_translatable_text_get(pd->obj, pd->part, domain); diff --git a/src/lib/elementary/elm_panel.c b/src/lib/elementary/elm_panel.c index 0d89df0f90..d26303a52d 100644 --- a/src/lib/elementary/elm_panel.c +++ b/src/lib/elementary/elm_panel.c @@ -1034,7 +1034,7 @@ _elm_panel_orient_set(Eo *obj, Elm_Panel_Data *sd, Elm_Panel_Orient orient) } EOLIAN static Elm_Panel_Orient -_elm_panel_orient_get(Eo *obj EINA_UNUSED, Elm_Panel_Data *sd) +_elm_panel_orient_get(const Eo *obj EINA_UNUSED, Elm_Panel_Data *sd) { return sd->orient; } @@ -1057,7 +1057,7 @@ _elm_panel_hidden_set(Eo *obj, Elm_Panel_Data *sd, Eina_Bool hidden) } EOLIAN static Eina_Bool -_elm_panel_hidden_get(Eo *obj EINA_UNUSED, Elm_Panel_Data *sd) +_elm_panel_hidden_get(const Eo *obj EINA_UNUSED, Elm_Panel_Data *sd) { return sd->hidden; } @@ -1069,7 +1069,7 @@ _elm_panel_toggle(Eo *obj, Elm_Panel_Data *_pd EINA_UNUSED) } EOLIAN static Eina_Rect -_elm_panel_efl_ui_widget_interest_region_get(Eo *obj, Elm_Panel_Data *sd) +_elm_panel_efl_ui_widget_interest_region_get(const Eo *obj, Elm_Panel_Data *sd) { Eina_Rect r = {}; @@ -1278,7 +1278,7 @@ _elm_panel_efl_ui_widget_on_disabled_update(Eo *obj, Elm_Panel_Data *sd, Eina_Bo } EOLIAN static double -_elm_panel_scrollable_content_size_get(Eo *obj EINA_UNUSED, Elm_Panel_Data *sd) +_elm_panel_scrollable_content_size_get(const Eo *obj EINA_UNUSED, Elm_Panel_Data *sd) { return sd->content_size_ratio; } @@ -1301,7 +1301,7 @@ _elm_panel_scrollable_content_size_set(Eo *obj, Elm_Panel_Data *sd, double ratio } EOLIAN static Eina_Bool -_elm_panel_scrollable_get(Eo *obj EINA_UNUSED, Elm_Panel_Data *sd) +_elm_panel_scrollable_get(const Eo *obj EINA_UNUSED, Elm_Panel_Data *sd) { return sd->scrollable; } @@ -1441,7 +1441,7 @@ _elm_panel_class_constructor(Efl_Class *klass) } EOLIAN const Efl_Access_Action_Data * -_elm_panel_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Panel_Data *pd EINA_UNUSED) +_elm_panel_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Panel_Data *pd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "toggle", "toggle", NULL, _key_action_toggle}, diff --git a/src/lib/elementary/elm_part_helper.h b/src/lib/elementary/elm_part_helper.h index 019f35623e..fc863a5223 100644 --- a/src/lib/elementary/elm_part_helper.h +++ b/src/lib/elementary/elm_part_helper.h @@ -40,7 +40,7 @@ struct _Elm_Part_Data } \ \ EOLIAN static Evas_Object* \ - _ ## type ## _efl_content_content_get(Eo *obj, typedata *sd EINA_UNUSED) \ + _ ## type ## _efl_content_content_get(const Eo *obj, typedata *sd EINA_UNUSED) \ { \ return efl_content_get(efl_part(obj, efl_ui_widget_default_content_part_get(obj))); \ } \ @@ -101,7 +101,7 @@ _ ## full ## _efl_content_content_set(Eo *obj, void *_pd EINA_UNUSED, Efl_Gfx *c #define ELM_PART_OVERRIDE_CONTENT_GET_FULL(full, type, TYPE, typedata) \ EOLIAN static Efl_Gfx * \ -_ ## full ## _efl_content_content_get(Eo *obj, void *_pd EINA_UNUSED) \ +_ ## full ## _efl_content_content_get(const Eo *obj, void *_pd EINA_UNUSED) \ { \ Elm_Part_Data *pd = efl_data_scope_get(obj, EFL_UI_WIDGET_PART_CLASS); \ typedata *sd = efl_data_scope_get(pd->obj, TYPE ## _CLASS); \ @@ -128,7 +128,7 @@ _ ## full ## _efl_text_text_set(Eo *obj, void *_pd EINA_UNUSED, const char *text #define ELM_PART_OVERRIDE_TEXT_GET_FULL(full, type, TYPE, typedata) \ EOLIAN static const char *\ -_ ## full ## _efl_text_text_get(Eo *obj, void *_pd EINA_UNUSED) \ +_ ## full ## _efl_text_text_get(const Eo *obj, void *_pd EINA_UNUSED) \ { \ Elm_Part_Data *pd = efl_data_scope_get(obj, EFL_UI_WIDGET_PART_CLASS); \ typedata *sd = efl_data_scope_get(pd->obj, TYPE ## _CLASS); \ @@ -137,7 +137,7 @@ _ ## full ## _efl_text_text_get(Eo *obj, void *_pd EINA_UNUSED) \ #define ELM_PART_OVERRIDE_TEXT_MARKUP_GET_FULL(full, type, TYPE, typedata) \ EOLIAN static const char *\ -_ ## full ## _efl_text_markup_markup_get(Eo *obj, void *_pd EINA_UNUSED) \ +_ ## full ## _efl_text_markup_markup_get(const Eo *obj, void *_pd EINA_UNUSED) \ { \ Elm_Part_Data *pd = efl_data_scope_get(obj, EFL_UI_WIDGET_PART_CLASS); \ typedata *sd = efl_data_scope_get(pd->obj, TYPE ## _CLASS); \ @@ -181,7 +181,7 @@ _ ## type ## _efl_text_text_set(Eo *obj, typedata *sd EINA_UNUSED, const char *t efl_text_set(efl_part(obj, efl_ui_widget_default_text_part_get(obj)), text); \ } \ EOLIAN static const char * \ -_ ## type ## _efl_text_text_get(Eo *obj, typedata *sd EINA_UNUSED) \ +_ ## type ## _efl_text_text_get(const Eo *obj, typedata *sd EINA_UNUSED) \ { \ return efl_text_get(efl_part(obj, efl_ui_widget_default_text_part_get(obj))); \ } \ @@ -191,14 +191,14 @@ _ ## type ## _efl_ui_translatable_translatable_text_set(Eo *obj, typedata *sd EI efl_ui_translatable_text_set(efl_part(obj, efl_ui_widget_default_text_part_get(obj)), label, domain); \ } \ EOLIAN static const char * \ -_ ## type ## _efl_ui_translatable_translatable_text_get(Eo *obj, typedata *sd EINA_UNUSED, const char **domain) \ +_ ## type ## _efl_ui_translatable_translatable_text_get(const Eo *obj, typedata *sd EINA_UNUSED, const char **domain) \ { \ return efl_ui_translatable_text_get(efl_part(obj, efl_ui_widget_default_text_part_get(obj)), domain); \ } #define ELM_PART_MARKUP_DEFAULT_IMPLEMENT(type, typedata) \ EOLIAN static const char * \ -_ ## type ## _efl_text_markup_markup_get(Eo *obj, typedata *sd EINA_UNUSED) \ +_ ## type ## _efl_text_markup_markup_get(const Eo *obj, typedata *sd EINA_UNUSED) \ { \ return efl_text_markup_get(efl_part(obj, efl_ui_widget_default_text_part_get(obj))); \ } \ diff --git a/src/lib/elementary/elm_plug.c b/src/lib/elementary/elm_plug.c index 8178d551c0..6bc7d611f2 100644 --- a/src/lib/elementary/elm_plug.c +++ b/src/lib/elementary/elm_plug.c @@ -151,7 +151,7 @@ _elm_plug_efl_object_constructor(Eo *obj, void *sd EINA_UNUSED) } EOLIAN static Evas_Object* -_elm_plug_image_object_get(Eo *obj, void *sd EINA_UNUSED) +_elm_plug_image_object_get(const Eo *obj, void *sd EINA_UNUSED) { ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, NULL); return wd->resize_obj; diff --git a/src/lib/elementary/elm_prefs.c b/src/lib/elementary/elm_prefs.c index 0077789ef3..5b711cd801 100644 --- a/src/lib/elementary/elm_prefs.c +++ b/src/lib/elementary/elm_prefs.c @@ -1155,7 +1155,7 @@ _elm_prefs_efl_file_file_set(Eo *obj, Elm_Prefs_Data *sd, const char *file, cons } EOLIAN static void -_elm_prefs_efl_file_file_get(Eo *obj EINA_UNUSED, Elm_Prefs_Data *sd, const char **file, const char **page) +_elm_prefs_efl_file_file_get(const Eo *obj EINA_UNUSED, Elm_Prefs_Data *sd, const char **file, const char **page) { if (file) *file = sd->file; if (page) *page = sd->page; @@ -1200,7 +1200,7 @@ end: } EOLIAN static Elm_Prefs_Data* -_elm_prefs_data_get(Eo *obj EINA_UNUSED, Elm_Prefs_Data *sd) +_elm_prefs_data_get(const Eo *obj EINA_UNUSED, Elm_Prefs_Data *sd) { if (!sd->root) return NULL; else return sd->prefs_data; @@ -1235,7 +1235,7 @@ _elm_prefs_autosave_set(Eo *obj, Elm_Prefs_Data *_pd EINA_UNUSED, Eina_Bool auto } EOLIAN static Eina_Bool -_elm_prefs_autosave_get(Eo *obj EINA_UNUSED, Elm_Prefs_Data *sd) +_elm_prefs_autosave_get(const Eo *obj EINA_UNUSED, Elm_Prefs_Data *sd) { return sd->autosave; } diff --git a/src/lib/elementary/elm_route.c b/src/lib/elementary/elm_route.c index 9b1abd7ff3..0f63ce927a 100644 --- a/src/lib/elementary/elm_route.c +++ b/src/lib/elementary/elm_route.c @@ -241,14 +241,14 @@ _elm_route_emap_set(Eo *obj, Elm_Route_Data *sd, void *_emap) } EOLIAN static void -_elm_route_longitude_min_max_get(Eo *obj EINA_UNUSED, Elm_Route_Data *sd, double *min, double *max) +_elm_route_longitude_min_max_get(const Eo *obj EINA_UNUSED, Elm_Route_Data *sd, double *min, double *max) { if (min) *min = sd->lon_min; if (max) *max = sd->lon_max; } EOLIAN static void -_elm_route_latitude_min_max_get(Eo *obj EINA_UNUSED, Elm_Route_Data *sd, double *min, double *max) +_elm_route_latitude_min_max_get(const Eo *obj EINA_UNUSED, Elm_Route_Data *sd, double *min, double *max) { if (min) *min = sd->lat_min; if (max) *max = sd->lat_max; diff --git a/src/lib/elementary/elm_scroller.c b/src/lib/elementary/elm_scroller.c index 72ba9c2a8a..4875e6ff8b 100644 --- a/src/lib/elementary/elm_scroller.c +++ b/src/lib/elementary/elm_scroller.c @@ -686,7 +686,7 @@ _elm_scroller_content_set(Eo *obj, Elm_Scroller_Data *sd, const char *part, Evas } static Evas_Object* -_elm_scroller_content_get(Eo *obj, Elm_Scroller_Data *sd, const char *part) +_elm_scroller_content_get(const Eo *obj, Elm_Scroller_Data *sd, const char *part) { if (part && strcmp(part, "default")) { @@ -725,7 +725,7 @@ _elm_scroller_efl_content_content_set(Eo *obj, Elm_Scroller_Data *sd, Eo *conten } EOLIAN static Eo * -_elm_scroller_efl_content_content_get(Eo *obj, Elm_Scroller_Data *sd) +_elm_scroller_efl_content_content_get(const Eo *obj, Elm_Scroller_Data *sd) { return _elm_scroller_content_get(obj, sd, "default"); } @@ -982,7 +982,7 @@ elm_scroller_single_direction_get(const Evas_Object *obj) } EOLIAN static Elm_Scroller_Single_Direction -_elm_scroller_elm_interface_scrollable_single_direction_get(Eo *obj, Elm_Scroller_Data *sd EINA_UNUSED) +_elm_scroller_elm_interface_scrollable_single_direction_get(const Eo *obj, Elm_Scroller_Data *sd EINA_UNUSED) { return elm_interface_scrollable_single_direction_get(efl_super(obj, MY_CLASS)); } @@ -1344,7 +1344,7 @@ _elm_scroller_efl_ui_widget_focus_state_apply(Eo *obj, Elm_Scroller_Data *pd EIN EOLIAN const Efl_Access_Action_Data * -_elm_scroller_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Scroller_Data *pd EINA_UNUSED) +_elm_scroller_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Scroller_Data *pd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "move,prior", "move", "prior", _key_action_move}, diff --git a/src/lib/elementary/elm_segment_control.c b/src/lib/elementary/elm_segment_control.c index 8d05a9b1c0..5d18994b8d 100644 --- a/src/lib/elementary/elm_segment_control.c +++ b/src/lib/elementary/elm_segment_control.c @@ -429,7 +429,7 @@ _elm_segment_control_item_elm_widget_item_part_text_set(Eo *eo_item EINA_UNUSED, } EOLIAN static const char * -_elm_segment_control_item_elm_widget_item_part_text_get(Eo *eo_item EINA_UNUSED, +_elm_segment_control_item_elm_widget_item_part_text_get(const Eo *eo_item EINA_UNUSED, Elm_Segment_Control_Item_Data *it, const char *part) { @@ -483,7 +483,7 @@ _elm_segment_control_item_elm_widget_item_part_content_set(Eo *eo_item EINA_UNUS } EOLIAN static Evas_Object * -_elm_segment_control_item_elm_widget_item_part_content_get(Eo *eo_item EINA_UNUSED, +_elm_segment_control_item_elm_widget_item_part_content_get(const Eo *eo_item EINA_UNUSED, Elm_Segment_Control_Item_Data *item, const char *part) { @@ -753,7 +753,7 @@ _elm_segment_control_item_icon_get(const Eo *obj, Elm_Segment_Control_Data *_pd } EOLIAN static int -_elm_segment_control_item_count_get(Eo *obj EINA_UNUSED, Elm_Segment_Control_Data *sd) +_elm_segment_control_item_count_get(const Eo *obj EINA_UNUSED, Elm_Segment_Control_Data *sd) { return eina_list_count(sd->items); } @@ -765,7 +765,7 @@ _elm_segment_control_item_object_get(const Eo *eo_it EINA_UNUSED, Elm_Segment_Co } EOLIAN static Elm_Object_Item* -_elm_segment_control_item_selected_get(Eo *obj EINA_UNUSED, Elm_Segment_Control_Data *sd) +_elm_segment_control_item_selected_get(const Eo *obj EINA_UNUSED, Elm_Segment_Control_Data *sd) { return EO_OBJ(sd->selected_item); } @@ -815,7 +815,7 @@ _elm_segment_control_class_constructor(Efl_Class *klass) } EOLIAN static Eina_Rect -_elm_segment_control_item_efl_ui_focus_object_focus_geometry_get(Eo *obj EINA_UNUSED, Elm_Segment_Control_Item_Data *pd) +_elm_segment_control_item_efl_ui_focus_object_focus_geometry_get(const Eo *obj EINA_UNUSED, Elm_Segment_Control_Item_Data *pd) { return efl_gfx_geometry_get(VIEW(pd)); } diff --git a/src/lib/elementary/elm_separator.c b/src/lib/elementary/elm_separator.c index cac415761f..a492963911 100644 --- a/src/lib/elementary/elm_separator.c +++ b/src/lib/elementary/elm_separator.c @@ -87,7 +87,7 @@ _elm_separator_horizontal_set(Eo *obj, Elm_Separator_Data *sd, Eina_Bool horizon } EOLIAN static Eina_Bool -_elm_separator_horizontal_get(Eo *obj EINA_UNUSED, Elm_Separator_Data *sd) +_elm_separator_horizontal_get(const Eo *obj EINA_UNUSED, Elm_Separator_Data *sd) { return sd->horizontal; } diff --git a/src/lib/elementary/elm_slideshow.c b/src/lib/elementary/elm_slideshow.c index f3dcb0370b..e0917d7ee2 100644 --- a/src/lib/elementary/elm_slideshow.c +++ b/src/lib/elementary/elm_slideshow.c @@ -547,13 +547,13 @@ _elm_slideshow_previous(Eo *obj, Elm_Slideshow_Data *sd) } EOLIAN static const Eina_List* -_elm_slideshow_transitions_get(Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) +_elm_slideshow_transitions_get(const Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) { return sd->transitions; } EOLIAN static const Eina_List* -_elm_slideshow_layouts_get(Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) +_elm_slideshow_layouts_get(const Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) { return sd->layout.list; } @@ -565,7 +565,7 @@ _elm_slideshow_transition_set(Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd, const } EOLIAN static const char* -_elm_slideshow_transition_get(Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) +_elm_slideshow_transition_get(const Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) { return sd->transition; } @@ -581,7 +581,7 @@ _elm_slideshow_timeout_set(Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd, double t } EOLIAN static double -_elm_slideshow_timeout_get(Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) +_elm_slideshow_timeout_get(const Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) { return sd->timeout; } @@ -594,7 +594,7 @@ _elm_slideshow_items_loop_set(Eo *obj, Elm_Slideshow_Data *sd, Eina_Bool loop) } EOLIAN static const char* -_elm_slideshow_layout_get(Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) +_elm_slideshow_layout_get(const Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) { return sd->layout.current; } @@ -614,7 +614,7 @@ _elm_slideshow_layout_set(Eo *obj, Elm_Slideshow_Data *sd, const char *layout) } EOLIAN static Eina_Bool -_elm_slideshow_items_loop_get(Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) +_elm_slideshow_items_loop_get(const Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) { return sd->loop; } @@ -632,13 +632,13 @@ _elm_slideshow_clear(Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) } EOLIAN static const Eina_List* -_elm_slideshow_items_get(Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) +_elm_slideshow_items_get(const Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) { return sd->items; } EOLIAN static Elm_Object_Item* -_elm_slideshow_item_current_get(Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) +_elm_slideshow_item_current_get(const Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) { return EO_OBJ(sd->current); } @@ -650,7 +650,7 @@ _elm_slideshow_item_object_get(const Eo *eo_item EINA_UNUSED, Elm_Slideshow_Item } EOLIAN static int -_elm_slideshow_cache_before_get(Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) +_elm_slideshow_cache_before_get(const Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) { return sd->count_item_pre_before; } @@ -664,7 +664,7 @@ _elm_slideshow_cache_before_set(Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd, int } EOLIAN static int -_elm_slideshow_cache_after_get(Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) +_elm_slideshow_cache_after_get(const Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) { return sd->count_item_pre_after; } @@ -683,7 +683,7 @@ _elm_slideshow_item_nth_get(const Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd, u } EOLIAN static unsigned int -_elm_slideshow_count_get(Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) +_elm_slideshow_count_get(const Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd) { return eina_list_count(sd->items); } @@ -695,7 +695,7 @@ _elm_slideshow_class_constructor(Efl_Class *klass) } EOLIAN static const Efl_Access_Action_Data* -_elm_slideshow_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd EINA_UNUSED) +_elm_slideshow_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Slideshow_Data *sd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "move,left", "move", "left", _key_action_move}, diff --git a/src/lib/elementary/elm_spinner.c b/src/lib/elementary/elm_spinner.c index 7fa4f7453b..187abb4022 100644 --- a/src/lib/elementary/elm_spinner.c +++ b/src/lib/elementary/elm_spinner.c @@ -1433,7 +1433,7 @@ _elm_spinner_label_format_set(Eo *obj, Elm_Spinner_Data *sd, const char *fmt) } EOLIAN static const char* -_elm_spinner_label_format_get(Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd) +_elm_spinner_label_format_get(const Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd) { return sd->label; } @@ -1454,7 +1454,7 @@ _elm_spinner_efl_ui_range_range_min_max_set(Eo *obj, Elm_Spinner_Data *sd, doubl } EOLIAN static void -_elm_spinner_efl_ui_range_range_min_max_get(Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd, double *min, double *max) +_elm_spinner_efl_ui_range_range_min_max_get(const Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd, double *min, double *max) { if (min) *min = sd->val_min; if (max) *max = sd->val_max; @@ -1467,7 +1467,7 @@ _elm_spinner_efl_ui_range_range_step_set(Eo *obj EINA_UNUSED, Elm_Spinner_Data * } EOLIAN static double -_elm_spinner_efl_ui_range_range_step_get(Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd) +_elm_spinner_efl_ui_range_range_step_get(const Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd) { return sd->step; } @@ -1496,7 +1496,7 @@ _elm_spinner_efl_ui_range_range_value_set(Eo *obj, Elm_Spinner_Data *sd, double } EOLIAN static double -_elm_spinner_efl_ui_range_range_value_get(Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd) +_elm_spinner_efl_ui_range_range_value_get(const Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd) { return sd->val; } @@ -1508,7 +1508,7 @@ _elm_spinner_wrap_set(Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd, Eina_Bool wrap) } EOLIAN static Eina_Bool -_elm_spinner_wrap_get(Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd) +_elm_spinner_wrap_get(const Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd) { return sd->wrap; } @@ -1587,7 +1587,7 @@ _elm_spinner_editable_set(Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd, Eina_Bool e } EOLIAN static Eina_Bool -_elm_spinner_editable_get(Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd) +_elm_spinner_editable_get(const Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd) { return sd->editable; } @@ -1599,7 +1599,7 @@ _elm_spinner_interval_set(Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd, double inte } EOLIAN static double -_elm_spinner_interval_get(Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd) +_elm_spinner_interval_get(const Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd) { return sd->first_interval; } @@ -1611,7 +1611,7 @@ _elm_spinner_base_set(Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd, double base) } EOLIAN static double -_elm_spinner_base_get(Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd) +_elm_spinner_base_get(const Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd) { return sd->val_base; } @@ -1623,7 +1623,7 @@ _elm_spinner_round_set(Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd, int rnd) } EOLIAN static int -_elm_spinner_round_get(Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd) +_elm_spinner_round_get(const Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd) { return sd->round; } @@ -1638,7 +1638,7 @@ _elm_spinner_class_constructor(Efl_Class *klass) } EOLIAN static const Efl_Access_Action_Data * -_elm_spinner_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd EINA_UNUSED) +_elm_spinner_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "toggle", "toggle", NULL, _key_action_toggle}, @@ -1650,7 +1650,7 @@ _elm_spinner_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_S // A11Y Accessibility EOLIAN static void -_elm_spinner_efl_access_value_value_and_text_get(Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd, double *value, const char **text) +_elm_spinner_efl_access_value_value_and_text_get(const Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd, double *value, const char **text) { if (value) *value = sd->val; if (text) *text = NULL; @@ -1669,7 +1669,7 @@ _elm_spinner_efl_access_value_value_and_text_set(Eo *obj, Elm_Spinner_Data *sd, } EOLIAN static void -_elm_spinner_efl_access_value_range_get(Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd, double *lower, double *upper, const char **descr) +_elm_spinner_efl_access_value_range_get(const Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd, double *lower, double *upper, const char **descr) { if (lower) *lower = sd->val_min; if (upper) *upper = sd->val_max; @@ -1677,13 +1677,13 @@ _elm_spinner_efl_access_value_range_get(Eo *obj EINA_UNUSED, Elm_Spinner_Data *s } EOLIAN static double -_elm_spinner_efl_access_value_increment_get(Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd) +_elm_spinner_efl_access_value_increment_get(const Eo *obj EINA_UNUSED, Elm_Spinner_Data *sd) { return sd->step; } EOLIAN static const char* -_elm_spinner_efl_access_i18n_name_get(Eo *obj, Elm_Spinner_Data *sd) +_elm_spinner_efl_access_i18n_name_get(const Eo *obj, Elm_Spinner_Data *sd) { const char *name, *ret; name = efl_access_i18n_name_get(efl_super(obj, ELM_SPINNER_CLASS)); diff --git a/src/lib/elementary/elm_sys_notify.c b/src/lib/elementary/elm_sys_notify.c index fb7c691f11..a993a8cc3a 100644 --- a/src/lib/elementary/elm_sys_notify.c +++ b/src/lib/elementary/elm_sys_notify.c @@ -185,7 +185,7 @@ _elm_sys_notify_servers_set(Eo *obj EINA_UNUSED, } EOLIAN static Elm_Sys_Notify_Server -_elm_sys_notify_servers_get(Eo *obj EINA_UNUSED, +_elm_sys_notify_servers_get(const Eo *obj EINA_UNUSED, Elm_Sys_Notify_Data *sd) { Elm_Sys_Notify_Server servers = ELM_SYS_NOTIFY_SERVER_NONE; diff --git a/src/lib/elementary/elm_systray.c b/src/lib/elementary/elm_systray.c index bcc8c0a2e5..0c6c3f0a09 100644 --- a/src/lib/elementary/elm_systray.c +++ b/src/lib/elementary/elm_systray.c @@ -315,7 +315,7 @@ _elm_systray_category_set(Eo *obj EINA_UNUSED, void *priv EINA_UNUSED, Elm_Systr } EOLIAN static Elm_Systray_Category -_elm_systray_category_get(Eo *obj EINA_UNUSED, void *priv EINA_UNUSED) +_elm_systray_category_get(const Eo *obj EINA_UNUSED, void *priv EINA_UNUSED) { return _item.cat; } @@ -332,7 +332,7 @@ _elm_systray_status_set(Eo *obj EINA_UNUSED, void *priv EINA_UNUSED, Elm_Systray } EOLIAN static Elm_Systray_Status -_elm_systray_status_get(Eo *obj EINA_UNUSED, void *priv EINA_UNUSED) +_elm_systray_status_get(const Eo *obj EINA_UNUSED, void *priv EINA_UNUSED) { return _item.status; } @@ -347,7 +347,7 @@ _elm_systray_att_icon_name_set(Eo *obj EINA_UNUSED, void *priv EINA_UNUSED, cons } EOLIAN static const char* -_elm_systray_att_icon_name_get(Eo *obj EINA_UNUSED, void *priv EINA_UNUSED) +_elm_systray_att_icon_name_get(const Eo *obj EINA_UNUSED, void *priv EINA_UNUSED) { return _item.att_icon_name; } @@ -362,7 +362,7 @@ _elm_systray_icon_name_set(Eo *obj EINA_UNUSED, void *priv EINA_UNUSED, const ch } EOLIAN static const char* -_elm_systray_icon_name_get(Eo *obj EINA_UNUSED, void *priv EINA_UNUSED) +_elm_systray_icon_name_get(const Eo *obj EINA_UNUSED, void *priv EINA_UNUSED) { return _item.icon_name; } @@ -379,7 +379,7 @@ _elm_systray_icon_theme_path_set(Eo *obj EINA_UNUSED, void *priv EINA_UNUSED, co } EOLIAN static const char* -_elm_systray_icon_theme_path_get(Eo *obj EINA_UNUSED, void *priv EINA_UNUSED) +_elm_systray_icon_theme_path_get(const Eo *obj EINA_UNUSED, void *priv EINA_UNUSED) { return _item.icon_theme_path; } @@ -393,7 +393,7 @@ _elm_systray_id_set(Eo *obj EINA_UNUSED, void *priv EINA_UNUSED, const char *id) } EOLIAN static const char* -_elm_systray_id_get(Eo *obj EINA_UNUSED, void *priv EINA_UNUSED) +_elm_systray_id_get(const Eo *obj EINA_UNUSED, void *priv EINA_UNUSED) { return _item.id; } @@ -408,7 +408,7 @@ _elm_systray_title_set(Eo *obj EINA_UNUSED, void *priv EINA_UNUSED, const char * } EOLIAN static const char* -_elm_systray_title_get(Eo *obj EINA_UNUSED, void *priv EINA_UNUSED) +_elm_systray_title_get(const Eo *obj EINA_UNUSED, void *priv EINA_UNUSED) { return _item.title; } @@ -439,7 +439,7 @@ _elm_systray_menu_set(Eo *obj EINA_UNUSED, void *priv EINA_UNUSED, const Eo *men } EOLIAN static const Eo* -_elm_systray_menu_get(Eo *obj EINA_UNUSED, void *priv EINA_UNUSED) +_elm_systray_menu_get(const Eo *obj EINA_UNUSED, void *priv EINA_UNUSED) { return _item.menu_obj; } diff --git a/src/lib/elementary/elm_table.c b/src/lib/elementary/elm_table.c index df89976ee4..50b1a0c3ec 100644 --- a/src/lib/elementary/elm_table.c +++ b/src/lib/elementary/elm_table.c @@ -152,7 +152,7 @@ _elm_table_homogeneous_set(Eo *obj, void *_pd EINA_UNUSED, Eina_Bool homogeneous } EOLIAN static Eina_Bool -_elm_table_homogeneous_get(Eo *obj, void *_pd EINA_UNUSED) +_elm_table_homogeneous_get(const Eo *obj, void *_pd EINA_UNUSED) { ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EINA_FALSE); return evas_object_table_homogeneous_get(wd->resize_obj); @@ -168,7 +168,7 @@ _elm_table_padding_set(Eo *obj, void *_pd EINA_UNUSED, Evas_Coord horizontal, Ev } EOLIAN static void -_elm_table_padding_get(Eo *obj, void *_pd EINA_UNUSED, Evas_Coord *horizontal, Evas_Coord *vertical) +_elm_table_padding_get(const Eo *obj, void *_pd EINA_UNUSED, Evas_Coord *horizontal, Evas_Coord *vertical) { ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd); @@ -186,7 +186,7 @@ _elm_table_align_set(Eo *obj, void *_pd EINA_UNUSED, double horizontal, double v } EOLIAN static void -_elm_table_align_get(Eo *obj, void *_pd EINA_UNUSED, double *horizontal, double *vertical) +_elm_table_align_get(const Eo *obj, void *_pd EINA_UNUSED, double *horizontal, double *vertical) { ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd); diff --git a/src/lib/elementary/elm_thumb.c b/src/lib/elementary/elm_thumb.c index 22fa256d9e..47c6363211 100644 --- a/src/lib/elementary/elm_thumb.c +++ b/src/lib/elementary/elm_thumb.c @@ -635,7 +635,7 @@ _elm_thumb_efl_file_file_set(Eo *obj EINA_UNUSED, Elm_Thumb_Data *sd, const char } EOLIAN static void -_elm_thumb_efl_file_file_get(Eo *obj EINA_UNUSED, Elm_Thumb_Data *sd, const char **file, const char **key) +_elm_thumb_efl_file_file_get(const Eo *obj EINA_UNUSED, Elm_Thumb_Data *sd, const char **file, const char **key) { if (file) *file = sd->file; @@ -679,7 +679,7 @@ _elm_thumb_efl_ui_draggable_drag_target_set(Eo *obj, Elm_Thumb_Data *sd, Eina_Bo } EOLIAN static Eina_Bool -_elm_thumb_efl_ui_draggable_drag_target_get(Eo *obj EINA_UNUSED, Elm_Thumb_Data *sd) +_elm_thumb_efl_ui_draggable_drag_target_get(const Eo *obj EINA_UNUSED, Elm_Thumb_Data *sd) { return sd->edit; } diff --git a/src/lib/elementary/elm_toolbar.c b/src/lib/elementary/elm_toolbar.c index d2bc1427ae..7753a53d65 100644 --- a/src/lib/elementary/elm_toolbar.c +++ b/src/lib/elementary/elm_toolbar.c @@ -826,7 +826,7 @@ _elm_toolbar_item_elm_widget_item_item_focus_set(Eo *eo_it, Elm_Toolbar_Item_Dat } EOLIAN static Eina_Bool -_elm_toolbar_item_elm_widget_item_item_focus_get(Eo *eo_it, Elm_Toolbar_Item_Data *it) +_elm_toolbar_item_elm_widget_item_item_focus_get(const Eo *eo_it, Elm_Toolbar_Item_Data *it) { ELM_TOOLBAR_ITEM_CHECK_OR_RETURN(it, EINA_FALSE); Evas_Object *obj = WIDGET(it); @@ -1590,7 +1590,7 @@ _elm_toolbar_item_elm_widget_item_part_text_set(Eo *eo_item EINA_UNUSED, Elm_Too } EOLIAN static const char * -_elm_toolbar_item_elm_widget_item_part_text_get(Eo *eo_it EINA_UNUSED, Elm_Toolbar_Item_Data *it, +_elm_toolbar_item_elm_widget_item_part_text_get(const Eo *eo_it EINA_UNUSED, Elm_Toolbar_Item_Data *it, const char *part) { char buf[256]; @@ -1631,7 +1631,7 @@ _elm_toolbar_item_elm_widget_item_part_content_set(Eo *eo_item EINA_UNUSED, Elm_ } EOLIAN static Evas_Object * -_elm_toolbar_item_elm_widget_item_part_content_get(Eo *eo_it EINA_UNUSED, Elm_Toolbar_Item_Data *it, +_elm_toolbar_item_elm_widget_item_part_content_get(const Eo *eo_it EINA_UNUSED, Elm_Toolbar_Item_Data *it, const char *part) { if (part && strcmp(part, "object") && strcmp(part, "elm.swallow.object")) @@ -2353,7 +2353,7 @@ _access_widget_item_register(Elm_Toolbar_Item_Data *it) } EOLIAN static Eina_Rect -_elm_toolbar_item_efl_ui_focus_object_focus_geometry_get(Eo *obj EINA_UNUSED, Elm_Toolbar_Item_Data *pd) +_elm_toolbar_item_efl_ui_focus_object_focus_geometry_get(const Eo *obj EINA_UNUSED, Elm_Toolbar_Item_Data *pd) { Eina_Rect rect; @@ -2931,7 +2931,7 @@ _elm_toolbar_item_efl_ui_focus_object_focus_set(Eo *obj, Elm_Toolbar_Item_Data * } EOLIAN static Eina_Rect -_elm_toolbar_efl_ui_widget_focus_highlight_geometry_get(Eo *obj, Elm_Toolbar_Data *sd) +_elm_toolbar_efl_ui_widget_focus_highlight_geometry_get(const Eo *obj, Elm_Toolbar_Data *sd) { Eina_Rect r = {}; @@ -2987,7 +2987,7 @@ _elm_toolbar_icon_size_set(Eo *obj, Elm_Toolbar_Data *sd, int icon_size) } EOLIAN static int -_elm_toolbar_icon_size_get(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) +_elm_toolbar_icon_size_get(const Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) { return sd->priv_icon_size; } @@ -3102,7 +3102,7 @@ _elm_toolbar_item_insert_after(Eo *obj, Elm_Toolbar_Data *sd, Elm_Object_Item *e } EOLIAN static Elm_Object_Item* -_elm_toolbar_first_item_get(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) +_elm_toolbar_first_item_get(const Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) { if (!sd->items) return NULL; Elm_Toolbar_Item_Data *it = ELM_TOOLBAR_ITEM_FROM_INLIST(sd->items); @@ -3111,7 +3111,7 @@ _elm_toolbar_first_item_get(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) } EOLIAN static Elm_Object_Item* -_elm_toolbar_last_item_get(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) +_elm_toolbar_last_item_get(const Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) { if (!sd->items) return NULL; @@ -3121,13 +3121,13 @@ _elm_toolbar_last_item_get(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) } EOLIAN static Eina_Iterator* -_elm_toolbar_items_get(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) +_elm_toolbar_items_get(const Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) { return eina_inlist_iterator_new(sd->items); } EOLIAN static Elm_Object_Item * -_elm_toolbar_item_next_get(Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *it) +_elm_toolbar_item_next_get(const Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *it) { ELM_TOOLBAR_ITEM_CHECK_OR_RETURN(it, NULL); @@ -3138,7 +3138,7 @@ _elm_toolbar_item_next_get(Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *it) } EOLIAN static Elm_Object_Item * -_elm_toolbar_item_prev_get(Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *it) +_elm_toolbar_item_prev_get(const Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *it) { ELM_TOOLBAR_ITEM_CHECK_OR_RETURN(it, NULL); @@ -3157,7 +3157,7 @@ _elm_toolbar_item_priority_set(Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *i } EOLIAN static int -_elm_toolbar_item_priority_get(Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *item) +_elm_toolbar_item_priority_get(const Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *item) { return item->prio.priority; } @@ -3184,19 +3184,19 @@ _elm_toolbar_item_selected_set(Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *i } EOLIAN static Eina_Bool -_elm_toolbar_item_selected_get(Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *item) +_elm_toolbar_item_selected_get(const Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *item) { return item->selected; } EOLIAN static Elm_Object_Item* -_elm_toolbar_selected_item_get(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) +_elm_toolbar_selected_item_get(const Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) { return sd->selected_item; } EOLIAN static Elm_Object_Item* -_elm_toolbar_more_item_get(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) +_elm_toolbar_more_item_get(const Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) { return EO_OBJ(sd->more_item); } @@ -3228,7 +3228,7 @@ _elm_toolbar_item_icon_set(Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *item, } EOLIAN static const char * -_elm_toolbar_item_icon_get(Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *it) +_elm_toolbar_item_icon_get(const Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *it) { ELM_TOOLBAR_ITEM_CHECK_OR_RETURN(it, NULL); @@ -3236,7 +3236,7 @@ _elm_toolbar_item_icon_get(Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *it) } EOLIAN static Evas_Object * -_elm_toolbar_item_object_get(Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *item) +_elm_toolbar_item_object_get(const Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *item) { ELM_TOOLBAR_ITEM_CHECK_OR_RETURN(item, NULL); @@ -3244,7 +3244,7 @@ _elm_toolbar_item_object_get(Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *ite } EOLIAN static Evas_Object * -_elm_toolbar_item_icon_object_get(Eo *eo_it EINA_UNUSED, Elm_Toolbar_Item_Data *it) +_elm_toolbar_item_icon_object_get(const Eo *eo_it EINA_UNUSED, Elm_Toolbar_Item_Data *it) { ELM_TOOLBAR_ITEM_CHECK_OR_RETURN(it, NULL); @@ -3339,7 +3339,7 @@ _elm_toolbar_item_separator_set(Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data * } EOLIAN static Eina_Bool -_elm_toolbar_item_separator_get(Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *it) +_elm_toolbar_item_separator_get(const Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *it) { ELM_TOOLBAR_ITEM_CHECK_OR_RETURN(it, EINA_FALSE); @@ -3403,7 +3403,7 @@ _elm_toolbar_shrink_mode_set(Eo *obj, Elm_Toolbar_Data *sd, Elm_Toolbar_Shrink_M } EOLIAN static Elm_Toolbar_Shrink_Mode -_elm_toolbar_shrink_mode_get(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) +_elm_toolbar_shrink_mode_get(const Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) { return sd->shrink_mode; } @@ -3440,7 +3440,7 @@ _elm_toolbar_homogeneous_set(Eo *obj, Elm_Toolbar_Data *sd, Eina_Bool homogeneou } EOLIAN static Eina_Bool -_elm_toolbar_homogeneous_get(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) +_elm_toolbar_homogeneous_get(const Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) { return sd->homogeneous; } @@ -3463,7 +3463,7 @@ _elm_toolbar_menu_parent_set(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd, Evas_Obj } EOLIAN static Evas_Object* -_elm_toolbar_menu_parent_get(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) +_elm_toolbar_menu_parent_get(const Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) { return sd->menu_parent; } @@ -3485,7 +3485,7 @@ _elm_toolbar_align_set(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd, double align) } EOLIAN static double -_elm_toolbar_align_get(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) +_elm_toolbar_align_get(const Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) { return sd->align; } @@ -3503,7 +3503,7 @@ _elm_toolbar_item_menu_set(Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *item, } EOLIAN static Evas_Object * -_elm_toolbar_item_menu_get(Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *item) +_elm_toolbar_item_menu_get(const Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *item) { ELM_TOOLBAR_ITEM_CHECK_OR_RETURN(item, NULL); @@ -3659,7 +3659,7 @@ elm_toolbar_item_state_unset(Elm_Object_Item *it) } EOLIAN static Elm_Toolbar_Item_State * -_elm_toolbar_item_state_get(Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *item) +_elm_toolbar_item_state_get(const Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *item) { ELM_TOOLBAR_ITEM_CHECK_OR_RETURN(item, NULL); @@ -3719,7 +3719,7 @@ _elm_toolbar_efl_ui_direction_direction_set(Eo *obj, Elm_Toolbar_Data *sd, Efl_U } EOLIAN static Efl_Ui_Dir -_elm_toolbar_efl_ui_direction_direction_get(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) +_elm_toolbar_efl_ui_direction_direction_get(const Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) { return sd->dir; } @@ -3760,7 +3760,7 @@ _elm_toolbar_standard_priority_set(Eo *obj, Elm_Toolbar_Data *sd, int priority) } EOLIAN static int -_elm_toolbar_standard_priority_get(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) +_elm_toolbar_standard_priority_get(const Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) { return sd->standard_priority; } @@ -3782,7 +3782,7 @@ _elm_toolbar_select_mode_set(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd, Elm_Obje } EOLIAN static Elm_Object_Select_Mode -_elm_toolbar_select_mode_get(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) +_elm_toolbar_select_mode_get(const Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) { return sd->select_mode; } @@ -3833,7 +3833,7 @@ _elm_toolbar_item_bring_in(Eo *eo_item EINA_UNUSED, Elm_Toolbar_Item_Data *item, } EOLIAN static const char* -_elm_toolbar_item_efl_access_i18n_name_get(Eo *eo_item, Elm_Toolbar_Item_Data *item) +_elm_toolbar_item_efl_access_i18n_name_get(const Eo *eo_item, Elm_Toolbar_Item_Data *item) { const char *ret; ret = efl_access_i18n_name_get(efl_super(eo_item, ELM_TOOLBAR_ITEM_CLASS)); @@ -3842,7 +3842,7 @@ _elm_toolbar_item_efl_access_i18n_name_get(Eo *eo_item, Elm_Toolbar_Item_Data *i } EOLIAN static Efl_Access_State_Set -_elm_toolbar_item_efl_access_state_set_get(Eo *eo_it, Elm_Toolbar_Item_Data *item EINA_UNUSED) +_elm_toolbar_item_efl_access_state_set_get(const Eo *eo_it, Elm_Toolbar_Item_Data *item EINA_UNUSED) { Efl_Access_State_Set ret; Eina_Bool sel; @@ -3860,7 +3860,7 @@ _elm_toolbar_item_efl_access_state_set_get(Eo *eo_it, Elm_Toolbar_Item_Data *ite } EOLIAN static Elm_Object_Item * -_elm_toolbar_efl_ui_widget_focused_item_get(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) +_elm_toolbar_efl_ui_widget_focused_item_get(const Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) { return sd->focused_item; } @@ -3872,7 +3872,7 @@ _elm_toolbar_class_constructor(Efl_Class *klass) } EOLIAN static const Efl_Access_Action_Data* -_elm_toolbar_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd EINA_UNUSED) +_elm_toolbar_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd EINA_UNUSED) { static Efl_Access_Action_Data atspi_actions[] = { { "select", "select", NULL, _key_action_select}, @@ -3882,7 +3882,7 @@ _elm_toolbar_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_T } EOLIAN static Eina_List* -_elm_toolbar_efl_access_access_children_get(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) +_elm_toolbar_efl_access_access_children_get(const Eo *obj EINA_UNUSED, Elm_Toolbar_Data *sd) { Eina_List *ret = NULL, *ret2 = NULL; Elm_Toolbar_Item_Data *it; @@ -3895,19 +3895,19 @@ _elm_toolbar_efl_access_access_children_get(Eo *obj EINA_UNUSED, Elm_Toolbar_Dat } EOLIAN static Efl_Access_State_Set -_elm_toolbar_efl_access_state_set_get(Eo *obj, Elm_Toolbar_Data *sd EINA_UNUSED) +_elm_toolbar_efl_access_state_set_get(const Eo *obj, Elm_Toolbar_Data *sd EINA_UNUSED) { return efl_access_state_set_get(efl_super(obj, ELM_TOOLBAR_CLASS)); } EOLIAN int -_elm_toolbar_efl_access_selection_selected_children_count_get(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *pd) +_elm_toolbar_efl_access_selection_selected_children_count_get(const Eo *obj EINA_UNUSED, Elm_Toolbar_Data *pd) { return pd->selected_item ? 1 : 0; } EOLIAN Eo* -_elm_toolbar_efl_access_selection_selected_child_get(Eo *obj EINA_UNUSED, Elm_Toolbar_Data *pd, int child_idx) +_elm_toolbar_efl_access_selection_selected_child_get(const Eo *obj EINA_UNUSED, Elm_Toolbar_Data *pd, int child_idx) { if (child_idx != 0) return NULL; diff --git a/src/lib/elementary/elm_widget.h b/src/lib/elementary/elm_widget.h index 3d7b325297..00b38892cc 100644 --- a/src/lib/elementary/elm_widget.h +++ b/src/lib/elementary/elm_widget.h @@ -754,12 +754,12 @@ EAPI Efl_Ui_Theme_Apply elm_widget_element_update(Evas_Object *obj, Evas_Object /* debug function. don't use it unless you are tracking parenting issues */ EAPI void elm_widget_tree_dump(const Evas_Object *top); EAPI void elm_widget_tree_dot_dump(const Evas_Object *top, FILE *output); -EAPI Eina_Bool _elm_widget_onscreen_is(Evas_Object *widget); -EAPI Eina_Bool _elm_widget_item_onscreen_is(Elm_Object_Item *item); -const char* _elm_widget_accessible_plain_name_get(Evas_Object *obj, const char* name); -const char* _elm_widget_item_accessible_plain_name_get(Elm_Object_Item *item, const char* name); +EAPI Eina_Bool _elm_widget_onscreen_is(const Evas_Object *widget); +EAPI Eina_Bool _elm_widget_item_onscreen_is(const Elm_Object_Item *item); +const char* _elm_widget_accessible_plain_name_get(const Evas_Object *obj, const char* name); +const char* _elm_widget_item_accessible_plain_name_get(const Elm_Object_Item *item, const char* name); -Efl_Canvas_Object * _efl_ui_widget_bg_get(Efl_Ui_Widget *obj); +Efl_Canvas_Object * _efl_ui_widget_bg_get(const Efl_Ui_Widget *obj); #define ELM_WIDGET_DATA_GET_OR_RETURN(o, ptr, ...) \ Elm_Widget_Smart_Data *ptr; \ diff --git a/src/lib/emotion/emotion_smart.c b/src/lib/emotion/emotion_smart.c index c0ce707b2b..3985103220 100644 --- a/src/lib/emotion/emotion_smart.c +++ b/src/lib/emotion/emotion_smart.c @@ -412,7 +412,7 @@ emotion_object_file_get(const Evas_Object *obj) } EOLIAN static void -_efl_canvas_video_efl_file_file_get(Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd, const char **file, const char **key) +_efl_canvas_video_efl_file_file_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd, const char **file, const char **key) { if (file) *file = sd->file; if (key) *key = NULL; @@ -648,7 +648,7 @@ emotion_object_play_get(const Evas_Object *obj) } EOLIAN static Eina_Bool -_efl_canvas_video_efl_player_play_get(Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) +_efl_canvas_video_efl_player_play_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) { if (!sd->engine_instance) return EINA_FALSE; return sd->play; @@ -686,7 +686,7 @@ emotion_object_position_get(const Evas_Object *obj) } EOLIAN static double -_efl_canvas_video_efl_player_pos_get(Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) +_efl_canvas_video_efl_player_pos_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) { if (!sd->engine_instance) return 0.0; sd->pos = emotion_engine_instance_pos_get(sd->engine_instance); @@ -746,7 +746,7 @@ emotion_object_size_get(const Evas_Object *obj, int *iw, int *ih) } EOLIAN static Eina_Size2D -_efl_canvas_video_efl_image_load_load_size_get(Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) +_efl_canvas_video_efl_image_load_load_size_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) { // FIXME: Shouldn't this be efl_gfx_view_size instead? return EINA_SIZE2D(sd->video.w, sd->video.h); @@ -771,7 +771,7 @@ emotion_object_smooth_scale_get(const Evas_Object *obj) } EOLIAN static Eina_Bool -_efl_canvas_video_efl_image_smooth_scale_get(Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) +_efl_canvas_video_efl_image_smooth_scale_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) { return evas_object_image_smooth_scale_get(sd->obj); } @@ -783,7 +783,7 @@ emotion_object_ratio_get(const Evas_Object *obj) } EOLIAN static double -_efl_canvas_video_efl_image_ratio_get(Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) +_efl_canvas_video_efl_image_ratio_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) { if (!sd->engine_instance) return 0.0; return sd->ratio; @@ -823,7 +823,7 @@ emotion_object_audio_volume_get(const Evas_Object *obj) } EOLIAN static double -_efl_canvas_video_efl_player_volume_get(Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) +_efl_canvas_video_efl_player_volume_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) { if (!sd->engine_instance) return 0.0; return emotion_engine_instance_audio_channel_volume_get(sd->engine_instance); @@ -850,7 +850,7 @@ emotion_object_audio_mute_get(const Evas_Object *obj) } EOLIAN static Eina_Bool -_efl_canvas_video_efl_player_mute_get(Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) +_efl_canvas_video_efl_player_mute_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) { if (!sd->engine_instance) return EINA_FALSE; return emotion_engine_instance_audio_channel_mute_get(sd->engine_instance); @@ -1140,13 +1140,13 @@ emotion_object_progress_status_get(const Evas_Object *obj) } EOLIAN static double -_efl_canvas_video_efl_player_progress_get(Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) +_efl_canvas_video_efl_player_progress_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) { return sd->progress.stat; } EOLIAN static double -_efl_canvas_video_efl_player_length_get(Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) +_efl_canvas_video_efl_player_length_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) { if (!sd->engine_instance) return 0.0; sd->len = emotion_engine_instance_len_get(sd->engine_instance); @@ -1154,7 +1154,7 @@ _efl_canvas_video_efl_player_length_get(Eo *obj EINA_UNUSED, Efl_Canvas_Video_Da } EOLIAN static Eina_Bool -_efl_canvas_video_efl_player_seekable_get(Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) +_efl_canvas_video_efl_player_seekable_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd) { if (!sd->engine_instance) return EINA_FALSE; return emotion_engine_instance_seekable(sd->engine_instance); diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c index f340197a30..b2ee9a4a68 100644 --- a/src/lib/eo/eo_base_class.c +++ b/src/lib/eo/eo_base_class.c @@ -438,7 +438,7 @@ _efl_object_name_set(Eo *obj EINA_UNUSED, Efl_Object_Data *pd, const char *name) } EOLIAN static const char * -_efl_object_name_get(Eo *obj EINA_UNUSED, Efl_Object_Data *pd) +_efl_object_name_get(const Eo *obj EINA_UNUSED, Efl_Object_Data *pd) { if (!pd->ext) return NULL; return pd->ext->name; @@ -619,7 +619,7 @@ _efl_object_comment_set(Eo *obj EINA_UNUSED, Efl_Object_Data *pd, const char *co } EOLIAN static const char * -_efl_object_comment_get(Eo *obj EINA_UNUSED, Efl_Object_Data *pd) +_efl_object_comment_get(const Eo *obj EINA_UNUSED, Efl_Object_Data *pd) { if (!pd->ext) return NULL; return pd->ext->comment; @@ -733,13 +733,13 @@ err_impossible: } EOLIAN static Eo * -_efl_object_parent_get(Eo *obj EINA_UNUSED, Efl_Object_Data *pd) +_efl_object_parent_get(const Eo *obj EINA_UNUSED, Efl_Object_Data *pd) { return pd->parent; } EOLIAN static Eina_Bool -_efl_object_finalized_get(Eo *obj_id, Efl_Object_Data *pd EINA_UNUSED) +_efl_object_finalized_get(const Eo *obj_id, Efl_Object_Data *pd EINA_UNUSED) { Eina_Bool finalized; EO_OBJ_POINTER_RETURN_VAL(obj_id, obj, EINA_FALSE); @@ -749,7 +749,7 @@ _efl_object_finalized_get(Eo *obj_id, Efl_Object_Data *pd EINA_UNUSED) } EOLIAN static Eina_Bool -_efl_object_invalidated_get(Eo *obj_id EINA_UNUSED, Efl_Object_Data *pd) +_efl_object_invalidated_get(const Eo *obj_id EINA_UNUSED, Efl_Object_Data *pd) { return pd->invalidate; } @@ -1755,7 +1755,7 @@ _efl_object_event_thaw(Eo *obj, Efl_Object_Data *pd) } EOLIAN static int -_efl_object_event_freeze_count_get(Eo *obj EINA_UNUSED, Efl_Object_Data *pd) +_efl_object_event_freeze_count_get(const Eo *obj EINA_UNUSED, Efl_Object_Data *pd) { return pd->event_freeze_count; } @@ -1780,7 +1780,7 @@ _efl_object_event_global_thaw(Eo *klass EINA_UNUSED, void *pd EINA_UNUSED) } EOLIAN static int -_efl_object_event_global_freeze_count_get(Eo *klass EINA_UNUSED, void *pd EINA_UNUSED) +_efl_object_event_global_freeze_count_get(const Eo *klass EINA_UNUSED, void *pd EINA_UNUSED) { return event_freeze_count; } @@ -2177,7 +2177,7 @@ _efl_object_allow_parent_unref_set(Eo *obj_id EINA_UNUSED, Efl_Object_Data *pd, } EOLIAN static Eina_Bool -_efl_object_allow_parent_unref_get(Eo *obj_id EINA_UNUSED, Efl_Object_Data *pd) +_efl_object_allow_parent_unref_get(const Eo *obj_id EINA_UNUSED, Efl_Object_Data *pd) { return pd->allow_parent_unref; } diff --git a/src/lib/evas/canvas/efl_canvas_animation.c b/src/lib/evas/canvas/efl_canvas_animation.c index 8aee04d4d6..b8c7c99861 100644 --- a/src/lib/evas/canvas/efl_canvas_animation.c +++ b/src/lib/evas/canvas/efl_canvas_animation.c @@ -11,7 +11,7 @@ _efl_canvas_animation_duration_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static double -_efl_canvas_animation_duration_get(Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Data *pd) +_efl_canvas_animation_duration_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Data *pd) { return pd->duration; } @@ -27,7 +27,7 @@ _efl_canvas_animation_final_state_keep_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static Eina_Bool -_efl_canvas_animation_final_state_keep_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_animation_final_state_keep_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Data *pd) { return pd->keep_final_state; @@ -44,7 +44,7 @@ _efl_canvas_animation_repeat_mode_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static Efl_Canvas_Animation_Repeat_Mode -_efl_canvas_animation_repeat_mode_get(Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Data *pd) +_efl_canvas_animation_repeat_mode_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Data *pd) { return pd->repeat_mode; } @@ -61,7 +61,7 @@ _efl_canvas_animation_repeat_count_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static int -_efl_canvas_animation_repeat_count_get(Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Data *pd) +_efl_canvas_animation_repeat_count_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Data *pd) { return pd->repeat_count; } @@ -77,7 +77,7 @@ _efl_canvas_animation_start_delay_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static double -_efl_canvas_animation_start_delay_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_animation_start_delay_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Data *pd) { return pd->start_delay_time; @@ -92,7 +92,7 @@ _efl_canvas_animation_interpolator_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static Efl_Interpolator * -_efl_canvas_animation_interpolator_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_animation_interpolator_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Data *pd) { return pd->interpolator; @@ -112,7 +112,7 @@ _efl_canvas_animation_animation_apply(Eo *eo_obj, } EOLIAN static double -_efl_canvas_animation_efl_playable_length_get(Eo *eo_obj, Efl_Canvas_Animation_Data *pd EINA_UNUSED) +_efl_canvas_animation_efl_playable_length_get(const Eo *eo_obj, Efl_Canvas_Animation_Data *pd EINA_UNUSED) { if (efl_animation_repeat_count_get(eo_obj) == EFL_ANIMATION_REPEAT_INFINITE) { @@ -124,13 +124,13 @@ _efl_canvas_animation_efl_playable_length_get(Eo *eo_obj, Efl_Canvas_Animation_D } EOLIAN static Eina_Bool -_efl_canvas_animation_efl_playable_playable_get(Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Data *pd EINA_UNUSED) +_efl_canvas_animation_efl_playable_playable_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Data *pd EINA_UNUSED) { return EINA_TRUE; } EOLIAN static Eina_Bool -_efl_canvas_animation_efl_playable_seekable_get(Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Data *pd EINA_UNUSED) +_efl_canvas_animation_efl_playable_seekable_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Data *pd EINA_UNUSED) { return EINA_TRUE; } diff --git a/src/lib/evas/canvas/efl_canvas_animation_alpha.c b/src/lib/evas/canvas/efl_canvas_animation_alpha.c index 82101423d8..8723aee184 100644 --- a/src/lib/evas/canvas/efl_canvas_animation_alpha.c +++ b/src/lib/evas/canvas/efl_canvas_animation_alpha.c @@ -13,7 +13,7 @@ _efl_canvas_animation_alpha_alpha_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static void -_efl_canvas_animation_alpha_alpha_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_animation_alpha_alpha_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Alpha_Data *pd, double *from_alpha, double *to_alpha) diff --git a/src/lib/evas/canvas/efl_canvas_animation_group.c b/src/lib/evas/canvas/efl_canvas_animation_group.c index 9049e5b831..ab88743a26 100644 --- a/src/lib/evas/canvas/efl_canvas_animation_group.c +++ b/src/lib/evas/canvas/efl_canvas_animation_group.c @@ -42,7 +42,7 @@ _efl_canvas_animation_group_animation_del(Eo *eo_obj EINA_UNUSED, } EOLIAN static Eina_List * -_efl_canvas_animation_group_animations_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_animation_group_animations_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Group_Data *pd) { return pd->animations; diff --git a/src/lib/evas/canvas/efl_canvas_animation_group.eo b/src/lib/evas/canvas/efl_canvas_animation_group.eo index 13a0cd54f9..b75afac6ac 100644 --- a/src/lib/evas/canvas/efl_canvas_animation_group.eo +++ b/src/lib/evas/canvas/efl_canvas_animation_group.eo @@ -18,7 +18,7 @@ abstract Efl.Canvas.Animation.Group (Efl.Canvas.Animation) @in animation: Efl.Canvas.Animation; [[The animation which needs to be deleted from the animation group]] } } - animations_get { + animations_get @const { [[Get the animations of the animation group.]] return: list; [[The animations of the animation group]] } diff --git a/src/lib/evas/canvas/efl_canvas_animation_group_parallel.c b/src/lib/evas/canvas/efl_canvas_animation_group_parallel.c index 725ae69906..4ec979caff 100644 --- a/src/lib/evas/canvas/efl_canvas_animation_group_parallel.c +++ b/src/lib/evas/canvas/efl_canvas_animation_group_parallel.c @@ -53,7 +53,7 @@ _efl_canvas_animation_group_parallel_efl_canvas_animation_animation_apply(Eo *eo } EOLIAN static double -_efl_canvas_animation_group_parallel_efl_canvas_animation_duration_get(Eo *eo_obj, void *_pd EINA_UNUSED) +_efl_canvas_animation_group_parallel_efl_canvas_animation_duration_get(const Eo *eo_obj, void *_pd EINA_UNUSED) { double child_total_duration; double total_duration = 0.0; diff --git a/src/lib/evas/canvas/efl_canvas_animation_group_sequential.c b/src/lib/evas/canvas/efl_canvas_animation_group_sequential.c index c6aade5eb5..2a83fc4431 100644 --- a/src/lib/evas/canvas/efl_canvas_animation_group_sequential.c +++ b/src/lib/evas/canvas/efl_canvas_animation_group_sequential.c @@ -58,7 +58,7 @@ _efl_canvas_animation_group_sequential_efl_canvas_animation_animation_apply(Eo * } EOLIAN static double -_efl_canvas_animation_group_sequential_efl_canvas_animation_duration_get(Eo *eo_obj, void *_pd EINA_UNUSED) +_efl_canvas_animation_group_sequential_efl_canvas_animation_duration_get(const Eo *eo_obj, void *_pd EINA_UNUSED) { double total_duration = 0.0; double child_total_duration; diff --git a/src/lib/evas/canvas/efl_canvas_animation_player.c b/src/lib/evas/canvas/efl_canvas_animation_player.c index edc9bd1170..864fab986a 100644 --- a/src/lib/evas/canvas/efl_canvas_animation_player.c +++ b/src/lib/evas/canvas/efl_canvas_animation_player.c @@ -18,7 +18,7 @@ _efl_canvas_animation_player_target_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static Efl_Canvas_Object * -_efl_canvas_animation_player_target_get(Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Player_Data *pd) +_efl_canvas_animation_player_target_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Player_Data *pd) { return pd->target; } @@ -32,7 +32,7 @@ _efl_canvas_animation_player_auto_del_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static Eina_Bool -_efl_canvas_animation_player_auto_del_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_animation_player_auto_del_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Player_Data *pd) { return pd->auto_del; @@ -63,7 +63,7 @@ _efl_canvas_animation_player_animation_set(Eo *eo_obj, } EOLIAN static Efl_Canvas_Animation * -_efl_canvas_animation_player_animation_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_animation_player_animation_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Player_Data *pd) { return pd->animation; @@ -261,14 +261,14 @@ _efl_canvas_animation_player_efl_player_play_set(Eo *eo_obj, } EOLIAN static Eina_Bool -_efl_canvas_animation_player_efl_player_play_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_animation_player_efl_player_play_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Player_Data *pd) { return pd->is_play; } EOLIAN static Eina_Bool -_efl_canvas_animation_player_efl_player_playable_get(Eo *eo_obj, +_efl_canvas_animation_player_efl_player_playable_get(const Eo *eo_obj, Efl_Canvas_Animation_Player_Data *pd EINA_UNUSED) { Efl_Canvas_Animation *anim = efl_animation_player_animation_get(eo_obj); @@ -277,7 +277,7 @@ _efl_canvas_animation_player_efl_player_playable_get(Eo *eo_obj, } EOLIAN static double -_efl_canvas_animation_player_efl_player_pos_get(Eo *eo_obj, +_efl_canvas_animation_player_efl_player_pos_get(const Eo *eo_obj, Efl_Canvas_Animation_Player_Data *pd EINA_UNUSED) { //TODO: this is not correct @@ -303,7 +303,7 @@ _efl_canvas_animation_player_efl_player_pos_set(Eo *eo_obj, } EOLIAN static double -_efl_canvas_animation_player_efl_player_progress_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_animation_player_efl_player_progress_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Player_Data *pd) { return pd->progress; @@ -321,14 +321,14 @@ _efl_canvas_animation_player_efl_player_play_speed_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static double -_efl_canvas_animation_player_efl_player_play_speed_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_animation_player_efl_player_play_speed_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Player_Data *pd) { return pd->play_speed; } EOLIAN static double -_efl_canvas_animation_player_efl_player_length_get(Eo *eo_obj, +_efl_canvas_animation_player_efl_player_length_get(const Eo *eo_obj, Efl_Canvas_Animation_Player_Data *pd EINA_UNUSED) { EFL_ANIMATION_PLAYER_ANIMATION_GET(eo_obj, anim); @@ -336,7 +336,7 @@ _efl_canvas_animation_player_efl_player_length_get(Eo *eo_obj, } EOLIAN static Eina_Bool -_efl_canvas_animation_player_efl_player_seekable_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_animation_player_efl_player_seekable_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Player_Data *pd EINA_UNUSED) { EFL_ANIMATION_PLAYER_ANIMATION_GET(eo_obj, anim); diff --git a/src/lib/evas/canvas/efl_canvas_animation_rotate.c b/src/lib/evas/canvas/efl_canvas_animation_rotate.c index 2a3f06ca07..d75f3475c6 100644 --- a/src/lib/evas/canvas/efl_canvas_animation_rotate.c +++ b/src/lib/evas/canvas/efl_canvas_animation_rotate.c @@ -35,7 +35,7 @@ _efl_canvas_animation_rotate_rotate_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static void -_efl_canvas_animation_rotate_rotate_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_animation_rotate_rotate_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Rotate_Data *pd, double *from_degree, double *to_degree, @@ -82,7 +82,7 @@ _efl_canvas_animation_rotate_rotate_absolute_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static void -_efl_canvas_animation_rotate_rotate_absolute_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_animation_rotate_rotate_absolute_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Rotate_Data *pd, double *from_degree, double *to_degree, diff --git a/src/lib/evas/canvas/efl_canvas_animation_scale.c b/src/lib/evas/canvas/efl_canvas_animation_scale.c index 67449c21b2..8e92d68910 100644 --- a/src/lib/evas/canvas/efl_canvas_animation_scale.c +++ b/src/lib/evas/canvas/efl_canvas_animation_scale.c @@ -48,7 +48,7 @@ _efl_canvas_animation_scale_scale_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static void -_efl_canvas_animation_scale_scale_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_animation_scale_scale_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Scale_Data *pd, double *from_scale_x, double *from_scale_y, @@ -109,7 +109,7 @@ _efl_canvas_animation_scale_scale_absolute_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static void -_efl_canvas_animation_scale_scale_absolute_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_animation_scale_scale_absolute_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Scale_Data *pd, double *from_scale_x, double *from_scale_y, diff --git a/src/lib/evas/canvas/efl_canvas_animation_translate.c b/src/lib/evas/canvas/efl_canvas_animation_translate.c index 361ed63a06..0307fd425a 100644 --- a/src/lib/evas/canvas/efl_canvas_animation_translate.c +++ b/src/lib/evas/canvas/efl_canvas_animation_translate.c @@ -43,7 +43,7 @@ _efl_canvas_animation_translate_translate_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static void -_efl_canvas_animation_translate_translate_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_animation_translate_translate_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Translate_Data *pd, Evas_Coord *from_x, Evas_Coord *from_y, @@ -85,7 +85,7 @@ _efl_canvas_animation_translate_translate_absolute_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static void -_efl_canvas_animation_translate_translate_absolute_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_animation_translate_translate_absolute_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Translate_Data *pd, Evas_Coord *from_x, Evas_Coord *from_y, diff --git a/src/lib/evas/canvas/efl_canvas_image.c b/src/lib/evas/canvas/efl_canvas_image.c index 0a71b98da0..9f2dd1bfec 100644 --- a/src/lib/evas/canvas/efl_canvas_image.c +++ b/src/lib/evas/canvas/efl_canvas_image.c @@ -48,7 +48,7 @@ _evas_image_mmap_get(const Eo *eo_obj, const Eina_File **f, const char **key) } EOLIAN static void -_efl_canvas_image_efl_file_mmap_get(Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED, +_efl_canvas_image_efl_file_mmap_get(const Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED, const Eina_File **f, const char **key) { _evas_image_mmap_get(eo_obj, f, key); @@ -65,7 +65,7 @@ _evas_image_load_error_get(const Eo *eo_obj) } EOLIAN static Efl_Image_Load_Error -_efl_canvas_image_efl_file_load_error_get(Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) +_efl_canvas_image_efl_file_load_error_get(const Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) { return _evas_image_load_error_get(eo_obj); } @@ -169,7 +169,7 @@ _evas_image_load_dpi_get(const Eo *eo_obj) } EOLIAN static double -_efl_canvas_image_efl_image_load_load_dpi_get(Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) +_efl_canvas_image_efl_image_load_load_dpi_get(const Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) { return _evas_image_load_dpi_get(eo_obj); } @@ -216,7 +216,7 @@ _evas_image_load_size_get(const Eo *eo_obj, int *w, int *h) } EOLIAN static Eina_Size2D -_efl_canvas_image_efl_image_load_load_size_get(Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) +_efl_canvas_image_efl_image_load_load_size_get(const Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) { Eina_Size2D sz; _evas_image_load_size_get(eo_obj, &sz.w, &sz.h); @@ -260,7 +260,7 @@ _evas_image_load_scale_down_get(const Eo *eo_obj) } EOLIAN static int -_efl_canvas_image_efl_image_load_load_scale_down_get(Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) +_efl_canvas_image_efl_image_load_load_scale_down_get(const Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) { return _evas_image_load_scale_down_get(eo_obj); } @@ -286,7 +286,7 @@ _evas_image_load_head_skip_get(const Eo *eo_obj) } EOLIAN static Eina_Bool -_efl_canvas_image_efl_image_load_load_skip_header_get(Eo *eo_obj, void *_pd EINA_UNUSED) +_efl_canvas_image_efl_image_load_load_skip_header_get(const Eo *eo_obj, void *_pd EINA_UNUSED) { return _evas_image_load_head_skip_get(eo_obj); } @@ -337,7 +337,7 @@ _evas_image_load_region_get(const Eo *eo_obj, int *x, int *y, int *w, int *h) } EOLIAN static Eina_Rect -_efl_canvas_image_efl_image_load_load_region_get(Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) +_efl_canvas_image_efl_image_load_load_region_get(const Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) { Eina_Rect r; _evas_image_load_region_get(eo_obj, &r.x, &r.y, &r.w, &r.h); @@ -373,7 +373,7 @@ _evas_image_load_orientation_get(const Eo *eo_obj) } EOLIAN static Eina_Bool -_efl_canvas_image_efl_image_load_load_orientation_get(Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) +_efl_canvas_image_efl_image_load_load_orientation_get(const Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) { return _evas_image_load_orientation_get(eo_obj); } @@ -388,7 +388,7 @@ _evas_image_load_region_support_get(const Eo *eo_obj) } EOLIAN static Eina_Bool -_efl_canvas_image_efl_image_load_load_region_support_get(Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) +_efl_canvas_image_efl_image_load_load_region_support_get(const Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) { return _evas_image_load_region_support_get(eo_obj); } @@ -407,7 +407,7 @@ _evas_image_animated_get(const Eo *eo_obj) } EOLIAN static Eina_Bool -_efl_canvas_image_efl_image_animated_animated_get(Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) +_efl_canvas_image_efl_image_animated_animated_get(const Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) { return _evas_image_animated_get(eo_obj); } @@ -427,7 +427,7 @@ _evas_image_animated_frame_count_get(const Eo *eo_obj) } EOLIAN static int -_efl_canvas_image_efl_image_animated_animated_frame_count_get(Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) +_efl_canvas_image_efl_image_animated_animated_frame_count_get(const Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) { return _evas_image_animated_frame_count_get(eo_obj); } @@ -446,7 +446,7 @@ _evas_image_animated_loop_type_get(const Eo *eo_obj) } EOLIAN static Efl_Image_Animated_Loop_Hint -_efl_canvas_image_efl_image_animated_animated_loop_type_get(Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) +_efl_canvas_image_efl_image_animated_animated_loop_type_get(const Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) { return _evas_image_animated_loop_type_get(eo_obj); } @@ -465,7 +465,7 @@ _evas_image_animated_loop_count_get(const Eo *eo_obj) } EOLIAN static int -_efl_canvas_image_efl_image_animated_animated_loop_count_get(Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) +_efl_canvas_image_efl_image_animated_animated_loop_count_get(const Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) { return _evas_image_animated_loop_count_get(eo_obj); } @@ -489,7 +489,7 @@ _evas_image_animated_frame_duration_get(const Eo *eo_obj, int start_frame, int f } EOLIAN static double -_efl_canvas_image_efl_image_animated_animated_frame_duration_get(Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED, int start_frame, int frame_num) +_efl_canvas_image_efl_image_animated_animated_frame_duration_get(const Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED, int start_frame, int frame_num) { return _evas_image_animated_frame_duration_get(eo_obj, start_frame, frame_num); } @@ -547,13 +547,13 @@ _evas_image_animated_frame_get(const Eo *eo_obj) } EOLIAN static int -_efl_canvas_image_efl_image_animated_animated_frame_get(Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) +_efl_canvas_image_efl_image_animated_animated_frame_get(const Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) { return _evas_image_animated_frame_get(eo_obj); } EOLIAN static Eina_Size2D -_efl_canvas_image_efl_gfx_buffer_buffer_size_get(Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) +_efl_canvas_image_efl_gfx_buffer_buffer_size_get(const Eo *eo_obj, void *_pd EINA_UNUSED EINA_UNUSED) { Evas_Image_Data *o = efl_data_scope_get(eo_obj, EFL_CANVAS_IMAGE_INTERNAL_CLASS); diff --git a/src/lib/evas/canvas/efl_canvas_object_event_grabber.c b/src/lib/evas/canvas/efl_canvas_object_event_grabber.c index 01851897e9..295c450216 100644 --- a/src/lib/evas/canvas/efl_canvas_object_event_grabber.c +++ b/src/lib/evas/canvas/efl_canvas_object_event_grabber.c @@ -276,7 +276,7 @@ _efl_canvas_object_event_grabber_efl_canvas_group_group_need_recalculate_set(Eo {} EOLIAN static Eina_Bool -_efl_canvas_object_event_grabber_efl_canvas_group_group_need_recalculate_get(Eo *eo_obj EINA_UNUSED, Efl_Object_Event_Grabber_Data *pd EINA_UNUSED) +_efl_canvas_object_event_grabber_efl_canvas_group_group_need_recalculate_get(const Eo *eo_obj EINA_UNUSED, Efl_Object_Event_Grabber_Data *pd EINA_UNUSED) { return EINA_FALSE; } @@ -296,7 +296,7 @@ _efl_canvas_object_event_grabber_efl_gfx_size_set(Eo *eo_obj, Efl_Object_Event_G } EOLIAN static Eina_Bool -_efl_canvas_object_event_grabber_efl_gfx_visible_get(Eo *eo_obj EINA_UNUSED, Efl_Object_Event_Grabber_Data *pd) +_efl_canvas_object_event_grabber_efl_gfx_visible_get(const Eo *eo_obj EINA_UNUSED, Efl_Object_Event_Grabber_Data *pd) { return pd->vis; } @@ -395,7 +395,7 @@ _efl_canvas_object_event_grabber_freeze_when_visible_set(Eo *eo_obj EINA_UNUSED, } EOLIAN static Eina_Bool -_efl_canvas_object_event_grabber_freeze_when_visible_get(Eo *eo_obj EINA_UNUSED, Efl_Object_Event_Grabber_Data *pd) +_efl_canvas_object_event_grabber_freeze_when_visible_get(const Eo *eo_obj EINA_UNUSED, Efl_Object_Event_Grabber_Data *pd) { return pd->freeze; } diff --git a/src/lib/evas/canvas/efl_canvas_proxy.c b/src/lib/evas/canvas/efl_canvas_proxy.c index 60049ecaaf..b057400808 100644 --- a/src/lib/evas/canvas/efl_canvas_proxy.c +++ b/src/lib/evas/canvas/efl_canvas_proxy.c @@ -70,7 +70,7 @@ _evas_image_proxy_source_get(const Eo *eo_obj) } EOLIAN static Evas_Object * -_efl_canvas_proxy_source_get(Eo *eo_obj, void *_pd EINA_UNUSED) +_efl_canvas_proxy_source_get(const Eo *eo_obj, void *_pd EINA_UNUSED) { return _evas_image_proxy_source_get(eo_obj); } @@ -107,7 +107,7 @@ _evas_image_proxy_source_clip_get(const Eo *eo_obj) } EOLIAN static Eina_Bool -_efl_canvas_proxy_source_clip_get(Eo *eo_obj, void *_pd EINA_UNUSED) +_efl_canvas_proxy_source_clip_get(const Eo *eo_obj, void *_pd EINA_UNUSED) { return _evas_image_proxy_source_clip_get(eo_obj); } @@ -144,7 +144,7 @@ _evas_image_proxy_source_events_get(const Eo *eo_obj) } EOLIAN static Eina_Bool -_efl_canvas_proxy_source_events_get(Eo *eo_obj, void *_pd EINA_UNUSED) +_efl_canvas_proxy_source_events_get(const Eo *eo_obj, void *_pd EINA_UNUSED) { return _evas_image_proxy_source_events_get(eo_obj); } diff --git a/src/lib/evas/canvas/efl_canvas_scene3d.c b/src/lib/evas/canvas/efl_canvas_scene3d.c index 54ca41a06a..3dff89783a 100644 --- a/src/lib/evas/canvas/efl_canvas_scene3d.c +++ b/src/lib/evas/canvas/efl_canvas_scene3d.c @@ -22,7 +22,7 @@ _efl_canvas_scene3d_scene3d_set(Eo *eo_obj, void *pd EINA_UNUSED, Evas_Canvas3D_ } EOLIAN static Evas_Canvas3D_Scene * -_efl_canvas_scene3d_scene3d_get(Eo *eo_obj, void *pd EINA_UNUSED) +_efl_canvas_scene3d_scene3d_get(const Eo *eo_obj, void *pd EINA_UNUSED) { Evas_Image_Data *o = efl_data_scope_get(eo_obj, EFL_CANVAS_IMAGE_INTERNAL_CLASS); return o->cur->scene; diff --git a/src/lib/evas/canvas/efl_canvas_surface.c b/src/lib/evas/canvas/efl_canvas_surface.c index 9d3437b1a0..a9993829b7 100644 --- a/src/lib/evas/canvas/efl_canvas_surface.c +++ b/src/lib/evas/canvas/efl_canvas_surface.c @@ -11,7 +11,7 @@ _efl_canvas_surface_efl_object_constructor(Eo *eo, Efl_Canvas_Surface_Data *pd) } EOLIAN static void * -_efl_canvas_surface_native_buffer_get(Eo *obj EINA_UNUSED, Efl_Canvas_Surface_Data *pd) +_efl_canvas_surface_native_buffer_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Surface_Data *pd) { return pd->buffer; } diff --git a/src/lib/evas/canvas/efl_canvas_surface_x11.c b/src/lib/evas/canvas/efl_canvas_surface_x11.c index bb56e8c14f..5dc10ddbbe 100644 --- a/src/lib/evas/canvas/efl_canvas_surface_x11.c +++ b/src/lib/evas/canvas/efl_canvas_surface_x11.c @@ -57,7 +57,7 @@ _efl_canvas_surface_x11_pixmap_set(Eo *eo, Efl_Canvas_Surface_X11_Data *pd EINA_ } EOLIAN static void -_efl_canvas_surface_x11_pixmap_get(Eo *eo EINA_UNUSED, Efl_Canvas_Surface_X11_Data *pd, void **visual, unsigned long *pixmap) +_efl_canvas_surface_x11_pixmap_get(const Eo *eo EINA_UNUSED, Efl_Canvas_Surface_X11_Data *pd, void **visual, unsigned long *pixmap) { if (pixmap) *pixmap = pd->px.pixmap; if (visual) *visual = pd->px.visual; diff --git a/src/lib/evas/canvas/efl_canvas_text.eo b/src/lib/evas/canvas/efl_canvas_text.eo index 4053374692..07f7d81277 100644 --- a/src/lib/evas/canvas/efl_canvas_text.eo +++ b/src/lib/evas/canvas/efl_canvas_text.eo @@ -155,7 +155,7 @@ class Efl.Canvas.Text (Efl.Canvas.Object, Efl.Text, h: int; [[The height returned.]] } } - range_text_get { + range_text_get @const { [[Returns the text in the range between $cur1 and $cur2. @since 1.18 diff --git a/src/lib/evas/canvas/efl_canvas_vg.c b/src/lib/evas/canvas/efl_canvas_vg.c index c64a8fa28f..92bf7c04fd 100644 --- a/src/lib/evas/canvas/efl_canvas_vg.c +++ b/src/lib/evas/canvas/efl_canvas_vg.c @@ -132,7 +132,7 @@ evas_object_vg_add(Evas *e) } EOLIAN static Efl_VG * -_efl_canvas_vg_root_node_get(Eo *obj EINA_UNUSED, Efl_Canvas_Vg_Data *pd) +_efl_canvas_vg_root_node_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Vg_Data *pd) { Efl_VG *root = NULL; @@ -194,7 +194,7 @@ _efl_canvas_vg_fill_mode_set(Eo *obj EINA_UNUSED, Efl_Canvas_Vg_Data *pd, Efl_Ca } EOLIAN static Efl_Canvas_Vg_Fill_Mode -_efl_canvas_vg_fill_mode_get(Eo *obj EINA_UNUSED, Efl_Canvas_Vg_Data *pd) +_efl_canvas_vg_fill_mode_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Vg_Data *pd) { return pd->fill_mode; } @@ -227,7 +227,7 @@ _efl_canvas_vg_viewbox_set(Eo *obj, Efl_Canvas_Vg_Data *pd, Eina_Rect viewbox) } EOLIAN static Eina_Rect -_efl_canvas_vg_viewbox_get(Eo *obj EINA_UNUSED, Efl_Canvas_Vg_Data *pd) +_efl_canvas_vg_viewbox_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Vg_Data *pd) { return pd->viewbox; } @@ -246,7 +246,7 @@ _efl_canvas_vg_viewbox_align_set(Eo *obj EINA_UNUSED, Efl_Canvas_Vg_Data *pd, do } EOLIAN static void -_efl_canvas_vg_viewbox_align_get(Eo *obj EINA_UNUSED, Efl_Canvas_Vg_Data *pd, double *align_x, double *align_y) +_efl_canvas_vg_viewbox_align_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Vg_Data *pd, double *align_x, double *align_y) { if (align_x) *align_x = pd->align_x; if (align_y) *align_y = pd->align_y; @@ -273,7 +273,7 @@ _efl_canvas_vg_efl_file_file_set(Eo *obj, Efl_Canvas_Vg_Data *pd, const char *fi } EOLIAN static void -_efl_canvas_vg_efl_file_file_get(Eo *obj EINA_UNUSED, Efl_Canvas_Vg_Data *pd, const char **file, const char **key) +_efl_canvas_vg_efl_file_file_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Vg_Data *pd, const char **file, const char **key) { if (pd->vg_entry) { diff --git a/src/lib/evas/canvas/efl_gfx_map.c b/src/lib/evas/canvas/efl_gfx_map.c index 4bcc11871d..1d070921d0 100644 --- a/src/lib/evas/canvas/efl_gfx_map.c +++ b/src/lib/evas/canvas/efl_gfx_map.c @@ -244,7 +244,7 @@ _map_dirty(Eo *eo_obj, Efl_Gfx_Map_Data *pd, Eina_Bool reset) } static Evas_Map * -_map_calc(Eo *eo_obj, Evas_Object_Protected_Data *obj, Efl_Gfx_Map_Data *pd) +_map_calc(const Eo *eo_obj, Evas_Object_Protected_Data *obj, Efl_Gfx_Map_Data *pd) { Gfx_Map_Op *op, *first_op = pd->cow->ops, *last_op; Gfx_Map_Pivot *pivot; @@ -518,7 +518,7 @@ _efl_gfx_map_map_reset(Eo *eo_obj, Efl_Gfx_Map_Data *pd) } EOLIAN static int -_efl_gfx_map_map_point_count_get(Eo *eo_obj EINA_UNUSED, Efl_Gfx_Map_Data *pd) +_efl_gfx_map_map_point_count_get(const Eo *eo_obj EINA_UNUSED, Efl_Gfx_Map_Data *pd) { return pd->cow->count; } @@ -560,7 +560,7 @@ _efl_gfx_map_map_point_count_set(Eo *eo_obj EINA_UNUSED, Efl_Gfx_Map_Data *pd, i } EOLIAN static Eina_Bool -_efl_gfx_map_map_clockwise_get(Eo *eo_obj, Efl_Gfx_Map_Data *pd) +_efl_gfx_map_map_clockwise_get(const Eo *eo_obj, Efl_Gfx_Map_Data *pd) { Evas_Object_Protected_Data *obj = EVAS_OBJ_GET_OR_RETURN(eo_obj, EINA_TRUE); Evas_Map *m; @@ -581,7 +581,7 @@ _efl_gfx_map_map_smooth_set(Eo *eo_obj, Efl_Gfx_Map_Data *pd, Eina_Bool smooth) } EOLIAN static Eina_Bool -_efl_gfx_map_map_smooth_get(Eo *eo_obj EINA_UNUSED, Efl_Gfx_Map_Data *pd) +_efl_gfx_map_map_smooth_get(const Eo *eo_obj EINA_UNUSED, Efl_Gfx_Map_Data *pd) { return pd->cow->smooth; } @@ -597,13 +597,13 @@ _efl_gfx_map_map_alpha_set(Eo *eo_obj, Efl_Gfx_Map_Data *pd, Eina_Bool alpha) } EOLIAN static Eina_Bool -_efl_gfx_map_map_alpha_get(Eo *eo_obj EINA_UNUSED, Efl_Gfx_Map_Data *pd) +_efl_gfx_map_map_alpha_get(const Eo *eo_obj EINA_UNUSED, Efl_Gfx_Map_Data *pd) { return pd->cow->alpha; } EOLIAN static void -_efl_gfx_map_map_coord_absolute_get(Eo *eo_obj, Efl_Gfx_Map_Data *pd, +_efl_gfx_map_map_coord_absolute_get(const Eo *eo_obj, Efl_Gfx_Map_Data *pd, int idx, double *x, double *y, double *z) { Evas_Object_Protected_Data *obj = EVAS_OBJ_GET_OR_RETURN(eo_obj); @@ -665,7 +665,7 @@ _efl_gfx_map_map_uv_set(Eo *eo_obj, Efl_Gfx_Map_Data *pd, } EOLIAN static void -_efl_gfx_map_map_uv_get(Eo *eo_obj EINA_UNUSED, Efl_Gfx_Map_Data *pd, +_efl_gfx_map_map_uv_get(const Eo *eo_obj EINA_UNUSED, Efl_Gfx_Map_Data *pd, int idx, double *u, double *v) { EINA_SAFETY_ON_FALSE_RETURN((idx >= 0) && (idx < pd->cow->count) @@ -676,7 +676,7 @@ _efl_gfx_map_map_uv_get(Eo *eo_obj EINA_UNUSED, Efl_Gfx_Map_Data *pd, } EOLIAN static void -_efl_gfx_map_map_color_get(Eo *eo_obj EINA_UNUSED, Efl_Gfx_Map_Data *pd, +_efl_gfx_map_map_color_get(const Eo *eo_obj EINA_UNUSED, Efl_Gfx_Map_Data *pd, int idx, int *r, int *g, int *b, int *a) { Evas_Object_Protected_Data *obj = EVAS_OBJ_GET_OR_RETURN(eo_obj); diff --git a/src/lib/evas/canvas/efl_input_event.c b/src/lib/evas/canvas/efl_input_event.c index 29925b1c46..88c0a98d0e 100644 --- a/src/lib/evas/canvas/efl_input_event.c +++ b/src/lib/evas/canvas/efl_input_event.c @@ -23,7 +23,7 @@ _efl_input_event_processed_set(Eo *obj, void *pd EINA_UNUSED, Eina_Bool val) } EOLIAN static Eina_Bool -_efl_input_event_processed_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED) +_efl_input_event_processed_get(const Eo *obj EINA_UNUSED, void *pd EINA_UNUSED) { return !!(efl_input_event_flags_get(obj) & EFL_INPUT_FLAGS_PROCESSED); } @@ -38,13 +38,13 @@ _efl_input_event_scrolling_set(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED, Eina_B } EOLIAN static Eina_Bool -_efl_input_event_scrolling_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED) +_efl_input_event_scrolling_get(const Eo *obj EINA_UNUSED, void *pd EINA_UNUSED) { return !!(efl_input_event_flags_get(obj) & EFL_INPUT_FLAGS_SCROLLING); } EOLIAN static Eina_Bool -_efl_input_event_fake_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED) +_efl_input_event_fake_get(const Eo *obj EINA_UNUSED, void *pd EINA_UNUSED) { return EINA_FALSE; } diff --git a/src/lib/evas/canvas/efl_input_focus.c b/src/lib/evas/canvas/efl_input_focus.c index 239b5309b3..606d1b73a7 100644 --- a/src/lib/evas/canvas/efl_input_focus.c +++ b/src/lib/evas/canvas/efl_input_focus.c @@ -79,7 +79,7 @@ _efl_input_focus_object_set(Eo *obj EINA_UNUSED, Efl_Input_Focus_Data *pd, } EOLIAN static Efl_Object * -_efl_input_focus_object_get(Eo *obj EINA_UNUSED, Efl_Input_Focus_Data *pd) +_efl_input_focus_object_get(const Eo *obj EINA_UNUSED, Efl_Input_Focus_Data *pd) { return pd->object_wref; } @@ -93,7 +93,7 @@ _efl_input_focus_efl_input_event_device_set(Eo *obj EINA_UNUSED, } EOLIAN static Efl_Input_Device * -_efl_input_focus_efl_input_event_device_get(Eo *obj EINA_UNUSED, +_efl_input_focus_efl_input_event_device_get(const Eo *obj EINA_UNUSED, Efl_Input_Focus_Data *pd) { return pd->device; @@ -108,7 +108,7 @@ _efl_input_focus_efl_input_event_timestamp_set(Eo *obj EINA_UNUSED, } EOLIAN static double -_efl_input_focus_efl_input_event_timestamp_get(Eo *obj EINA_UNUSED, +_efl_input_focus_efl_input_event_timestamp_get(const Eo *obj EINA_UNUSED, Efl_Input_Focus_Data *pd) { return pd->timestamp; diff --git a/src/lib/evas/canvas/efl_input_hold.c b/src/lib/evas/canvas/efl_input_hold.c index 0e23efd3cc..82e29c3e7f 100644 --- a/src/lib/evas/canvas/efl_input_hold.c +++ b/src/lib/evas/canvas/efl_input_hold.c @@ -19,7 +19,7 @@ _efl_input_hold_hold_set(Eo *obj EINA_UNUSED, Efl_Input_Hold_Data *pd, Eina_Bool } EOLIAN static Eina_Bool -_efl_input_hold_hold_get(Eo *obj EINA_UNUSED, Efl_Input_Hold_Data *pd) +_efl_input_hold_hold_get(const Eo *obj EINA_UNUSED, Efl_Input_Hold_Data *pd) { return pd->hold; } @@ -31,13 +31,13 @@ _efl_input_hold_efl_input_event_device_set(Eo *obj EINA_UNUSED, Efl_Input_Hold_D } EOLIAN static Efl_Input_Device * -_efl_input_hold_efl_input_event_device_get(Eo *obj EINA_UNUSED, Efl_Input_Hold_Data *pd) +_efl_input_hold_efl_input_event_device_get(const Eo *obj EINA_UNUSED, Efl_Input_Hold_Data *pd) { return pd->device; } EOLIAN static double -_efl_input_hold_efl_input_event_timestamp_get(Eo *obj EINA_UNUSED, Efl_Input_Hold_Data *pd) +_efl_input_hold_efl_input_event_timestamp_get(const Eo *obj EINA_UNUSED, Efl_Input_Hold_Data *pd) { return pd->timestamp; } @@ -55,7 +55,7 @@ _efl_input_hold_efl_input_event_event_flags_set(Eo *obj EINA_UNUSED, Efl_Input_H } EOLIAN static Efl_Input_Flags -_efl_input_hold_efl_input_event_event_flags_get(Eo *obj EINA_UNUSED, Efl_Input_Hold_Data *pd) +_efl_input_hold_efl_input_event_event_flags_get(const Eo *obj EINA_UNUSED, Efl_Input_Hold_Data *pd) { return pd->event_flags; } diff --git a/src/lib/evas/canvas/efl_input_key.c b/src/lib/evas/canvas/efl_input_key.c index c2cff2add5..d2e619d14d 100644 --- a/src/lib/evas/canvas/efl_input_key.c +++ b/src/lib/evas/canvas/efl_input_key.c @@ -116,7 +116,7 @@ _efl_input_key_pressed_set(Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd, Eina_Boo } EOLIAN static Eina_Bool -_efl_input_key_pressed_get(Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) +_efl_input_key_pressed_get(const Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) { return pd->pressed; } @@ -128,7 +128,7 @@ _efl_input_key_key_name_set(Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd, const c } EOLIAN static const char * -_efl_input_key_key_name_get(Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) +_efl_input_key_key_name_get(const Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) { return pd->keyname; } @@ -140,7 +140,7 @@ _efl_input_key_key_set(Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd, const char * } EOLIAN static const char * -_efl_input_key_key_get(Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) +_efl_input_key_key_get(const Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) { return pd->key; } @@ -152,7 +152,7 @@ _efl_input_key_string_set(Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd, const cha } EOLIAN static const char * -_efl_input_key_string_get(Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) +_efl_input_key_string_get(const Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) { return pd->string; } @@ -164,7 +164,7 @@ _efl_input_key_compose_set(Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd, const ch } EOLIAN static const char * -_efl_input_key_compose_get(Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) +_efl_input_key_compose_get(const Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) { return pd->compose; } @@ -176,7 +176,7 @@ _efl_input_key_key_code_set(Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd, int val } EOLIAN static int -_efl_input_key_key_code_get(Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) +_efl_input_key_key_code_get(const Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) { return pd->keycode; } @@ -224,7 +224,7 @@ _efl_input_key_efl_input_event_timestamp_set(Eo *obj EINA_UNUSED, Efl_Input_Key_ } EOLIAN static double -_efl_input_key_efl_input_event_timestamp_get(Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) +_efl_input_key_efl_input_event_timestamp_get(const Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) { return pd->timestamp; } @@ -236,7 +236,7 @@ _efl_input_key_efl_input_event_event_flags_set(Eo *obj EINA_UNUSED, Efl_Input_Ke } EOLIAN static Efl_Input_Flags -_efl_input_key_efl_input_event_event_flags_get(Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) +_efl_input_key_efl_input_event_event_flags_get(const Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) { return pd->event_flags; } @@ -248,13 +248,13 @@ _efl_input_key_efl_input_event_device_set(Eo *obj EINA_UNUSED, Efl_Input_Key_Dat } EOLIAN static Efl_Input_Device * -_efl_input_key_efl_input_event_device_get(Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) +_efl_input_key_efl_input_event_device_get(const Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) { return pd->device; } EOLIAN static Eina_Bool -_efl_input_key_efl_input_state_modifier_enabled_get(Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd, +_efl_input_key_efl_input_state_modifier_enabled_get(const Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd, Efl_Input_Modifier mod, const Efl_Input_Device *seat) { const char *name; @@ -271,7 +271,7 @@ _efl_input_key_efl_input_state_modifier_enabled_get(Eo *obj EINA_UNUSED, Efl_Inp } EOLIAN static Eina_Bool -_efl_input_key_efl_input_state_lock_enabled_get(Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd, +_efl_input_key_efl_input_state_lock_enabled_get(const Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd, Efl_Input_Lock lock, const Efl_Input_Device *seat) { const char *name; @@ -288,7 +288,7 @@ _efl_input_key_efl_input_state_lock_enabled_get(Eo *obj EINA_UNUSED, Efl_Input_K } EOLIAN static Eina_Bool -_efl_input_key_efl_input_event_fake_get(Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) +_efl_input_key_efl_input_event_fake_get(const Eo *obj EINA_UNUSED, Efl_Input_Key_Data *pd) { return pd->fake; } diff --git a/src/lib/evas/canvas/efl_input_pointer.c b/src/lib/evas/canvas/efl_input_pointer.c index d2e565f2a7..4db5fb8d0c 100644 --- a/src/lib/evas/canvas/efl_input_pointer.c +++ b/src/lib/evas/canvas/efl_input_pointer.c @@ -174,7 +174,7 @@ _efl_input_pointer_action_set(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd, E } EOLIAN static Efl_Pointer_Action -_efl_input_pointer_action_get(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) +_efl_input_pointer_action_get(const Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) { return pd->action; } @@ -187,7 +187,7 @@ _efl_input_pointer_button_set(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd, i } EOLIAN static int -_efl_input_pointer_button_get(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) +_efl_input_pointer_button_get(const Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) { return pd->button; } @@ -205,7 +205,7 @@ _efl_input_pointer_button_pressed_set(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Dat } EOLIAN static Eina_Bool -_efl_input_pointer_button_pressed_get(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd, int button) +_efl_input_pointer_button_pressed_get(const Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd, int button) { if (button < 0) return EINA_FALSE; if (button > 31) return EINA_FALSE; @@ -222,7 +222,7 @@ _efl_input_pointer_position_set(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd, } EOLIAN static Eina_Position2D -_efl_input_pointer_position_get(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) +_efl_input_pointer_position_get(const Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) { return EINA_POSITION2D((int) pd->cur.x, (int) pd->cur.y); } @@ -236,7 +236,7 @@ _efl_input_pointer_precise_position_set(Eo *obj EINA_UNUSED, Efl_Input_Pointer_D } EOLIAN static Eina_Vector2 -_efl_input_pointer_precise_position_get(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) +_efl_input_pointer_precise_position_get(const Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) { return pd->cur; } @@ -251,7 +251,7 @@ _efl_input_pointer_previous_position_set(Eo *obj EINA_UNUSED, Efl_Input_Pointer_ } EOLIAN static Eina_Position2D -_efl_input_pointer_previous_position_get(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) +_efl_input_pointer_previous_position_get(const Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) { return EINA_POSITION2D((int) pd->prev.x, (int) pd->prev.y); } @@ -263,7 +263,7 @@ _efl_input_pointer_efl_input_event_device_set(Eo *obj EINA_UNUSED, Efl_Input_Poi } EOLIAN static Efl_Input_Device * -_efl_input_pointer_efl_input_event_device_get(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) +_efl_input_pointer_efl_input_event_device_get(const Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) { return pd->device; } @@ -276,7 +276,7 @@ _efl_input_pointer_source_set(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd, E } EOLIAN static Efl_Gfx * -_efl_input_pointer_source_get(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) +_efl_input_pointer_source_get(const Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) { return pd->source; } @@ -288,7 +288,7 @@ _efl_input_pointer_button_flags_set(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data } EOLIAN static Efl_Pointer_Flags -_efl_input_pointer_button_flags_get(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) +_efl_input_pointer_button_flags_get(const Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) { return pd->button_flags; } @@ -300,7 +300,7 @@ _efl_input_pointer_efl_input_event_event_flags_set(Eo *obj EINA_UNUSED, Efl_Inpu } EOLIAN static Efl_Input_Flags -_efl_input_pointer_efl_input_event_event_flags_get(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) +_efl_input_pointer_efl_input_event_event_flags_get(const Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) { return pd->event_flags; } @@ -313,7 +313,7 @@ _efl_input_pointer_efl_input_event_timestamp_set(Eo *obj EINA_UNUSED, Efl_Input_ } EOLIAN static double -_efl_input_pointer_efl_input_event_timestamp_get(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) +_efl_input_pointer_efl_input_event_timestamp_get(const Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) { return (double) pd->timestamp; } @@ -326,7 +326,7 @@ _efl_input_pointer_wheel_horizontal_set(Eo *obj EINA_UNUSED, Efl_Input_Pointer_D } EOLIAN static Eina_Bool -_efl_input_pointer_wheel_horizontal_get(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) +_efl_input_pointer_wheel_horizontal_get(const Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) { return pd->wheel.horizontal; } @@ -339,13 +339,13 @@ _efl_input_pointer_wheel_delta_set(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data * } EOLIAN static int -_efl_input_pointer_wheel_delta_get(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) +_efl_input_pointer_wheel_delta_get(const Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) { return pd->wheel.z; } EOLIAN static int -_efl_input_pointer_tool_get(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) +_efl_input_pointer_tool_get(const Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) { return pd->tool; } @@ -358,7 +358,7 @@ _efl_input_pointer_tool_set(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd, int } EOLIAN static Eina_Bool -_efl_input_pointer_efl_input_state_modifier_enabled_get(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd, +_efl_input_pointer_efl_input_state_modifier_enabled_get(const Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd, Efl_Input_Modifier mod, const Efl_Input_Device *seat) { const char *name; @@ -375,7 +375,7 @@ _efl_input_pointer_efl_input_state_modifier_enabled_get(Eo *obj EINA_UNUSED, Efl } EOLIAN static Eina_Bool -_efl_input_pointer_efl_input_state_lock_enabled_get(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd, +_efl_input_pointer_efl_input_state_lock_enabled_get(const Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd, Efl_Input_Lock lock, const Efl_Input_Device *seat) { const char *name; @@ -401,7 +401,7 @@ _efl_input_pointer_double_click_set(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data } EOLIAN static Eina_Bool -_efl_input_pointer_double_click_get(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) +_efl_input_pointer_double_click_get(const Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) { return !!(pd->button_flags & EFL_POINTER_FLAGS_DOUBLE_CLICK); } @@ -416,20 +416,20 @@ _efl_input_pointer_triple_click_set(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data } EOLIAN static Eina_Bool -_efl_input_pointer_triple_click_get(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) +_efl_input_pointer_triple_click_get(const Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) { return !!(pd->button_flags & EFL_POINTER_FLAGS_TRIPLE_CLICK); } EOLIAN static Eina_Bool -_efl_input_pointer_efl_input_event_fake_get(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) +_efl_input_pointer_efl_input_event_fake_get(const Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd) { // read-only return pd->fake; } EOLIAN static Eina_Bool -_efl_input_pointer_value_has_get(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd, Efl_Input_Value key) +_efl_input_pointer_value_has_get(const Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd, Efl_Input_Value key) { if (!pd || (key <= EFL_INPUT_VALUE_NONE) || (key > EFL_INPUT_VALUE_SLIDER)) return EINA_FALSE; @@ -547,7 +547,7 @@ _efl_input_pointer_value_set(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd, Ef } EOLIAN static double -_efl_input_pointer_value_get(Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd, Efl_Input_Value key) +_efl_input_pointer_value_get(const Eo *obj EINA_UNUSED, Efl_Input_Pointer_Data *pd, Efl_Input_Value key) { switch (key) { diff --git a/src/lib/evas/canvas/evas_canvas3d_light.c b/src/lib/evas/canvas/evas_canvas3d_light.c index 3149e83dc0..887f3abb6c 100644 --- a/src/lib/evas/canvas/evas_canvas3d_light.c +++ b/src/lib/evas/canvas/evas_canvas3d_light.c @@ -129,7 +129,7 @@ _evas_canvas3d_light_directional_set(Eo *obj, Evas_Canvas3D_Light_Data *pd, Eina } EOLIAN static Eina_Bool -_evas_canvas3d_light_directional_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Light_Data *pd) +_evas_canvas3d_light_directional_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Light_Data *pd) { return pd->directional; } @@ -202,7 +202,7 @@ _evas_canvas3d_light_spot_exponent_set(Eo *obj, Evas_Canvas3D_Light_Data *pd, Ev } EOLIAN static Evas_Real -_evas_canvas3d_light_spot_exponent_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Light_Data *pd) +_evas_canvas3d_light_spot_exponent_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Light_Data *pd) { return pd->spot_exp; } @@ -216,7 +216,7 @@ _evas_canvas3d_light_spot_cutoff_set(Eo *obj, Evas_Canvas3D_Light_Data *pd, Evas } EOLIAN static Evas_Real -_evas_canvas3d_light_spot_cutoff_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Light_Data *pd) +_evas_canvas3d_light_spot_cutoff_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Light_Data *pd) { return pd->spot_cutoff; } @@ -249,7 +249,7 @@ _evas_canvas3d_light_attenuation_enable_set(Eo *obj, Evas_Canvas3D_Light_Data *p } EOLIAN static Eina_Bool -_evas_canvas3d_light_attenuation_enable_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Light_Data *pd) +_evas_canvas3d_light_attenuation_enable_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Light_Data *pd) { return pd->enable_attenuation; } diff --git a/src/lib/evas/canvas/evas_canvas3d_material.c b/src/lib/evas/canvas/evas_canvas3d_material.c index 404efd3cac..48f6ce1e5a 100644 --- a/src/lib/evas/canvas/evas_canvas3d_material.c +++ b/src/lib/evas/canvas/evas_canvas3d_material.c @@ -145,7 +145,7 @@ _evas_canvas3d_material_enable_set(Eo *obj EINA_UNUSED, Evas_Canvas3D_Material_D } EOLIAN static Eina_Bool -_evas_canvas3d_material_enable_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Material_Data *pd, Evas_Canvas3D_Material_Attrib attrib) +_evas_canvas3d_material_enable_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Material_Data *pd, Evas_Canvas3D_Material_Attrib attrib) { return pd->attribs[attrib].enable; } @@ -173,7 +173,7 @@ _evas_canvas3d_material_shininess_set(Eo *obj EINA_UNUSED, Evas_Canvas3D_Materia } EOLIAN static Evas_Real -_evas_canvas3d_material_shininess_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Material_Data *pd) +_evas_canvas3d_material_shininess_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Material_Data *pd) { return pd->shininess; } @@ -198,7 +198,7 @@ _evas_canvas3d_material_texture_set(Eo *obj, Evas_Canvas3D_Material_Data *pd, Ev } EOLIAN static Evas_Canvas3D_Texture * -_evas_canvas3d_material_texture_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Material_Data *pd, Evas_Canvas3D_Material_Attrib attrib) +_evas_canvas3d_material_texture_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Material_Data *pd, Evas_Canvas3D_Material_Attrib attrib) { return pd->attribs[attrib].texture; } diff --git a/src/lib/evas/canvas/evas_canvas3d_mesh.c b/src/lib/evas/canvas/evas_canvas3d_mesh.c index ad5b3fdc8e..5f3d6a0d9a 100644 --- a/src/lib/evas/canvas/evas_canvas3d_mesh.c +++ b/src/lib/evas/canvas/evas_canvas3d_mesh.c @@ -287,7 +287,7 @@ _evas_canvas3d_mesh_shader_mode_set(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data } EOLIAN static Evas_Canvas3D_Shader_Mode -_evas_canvas3d_mesh_shader_mode_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) +_evas_canvas3d_mesh_shader_mode_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) { return pd->shader_mode; } @@ -300,7 +300,7 @@ _evas_canvas3d_mesh_vertex_count_set(Eo *obj, Evas_Canvas3D_Mesh_Data *pd, unsig } EOLIAN static unsigned int -_evas_canvas3d_mesh_vertex_count_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) +_evas_canvas3d_mesh_vertex_count_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) { return pd->vertex_count; } @@ -380,7 +380,7 @@ _evas_canvas3d_mesh_frame_material_set(Eo *obj, Evas_Canvas3D_Mesh_Data *pd, int } EOLIAN static Evas_Canvas3D_Material * -_evas_canvas3d_mesh_frame_material_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd, int frame) +_evas_canvas3d_mesh_frame_material_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd, int frame) { Evas_Canvas3D_Mesh_Frame *f = evas_canvas3d_mesh_frame_find(pd, frame); @@ -763,7 +763,7 @@ _evas_canvas3d_mesh_vertex_assembly_set(Eo *obj, Evas_Canvas3D_Mesh_Data *pd, Ev } EOLIAN static Evas_Canvas3D_Vertex_Assembly -_evas_canvas3d_mesh_vertex_assembly_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) +_evas_canvas3d_mesh_vertex_assembly_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) { return pd->assembly; } @@ -793,7 +793,7 @@ _evas_canvas3d_mesh_fog_enable_set(Eo *obj, Evas_Canvas3D_Mesh_Data *pd, Eina_Bo } EOLIAN static Eina_Bool -_evas_canvas3d_mesh_fog_enable_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) +_evas_canvas3d_mesh_fog_enable_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) { return pd->fog_enabled; } @@ -806,7 +806,7 @@ _evas_canvas3d_mesh_blending_enable_set(Eo *obj, Evas_Canvas3D_Mesh_Data *pd, Ei } EOLIAN static Eina_Bool -_evas_canvas3d_mesh_blending_enable_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) +_evas_canvas3d_mesh_blending_enable_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) { return pd->blending; } @@ -840,7 +840,7 @@ _evas_canvas3d_mesh_alpha_func_set(Eo *obj, Evas_Canvas3D_Mesh_Data *pd, Evas_Ca } EOLIAN static void -_evas_canvas3d_mesh_alpha_func_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd, +_evas_canvas3d_mesh_alpha_func_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd, Evas_Canvas3D_Comparison *comparison, Evas_Real *ref_value) { @@ -856,7 +856,7 @@ _evas_canvas3d_mesh_alpha_test_enable_set(Eo *obj, Evas_Canvas3D_Mesh_Data *pd, } EOLIAN static Eina_Bool -_evas_canvas3d_mesh_alpha_test_enable_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) +_evas_canvas3d_mesh_alpha_test_enable_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) { return pd->alpha_test_enabled; } @@ -1080,7 +1080,7 @@ evas_canvas3d_mesh_interpolate_vertex_buffer_get(Evas_Canvas3D_Mesh *mesh, int f } EOLIAN static Eina_Bool -_evas_canvas3d_mesh_color_pick_enable_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) +_evas_canvas3d_mesh_color_pick_enable_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) { return pd->color_pick_enabled; } @@ -1104,7 +1104,7 @@ _evas_canvas3d_mesh_shadows_edges_filtering_set(Eo *obj, Evas_Canvas3D_Mesh_Data } EOLIAN static void -_evas_canvas3d_mesh_shadows_edges_filtering_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd, +_evas_canvas3d_mesh_shadows_edges_filtering_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd, int *blur_level, Evas_Real *edges_size) { if (blur_level) *blur_level = pd->shadows_edges_filtering_level; @@ -1123,7 +1123,7 @@ _evas_canvas3d_mesh_shadows_constant_bias_set(Eo *obj EINA_UNUSED, Evas_Canvas3D } EOLIAN static Evas_Real -_evas_canvas3d_mesh_shadows_constant_bias_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) +_evas_canvas3d_mesh_shadows_constant_bias_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd) { return pd->shadows_constant_bias; } @@ -1162,7 +1162,7 @@ _evas_canvas3d_mesh_lod_boundary_set(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Dat } EOLIAN static void -_evas_canvas3d_mesh_lod_boundary_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd, +_evas_canvas3d_mesh_lod_boundary_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd, Evas_Real *near_lod, Evas_Real *far_lod) { *near_lod = pd->near_lod_boundary; diff --git a/src/lib/evas/canvas/evas_canvas3d_node.c b/src/lib/evas/canvas/evas_canvas3d_node.c index 9e194397a2..f80395f362 100644 --- a/src/lib/evas/canvas/evas_canvas3d_node.c +++ b/src/lib/evas/canvas/evas_canvas3d_node.c @@ -1077,7 +1077,7 @@ _evas_canvas3d_node_efl_object_destructor(Eo *obj, Evas_Canvas3D_Node_Data *pd E } EOLIAN static Evas_Canvas3D_Node_Type -_evas_canvas3d_node_node_type_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Node_Data *pd) +_evas_canvas3d_node_node_type_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Node_Data *pd) { return pd->type; } @@ -1316,19 +1316,19 @@ _evas_canvas3d_node_scale_inherit_set(Eo *obj, Evas_Canvas3D_Node_Data *pd, Eina } EOLIAN static Eina_Bool -_evas_canvas3d_node_position_inherit_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Node_Data *pd) +_evas_canvas3d_node_position_inherit_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Node_Data *pd) { return pd->position_inherit; } EOLIAN static Eina_Bool -_evas_canvas3d_node_orientation_inherit_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Node_Data *pd) +_evas_canvas3d_node_orientation_inherit_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Node_Data *pd) { return pd->orientation_inherit; } EOLIAN static Eina_Bool -_evas_canvas3d_node_scale_inherit_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Node_Data *pd) +_evas_canvas3d_node_scale_inherit_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Node_Data *pd) { return pd->scale_inherit; } @@ -1480,7 +1480,7 @@ _evas_canvas3d_node_camera_set(Eo *obj, Evas_Canvas3D_Node_Data *pd, Evas_Canvas } EOLIAN static Evas_Canvas3D_Camera * -_evas_canvas3d_node_camera_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Node_Data *pd) +_evas_canvas3d_node_camera_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Node_Data *pd) { return pd->data.camera.camera; } @@ -1515,7 +1515,7 @@ _evas_canvas3d_node_light_set(Eo *obj, Evas_Canvas3D_Node_Data *pd, Evas_Canvas3 } EOLIAN static Evas_Canvas3D_Light * -_evas_canvas3d_node_light_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Node_Data *pd) +_evas_canvas3d_node_light_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Node_Data *pd) { return pd->data.light.light; } @@ -1613,7 +1613,7 @@ _evas_canvas3d_node_mesh_frame_set(Eo *obj, Evas_Canvas3D_Node_Data *pd, Evas_Ca } EOLIAN static int -_evas_canvas3d_node_mesh_frame_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Node_Data *pd, Evas_Canvas3D_Mesh *mesh) +_evas_canvas3d_node_mesh_frame_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Node_Data *pd, Evas_Canvas3D_Mesh *mesh) { Evas_Canvas3D_Node_Mesh *nm = NULL; @@ -1672,7 +1672,7 @@ _evas_canvas3d_node_billboard_target_set(Eo *obj EINA_UNUSED, Evas_Canvas3D_Node } EOLIAN static Evas_Canvas3D_Node * -_evas_canvas3d_node_billboard_target_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Node_Data *pd) +_evas_canvas3d_node_billboard_target_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Node_Data *pd) { return pd->billboard_target; } @@ -1686,7 +1686,7 @@ _evas_canvas3d_node_lod_enable_set(Eo *obj, Evas_Canvas3D_Node_Data *pd, } EOLIAN static Eina_Bool -_evas_canvas3d_node_lod_enable_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Node_Data *pd) +_evas_canvas3d_node_lod_enable_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Node_Data *pd) { return pd->lod; } diff --git a/src/lib/evas/canvas/evas_canvas3d_primitive.c b/src/lib/evas/canvas/evas_canvas3d_primitive.c index dce1bcfa06..45625df424 100644 --- a/src/lib/evas/canvas/evas_canvas3d_primitive.c +++ b/src/lib/evas/canvas/evas_canvas3d_primitive.c @@ -55,7 +55,7 @@ _evas_canvas3d_primitive_form_set(Eo *obj EINA_UNUSED, } EOLIAN static Evas_Canvas3D_Mesh_Primitive -_evas_canvas3d_primitive_form_get(Eo *obj EINA_UNUSED, +_evas_canvas3d_primitive_form_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Primitive_Data *pd) { return pd->form; @@ -71,7 +71,7 @@ _evas_canvas3d_primitive_mode_set(Eo *obj EINA_UNUSED, } EOLIAN static Evas_Canvas3D_Primitive_Mode -_evas_canvas3d_primitive_mode_get(Eo *obj EINA_UNUSED, +_evas_canvas3d_primitive_mode_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Primitive_Data *pd) { return pd->mode; @@ -86,7 +86,7 @@ _evas_canvas3d_primitive_ratio_set(Eo *obj EINA_UNUSED, } EOLIAN static Evas_Real -_evas_canvas3d_primitive_ratio_get(Eo *obj EINA_UNUSED, +_evas_canvas3d_primitive_ratio_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Primitive_Data *pd) { return pd->ratio; @@ -115,7 +115,7 @@ _evas_canvas3d_primitive_precision_set(Eo *obj EINA_UNUSED, } EOLIAN static int -_evas_canvas3d_primitive_precision_get(Eo *obj EINA_UNUSED, +_evas_canvas3d_primitive_precision_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Primitive_Data *pd) { return pd->precision; @@ -140,7 +140,7 @@ _evas_canvas3d_primitive_tex_scale_set(Eo *obj EINA_UNUSED, } EOLIAN static void -_evas_canvas3d_primitive_tex_scale_get(Eo *obj EINA_UNUSED, +_evas_canvas3d_primitive_tex_scale_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Primitive_Data *pd, Evas_Real *x, Evas_Real *y) diff --git a/src/lib/evas/canvas/evas_canvas3d_scene.c b/src/lib/evas/canvas/evas_canvas3d_scene.c index 161d1de120..a11848326b 100644 --- a/src/lib/evas/canvas/evas_canvas3d_scene.c +++ b/src/lib/evas/canvas/evas_canvas3d_scene.c @@ -106,7 +106,7 @@ _evas_canvas3d_scene_root_node_set(Eo *obj, Evas_Canvas3D_Scene_Data *pd, Evas_C } EOLIAN static Evas_Canvas3D_Node * -_evas_canvas3d_scene_root_node_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Scene_Data *pd) +_evas_canvas3d_scene_root_node_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Scene_Data *pd) { return pd->root_node; } @@ -133,7 +133,7 @@ _evas_canvas3d_scene_camera_node_set(Eo *obj, Evas_Canvas3D_Scene_Data *pd, Evas } EOLIAN static Evas_Canvas3D_Node * -_evas_canvas3d_scene_camera_node_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Scene_Data *pd) +_evas_canvas3d_scene_camera_node_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Scene_Data *pd) { return pd->camera_node; } @@ -828,7 +828,7 @@ _evas_canvas3d_scene_shadows_depth_set(Eo *obj EINA_UNUSED, Evas_Canvas3D_Scene_ } EOLIAN static void -_evas_canvas3d_scene_shadows_depth_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Scene_Data *pd, +_evas_canvas3d_scene_shadows_depth_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Scene_Data *pd, Evas_Real *depth_offset, Evas_Real *depth_constant) { if (depth_offset) *depth_offset = pd->depth_offset; diff --git a/src/lib/evas/canvas/evas_canvas3d_texture.c b/src/lib/evas/canvas/evas_canvas3d_texture.c index 00cef85524..540f6c6b39 100644 --- a/src/lib/evas/canvas/evas_canvas3d_texture.c +++ b/src/lib/evas/canvas/evas_canvas3d_texture.c @@ -373,7 +373,7 @@ _evas_canvas3d_texture_data_set(Eo *obj, Evas_Canvas3D_Texture_Data *pd, } EOLIAN static void -_evas_canvas3d_texture_efl_file_mmap_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Texture_Data *pd, const Eina_File **f, const char **key) +_evas_canvas3d_texture_efl_file_mmap_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Texture_Data *pd, const Eina_File **f, const char **key) { if (f) *f = pd->f; if (key) *key = pd->key; @@ -482,7 +482,7 @@ _evas_canvas3d_texture_source_visible_set(Eo *obj EINA_UNUSED, Evas_Canvas3D_Tex } EOLIAN static Eina_Bool -_evas_canvas3d_texture_source_visible_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Texture_Data *pd) +_evas_canvas3d_texture_source_visible_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Texture_Data *pd) { Evas_Object_Protected_Data *src_obj; @@ -587,7 +587,7 @@ _evas_canvas3d_texture_atlas_enable_set(Eo *obj EINA_UNUSED, Evas_Canvas3D_Textu } EOLIAN static Eina_Bool -_evas_canvas3d_texture_atlas_enable_get(Eo *obj EINA_UNUSED, Evas_Canvas3D_Texture_Data *pd) +_evas_canvas3d_texture_atlas_enable_get(const Eo *obj EINA_UNUSED, Evas_Canvas3D_Texture_Data *pd) { return pd->atlas_enable; } diff --git a/src/lib/evas/canvas/evas_clip.c b/src/lib/evas/canvas/evas_clip.c index 38c468bc1b..2df0272ba6 100644 --- a/src/lib/evas/canvas/evas_clip.c +++ b/src/lib/evas/canvas/evas_clip.c @@ -407,7 +407,7 @@ _efl_canvas_object_clip_set(Eo *eo_obj, Evas_Object_Protected_Data *obj, Evas_Ob } EOLIAN Evas_Object * -_efl_canvas_object_clip_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) +_efl_canvas_object_clip_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) { EVAS_OBJECT_DATA_ALIVE_CHECK(obj, NULL); if (obj->cur->clipper) @@ -550,7 +550,7 @@ _clipee_iterator_free(Clipee_Iterator *it) } EOLIAN Eina_Iterator * -_efl_canvas_object_clipees_get(Eo *eo_obj, Evas_Object_Protected_Data *obj) +_efl_canvas_object_clipees_get(const Eo *eo_obj, Evas_Object_Protected_Data *obj) { Clipee_Iterator *it; @@ -565,7 +565,7 @@ _efl_canvas_object_clipees_get(Eo *eo_obj, Evas_Object_Protected_Data *obj) it->iterator.next = FUNC_ITERATOR_NEXT(_clipee_iterator_next); it->iterator.get_container = FUNC_ITERATOR_GET_CONTAINER(_clipee_iterator_get_container); it->iterator.free = FUNC_ITERATOR_FREE(_clipee_iterator_free); - it->object = eo_obj; + it->object = (Evas_Object *)eo_obj; return &it->iterator; } @@ -583,7 +583,7 @@ _efl_canvas_object_no_render_set(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_D } EOLIAN Eina_Bool -_efl_canvas_object_no_render_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) +_efl_canvas_object_no_render_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) { return obj->no_render; } diff --git a/src/lib/evas/canvas/evas_events.c b/src/lib/evas/canvas/evas_events.c index 71eb04682a..171a1df655 100644 --- a/src/lib/evas/canvas/evas_events.c +++ b/src/lib/evas/canvas/evas_events.c @@ -1378,7 +1378,7 @@ _evas_canvas_event_default_flags_set(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e, } EOLIAN Evas_Event_Flags -_evas_canvas_event_default_flags_get(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e) +_evas_canvas_event_default_flags_get(const Eo *eo_e EINA_UNUSED, Evas_Public_Data *e) { return e->default_event_flags; } @@ -3708,7 +3708,7 @@ _efl_canvas_object_freeze_events_set(Eo *eo_obj, Evas_Object_Protected_Data *obj } EOLIAN Eina_Bool -_efl_canvas_object_freeze_events_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) +_efl_canvas_object_freeze_events_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) { return obj->freeze_events; } @@ -3724,7 +3724,7 @@ _efl_canvas_object_pass_events_set(Eo *eo_obj, Evas_Object_Protected_Data *obj, } EOLIAN Eina_Bool -_efl_canvas_object_pass_events_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) +_efl_canvas_object_pass_events_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) { return obj->pass_events; } @@ -3739,7 +3739,7 @@ _efl_canvas_object_repeat_events_set(Eo *eo_obj, Evas_Object_Protected_Data *obj } EOLIAN Eina_Bool -_efl_canvas_object_repeat_events_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) +_efl_canvas_object_repeat_events_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) { return obj->repeat_events; } @@ -3751,7 +3751,7 @@ _efl_canvas_object_propagate_events_set(Eo *eo_obj EINA_UNUSED, Evas_Object_Prot } EOLIAN Eina_Bool -_efl_canvas_object_propagate_events_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) +_efl_canvas_object_propagate_events_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) { return !(obj->no_propagate); } @@ -3838,7 +3838,7 @@ _efl_canvas_object_pointer_mode_by_device_set(Eo *eo_obj, Evas_Object_Protected_ } EOLIAN Evas_Object_Pointer_Mode -_efl_canvas_object_pointer_mode_by_device_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_object_pointer_mode_by_device_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj, Efl_Input_Device *dev) { @@ -3862,13 +3862,13 @@ _efl_canvas_object_pointer_mode_set(Eo *eo_obj, Evas_Object_Protected_Data *obj, } EOLIAN Evas_Object_Pointer_Mode -_efl_canvas_object_pointer_mode_get(Eo *eo_obj, Evas_Object_Protected_Data *obj) +_efl_canvas_object_pointer_mode_get(const Eo *eo_obj, Evas_Object_Protected_Data *obj) { return _efl_canvas_object_pointer_mode_by_device_get(eo_obj, obj, NULL); } EOLIAN Eina_Bool -_efl_canvas_object_efl_canvas_pointer_pointer_inside_get(Eo *eo_obj, +_efl_canvas_object_efl_canvas_pointer_pointer_inside_get(const Eo *eo_obj, Evas_Object_Protected_Data *obj, Efl_Input_Device *pointer) { @@ -4007,7 +4007,7 @@ evas_event_refeed_event(Eo *eo_e, void *event_copy, Evas_Callback_Type event_typ EOLIAN int -_evas_canvas_event_down_count_by_device_get(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e, +_evas_canvas_event_down_count_by_device_get(const Eo *eo_e EINA_UNUSED, Evas_Public_Data *e, Efl_Input_Device *dev) { Evas_Pointer_Data *pdata = _evas_pointer_data_by_device_get(e, dev); @@ -4016,7 +4016,7 @@ _evas_canvas_event_down_count_by_device_get(Eo *eo_e EINA_UNUSED, Evas_Public_Da } EOLIAN int -_evas_canvas_event_down_count_get(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e) +_evas_canvas_event_down_count_get(const Eo *eo_e EINA_UNUSED, Evas_Public_Data *e) { return _evas_canvas_event_down_count_by_device_get(eo_e, e, NULL); } diff --git a/src/lib/evas/canvas/evas_filter_mixin.c b/src/lib/evas/canvas/evas_filter_mixin.c index 2cf3017dce..07a8035e57 100644 --- a/src/lib/evas/canvas/evas_filter_mixin.c +++ b/src/lib/evas/canvas/evas_filter_mixin.c @@ -511,7 +511,7 @@ _efl_canvas_filter_internal_efl_gfx_filter_filter_program_set(Eo *eo_obj, Evas_F } EOLIAN static void -_efl_canvas_filter_internal_efl_gfx_filter_filter_program_get(Eo *eo_obj EINA_UNUSED, Evas_Filter_Data *pd, const char **code, const char **name) +_efl_canvas_filter_internal_efl_gfx_filter_filter_program_get(const Eo *eo_obj EINA_UNUSED, Evas_Filter_Data *pd, const char **code, const char **name) { if (code) *code = pd->data->code; if (name) *name = pd->data->name; @@ -605,7 +605,7 @@ update: } EOLIAN static Efl_Gfx * -_efl_canvas_filter_internal_efl_gfx_filter_filter_source_get(Eo *obj EINA_UNUSED, Evas_Filter_Data *pd, +_efl_canvas_filter_internal_efl_gfx_filter_filter_source_get(const Eo *obj EINA_UNUSED, Evas_Filter_Data *pd, const char * name) { Evas_Filter_Proxy_Binding *pb = eina_hash_find(pd->data->sources, name); @@ -647,7 +647,7 @@ _efl_canvas_filter_internal_efl_gfx_filter_filter_state_set(Eo *eo_obj, Evas_Fil } EOLIAN static void -_efl_canvas_filter_internal_efl_gfx_filter_filter_state_get(Eo *obj EINA_UNUSED, Evas_Filter_Data *pd, +_efl_canvas_filter_internal_efl_gfx_filter_filter_state_get(const Eo *obj EINA_UNUSED, Evas_Filter_Data *pd, const char **cur_state, double *cur_val, const char **next_state, double *next_val, double *pos) @@ -660,7 +660,7 @@ _efl_canvas_filter_internal_efl_gfx_filter_filter_state_get(Eo *obj EINA_UNUSED, } EOLIAN static void -_efl_canvas_filter_internal_efl_gfx_filter_filter_padding_get(Eo *eo_obj EINA_UNUSED, Evas_Filter_Data *pd, +_efl_canvas_filter_internal_efl_gfx_filter_filter_padding_get(const Eo *eo_obj EINA_UNUSED, Evas_Filter_Data *pd, int *l, int *r, int *t, int *b) { Evas_Filter_Padding pad = { 0, 0, 0, 0 }; @@ -810,7 +810,7 @@ _efl_canvas_filter_internal_efl_gfx_filter_filter_data_set(Eo *eo_obj, Evas_Filt } EOLIAN static void -_efl_canvas_filter_internal_efl_gfx_filter_filter_data_get(Eo *obj EINA_UNUSED, Evas_Filter_Data *pd, +_efl_canvas_filter_internal_efl_gfx_filter_filter_data_get(const Eo *obj EINA_UNUSED, Evas_Filter_Data *pd, const char *name, const char **value, Eina_Bool *execute) { @@ -834,7 +834,7 @@ _efl_canvas_filter_internal_efl_gfx_filter_filter_data_get(Eo *obj EINA_UNUSED, } EOLIAN static void * -_efl_canvas_filter_internal_filter_output_buffer_get(Eo *obj EINA_UNUSED, Evas_Filter_Data *pd) +_efl_canvas_filter_internal_filter_output_buffer_get(const Eo *obj EINA_UNUSED, Evas_Filter_Data *pd) { return pd->data->output; } diff --git a/src/lib/evas/canvas/evas_focus.c b/src/lib/evas/canvas/evas_focus.c index e57008bff9..b2977e141a 100644 --- a/src/lib/evas/canvas/evas_focus.c +++ b/src/lib/evas/canvas/evas_focus.c @@ -28,10 +28,10 @@ _already_focused(Eina_List *seats, Efl_Input_Device *seat) } static Efl_Input_Device * -_default_seat_get(Eo *evas_obj) +_default_seat_get(const Eo *evas_obj) { Evas_Public_Data *edata; - Evas *evas = evas_object_evas_get(evas_obj); + Evas *evas = evas_object_evas_get((Evas_Object *)evas_obj); edata = efl_data_scope_get(evas, EVAS_CANVAS_CLASS); if (!edata) return NULL; @@ -252,7 +252,7 @@ _efl_canvas_object_seat_focus_add(Eo *eo_obj, } EOLIAN Eina_Bool -_efl_canvas_object_seat_focus_check(Eo *eo_obj, +_efl_canvas_object_seat_focus_check(const Eo *eo_obj, Evas_Object_Protected_Data *obj, Efl_Input_Device *seat) { @@ -289,7 +289,7 @@ _efl_canvas_object_key_focus_set(Eo *eo_obj, Evas_Object_Protected_Data *obj, Ei } EOLIAN Eina_Bool -_efl_canvas_object_seat_focus_get(Eo *eo_obj, Evas_Object_Protected_Data *obj) +_efl_canvas_object_seat_focus_get(const Eo *eo_obj, Evas_Object_Protected_Data *obj) { MAGIC_CHECK(eo_obj, Evas_Object, MAGIC_OBJ); return EINA_FALSE; @@ -299,13 +299,13 @@ _efl_canvas_object_seat_focus_get(Eo *eo_obj, Evas_Object_Protected_Data *obj) } EOLIAN Eina_Bool -_efl_canvas_object_key_focus_get(Eo *eo_obj, Evas_Object_Protected_Data *obj) +_efl_canvas_object_key_focus_get(const Eo *eo_obj, Evas_Object_Protected_Data *obj) { return _efl_canvas_object_seat_focus_check(eo_obj, obj, NULL); } EOLIAN Evas_Object * -_evas_canvas_seat_focus_get(Eo *eo_obj EINA_UNUSED, Evas_Public_Data *e, +_evas_canvas_seat_focus_get(const Eo *eo_obj EINA_UNUSED, Evas_Public_Data *e, Efl_Input_Device *seat) { if (!seat) @@ -315,7 +315,7 @@ _evas_canvas_seat_focus_get(Eo *eo_obj EINA_UNUSED, Evas_Public_Data *e, } EOLIAN Evas_Object* -_evas_canvas_focus_get(Eo *eo_obj EINA_UNUSED, Evas_Public_Data *e) +_evas_canvas_focus_get(const Eo *eo_obj EINA_UNUSED, Evas_Public_Data *e) { return _evas_canvas_seat_focus_get(eo_obj, e, NULL); } diff --git a/src/lib/evas/canvas/evas_image_legacy.c b/src/lib/evas/canvas/evas_image_legacy.c index 0f814e586e..ace876cb0b 100644 --- a/src/lib/evas/canvas/evas_image_legacy.c +++ b/src/lib/evas/canvas/evas_image_legacy.c @@ -1245,7 +1245,7 @@ _evas_image_efl_file_mmap_set(Eo *obj, void *pd EINA_UNUSED, const Eina_File *f, } EOLIAN static void -_evas_image_efl_file_mmap_get(Eo *obj, void *pd EINA_UNUSED, const Eina_File **f, const char **key) +_evas_image_efl_file_mmap_get(const Eo *obj, void *pd EINA_UNUSED, const Eina_File **f, const char **key) { if (f) *f = NULL; if (key) *key = NULL; diff --git a/src/lib/evas/canvas/evas_layer.c b/src/lib/evas/canvas/evas_layer.c index 0a8dba6545..16cca2a4aa 100644 --- a/src/lib/evas/canvas/evas_layer.c +++ b/src/lib/evas/canvas/evas_layer.c @@ -268,7 +268,7 @@ evas_object_layer_get(const Evas_Object *obj) } EOLIAN short -_efl_canvas_object_efl_gfx_stack_layer_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_object_efl_gfx_stack_layer_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) { if (obj->smart.parent) diff --git a/src/lib/evas/canvas/evas_main.c b/src/lib/evas/canvas/evas_main.c index 0a2753508b..42e2c6c8e3 100644 --- a/src/lib/evas/canvas/evas_main.c +++ b/src/lib/evas/canvas/evas_main.c @@ -535,7 +535,7 @@ _evas_canvas_coord_world_y_to_screen(const Eo *eo_e EINA_UNUSED, Evas_Public_Dat } EOLIAN static Efl_Input_Device * -_evas_canvas_default_device_get(Eo *eo_e EINA_UNUSED, +_evas_canvas_default_device_get(const Eo *eo_e EINA_UNUSED, Evas_Public_Data *e, Efl_Input_Device_Type klass) { @@ -595,7 +595,7 @@ evas_object_image_extension_can_load_fast_get(const char *file) } EOLIAN static void -_evas_canvas_pointer_output_xy_by_device_get(Eo *eo_e EINA_UNUSED, +_evas_canvas_pointer_output_xy_by_device_get(const Eo *eo_e EINA_UNUSED, Evas_Public_Data *e, Efl_Input_Device *dev, int *x, int *y) @@ -616,7 +616,7 @@ _evas_canvas_pointer_output_xy_by_device_get(Eo *eo_e EINA_UNUSED, } EOLIAN static void -_evas_canvas_pointer_canvas_xy_by_device_get(Eo *eo_e EINA_UNUSED, +_evas_canvas_pointer_canvas_xy_by_device_get(const Eo *eo_e EINA_UNUSED, Evas_Public_Data *e, Efl_Input_Device *dev, int *x, int *y) @@ -636,7 +636,7 @@ _evas_canvas_pointer_canvas_xy_by_device_get(Eo *eo_e EINA_UNUSED, } EOLIAN static unsigned int -_evas_canvas_pointer_button_down_mask_by_device_get(Eo *eo_e EINA_UNUSED, +_evas_canvas_pointer_button_down_mask_by_device_get(const Eo *eo_e EINA_UNUSED, Evas_Public_Data *e, Efl_Input_Device *dev) { @@ -646,7 +646,7 @@ _evas_canvas_pointer_button_down_mask_by_device_get(Eo *eo_e EINA_UNUSED, } EOLIAN static Eina_Bool -_evas_canvas_efl_canvas_pointer_pointer_inside_get(Eo *eo_e EINA_UNUSED, +_evas_canvas_efl_canvas_pointer_pointer_inside_get(const Eo *eo_e EINA_UNUSED, Evas_Public_Data *e, Efl_Input_Device *dev) { @@ -656,19 +656,19 @@ _evas_canvas_efl_canvas_pointer_pointer_inside_get(Eo *eo_e EINA_UNUSED, } EOLIAN static void -_evas_canvas_pointer_output_xy_get(Eo *eo_e, Evas_Public_Data *e, int *x, int *y) +_evas_canvas_pointer_output_xy_get(const Eo *eo_e, Evas_Public_Data *e, int *x, int *y) { return _evas_canvas_pointer_output_xy_by_device_get(eo_e, e, NULL, x, y); } EOLIAN static void -_evas_canvas_pointer_canvas_xy_get(Eo *eo_e, Evas_Public_Data *e, Evas_Coord *x, Evas_Coord *y) +_evas_canvas_pointer_canvas_xy_get(const Eo *eo_e, Evas_Public_Data *e, Evas_Coord *x, Evas_Coord *y) { return _evas_canvas_pointer_canvas_xy_by_device_get(eo_e, e, NULL, x, y); } EOLIAN static unsigned int -_evas_canvas_pointer_button_down_mask_get(Eo *eo_e, Evas_Public_Data *e) +_evas_canvas_pointer_button_down_mask_get(const Eo *eo_e, Evas_Public_Data *e) { return _evas_canvas_pointer_button_down_mask_by_device_get(eo_e, e, NULL); } @@ -680,7 +680,7 @@ _evas_canvas_data_attach_set(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e, void *da } EOLIAN static void* -_evas_canvas_data_attach_get(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e) +_evas_canvas_data_attach_get(const Eo *eo_e EINA_UNUSED, Evas_Public_Data *e) { return e->attach_data; } @@ -734,7 +734,7 @@ _evas_canvas_focus_out(Eo *eo_e, Evas_Public_Data *e) } EOLIAN static Eina_Bool -_evas_canvas_seat_focus_state_get(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e, +_evas_canvas_seat_focus_state_get(const Eo *eo_e EINA_UNUSED, Evas_Public_Data *e, Efl_Input_Device *seat) { if (!seat) seat = e->default_seat; @@ -742,13 +742,13 @@ _evas_canvas_seat_focus_state_get(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e, } EOLIAN static Eina_Bool -_evas_canvas_focus_state_get(Eo *eo_e, Evas_Public_Data *e) +_evas_canvas_focus_state_get(const Eo *eo_e, Evas_Public_Data *e) { return _evas_canvas_seat_focus_state_get(eo_e, e, NULL); } EOLIAN static Eina_Bool -_evas_canvas_changed_get(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e) +_evas_canvas_changed_get(const Eo *eo_e EINA_UNUSED, Evas_Public_Data *e) { return e->changed; } @@ -855,7 +855,7 @@ _evas_canvas_efl_object_provider_find(const Eo *eo_e, } EOLIAN static Efl_Loop * -_evas_canvas_efl_loop_consumer_loop_get(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e EINA_UNUSED) +_evas_canvas_efl_loop_consumer_loop_get(const Eo *eo_e EINA_UNUSED, Evas_Public_Data *e EINA_UNUSED) { return efl_main_loop_get(); } @@ -1047,7 +1047,7 @@ _evas_canvas_image_cache_set(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e, int size } EOLIAN static int -_evas_canvas_image_cache_get(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e) +_evas_canvas_image_cache_get(const Eo *eo_e EINA_UNUSED, Evas_Public_Data *e) { if (_evas_engine_context(e)) return e->engine.func->image_cache_get(_evas_engine_context(e)); @@ -1055,7 +1055,7 @@ _evas_canvas_image_cache_get(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e) } EOLIAN static Eina_Bool -_evas_canvas_efl_canvas_image_max_size_get(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e, Eina_Size2D *max) +_evas_canvas_efl_canvas_image_max_size_get(const Eo *eo_e EINA_UNUSED, Evas_Public_Data *e, Eina_Size2D *max) { int w = 0, h = 0; @@ -1733,7 +1733,7 @@ _evas_canvas_font_cache_set(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e, int size) } EOLIAN static int -_evas_canvas_font_cache_get(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e) +_evas_canvas_font_cache_get(const Eo *eo_e EINA_UNUSED, Evas_Public_Data *e) { if (_evas_engine_context(e)) return e->engine.func->font_cache_get(_evas_engine_context(e)); @@ -1824,7 +1824,7 @@ evas_smart_objects_calculate(Eo *eo_e) } EOLIAN Eina_Bool -_evas_canvas_efl_canvas_smart_objects_calculating_get(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e) +_evas_canvas_efl_canvas_smart_objects_calculating_get(const Eo *eo_e EINA_UNUSED, Evas_Public_Data *e) { return !!e->in_smart_calc; } @@ -1836,7 +1836,7 @@ evas_smart_objects_calculating_get(const Eo *obj) } EOLIAN int -_evas_canvas_smart_objects_calculate_count_get(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e) +_evas_canvas_smart_objects_calculate_count_get(const Eo *eo_e EINA_UNUSED, Evas_Public_Data *e) { return e->smart_calc_count; } diff --git a/src/lib/evas/canvas/evas_object_box.c b/src/lib/evas/canvas/evas_object_box.c index 0a768d6cb1..d92919af57 100644 --- a/src/lib/evas/canvas/evas_object_box.c +++ b/src/lib/evas/canvas/evas_object_box.c @@ -1678,7 +1678,7 @@ _evas_box_align_set(Eo *o, Evas_Object_Box_Data *priv, double horizontal, double } EOLIAN static void -_evas_box_align_get(Eo *o EINA_UNUSED, Evas_Object_Box_Data *priv, double *horizontal, double *vertical) +_evas_box_align_get(const Eo *o EINA_UNUSED, Evas_Object_Box_Data *priv, double *horizontal, double *vertical) { if (priv) { @@ -1703,7 +1703,7 @@ _evas_box_padding_set(Eo *o, Evas_Object_Box_Data *priv, Evas_Coord horizontal, } EOLIAN static void -_evas_box_padding_get(Eo *o EINA_UNUSED, Evas_Object_Box_Data *priv, Evas_Coord *horizontal, Evas_Coord *vertical) +_evas_box_padding_get(const Eo *o EINA_UNUSED, Evas_Object_Box_Data *priv, Evas_Coord *horizontal, Evas_Coord *vertical) { if (priv) { diff --git a/src/lib/evas/canvas/evas_object_grid.c b/src/lib/evas/canvas/evas_object_grid.c index fccc1359c8..a8fdba858c 100644 --- a/src/lib/evas/canvas/evas_object_grid.c +++ b/src/lib/evas/canvas/evas_object_grid.c @@ -311,7 +311,7 @@ _evas_grid_grid_size_set(Eo *o, Evas_Grid_Data *priv, int w, int h) } EOLIAN static void -_evas_grid_grid_size_get(Eo *o EINA_UNUSED, Evas_Grid_Data *priv, int *w, int *h) +_evas_grid_grid_size_get(const Eo *o EINA_UNUSED, Evas_Grid_Data *priv, int *w, int *h) { if (w) *w = priv->size.w; if (h) *h = priv->size.h; @@ -468,7 +468,7 @@ _evas_grid_accessor_new(const Eo *o, Evas_Grid_Data *priv) } EOLIAN static Eina_List* -_evas_grid_children_get(Eo *o EINA_UNUSED, Evas_Grid_Data *priv) +_evas_grid_children_get(const Eo *o EINA_UNUSED, Evas_Grid_Data *priv) { Eina_List *new_list = NULL, *l; Evas_Object_Grid_Option *opt; @@ -480,7 +480,7 @@ _evas_grid_children_get(Eo *o EINA_UNUSED, Evas_Grid_Data *priv) } EOLIAN static Eina_Bool -_evas_grid_efl_ui_base_mirrored_get(Eo *o EINA_UNUSED, Evas_Grid_Data *priv) +_evas_grid_efl_ui_base_mirrored_get(const Eo *o EINA_UNUSED, Evas_Grid_Data *priv) { return priv->is_mirrored; } diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c index d3c165c4c4..5c99600a9e 100644 --- a/src/lib/evas/canvas/evas_object_image.c +++ b/src/lib/evas/canvas/evas_object_image.c @@ -465,7 +465,7 @@ _efl_canvas_image_internal_efl_orientation_orientation_set(Eo *obj, Evas_Image_D } EOLIAN static Efl_Orient -_efl_canvas_image_internal_efl_orientation_orientation_get(Eo *obj EINA_UNUSED, Evas_Image_Data *o) +_efl_canvas_image_internal_efl_orientation_orientation_get(const Eo *obj EINA_UNUSED, Evas_Image_Data *o) { return o->orient_value; } @@ -482,7 +482,7 @@ _efl_canvas_image_internal_efl_orientation_flip_set(Eo *obj, Evas_Image_Data *o, } EOLIAN static Efl_Flip -_efl_canvas_image_internal_efl_orientation_flip_get(Eo *obj EINA_UNUSED, Evas_Image_Data *o) +_efl_canvas_image_internal_efl_orientation_flip_get(const Eo *obj EINA_UNUSED, Evas_Image_Data *o) { return o->flip_value; } @@ -531,7 +531,7 @@ _efl_canvas_image_internal_efl_image_border_set(Eo *eo_obj, Evas_Image_Data *o, } EOLIAN static void -_efl_canvas_image_internal_efl_image_border_get(Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o, int *l, int *r, int *t, int *b) +_efl_canvas_image_internal_efl_image_border_get(const Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o, int *l, int *r, int *t, int *b) { if (l) *l = o->cur->border.l; if (r) *r = o->cur->border.r; @@ -556,7 +556,7 @@ _efl_canvas_image_internal_efl_image_border_center_fill_set(Eo *eo_obj, Evas_Ima } EOLIAN static Efl_Gfx_Border_Fill_Mode -_efl_canvas_image_internal_efl_image_border_center_fill_get(Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o) +_efl_canvas_image_internal_efl_image_border_center_fill_get(const Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o) { return (Efl_Gfx_Border_Fill_Mode)o->cur->border.fill; } @@ -588,7 +588,7 @@ _efl_canvas_image_internal_efl_gfx_fill_fill_auto_set(Eo *eo_obj, Evas_Image_Dat } EOLIAN static Eina_Bool -_efl_canvas_image_internal_efl_gfx_fill_fill_auto_get(Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o) +_efl_canvas_image_internal_efl_gfx_fill_fill_auto_get(const Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o) { return o->filled; } @@ -609,7 +609,7 @@ _efl_canvas_image_internal_efl_image_border_scale_set(Eo *eo_obj, Evas_Image_Dat } EOLIAN static double -_efl_canvas_image_internal_efl_image_border_scale_get(Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o) +_efl_canvas_image_internal_efl_image_border_scale_get(const Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o) { return o->cur->border.scale; } @@ -654,19 +654,19 @@ _efl_canvas_image_internal_efl_gfx_fill_fill_set(Eo *eo_obj, Evas_Image_Data *o, } EOLIAN static Eina_Rect -_efl_canvas_image_internal_efl_gfx_fill_fill_get(Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o) +_efl_canvas_image_internal_efl_gfx_fill_fill_get(const Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o) { return (Eina_Rect) o->cur->fill; } EOLIAN static Eina_Size2D -_efl_canvas_image_internal_efl_image_image_size_get(Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o) +_efl_canvas_image_internal_efl_image_image_size_get(const Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o) { return EINA_SIZE2D(o->file_size.w, o->file_size.h); } EOLIAN static Eina_Size2D -_efl_canvas_image_internal_efl_gfx_view_view_size_get(Eo *eo_obj, Evas_Image_Data *o) +_efl_canvas_image_internal_efl_gfx_view_view_size_get(const Eo *eo_obj, Evas_Image_Data *o) { int uvw, uvh; Evas_Object_Protected_Data *source = NULL; @@ -821,7 +821,7 @@ _efl_canvas_image_internal_efl_gfx_buffer_alpha_set(Eo *eo_obj, Evas_Image_Data } EOLIAN static Eina_Bool -_efl_canvas_image_internal_efl_gfx_buffer_alpha_get(Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o) +_efl_canvas_image_internal_efl_gfx_buffer_alpha_get(const Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o) { return o->cur->has_alpha; } @@ -844,13 +844,13 @@ _efl_canvas_image_internal_efl_image_smooth_scale_set(Eo *eo_obj, Evas_Image_Dat } EOLIAN static Eina_Bool -_efl_canvas_image_internal_efl_image_smooth_scale_get(Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o) +_efl_canvas_image_internal_efl_image_smooth_scale_get(const Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o) { return o->cur->smooth_scale; } EOLIAN static double -_efl_canvas_image_internal_efl_image_ratio_get(Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o) +_efl_canvas_image_internal_efl_image_ratio_get(const Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o) { if (!o->cur->image.h) return 1.0; return (double)o->cur->image.w / (double)o->cur->image.h; @@ -987,7 +987,7 @@ no_pixels: } EOLIAN static Efl_Gfx_Colorspace -_efl_canvas_image_internal_efl_gfx_buffer_colorspace_get(Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o) +_efl_canvas_image_internal_efl_gfx_buffer_colorspace_get(const Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o) { return (Efl_Gfx_Colorspace)o->cur->cspace; } @@ -1077,7 +1077,7 @@ _efl_canvas_image_internal_efl_image_scale_hint_set(Eo *eo_obj, Evas_Image_Data } EOLIAN static Efl_Image_Scale_Hint -_efl_canvas_image_internal_efl_image_scale_hint_get(Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o) +_efl_canvas_image_internal_efl_image_scale_hint_get(const Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o) { return o->scale_hint; } @@ -1110,7 +1110,7 @@ _efl_canvas_image_internal_efl_image_content_hint_set(Eo *eo_obj, Evas_Image_Dat } EOLIAN static Efl_Image_Content_Hint -_efl_canvas_image_internal_efl_image_content_hint_get(Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o) +_efl_canvas_image_internal_efl_image_content_hint_get(const Eo *eo_obj EINA_UNUSED, Evas_Image_Data *o) { return o->content_hint; } diff --git a/src/lib/evas/canvas/evas_object_line.c b/src/lib/evas/canvas/evas_object_line.c index f6f9d573a8..02aeea8d5d 100644 --- a/src/lib/evas/canvas/evas_object_line.c +++ b/src/lib/evas/canvas/evas_object_line.c @@ -179,7 +179,7 @@ _evas_line_xy_set(Eo *eo_obj, Evas_Line_Data *_pd, Evas_Coord x1, Evas_Coord y1, } EOLIAN static void -_evas_line_xy_get(Eo *eo_obj, Evas_Line_Data *_pd, Evas_Coord *x1, Evas_Coord *y1, Evas_Coord *x2, Evas_Coord *y2) +_evas_line_xy_get(const Eo *eo_obj, Evas_Line_Data *_pd, Evas_Coord *x1, Evas_Coord *y1, Evas_Coord *x2, Evas_Coord *y2) { const Evas_Line_Data *o = _pd; diff --git a/src/lib/evas/canvas/evas_object_main.c b/src/lib/evas/canvas/evas_object_main.c index 350db6bb8d..af73d947ac 100644 --- a/src/lib/evas/canvas/evas_object_main.c +++ b/src/lib/evas/canvas/evas_object_main.c @@ -991,7 +991,7 @@ evas_object_del(Evas_Object *eo_obj) } EOLIAN static Eina_Bool -_efl_canvas_object_efl_input_interface_seat_event_filter_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_object_efl_input_interface_seat_event_filter_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj, Efl_Input_Device *seat) { @@ -1444,7 +1444,7 @@ _efl_canvas_object_efl_gfx_size_set(Eo *eo_obj, Evas_Object_Protected_Data *obj, } EOLIAN Eina_Rect -_efl_canvas_object_efl_gfx_geometry_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) +_efl_canvas_object_efl_gfx_geometry_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) { return (Eina_Rect) obj->cur->geometry; } @@ -1460,7 +1460,7 @@ evas_object_geometry_get(const Evas_Object *eo_obj, Evas_Coord *x, Evas_Coord *y } EOLIAN static Eina_Position2D -_efl_canvas_object_efl_gfx_position_get(Eo *obj EINA_UNUSED, +_efl_canvas_object_efl_gfx_position_get(const Eo *obj EINA_UNUSED, Evas_Object_Protected_Data *pd) { if ((pd->delete_me) || (!pd->layer)) @@ -1470,7 +1470,7 @@ _efl_canvas_object_efl_gfx_position_get(Eo *obj EINA_UNUSED, } EOLIAN static Eina_Size2D -_efl_canvas_object_efl_gfx_size_get(Eo *obj EINA_UNUSED, +_efl_canvas_object_efl_gfx_size_get(const Eo *obj EINA_UNUSED, Evas_Object_Protected_Data *pd) { if (pd->delete_me) @@ -1525,7 +1525,7 @@ evas_object_size_hint_display_mode_set(Eo *eo_obj, Evas_Display_Mode dispmode) } EOLIAN static Eina_Size2D -_efl_canvas_object_efl_gfx_size_hint_hint_restricted_min_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) +_efl_canvas_object_efl_gfx_size_hint_hint_restricted_min_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) { if ((!obj->size_hints) || obj->delete_me) return EINA_SIZE2D(0, 0); @@ -1553,7 +1553,7 @@ _efl_canvas_object_efl_gfx_size_hint_hint_restricted_min_set(Eo *eo_obj, Evas_Ob } EOLIAN static Eina_Size2D -_efl_canvas_object_efl_gfx_size_hint_hint_combined_min_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) +_efl_canvas_object_efl_gfx_size_hint_hint_combined_min_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) { Eina_Size2D sz = { 0, 0 }; @@ -1566,7 +1566,7 @@ _efl_canvas_object_efl_gfx_size_hint_hint_combined_min_get(Eo *eo_obj EINA_UNUSE } EOLIAN static Eina_Size2D -_efl_canvas_object_efl_gfx_size_hint_hint_max_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) +_efl_canvas_object_efl_gfx_size_hint_hint_max_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) { if ((!obj->size_hints) || obj->delete_me) return EINA_SIZE2D(-1, -1); @@ -1630,7 +1630,7 @@ evas_object_size_hint_request_set(Eo *eo_obj, Evas_Coord w, Evas_Coord h) } EOLIAN static Eina_Size2D -_efl_canvas_object_efl_gfx_size_hint_hint_min_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) +_efl_canvas_object_efl_gfx_size_hint_hint_min_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) { if ((!obj->size_hints) || obj->delete_me) return EINA_SIZE2D(0, 0); @@ -1658,7 +1658,7 @@ _efl_canvas_object_efl_gfx_size_hint_hint_min_set(Eo *eo_obj, Evas_Object_Protec } EOLIAN static void -_efl_canvas_object_efl_gfx_size_hint_hint_aspect_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj, Efl_Gfx_Size_Hint_Aspect *aspect, Eina_Size2D *sz) +_efl_canvas_object_efl_gfx_size_hint_hint_aspect_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj, Efl_Gfx_Size_Hint_Aspect *aspect, Eina_Size2D *sz) { if ((!obj->size_hints) || obj->delete_me) { @@ -1697,7 +1697,7 @@ _efl_canvas_object_efl_gfx_size_hint_hint_aspect_set(Eo *eo_obj, Evas_Object_Pro } EOLIAN static void -_efl_canvas_object_efl_gfx_size_hint_hint_align_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj, double *x, double *y) +_efl_canvas_object_efl_gfx_size_hint_hint_align_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj, double *x, double *y) { if ((!obj->size_hints) || obj->delete_me) { @@ -1733,7 +1733,7 @@ _efl_canvas_object_efl_gfx_size_hint_hint_align_set(Eo *eo_obj, Evas_Object_Prot } EOLIAN static void -_efl_canvas_object_efl_gfx_size_hint_hint_weight_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj, double *x, double *y) +_efl_canvas_object_efl_gfx_size_hint_hint_weight_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj, double *x, double *y) { if ((!obj->size_hints) || obj->delete_me) { @@ -1769,7 +1769,7 @@ _efl_canvas_object_efl_gfx_size_hint_hint_weight_set(Eo *eo_obj, Evas_Object_Pro } EOLIAN static void -_efl_canvas_object_efl_gfx_size_hint_hint_margin_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj, Evas_Coord *l, Evas_Coord *r, Evas_Coord *t, Evas_Coord *b) +_efl_canvas_object_efl_gfx_size_hint_hint_margin_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj, Evas_Coord *l, Evas_Coord *r, Evas_Coord *t, Evas_Coord *b) { if ((!obj->size_hints) || obj->delete_me) { @@ -2003,7 +2003,7 @@ _efl_canvas_object_efl_gfx_visible_set(Eo *eo_obj, Evas_Object_Protected_Data *o } EOLIAN static Eina_Bool -_efl_canvas_object_efl_gfx_visible_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_object_efl_gfx_visible_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) { if (!EVAS_OBJECT_DATA_ALIVE(obj)) return EINA_FALSE; @@ -2071,7 +2071,7 @@ evas_object_color_get(const Evas_Object *obj, int *r, int *g, int *b, int *a) } EOLIAN static void -_efl_canvas_object_efl_gfx_color_color_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_object_efl_gfx_color_color_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj, int *r, int *g, int *b, int *a) { @@ -2107,7 +2107,7 @@ _efl_canvas_object_anti_alias_set(Eo *eo_obj, Evas_Object_Protected_Data *obj, E } EOLIAN static Eina_Bool -_efl_canvas_object_anti_alias_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) +_efl_canvas_object_anti_alias_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) { if (obj->delete_me) return EINA_FALSE; return obj->cur->anti_alias; @@ -2129,7 +2129,7 @@ _efl_canvas_object_efl_gfx_scale_set(Eo *eo_obj, Evas_Object_Protected_Data *obj } EOLIAN static double -_efl_canvas_object_efl_gfx_scale_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) +_efl_canvas_object_efl_gfx_scale_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) { if (obj->delete_me) return 1.0; return obj->cur->scale; @@ -2165,7 +2165,7 @@ evas_object_render_op_set(Evas_Object *eo_obj, Evas_Render_Op render_op) } EOLIAN static Efl_Gfx_Render_Op -_efl_canvas_object_render_op_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) +_efl_canvas_object_render_op_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) { return _evas_to_gfx_render_op(obj->cur->render_op); } @@ -2337,7 +2337,7 @@ fallback: } EOLIAN static Efl_Loop * -_efl_canvas_object_efl_loop_consumer_loop_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj EINA_UNUSED) +_efl_canvas_object_efl_loop_consumer_loop_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj EINA_UNUSED) { return efl_main_loop_get(); } @@ -2361,13 +2361,13 @@ _efl_canvas_object_precise_is_inside_set(Eo *eo_obj EINA_UNUSED, Evas_Object_Pro } EOLIAN static Eina_Bool -_efl_canvas_object_precise_is_inside_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) +_efl_canvas_object_precise_is_inside_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) { return obj->precise_is_inside; } EOLIAN static Eina_Bool -_efl_canvas_object_coords_inside_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj, Eina_Position2D pos) +_efl_canvas_object_coords_inside_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj, Eina_Position2D pos) { Eina_Rectangle c; @@ -2426,13 +2426,13 @@ _efl_canvas_object_is_frame_object_set(Eo *eo_obj, Evas_Object_Protected_Data *o } EOLIAN static Eina_Bool -_efl_canvas_object_is_frame_object_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) +_efl_canvas_object_is_frame_object_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) { return obj->is_frame; } EOLIAN static Evas_Object * -_efl_canvas_object_render_parent_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) +_efl_canvas_object_render_parent_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj) { if (!obj) return NULL; return obj->smart.parent; @@ -2445,7 +2445,7 @@ _efl_canvas_object_paragraph_direction_set(Eo *eo_obj EINA_UNUSED, Evas_Object_P } EOLIAN static Evas_BiDi_Direction -_efl_canvas_object_paragraph_direction_get(Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj EINA_UNUSED) +_efl_canvas_object_paragraph_direction_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj EINA_UNUSED) { return EVAS_BIDI_DIRECTION_NEUTRAL; } @@ -2506,7 +2506,7 @@ _efl_canvas_object_event_animation_set(Eo *eo_obj, } EOLIAN Efl_Canvas_Animation * -_efl_canvas_object_event_animation_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_object_event_animation_get(const Eo *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *pd, const Efl_Event_Description *desc) { diff --git a/src/lib/evas/canvas/evas_object_smart.c b/src/lib/evas/canvas/evas_object_smart.c index fc81e936d7..fe635e447f 100644 --- a/src/lib/evas/canvas/evas_object_smart.c +++ b/src/lib/evas/canvas/evas_object_smart.c @@ -1140,7 +1140,7 @@ _efl_canvas_group_group_need_recalculate_set(Eo *eo_obj, Evas_Smart_Data *o, Ein } EOLIAN static Eina_Bool -_efl_canvas_group_group_need_recalculate_get(Eo *eo_obj EINA_UNUSED, Evas_Smart_Data *o) +_efl_canvas_group_group_need_recalculate_get(const Eo *eo_obj EINA_UNUSED, Evas_Smart_Data *o) { return o->need_recalculate; } @@ -1819,13 +1819,13 @@ _efl_canvas_group_efl_canvas_object_paragraph_direction_set(Eo *eo_obj, Evas_Sma } EOLIAN static Evas_BiDi_Direction -_efl_canvas_group_efl_canvas_object_paragraph_direction_get(Eo *eo_obj EINA_UNUSED, Evas_Smart_Data *o) +_efl_canvas_group_efl_canvas_object_paragraph_direction_get(const Eo *eo_obj EINA_UNUSED, Evas_Smart_Data *o) { return o->paragraph_direction; } EOLIAN static const Eo * -_efl_canvas_group_group_clipper_get(Eo *eo_obj EINA_UNUSED, Evas_Smart_Data *o) +_efl_canvas_group_group_clipper_get(const Eo *eo_obj EINA_UNUSED, Evas_Smart_Data *o) { // NOTE: This may be NULL until all EO smart objects are clipped! return _smart_clipper_get(o); diff --git a/src/lib/evas/canvas/evas_object_table.c b/src/lib/evas/canvas/evas_object_table.c index 92fe53a871..2f71417907 100644 --- a/src/lib/evas/canvas/evas_object_table.c +++ b/src/lib/evas/canvas/evas_object_table.c @@ -1019,7 +1019,7 @@ _evas_table_homogeneous_set(Eo *o, Evas_Table_Data *priv, Evas_Object_Table_Homo } EOLIAN static Evas_Object_Table_Homogeneous_Mode -_evas_table_homogeneous_get(Eo *o EINA_UNUSED, Evas_Table_Data *priv) +_evas_table_homogeneous_get(const Eo *o EINA_UNUSED, Evas_Table_Data *priv) { return priv->homogeneous; } @@ -1036,7 +1036,7 @@ _evas_table_align_set(Eo *o, Evas_Table_Data *priv, double horizontal, double ve } EOLIAN static void -_evas_table_align_get(Eo *o EINA_UNUSED, Evas_Table_Data *priv, double *horizontal, double *vertical) +_evas_table_align_get(const Eo *o EINA_UNUSED, Evas_Table_Data *priv, double *horizontal, double *vertical) { if (priv) { @@ -1062,7 +1062,7 @@ _evas_table_padding_set(Eo *o, Evas_Table_Data *priv, Evas_Coord horizontal, Eva } EOLIAN static void -_evas_table_padding_get(Eo *o EINA_UNUSED, Evas_Table_Data *priv, Evas_Coord *horizontal, Evas_Coord *vertical) +_evas_table_padding_get(const Eo *o EINA_UNUSED, Evas_Table_Data *priv, Evas_Coord *horizontal, Evas_Coord *vertical) { if (priv) { @@ -1323,7 +1323,7 @@ _evas_table_clear(Eo *o, Evas_Table_Data *priv, Eina_Bool clear) } EOLIAN static void -_evas_table_col_row_size_get(Eo *o EINA_UNUSED, Evas_Table_Data *priv, int *cols, int *rows) +_evas_table_col_row_size_get(const Eo *o EINA_UNUSED, Evas_Table_Data *priv, int *cols, int *rows) { if (priv) { @@ -1388,7 +1388,7 @@ _evas_table_accessor_new(const Eo *o, Evas_Table_Data *priv) } EOLIAN static Eina_List* -_evas_table_children_get(Eo *o EINA_UNUSED, Evas_Table_Data *priv) +_evas_table_children_get(const Eo *o EINA_UNUSED, Evas_Table_Data *priv) { Eina_List *new_list = NULL, *l; Evas_Object_Table_Option *opt; @@ -1406,7 +1406,7 @@ _evas_table_count(Eo *o EINA_UNUSED, Evas_Table_Data *priv) } EOLIAN static Evas_Object * -_evas_table_child_get(Eo *o EINA_UNUSED, Evas_Table_Data *priv, unsigned short col, unsigned short row) +_evas_table_child_get(const Eo *o EINA_UNUSED, Evas_Table_Data *priv, unsigned short col, unsigned short row) { Eina_List *l; Evas_Object_Table_Option *opt; @@ -1418,7 +1418,7 @@ _evas_table_child_get(Eo *o EINA_UNUSED, Evas_Table_Data *priv, unsigned short c } EOLIAN static Eina_Bool -_evas_table_efl_ui_base_mirrored_get(Eo *o EINA_UNUSED, Evas_Table_Data *priv) +_evas_table_efl_ui_base_mirrored_get(const Eo *o EINA_UNUSED, Evas_Table_Data *priv) { return priv->is_mirrored; } diff --git a/src/lib/evas/canvas/evas_object_text.c b/src/lib/evas/canvas/evas_object_text.c index b9fc13cf9f..12a0895c2c 100644 --- a/src/lib/evas/canvas/evas_object_text.c +++ b/src/lib/evas/canvas/evas_object_text.c @@ -409,7 +409,7 @@ _evas_text_efl_text_font_font_source_set(Eo *eo_obj, Evas_Text_Data *o, const ch } EOLIAN static const char* -_evas_text_efl_text_font_font_source_get(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) +_evas_text_efl_text_font_font_source_get(const Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) { return o->cur.source; } @@ -503,7 +503,7 @@ _evas_text_efl_text_font_font_set(Eo *eo_obj, Evas_Text_Data *o, const char *fon } EOLIAN static void -_evas_text_efl_text_font_font_get(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o, const char **font, Evas_Font_Size *size) +_evas_text_efl_text_font_font_get(const Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o, const char **font, Evas_Font_Size *size) { if (font) *font = o->cur.font; if (size) *size = o->cur.size; @@ -1041,7 +1041,7 @@ _evas_text_ellipsis_set(Eo *eo_obj, Evas_Text_Data *o, double ellipsis) } EOLIAN static double -_evas_text_ellipsis_get(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) +_evas_text_ellipsis_get(const Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) { return o->cur.ellipsis; } @@ -1112,19 +1112,19 @@ _evas_text_bidi_delimiters_set(Eo *eo_obj, Evas_Text_Data *o, const char *delim) } EOLIAN static const char* -_evas_text_bidi_delimiters_get(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) +_evas_text_bidi_delimiters_get(const Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) { return o->bidi_delimiters; } EOLIAN static const char* -_evas_text_efl_text_text_get(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) +_evas_text_efl_text_text_get(const Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) { return o->cur.utf8_text; } EOLIAN static Evas_BiDi_Direction -_evas_text_direction_get(Eo *eo_obj, Evas_Text_Data *o) +_evas_text_direction_get(const Eo *eo_obj, Evas_Text_Data *o) { #ifdef BIDI_SUPPORT Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS); @@ -1145,9 +1145,10 @@ _evas_text_direction_get(Eo *eo_obj, Evas_Text_Data *o) if (o->changed_paragraph_direction) { - _evas_object_text_recalc(eo_obj, o->cur.text); + /* XXX const? */ + _evas_object_text_recalc((Evas_Object *)eo_obj, o->cur.text); evas_object_render_pre_prev_cur_add(&obj->layer->evas->clip_changes, - eo_obj, obj); + (Evas_Object *)eo_obj, obj); } #endif @@ -1155,31 +1156,31 @@ _evas_text_direction_get(Eo *eo_obj, Evas_Text_Data *o) } EOLIAN static Evas_Coord -_evas_text_ascent_get(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) +_evas_text_ascent_get(const Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) { return o->ascent; } EOLIAN static Evas_Coord -_evas_text_descent_get(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) +_evas_text_descent_get(const Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) { return o->descent; } EOLIAN static Evas_Coord -_evas_text_max_ascent_get(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) +_evas_text_max_ascent_get(const Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) { return o->max_ascent; } EOLIAN static Evas_Coord -_evas_text_max_descent_get(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) +_evas_text_max_descent_get(const Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) { return o->max_descent; } EOLIAN static Evas_Coord -_evas_text_inset_get(Eo *eo_obj, Evas_Text_Data *o) +_evas_text_inset_get(const Eo *eo_obj, Evas_Text_Data *o) { Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS); Evas_Coord inset = 0; @@ -1191,7 +1192,7 @@ _evas_text_inset_get(Eo *eo_obj, Evas_Text_Data *o) } EOLIAN static Evas_Coord -_evas_text_horiz_advance_get(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) +_evas_text_horiz_advance_get(const Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) { Evas_Coord horiz = 0; if (!o->font) return horiz; @@ -1202,7 +1203,7 @@ _evas_text_horiz_advance_get(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) } EOLIAN static Evas_Coord -_evas_text_vert_advance_get(Eo *eo_obj, Evas_Text_Data *o) +_evas_text_vert_advance_get(const Eo *eo_obj, Evas_Text_Data *o) { Evas_Coord vert; vert = 0; @@ -1339,7 +1340,7 @@ _evas_text_style_set(Eo *eo_obj, Evas_Text_Data *o, Evas_Text_Style_Type style) } EOLIAN static Evas_Text_Style_Type -_evas_text_style_get(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) +_evas_text_style_get(const Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) { return o->cur.style; } @@ -1361,7 +1362,7 @@ _evas_text_shadow_color_set(Eo *eo_obj, Evas_Text_Data *o, int r, int g, int b, } EOLIAN static void -_evas_text_shadow_color_get(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o, int *r, int *g, int *b, int *a) +_evas_text_shadow_color_get(const Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o, int *r, int *g, int *b, int *a) { if (r) *r = o->cur.shadow.r; if (g) *g = o->cur.shadow.g; @@ -1386,7 +1387,7 @@ _evas_text_glow_color_set(Eo *eo_obj, Evas_Text_Data *o, int r, int g, int b, in } EOLIAN static void -_evas_text_glow_color_get(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o, int *r, int *g, int *b, int *a) +_evas_text_glow_color_get(const Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o, int *r, int *g, int *b, int *a) { if (r) *r = o->cur.glow.r; if (g) *g = o->cur.glow.g; @@ -1411,7 +1412,7 @@ _evas_text_glow2_color_set(Eo *eo_obj, Evas_Text_Data *o, int r, int g, int b, i } EOLIAN static void -_evas_text_glow2_color_get(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o, int *r, int *g, int *b, int *a) +_evas_text_glow2_color_get(const Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o, int *r, int *g, int *b, int *a) { if (r) *r = o->cur.glow2.r; if (g) *g = o->cur.glow2.g; @@ -1436,7 +1437,7 @@ _evas_text_outline_color_set(Eo *eo_obj, Evas_Text_Data *o, int r, int g, int b, } EOLIAN static void -_evas_text_outline_color_get(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o, int *r, int *g, int *b, int *a) +_evas_text_outline_color_get(const Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o, int *r, int *g, int *b, int *a) { if (r) *r = o->cur.outline.r; if (g) *g = o->cur.outline.g; @@ -1445,7 +1446,7 @@ _evas_text_outline_color_get(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o, int *r, } EOLIAN static void -_evas_text_style_pad_get(Eo *eo_obj, Evas_Text_Data *o, int *l, int *r, int *t, int *b) +_evas_text_style_pad_get(const Eo *eo_obj, Evas_Text_Data *o, int *l, int *r, int *t, int *b) { _evas_object_text_pad_get(eo_obj, o, l, r, t, b); } @@ -2445,7 +2446,7 @@ _evas_text_efl_canvas_object_paragraph_direction_set(Eo *eo_obj, Evas_Text_Data } EOLIAN static Evas_BiDi_Direction -_evas_text_efl_canvas_object_paragraph_direction_get(Eo *eo_obj EINA_UNUSED, +_evas_text_efl_canvas_object_paragraph_direction_get(const Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) { return o->paragraph_direction; @@ -2461,7 +2462,7 @@ _evas_text_efl_text_font_font_bitmap_scalable_set(Eo *eo_obj, Evas_Text_Data *o, } EOLIAN static Efl_Text_Font_Bitmap_Scalable -_evas_text_efl_text_font_font_bitmap_scalable_get(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) +_evas_text_efl_text_font_font_bitmap_scalable_get(const Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o) { return o->cur.bitmap_scalable; } diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c index 9e9983bb77..2bddbcd833 100644 --- a/src/lib/evas/canvas/evas_object_textblock.c +++ b/src/lib/evas/canvas/evas_object_textblock.c @@ -6765,12 +6765,13 @@ _relayout(const Evas_Object *eo_obj) * Check if the object needs a relayout, and if so, execute it. */ static Eina_Bool -_relayout_if_needed(Evas_Object *eo_obj, Efl_Canvas_Text_Data *o) +_relayout_if_needed(const Evas_Object *eo_obj, Efl_Canvas_Text_Data *o) { ASYNC_BLOCK; Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS); - evas_object_textblock_coords_recalc(eo_obj, obj, obj->private_data); + /* XXX const */ + evas_object_textblock_coords_recalc((Evas_Object *)eo_obj, obj, obj->private_data); if (o->formatted.valid) { return EINA_TRUE; @@ -7283,7 +7284,7 @@ evas_object_textblock_style_get(const Eo *eo_obj) } EOLIAN static const char * -_efl_canvas_text_style_get(Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *o, const char *key) +_efl_canvas_text_style_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *o, const char *key) { Evas_Textblock_Style *ts = _style_by_key_find(o, key); @@ -7361,13 +7362,13 @@ _efl_canvas_text_legacy_newline_set(Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data } EOLIAN static Eina_Bool -_efl_canvas_text_legacy_newline_get(Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *o) +_efl_canvas_text_legacy_newline_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *o) { return o->legacy_newline; } EOLIAN static Eina_Bool -_efl_canvas_text_is_empty_get(Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *o) +_efl_canvas_text_is_empty_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *o) { return !o->text_nodes || (eina_ustrbuf_length_get(o->text_nodes->unicode) == 0); } @@ -7403,7 +7404,7 @@ _efl_canvas_text_bidi_delimiters_set(Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Dat } EOLIAN static const char* -_efl_canvas_text_bidi_delimiters_get(Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *o) +_efl_canvas_text_bidi_delimiters_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *o) { return o->bidi_delimiters; } @@ -7916,7 +7917,7 @@ _markup_get_text_append(Eina_Strbuf *txt, const Eina_Unicode *text) free(base); } static const char* -_evas_object_textblock_text_markup_get(Eo *eo_obj, Efl_Canvas_Text_Data *o) +_evas_object_textblock_text_markup_get(const Eo *eo_obj, Efl_Canvas_Text_Data *o) { Evas_Object_Textblock_Node_Text *n; Eina_Strbuf *txt = NULL; @@ -7993,7 +7994,7 @@ evas_object_textblock_text_markup_get(Eo *eo_obj) } EOLIAN const char* -_efl_canvas_text_efl_text_markup_markup_get(Eo *eo_obj, Efl_Canvas_Text_Data *o) +_efl_canvas_text_efl_text_markup_markup_get(const Eo *eo_obj, Efl_Canvas_Text_Data *o) { return _evas_object_textblock_text_markup_get(eo_obj, o); } @@ -9884,7 +9885,7 @@ _evas_textblock_node_format_pos_get(const Evas_Object_Textblock_Node_Format *fmt } EOLIAN static int -_efl_canvas_text_efl_text_cursor_cursor_position_get(Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, Efl_Text_Cursor_Cursor *cur) +_efl_canvas_text_efl_text_cursor_cursor_position_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, Efl_Text_Cursor_Cursor *cur) { ASYNC_BLOCK; Evas_Object_Textblock_Node_Text *n; @@ -11042,7 +11043,7 @@ _efl_canvas_text_range_delete(Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *pd E } EOLIAN static Eina_Unicode -_efl_canvas_text_efl_text_cursor_cursor_content_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, +_efl_canvas_text_efl_text_cursor_cursor_content_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, const Efl_Text_Cursor_Cursor *cur) { ASYNC_BLOCK; @@ -11346,7 +11347,7 @@ evas_textblock_cursor_range_text_get(const Efl_Text_Cursor_Cursor *cur1, const E } EOLIAN static char * -_efl_canvas_text_range_text_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_text_range_text_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *pd EINA_UNUSED, const Efl_Text_Cursor_Cursor *cur1, const Evas_Textblock_Cursor *cur2) @@ -11511,7 +11512,7 @@ evas_textblock_cursor_geometry_bidi_get(const Efl_Text_Cursor_Cursor *cur, Evas_ } EOLIAN static Eina_Bool -_efl_canvas_text_efl_text_cursor_cursor_geometry_get(Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, const Efl_Text_Cursor_Cursor *cur, Efl_Text_Cursor_Cursor_Type ctype, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch, Evas_Coord *cx2, Evas_Coord *cy2, Evas_Coord *cw2, Evas_Coord *ch2) +_efl_canvas_text_efl_text_cursor_cursor_geometry_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, const Efl_Text_Cursor_Cursor *cur, Efl_Text_Cursor_Cursor_Type ctype, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch, Evas_Coord *cx2, Evas_Coord *cy2, Evas_Coord *cw2, Evas_Coord *ch2) { ASYNC_BLOCK; if (!cur) return EINA_FALSE; @@ -12872,7 +12873,7 @@ evas_object_textblock_clear(Evas_Object *eo_obj) } EOLIAN static void -_efl_canvas_text_size_formatted_get(Eo *eo_obj, Efl_Canvas_Text_Data *o, Evas_Coord *w, Evas_Coord *h) +_efl_canvas_text_size_formatted_get(const Eo *eo_obj, Efl_Canvas_Text_Data *o, Evas_Coord *w, Evas_Coord *h) { Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS); evas_object_async_block(obj); @@ -13115,7 +13116,7 @@ _size_native_calc_paragraph_size(const Evas_Object *eo_obj, } EOLIAN static void -_efl_canvas_text_size_native_get(Eo *eo_obj, Efl_Canvas_Text_Data *o, Evas_Coord *w, Evas_Coord *h) +_efl_canvas_text_size_native_get(const Eo *eo_obj, Efl_Canvas_Text_Data *o, Evas_Coord *w, Evas_Coord *h) { Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS); evas_object_async_block(obj); @@ -13149,7 +13150,7 @@ _efl_canvas_text_size_native_get(Eo *eo_obj, Efl_Canvas_Text_Data *o, Evas_Coord } EOLIAN static void -_efl_canvas_text_style_insets_get(Eo *eo_obj, Efl_Canvas_Text_Data *o, Evas_Coord *l, Evas_Coord *r, Evas_Coord *t, Evas_Coord *b) +_efl_canvas_text_style_insets_get(const Eo *eo_obj, Efl_Canvas_Text_Data *o, Evas_Coord *l, Evas_Coord *r, Evas_Coord *t, Evas_Coord *b) { Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS); evas_object_async_block(obj); @@ -14230,7 +14231,7 @@ _efl_canvas_text_efl_gfx_filter_filter_program_set(Eo *eo_obj, Efl_Canvas_Text_D } EOLIAN static void -_efl_canvas_text_efl_gfx_filter_filter_program_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *pd EINA_UNUSED, +_efl_canvas_text_efl_gfx_filter_filter_program_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *pd EINA_UNUSED, const char **code EINA_UNUSED, const char **name EINA_UNUSED) { // FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME @@ -14299,7 +14300,7 @@ _efl_canvas_text_efl_gfx_filter_filter_data_set(Eo *obj, Efl_Canvas_Text_Data *p } EOLIAN static void -_efl_canvas_text_efl_gfx_filter_filter_data_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *pd, const char *name, const char **value, Eina_Bool *execute) +_efl_canvas_text_efl_gfx_filter_filter_data_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *pd, const char *name, const char **value, Eina_Bool *execute) { Evas_Filter_Data_Binding *db; @@ -14370,7 +14371,7 @@ _efl_canvas_text_efl_gfx_filter_filter_source_set(Eo *eo_obj, Efl_Canvas_Text_Da } EOLIAN static Efl_Gfx * -_efl_canvas_text_efl_gfx_filter_filter_source_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *pd, const char *name) +_efl_canvas_text_efl_gfx_filter_filter_source_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *pd, const char *name) { return eina_hash_find(pd->gfx_filter.sources, name); } @@ -14706,7 +14707,7 @@ _efl_canvas_text_efl_canvas_object_paragraph_direction_set(Eo *eo_obj, } EOLIAN static Evas_BiDi_Direction -_efl_canvas_text_efl_canvas_object_paragraph_direction_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_text_efl_canvas_object_paragraph_direction_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *o) { return o->paragraph_direction; @@ -14786,7 +14787,7 @@ _efl_canvas_text_efl_text_text_set(Eo *eo_obj, Efl_Canvas_Text_Data *o, } static char * -_canvas_text_get_all(Eo *eo_obj, Efl_Canvas_Text_Data *o EINA_UNUSED) +_canvas_text_get_all(const Eo *eo_obj, Efl_Canvas_Text_Data *o EINA_UNUSED) { Efl_Text_Cursor_Cursor start, end; @@ -14800,7 +14801,7 @@ _canvas_text_get_all(Eo *eo_obj, Efl_Canvas_Text_Data *o EINA_UNUSED) } EOLIAN static const char * -_efl_canvas_text_efl_text_text_get(Eo *eo_obj, Efl_Canvas_Text_Data *o) +_efl_canvas_text_efl_text_text_get(const Eo *eo_obj, Efl_Canvas_Text_Data *o) { Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS); evas_object_async_block(obj); @@ -14876,7 +14877,7 @@ _evas_textblock_annotation_iterator_new(Eina_List *list) } static void -_textblock_cursor_pos_at_fnode_set(Eo *eo_obj EINA_UNUSED, +_textblock_cursor_pos_at_fnode_set(const Eo *eo_obj EINA_UNUSED, Efl_Text_Cursor_Cursor *cur, Evas_Object_Textblock_Node_Format *fnode) { @@ -14925,7 +14926,7 @@ _textblock_annotation_set(Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *o, } EOLIAN static const char * -_efl_canvas_text_efl_text_annotate_annotation_get(Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, +_efl_canvas_text_efl_text_annotate_annotation_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, Efl_Text_Annotate_Annotation *annotation) { if (!annotation || (annotation->obj != eo_obj)) @@ -15114,7 +15115,7 @@ _efl_canvas_text_efl_text_annotate_annotation_insert(Eo *eo_obj, Efl_Canvas_Text } EOLIAN static Eina_Iterator * -_efl_canvas_text_efl_text_annotate_range_annotations_get(Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, +_efl_canvas_text_efl_text_annotate_range_annotations_get(const Eo *eo_obj, Efl_Canvas_Text_Data *o EINA_UNUSED, const Evas_Textblock_Cursor *start, const Evas_Textblock_Cursor *end) { Eina_List *lst = NULL; @@ -15157,7 +15158,7 @@ _efl_canvas_text_efl_text_annotate_cursor_item_insert(Eo *eo_obj, } EOLIAN static Efl_Text_Annotate_Annotation * -_efl_canvas_text_efl_text_annotate_cursor_item_annotation_get(Eo *eo_obj EINA_UNUSED, +_efl_canvas_text_efl_text_annotate_cursor_item_annotation_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, Efl_Text_Cursor_Cursor *cur) { Eina_Iterator *it; @@ -15264,7 +15265,7 @@ _efl_canvas_text_efl_text_font_font_set(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Dat } static void -_efl_canvas_text_efl_text_font_font_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, const char **font EINA_UNUSED, int *size EINA_UNUSED) +_efl_canvas_text_efl_text_font_font_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, const char **font EINA_UNUSED, int *size EINA_UNUSED) { if (font) *font = o->default_format.info.font; if (size) *size = o->default_format.info.size; @@ -15292,7 +15293,7 @@ _efl_canvas_text_efl_text_font_font_source_set(Eo *obj EINA_UNUSED, Efl_Canvas_T } static const char* -_efl_canvas_text_efl_text_font_font_source_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_font_font_source_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return _FMT_INFO(font_source); } @@ -15319,7 +15320,7 @@ _efl_canvas_text_efl_text_font_font_fallbacks_set(Eo *obj EINA_UNUSED, Efl_Canva } static const char* -_efl_canvas_text_efl_text_font_font_fallbacks_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_font_font_fallbacks_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return _FMT_INFO(font_fallbacks); } @@ -15346,7 +15347,7 @@ _efl_canvas_text_efl_text_font_font_lang_set(Eo *obj EINA_UNUSED, Efl_Canvas_Tex } static const char* -_efl_canvas_text_efl_text_font_font_lang_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_font_font_lang_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return _FMT_INFO(font_lang); } @@ -15360,7 +15361,7 @@ _efl_canvas_text_efl_text_font_font_weight_set(Eo *obj EINA_UNUSED, Efl_Canvas_T } static Efl_Text_Font_Weight -_efl_canvas_text_efl_text_font_font_weight_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_font_font_weight_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return _FMT_INFO(font_weight); } @@ -15375,7 +15376,7 @@ _efl_canvas_text_efl_text_font_font_slant_set(Eo *obj EINA_UNUSED, Efl_Canvas_Te } static Efl_Text_Font_Slant -_efl_canvas_text_efl_text_font_font_slant_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_font_font_slant_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return _FMT_INFO(font_slant); } @@ -15390,7 +15391,7 @@ _efl_canvas_text_efl_text_font_font_width_set(Eo *obj EINA_UNUSED, Efl_Canvas_Te } static Efl_Text_Font_Width -_efl_canvas_text_efl_text_font_font_width_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_font_font_width_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return _FMT_INFO(font_width); } @@ -15404,7 +15405,7 @@ _efl_canvas_text_efl_text_font_font_bitmap_scalable_set(Eo *obj, Efl_Canvas_Text } EOLIAN static Efl_Text_Font_Bitmap_Scalable -_efl_canvas_text_efl_text_font_font_bitmap_scalable_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o) +_efl_canvas_text_efl_text_font_font_bitmap_scalable_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o) { return _FMT_INFO(bitmap_scalable); } @@ -15457,7 +15458,7 @@ _efl_canvas_text_efl_text_style_normal_color_set(Eo *obj EINA_UNUSED, Efl_Canvas } static void -_efl_canvas_text_efl_text_style_normal_color_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, unsigned char *r EINA_UNUSED, unsigned char *g EINA_UNUSED, unsigned char *b EINA_UNUSED, unsigned char *a EINA_UNUSED) +_efl_canvas_text_efl_text_style_normal_color_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, unsigned char *r EINA_UNUSED, unsigned char *g EINA_UNUSED, unsigned char *b EINA_UNUSED, unsigned char *a EINA_UNUSED) { _FMT_COLOR_RET(normal); } @@ -15470,7 +15471,7 @@ _efl_canvas_text_efl_text_style_backing_type_set(Eo *obj EINA_UNUSED, Efl_Canvas } static Efl_Text_Style_Backing_Type -_efl_canvas_text_efl_text_style_backing_type_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_style_backing_type_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return _FMT(backing); } @@ -15483,7 +15484,7 @@ _efl_canvas_text_efl_text_style_backing_color_set(Eo *obj EINA_UNUSED, Efl_Canva } static void -_efl_canvas_text_efl_text_style_backing_color_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, unsigned char *r EINA_UNUSED, unsigned char *g EINA_UNUSED, unsigned char *b EINA_UNUSED, unsigned char *a EINA_UNUSED) +_efl_canvas_text_efl_text_style_backing_color_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, unsigned char *r EINA_UNUSED, unsigned char *g EINA_UNUSED, unsigned char *b EINA_UNUSED, unsigned char *a EINA_UNUSED) { _FMT_COLOR_RET(backing); } @@ -15496,7 +15497,7 @@ _efl_canvas_text_efl_text_style_underline_type_set(Eo *obj EINA_UNUSED, Efl_Canv } static Efl_Text_Style_Underline_Type -_efl_canvas_text_efl_text_style_underline_type_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_style_underline_type_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return _FMT(underline); } @@ -15509,7 +15510,7 @@ _efl_canvas_text_efl_text_style_underline_color_set(Eo *obj EINA_UNUSED, Efl_Can } static void -_efl_canvas_text_efl_text_style_underline_color_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, unsigned char *r EINA_UNUSED, unsigned char *g EINA_UNUSED, unsigned char *b EINA_UNUSED, unsigned char *a EINA_UNUSED) +_efl_canvas_text_efl_text_style_underline_color_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, unsigned char *r EINA_UNUSED, unsigned char *g EINA_UNUSED, unsigned char *b EINA_UNUSED, unsigned char *a EINA_UNUSED) { _FMT_COLOR_RET(underline); } @@ -15522,7 +15523,7 @@ _efl_canvas_text_efl_text_style_underline_height_set(Eo *obj EINA_UNUSED, Efl_Ca } static double -_efl_canvas_text_efl_text_style_underline_height_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_style_underline_height_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return _FMT(underline_height); } @@ -15535,7 +15536,7 @@ _efl_canvas_text_efl_text_style_underline_dashed_color_set(Eo *obj EINA_UNUSED, } static void -_efl_canvas_text_efl_text_style_underline_dashed_color_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, unsigned char *r EINA_UNUSED, unsigned char *g EINA_UNUSED, unsigned char *b EINA_UNUSED, unsigned char *a EINA_UNUSED) +_efl_canvas_text_efl_text_style_underline_dashed_color_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, unsigned char *r EINA_UNUSED, unsigned char *g EINA_UNUSED, unsigned char *b EINA_UNUSED, unsigned char *a EINA_UNUSED) { _FMT_COLOR_RET(underline_dash); } @@ -15548,7 +15549,7 @@ _efl_canvas_text_efl_text_style_underline_dashed_width_set(Eo *obj EINA_UNUSED, } static int -_efl_canvas_text_efl_text_style_underline_dashed_width_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_style_underline_dashed_width_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return _FMT(underline_dash_width); } @@ -15561,7 +15562,7 @@ _efl_canvas_text_efl_text_style_underline_dashed_gap_set(Eo *obj EINA_UNUSED, Ef } static int -_efl_canvas_text_efl_text_style_underline_dashed_gap_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_style_underline_dashed_gap_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return _FMT(underline_dash_width); } @@ -15574,7 +15575,7 @@ _efl_canvas_text_efl_text_style_underline2_type_set(Eo *obj EINA_UNUSED, Efl_Can } static Efl_Text_Style_Underline_Type -_efl_canvas_text_efl_text_style_underline2_type_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_style_underline2_type_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return _FMT(underline2); } @@ -15587,7 +15588,7 @@ _efl_canvas_text_efl_text_style_underline2_color_set(Eo *obj EINA_UNUSED, Efl_Ca } static void -_efl_canvas_text_efl_text_style_underline2_color_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, unsigned char *r EINA_UNUSED, unsigned char *g EINA_UNUSED, unsigned char *b EINA_UNUSED, unsigned char *a EINA_UNUSED) +_efl_canvas_text_efl_text_style_underline2_color_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, unsigned char *r EINA_UNUSED, unsigned char *g EINA_UNUSED, unsigned char *b EINA_UNUSED, unsigned char *a EINA_UNUSED) { _FMT_COLOR_RET(underline2); } @@ -15600,7 +15601,7 @@ _efl_canvas_text_efl_text_style_strikethrough_type_set(Eo *obj EINA_UNUSED, Efl_ } static Efl_Text_Style_Strikethrough_Type -_efl_canvas_text_efl_text_style_strikethrough_type_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_style_strikethrough_type_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return _FMT(strikethrough); } @@ -15613,7 +15614,7 @@ _efl_canvas_text_efl_text_style_strikethrough_color_set(Eo *obj EINA_UNUSED, Efl } static void -_efl_canvas_text_efl_text_style_strikethrough_color_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, unsigned char *r EINA_UNUSED, unsigned char *g EINA_UNUSED, unsigned char *b EINA_UNUSED, unsigned char *a EINA_UNUSED) +_efl_canvas_text_efl_text_style_strikethrough_color_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, unsigned char *r EINA_UNUSED, unsigned char *g EINA_UNUSED, unsigned char *b EINA_UNUSED, unsigned char *a EINA_UNUSED) { _FMT_COLOR_RET(strikethrough); } @@ -15693,7 +15694,7 @@ _efl_canvas_text_efl_text_style_effect_type_set(Eo *obj EINA_UNUSED, Efl_Canvas_ } static Efl_Text_Style_Effect_Type -_efl_canvas_text_efl_text_style_effect_type_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_style_effect_type_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return _FMT_INFO(effect); } @@ -15706,7 +15707,7 @@ _efl_canvas_text_efl_text_style_outline_color_set(Eo *obj EINA_UNUSED, Efl_Canva } static void -_efl_canvas_text_efl_text_style_outline_color_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, unsigned char *r EINA_UNUSED, unsigned char *g EINA_UNUSED, unsigned char *b EINA_UNUSED, unsigned char *a EINA_UNUSED) +_efl_canvas_text_efl_text_style_outline_color_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, unsigned char *r EINA_UNUSED, unsigned char *g EINA_UNUSED, unsigned char *b EINA_UNUSED, unsigned char *a EINA_UNUSED) { _FMT_COLOR_RET(outline); } @@ -15722,7 +15723,7 @@ _efl_canvas_text_efl_text_style_shadow_direction_set(Eo *obj EINA_UNUSED, Efl_Ca } static Efl_Text_Style_Shadow_Direction -_efl_canvas_text_efl_text_style_shadow_direction_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_style_shadow_direction_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return _FMT_INFO(shadow_direction); } @@ -15735,7 +15736,7 @@ _efl_canvas_text_efl_text_style_shadow_color_set(Eo *obj EINA_UNUSED, Efl_Canvas } static void -_efl_canvas_text_efl_text_style_shadow_color_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, unsigned char *r EINA_UNUSED, unsigned char *g EINA_UNUSED, unsigned char *b EINA_UNUSED, unsigned char *a EINA_UNUSED) +_efl_canvas_text_efl_text_style_shadow_color_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, unsigned char *r EINA_UNUSED, unsigned char *g EINA_UNUSED, unsigned char *b EINA_UNUSED, unsigned char *a EINA_UNUSED) { _FMT_COLOR_RET(shadow); } @@ -15748,7 +15749,7 @@ _efl_canvas_text_efl_text_style_glow_color_set(Eo *obj EINA_UNUSED, Efl_Canvas_T } static void -_efl_canvas_text_efl_text_style_glow_color_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, unsigned char *r EINA_UNUSED, unsigned char *g EINA_UNUSED, unsigned char *b EINA_UNUSED, unsigned char *a EINA_UNUSED) +_efl_canvas_text_efl_text_style_glow_color_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, unsigned char *r EINA_UNUSED, unsigned char *g EINA_UNUSED, unsigned char *b EINA_UNUSED, unsigned char *a EINA_UNUSED) { _FMT_COLOR_RET(glow); } @@ -15761,7 +15762,7 @@ _efl_canvas_text_efl_text_style_glow2_color_set(Eo *obj EINA_UNUSED, Efl_Canvas_ } static void -_efl_canvas_text_efl_text_style_glow2_color_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, unsigned char *r EINA_UNUSED, unsigned char *g EINA_UNUSED, unsigned char *b EINA_UNUSED, unsigned char *a EINA_UNUSED) +_efl_canvas_text_efl_text_style_glow2_color_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, unsigned char *r EINA_UNUSED, unsigned char *g EINA_UNUSED, unsigned char *b EINA_UNUSED, unsigned char *a EINA_UNUSED) { _FMT_COLOR_RET(glow2); } @@ -15791,7 +15792,7 @@ _efl_canvas_text_efl_text_style_gfx_filter_set(Eo *obj EINA_UNUSED, Efl_Canvas_T } static const char * -_efl_canvas_text_efl_text_style_gfx_filter_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_style_gfx_filter_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return _FMT(gfx_filter)?_FMT(gfx_filter->name):NULL; } @@ -15804,7 +15805,7 @@ _efl_canvas_text_efl_text_format_ellipsis_set(Eo *obj EINA_UNUSED, Efl_Canvas_Te } static double -_efl_canvas_text_efl_text_format_ellipsis_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_format_ellipsis_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return _FMT(ellipsis); } @@ -15822,7 +15823,7 @@ _efl_canvas_text_efl_text_format_wrap_set(Eo *obj EINA_UNUSED, Efl_Canvas_Text_D } static Efl_Text_Format_Wrap -_efl_canvas_text_efl_text_format_wrap_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_format_wrap_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return _FMT_INFO(wrap); } @@ -15837,7 +15838,7 @@ _efl_canvas_text_efl_text_format_multiline_set(Eo *obj EINA_UNUSED, Efl_Canvas_T } static Eina_Bool -_efl_canvas_text_efl_text_format_multiline_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_format_multiline_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return o->multiline; } @@ -15865,7 +15866,7 @@ _efl_canvas_text_efl_text_format_halign_auto_type_set(Eo *obj, Efl_Canvas_Text_D } static Efl_Text_Format_Horizontal_Alignment_Auto_Type -_efl_canvas_text_efl_text_format_halign_auto_type_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o) +_efl_canvas_text_efl_text_format_halign_auto_type_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o) { Efl_Text_Format_Horizontal_Alignment_Auto_Type ret = EFL_TEXT_HORIZONTAL_ALIGNMENT_AUTO_NONE; @@ -15895,7 +15896,7 @@ _efl_canvas_text_efl_text_format_halign_set(Eo *obj, Efl_Canvas_Text_Data *o, } static double -_efl_canvas_text_efl_text_format_halign_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_format_halign_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return _FMT(halign); } @@ -15913,7 +15914,7 @@ _efl_canvas_text_efl_text_format_valign_set(Eo *obj, Efl_Canvas_Text_Data *o, } static double -_efl_canvas_text_efl_text_format_valign_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_format_valign_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return o->valign; } @@ -15938,7 +15939,7 @@ _efl_canvas_text_efl_text_format_linegap_set(Eo *obj EINA_UNUSED, Efl_Canvas_Tex } static double -_efl_canvas_text_efl_text_format_linegap_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_format_linegap_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return _FMT(linegap); } @@ -15962,7 +15963,7 @@ _efl_canvas_text_efl_text_format_linerelgap_set(Eo *obj EINA_UNUSED, Efl_Canvas_ } static double -_efl_canvas_text_efl_text_format_linerelgap_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_format_linerelgap_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return _FMT(linerelgap); } @@ -15975,7 +15976,7 @@ _efl_canvas_text_efl_text_format_tabstops_set(Eo *obj EINA_UNUSED, Efl_Canvas_Te } static int -_efl_canvas_text_efl_text_format_tabstops_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_format_tabstops_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return _FMT(tabstops); } @@ -15988,7 +15989,7 @@ _efl_canvas_text_efl_text_format_password_set(Eo *obj EINA_UNUSED, Efl_Canvas_Te } static Eina_Bool -_efl_canvas_text_efl_text_format_password_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_format_password_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return _FMT(password); } @@ -16016,7 +16017,7 @@ _efl_canvas_text_efl_text_format_replacement_char_set(Eo *obj EINA_UNUSED, Efl_C } static const char * -_efl_canvas_text_efl_text_format_replacement_char_get(Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) +_efl_canvas_text_efl_text_format_replacement_char_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED) { return o->repch; } @@ -16131,7 +16132,7 @@ ppar(Evas_Object_Textblock_Paragraph *par) EFL_OBJECT_OP_FUNC(efl_dbg_info_get, _efl_canvas_text_efl_object_dbg_info_get) EOLIAN static Efl_Text_Cursor_Cursor * -_efl_canvas_text_efl_text_cursor_text_cursor_get(Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *o, Efl_Text_Cursor_Cursor_Get_Type get_type) +_efl_canvas_text_efl_text_cursor_text_cursor_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *o, Efl_Text_Cursor_Cursor_Get_Type get_type) { if (get_type > EFL_TEXT_CURSOR_GET_MAIN) { diff --git a/src/lib/evas/canvas/evas_object_textgrid.c b/src/lib/evas/canvas/evas_object_textgrid.c index 6e0b74a1b7..7bc13f35f3 100644 --- a/src/lib/evas/canvas/evas_object_textgrid.c +++ b/src/lib/evas/canvas/evas_object_textgrid.c @@ -959,7 +959,7 @@ _evas_textgrid_grid_size_set(Eo *eo_obj, Evas_Textgrid_Data *o, int w, int h) } EOLIAN static void -_evas_textgrid_grid_size_get(Eo *eo_obj EINA_UNUSED, Evas_Textgrid_Data *o, int *w, int *h) +_evas_textgrid_grid_size_get(const Eo *eo_obj EINA_UNUSED, Evas_Textgrid_Data *o, int *w, int *h) { if (w) *w = o->cur.w; if (h) *h = o->cur.h; @@ -984,7 +984,7 @@ _evas_textgrid_efl_text_font_font_source_set(Eo *eo_obj, Evas_Textgrid_Data *o, } EOLIAN static const char* -_evas_textgrid_efl_text_font_font_source_get(Eo *eo_obj EINA_UNUSED, Evas_Textgrid_Data *o) +_evas_textgrid_efl_text_font_font_source_get(const Eo *eo_obj EINA_UNUSED, Evas_Textgrid_Data *o) { return o->cur.font_source; } @@ -1258,14 +1258,14 @@ _evas_textgrid_efl_text_font_font_set(Eo *eo_obj, } EOLIAN static void -_evas_textgrid_efl_text_font_font_get(Eo *eo_obj EINA_UNUSED, Evas_Textgrid_Data *o, const char **font_name, Evas_Font_Size *font_size) +_evas_textgrid_efl_text_font_font_get(const Eo *eo_obj EINA_UNUSED, Evas_Textgrid_Data *o, const char **font_name, Evas_Font_Size *font_size) { if (font_name) *font_name = o->cur.font_name; if (font_size) *font_size = o->cur.font_size; } EOLIAN static void -_evas_textgrid_cell_size_get(Eo *eo_obj EINA_UNUSED, Evas_Textgrid_Data *o, int *w, int *h) +_evas_textgrid_cell_size_get(const Eo *eo_obj EINA_UNUSED, Evas_Textgrid_Data *o, int *w, int *h) { if (w) *w = o->cur.char_width; if (h) *h = o->cur.char_height; @@ -1406,7 +1406,7 @@ _evas_textgrid_supported_font_styles_set(Eo *eo_obj, Evas_Textgrid_Data *o, Evas } EOLIAN static Evas_Textgrid_Font_Style -_evas_textgrid_supported_font_styles_get(Eo *eo_obj EINA_UNUSED, Evas_Textgrid_Data *o EINA_UNUSED) +_evas_textgrid_supported_font_styles_get(const Eo *eo_obj EINA_UNUSED, Evas_Textgrid_Data *o EINA_UNUSED) { /* FIXME: to do */ return EVAS_TEXTGRID_FONT_STYLE_NORMAL; @@ -1523,7 +1523,7 @@ _evas_textgrid_efl_text_font_font_bitmap_scalable_set(Eo *eo_obj, Evas_Textgrid_ } EOLIAN static Efl_Text_Font_Bitmap_Scalable -_evas_textgrid_efl_text_font_font_bitmap_scalable_get(Eo *eo_obj EINA_UNUSED, Evas_Textgrid_Data *o) +_evas_textgrid_efl_text_font_font_bitmap_scalable_get(const Eo *eo_obj EINA_UNUSED, Evas_Textgrid_Data *o) { return o->cur.bitmap_scalable; } diff --git a/src/lib/evas/canvas/evas_stack.x b/src/lib/evas/canvas/evas_stack.x index 91c08655d4..fb75e86bc6 100644 --- a/src/lib/evas/canvas/evas_stack.x +++ b/src/lib/evas/canvas/evas_stack.x @@ -374,7 +374,7 @@ _efl_canvas_object_efl_gfx_stack_below_get(Eo *eo_obj EINA_UNUSED, } EOLIAN Evas_Object* -_evas_canvas_object_bottom_get(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e) +_evas_canvas_object_bottom_get(const Eo *eo_e EINA_UNUSED, Evas_Public_Data *e) { if (e->layers) { @@ -391,7 +391,7 @@ _evas_canvas_object_bottom_get(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e) } EOLIAN Evas_Object* -_evas_canvas_object_top_get(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e) +_evas_canvas_object_top_get(const Eo *eo_e EINA_UNUSED, Evas_Public_Data *e) { Evas_Object_Protected_Data *obj = NULL; Eina_Inlist *list; diff --git a/src/lib/evas/canvas/evas_vg_container.c b/src/lib/evas/canvas/evas_vg_container.c index 5869c40540..deb89cabeb 100644 --- a/src/lib/evas/canvas/evas_vg_container.c +++ b/src/lib/evas/canvas/evas_vg_container.c @@ -65,7 +65,7 @@ _efl_canvas_vg_container_efl_object_destructor(Eo *obj, } static void -_efl_canvas_vg_container_efl_gfx_path_bounds_get(Eo *obj EINA_UNUSED, +_efl_canvas_vg_container_efl_gfx_path_bounds_get(const Eo *obj EINA_UNUSED, Efl_Canvas_VG_Container_Data *pd, Eina_Rect *r) { diff --git a/src/lib/evas/canvas/evas_vg_gradient.c b/src/lib/evas/canvas/evas_vg_gradient.c index 8b58a732c1..9a458b1b5b 100644 --- a/src/lib/evas/canvas/evas_vg_gradient.c +++ b/src/lib/evas/canvas/evas_vg_gradient.c @@ -27,7 +27,7 @@ _efl_canvas_vg_gradient_efl_gfx_gradient_stop_set(Eo *obj EINA_UNUSED, } static void -_efl_canvas_vg_gradient_efl_gfx_gradient_stop_get(Eo *obj EINA_UNUSED, +_efl_canvas_vg_gradient_efl_gfx_gradient_stop_get(const Eo *obj EINA_UNUSED, Efl_Canvas_VG_Gradient_Data *pd, const Efl_Gfx_Gradient_Stop **colors, unsigned int *length) @@ -47,7 +47,7 @@ _efl_canvas_vg_gradient_efl_gfx_gradient_spread_set(Eo *obj EINA_UNUSED, } static Efl_Gfx_Gradient_Spread -_efl_canvas_vg_gradient_efl_gfx_gradient_spread_get(Eo *obj EINA_UNUSED, +_efl_canvas_vg_gradient_efl_gfx_gradient_spread_get(const Eo *obj EINA_UNUSED, Efl_Canvas_VG_Gradient_Data *pd) { return pd->s; diff --git a/src/lib/evas/canvas/evas_vg_gradient_linear.c b/src/lib/evas/canvas/evas_vg_gradient_linear.c index 817ed36b52..c02ada198f 100644 --- a/src/lib/evas/canvas/evas_vg_gradient_linear.c +++ b/src/lib/evas/canvas/evas_vg_gradient_linear.c @@ -27,7 +27,7 @@ _efl_canvas_vg_gradient_linear_efl_gfx_gradient_linear_start_set(Eo *obj EINA_UN } static void -_efl_canvas_vg_gradient_linear_efl_gfx_gradient_linear_start_get(Eo *obj EINA_UNUSED, +_efl_canvas_vg_gradient_linear_efl_gfx_gradient_linear_start_get(const Eo *obj EINA_UNUSED, Efl_Canvas_VG_Gradient_Linear_Data *pd, double *x, double *y) { @@ -47,7 +47,7 @@ _efl_canvas_vg_gradient_linear_efl_gfx_gradient_linear_end_set(Eo *obj EINA_UNUS } static void -_efl_canvas_vg_gradient_linear_efl_gfx_gradient_linear_end_get(Eo *obj EINA_UNUSED, +_efl_canvas_vg_gradient_linear_efl_gfx_gradient_linear_end_get(const Eo *obj EINA_UNUSED, Efl_Canvas_VG_Gradient_Linear_Data *pd, double *x, double *y) { @@ -112,7 +112,7 @@ _efl_canvas_vg_gradient_linear_efl_object_destructor(Eo *obj, Efl_Canvas_VG_Grad } static void -_efl_canvas_vg_gradient_linear_efl_gfx_path_bounds_get(Eo *obj, Efl_Canvas_VG_Gradient_Linear_Data *pd, Eina_Rect *r) +_efl_canvas_vg_gradient_linear_efl_gfx_path_bounds_get(const Eo *obj, Efl_Canvas_VG_Gradient_Linear_Data *pd, Eina_Rect *r) { Efl_Canvas_VG_Node_Data *nd; diff --git a/src/lib/evas/canvas/evas_vg_gradient_radial.c b/src/lib/evas/canvas/evas_vg_gradient_radial.c index 7c2fe6e85d..5565fc8d98 100644 --- a/src/lib/evas/canvas/evas_vg_gradient_radial.c +++ b/src/lib/evas/canvas/evas_vg_gradient_radial.c @@ -26,7 +26,7 @@ _efl_canvas_vg_gradient_radial_efl_gfx_gradient_radial_center_set(Eo *obj EINA_U } static void -_efl_canvas_vg_gradient_radial_efl_gfx_gradient_radial_center_get(Eo *obj EINA_UNUSED, +_efl_canvas_vg_gradient_radial_efl_gfx_gradient_radial_center_get(const Eo *obj EINA_UNUSED, Efl_Canvas_VG_Gradient_Radial_Data *pd, double *x, double *y) { @@ -45,7 +45,7 @@ _efl_canvas_vg_gradient_radial_efl_gfx_gradient_radial_radius_set(Eo *obj EINA_U } static double -_efl_canvas_vg_gradient_radial_efl_gfx_gradient_radial_radius_get(Eo *obj EINA_UNUSED, +_efl_canvas_vg_gradient_radial_efl_gfx_gradient_radial_radius_get(const Eo *obj EINA_UNUSED, Efl_Canvas_VG_Gradient_Radial_Data *pd) { return pd->radius; @@ -63,7 +63,7 @@ _efl_canvas_vg_gradient_radial_efl_gfx_gradient_radial_focal_set(Eo *obj EINA_UN } static void -_efl_canvas_vg_gradient_radial_efl_gfx_gradient_radial_focal_get(Eo *obj EINA_UNUSED, +_efl_canvas_vg_gradient_radial_efl_gfx_gradient_radial_focal_get(const Eo *obj EINA_UNUSED, Efl_Canvas_VG_Gradient_Radial_Data *pd, double *x, double *y) { @@ -129,7 +129,7 @@ _efl_canvas_vg_gradient_radial_efl_object_destructor(Eo *obj, } static void -_efl_canvas_vg_gradient_radial_efl_gfx_path_bounds_get(Eo *obj, Efl_Canvas_VG_Gradient_Radial_Data *pd, Eina_Rect *r) +_efl_canvas_vg_gradient_radial_efl_gfx_path_bounds_get(const Eo *obj, Efl_Canvas_VG_Gradient_Radial_Data *pd, Eina_Rect *r) { Efl_Canvas_VG_Node_Data *nd; diff --git a/src/lib/evas/canvas/evas_vg_node.c b/src/lib/evas/canvas/evas_vg_node.c index d0a5b5a73a..76e91df2bf 100644 --- a/src/lib/evas/canvas/evas_vg_node.c +++ b/src/lib/evas/canvas/evas_vg_node.c @@ -59,7 +59,7 @@ _efl_canvas_vg_node_transformation_set(Eo *obj, } const Eina_Matrix3 * -_efl_canvas_vg_node_transformation_get(Eo *obj EINA_UNUSED, Efl_Canvas_VG_Node_Data *pd) +_efl_canvas_vg_node_transformation_get(const Eo *obj EINA_UNUSED, Efl_Canvas_VG_Node_Data *pd) { return pd->m; } @@ -76,7 +76,7 @@ _efl_canvas_vg_node_origin_set(Eo *obj, } static void -_efl_canvas_vg_node_origin_get(Eo *obj EINA_UNUSED, +_efl_canvas_vg_node_origin_get(const Eo *obj EINA_UNUSED, Efl_Canvas_VG_Node_Data *pd, double *x, double *y) { @@ -94,7 +94,7 @@ _efl_canvas_vg_node_efl_gfx_position_set(Eo *obj EINA_UNUSED, Efl_Canvas_VG_Node } static Eina_Position2D -_efl_canvas_vg_node_efl_gfx_position_get(Eo *obj EINA_UNUSED, Efl_Canvas_VG_Node_Data *pd) +_efl_canvas_vg_node_efl_gfx_position_get(const Eo *obj EINA_UNUSED, Efl_Canvas_VG_Node_Data *pd) { // NOTE: This casts double to int! return EINA_POSITION2D(pd->x, pd->y); @@ -111,7 +111,7 @@ _efl_canvas_vg_node_efl_gfx_visible_set(Eo *obj EINA_UNUSED, static Eina_Bool -_efl_canvas_vg_node_efl_gfx_visible_get(Eo *obj EINA_UNUSED, +_efl_canvas_vg_node_efl_gfx_visible_get(const Eo *obj EINA_UNUSED, Efl_Canvas_VG_Node_Data *pd) { return pd->visibility; @@ -155,7 +155,7 @@ _efl_canvas_vg_node_efl_gfx_color_color_set(Eo *obj EINA_UNUSED, } static void -_efl_canvas_vg_node_efl_gfx_color_color_get(Eo *obj EINA_UNUSED, +_efl_canvas_vg_node_efl_gfx_color_color_get(const Eo *obj EINA_UNUSED, Efl_Canvas_VG_Node_Data *pd, int *r, int *g, int *b, int *a) { @@ -179,13 +179,13 @@ _efl_canvas_vg_node_mask_set(Eo *obj EINA_UNUSED, } static Efl_VG* -_efl_canvas_vg_node_mask_get(Eo *obj EINA_UNUSED, Efl_Canvas_VG_Node_Data *pd) +_efl_canvas_vg_node_mask_get(const Eo *obj EINA_UNUSED, Efl_Canvas_VG_Node_Data *pd) { return pd->mask; } static Eina_Size2D -_efl_canvas_vg_node_efl_gfx_size_get(Eo *obj, Efl_Canvas_VG_Node_Data *pd EINA_UNUSED) +_efl_canvas_vg_node_efl_gfx_size_get(const Eo *obj, Efl_Canvas_VG_Node_Data *pd EINA_UNUSED) { Eina_Rect r; @@ -194,7 +194,7 @@ _efl_canvas_vg_node_efl_gfx_size_get(Eo *obj, Efl_Canvas_VG_Node_Data *pd EINA_U } EOLIAN static Eina_Rect -_efl_canvas_vg_node_efl_gfx_geometry_get(Eo *obj, Efl_Canvas_VG_Node_Data *pd EINA_UNUSED) +_efl_canvas_vg_node_efl_gfx_geometry_get(const Eo *obj, Efl_Canvas_VG_Node_Data *pd EINA_UNUSED) { Eina_Rect r; r.pos = efl_gfx_position_get(obj); @@ -504,10 +504,10 @@ _efl_canvas_vg_node_efl_gfx_stack_lower(Eo *obj, Efl_Canvas_VG_Node_Data *pd EIN ERR("Err"); } -static Eo * -_efl_canvas_vg_node_root_parent_get(Eo *obj) +static const Eo * +_efl_canvas_vg_node_root_parent_get(const Eo *obj) { - Eo *parent; + const Eo *parent; parent = efl_parent_get(obj); @@ -516,7 +516,7 @@ _efl_canvas_vg_node_root_parent_get(Eo *obj) } static void -_efl_canvas_vg_node_walk_down_at(Eo *root, Eina_Array *a, Eina_Rectangle *r) +_efl_canvas_vg_node_walk_down_at(const Eo *root, Eina_Array *a, Eina_Rectangle *r) { Eina_Rect bounds; @@ -538,9 +538,9 @@ _efl_canvas_vg_node_walk_down_at(Eo *root, Eina_Array *a, Eina_Rectangle *r) } static void -_efl_canvas_vg_node_object_at(Eo *obj, Eina_Array *a, Eina_Rectangle *r) +_efl_canvas_vg_node_object_at(const Eo *obj, Eina_Array *a, Eina_Rectangle *r) { - Eo *root; + const Eo *root; root = _efl_canvas_vg_node_root_parent_get(obj); if (!root) return ; @@ -549,7 +549,7 @@ _efl_canvas_vg_node_object_at(Eo *obj, Eina_Array *a, Eina_Rectangle *r) } static Efl_Gfx_Stack * -_efl_canvas_vg_node_efl_gfx_stack_below_get(Eo *obj, Efl_Canvas_VG_Node_Data *pd EINA_UNUSED) +_efl_canvas_vg_node_efl_gfx_stack_below_get(const Eo *obj, Efl_Canvas_VG_Node_Data *pd EINA_UNUSED) { Eina_Rect r; Eina_Array a; @@ -579,7 +579,7 @@ _efl_canvas_vg_node_efl_gfx_stack_below_get(Eo *obj, Efl_Canvas_VG_Node_Data *pd } static Efl_Gfx_Stack * -_efl_canvas_vg_node_efl_gfx_stack_above_get(Eo *obj, Efl_Canvas_VG_Node_Data *pd EINA_UNUSED) +_efl_canvas_vg_node_efl_gfx_stack_above_get(const Eo *obj, Efl_Canvas_VG_Node_Data *pd EINA_UNUSED) { Eina_Rect r; Eina_Array a; diff --git a/src/lib/evas/canvas/evas_vg_shape.c b/src/lib/evas/canvas/evas_vg_shape.c index 1dc5638b1f..e150e19052 100644 --- a/src/lib/evas/canvas/evas_vg_shape.c +++ b/src/lib/evas/canvas/evas_vg_shape.c @@ -32,7 +32,7 @@ _efl_canvas_vg_shape_fill_set(Eo *obj EINA_UNUSED, } static Efl_Canvas_VG_Node * -_efl_canvas_vg_shape_fill_get(Eo *obj EINA_UNUSED, Efl_Canvas_VG_Shape_Data *pd) +_efl_canvas_vg_shape_fill_get(const Eo *obj EINA_UNUSED, Efl_Canvas_VG_Shape_Data *pd) { return pd->fill; } @@ -51,7 +51,7 @@ _efl_canvas_vg_shape_stroke_fill_set(Eo *obj EINA_UNUSED, } static Efl_Canvas_VG_Node * -_efl_canvas_vg_shape_stroke_fill_get(Eo *obj EINA_UNUSED, +_efl_canvas_vg_shape_stroke_fill_get(const Eo *obj EINA_UNUSED, Efl_Canvas_VG_Shape_Data *pd) { return pd->stroke.fill; @@ -71,7 +71,7 @@ _efl_canvas_vg_shape_stroke_marker_set(Eo *obj EINA_UNUSED, } static Efl_Canvas_VG_Shape * -_efl_canvas_vg_shape_stroke_marker_get(Eo *obj EINA_UNUSED, +_efl_canvas_vg_shape_stroke_marker_get(const Eo *obj EINA_UNUSED, Efl_Canvas_VG_Shape_Data *pd) { return pd->stroke.marker; diff --git a/src/lib/evas/gesture/efl_canvas_gesture.c b/src/lib/evas/gesture/efl_canvas_gesture.c index b0fca13da4..7386a90396 100644 --- a/src/lib/evas/gesture/efl_canvas_gesture.c +++ b/src/lib/evas/gesture/efl_canvas_gesture.c @@ -3,13 +3,13 @@ #define MY_CLASS EFL_CANVAS_GESTURE_CLASS EOLIAN static const Efl_Event_Description * - _efl_canvas_gesture_type_get(Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd) + _efl_canvas_gesture_type_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd) { return pd->type; } EOLIAN static Efl_Canvas_Gesture_State -_efl_canvas_gesture_state_get(Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd) +_efl_canvas_gesture_state_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd) { return pd->state; } @@ -28,7 +28,7 @@ _efl_canvas_gesture_hotspot_set(Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd EOLIAN static Eina_Vector2 -_efl_canvas_gesture_hotspot_get(Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd) +_efl_canvas_gesture_hotspot_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd) { return pd->hotspot; } diff --git a/src/lib/evas/gesture/efl_canvas_gesture_manager.c b/src/lib/evas/gesture/efl_canvas_gesture_manager.c index 57d18268b0..c8ea0d2008 100644 --- a/src/lib/evas/gesture/efl_canvas_gesture_manager.c +++ b/src/lib/evas/gesture/efl_canvas_gesture_manager.c @@ -73,7 +73,7 @@ _efl_canvas_gesture_manager_efl_object_constructor(Eo *obj, Efl_Canvas_Gesture_M EOLIAN static Eina_Value * -_efl_canvas_gesture_manager_config_get(Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Manager_Data *pd, const char *name) +_efl_canvas_gesture_manager_config_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Manager_Data *pd, const char *name) { return eina_hash_find(pd->m_config, name); } diff --git a/src/lib/evas/gesture/efl_canvas_gesture_recognizer.c b/src/lib/evas/gesture/efl_canvas_gesture_recognizer.c index c7e4b13603..eac5f1cecf 100644 --- a/src/lib/evas/gesture/efl_canvas_gesture_recognizer.c +++ b/src/lib/evas/gesture/efl_canvas_gesture_recognizer.c @@ -3,7 +3,7 @@ #define MY_CLASS EFL_CANVAS_GESTURE_RECOGNIZER_CLASS EOLIAN static Eina_Value * -_efl_canvas_gesture_recognizer_config_get(Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Recognizer_Data *pd, const char *name) +_efl_canvas_gesture_recognizer_config_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Recognizer_Data *pd, const char *name) { return efl_gesture_manager_config_get(pd->manager, name); } diff --git a/src/lib/evas/gesture/efl_canvas_gesture_touch.c b/src/lib/evas/gesture/efl_canvas_gesture_touch.c index 5fb493bd9c..9f997f59e6 100644 --- a/src/lib/evas/gesture/efl_canvas_gesture_touch.c +++ b/src/lib/evas/gesture/efl_canvas_gesture_touch.c @@ -56,7 +56,7 @@ _efl_canvas_gesture_touch_efl_object_destructor(Eo *obj, Efl_Canvas_Gesture_Touc } EOLIAN static Efl_Canvas_Gesture_Touch_State -_efl_canvas_gesture_touch_state_get(Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Touch_Data *pd) +_efl_canvas_gesture_touch_state_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Touch_Data *pd) { return pd->state; } @@ -122,13 +122,13 @@ bad_fingers: } EOLIAN static Eina_Bool -_efl_canvas_gesture_touch_multi_touch_get(Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Touch_Data *pd) +_efl_canvas_gesture_touch_multi_touch_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Touch_Data *pd) { return pd->multi_touch; } EOLIAN static Eina_Vector2 -_efl_canvas_gesture_touch_start_point_get(Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Touch_Data *pd) +_efl_canvas_gesture_touch_start_point_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Touch_Data *pd) { int tool = 0; Pointer_Data *point = eina_hash_find(pd->touch_points, &tool); diff --git a/src/modules/elementary/web/none/elm_web_none.c b/src/modules/elementary/web/none/elm_web_none.c index dccc9422fa..e06245a7b0 100644 --- a/src/modules/elementary/web/none/elm_web_none.c +++ b/src/modules/elementary/web/none/elm_web_none.c @@ -37,7 +37,7 @@ static int _none_log_dom = -1; #define DBG(...) EINA_LOG_DOM_DBG(_none_log_dom, __VA_ARGS__) EOLIAN static Eina_Bool -_elm_web_none_elm_web_tab_propagate_get(Eo *obj EINA_UNUSED, Elm_Web_None_Data *sd EINA_UNUSED) +_elm_web_none_elm_web_tab_propagate_get(const Eo *obj EINA_UNUSED, Elm_Web_None_Data *sd EINA_UNUSED) { return EINA_FALSE; } @@ -61,7 +61,7 @@ _elm_web_none_efl_canvas_group_group_add(Eo *obj, Elm_Web_None_Data *_pd EINA_UN } EOLIAN static Evas_Object* -_elm_web_none_elm_web_webkit_view_get(Eo *obj, Elm_Web_None_Data *_pd EINA_UNUSED) +_elm_web_none_elm_web_webkit_view_get(const Eo *obj, Elm_Web_None_Data *_pd EINA_UNUSED) { (void)obj; ERR("Elementary not compiled with EWebKit support."); @@ -104,7 +104,7 @@ _elm_web_none_elm_web_useragent_set(Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd } EOLIAN static const char* -_elm_web_none_elm_web_useragent_get(Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED) +_elm_web_none_elm_web_useragent_get(const Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED) { return NULL; } @@ -116,7 +116,7 @@ _elm_web_none_elm_web_url_set(Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_U } EOLIAN static const char* -_elm_web_none_elm_web_url_get(Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED) +_elm_web_none_elm_web_url_get(const Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED) { return NULL; } @@ -128,7 +128,7 @@ _elm_web_none_elm_web_html_string_load(Eo *obj EINA_UNUSED, Elm_Web_None_Data *_ } EOLIAN static const char* -_elm_web_none_elm_web_title_get(Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED) +_elm_web_none_elm_web_title_get(const Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED) { return NULL; } @@ -139,7 +139,7 @@ _elm_web_none_elm_web_bg_color_set(Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd E } EOLIAN static void -_elm_web_none_elm_web_bg_color_get(Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED, int *r, int *g, int *b, int *a) +_elm_web_none_elm_web_bg_color_get(const Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED, int *r, int *g, int *b, int *a) { if (r) *r = 0; if (g) *g = 0; @@ -148,7 +148,7 @@ _elm_web_none_elm_web_bg_color_get(Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd E } EOLIAN static const char* -_elm_web_none_elm_web_selection_get(Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED) +_elm_web_none_elm_web_selection_get(const Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED) { return NULL; } @@ -189,13 +189,13 @@ _elm_web_none_elm_web_text_matches_highlight_set(Eo *obj EINA_UNUSED, Elm_Web_No } EOLIAN static Eina_Bool -_elm_web_none_elm_web_text_matches_highlight_get(Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED) +_elm_web_none_elm_web_text_matches_highlight_get(const Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED) { return EINA_FALSE; } EOLIAN static double -_elm_web_none_elm_web_load_progress_get(Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED) +_elm_web_none_elm_web_load_progress_get(const Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED) { return -1.0; } @@ -237,13 +237,13 @@ _elm_web_none_elm_web_navigate(Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_ } EOLIAN static Eina_Bool -_elm_web_none_elm_web_back_possible_get(Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED) +_elm_web_none_elm_web_back_possible_get(const Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED) { return EINA_FALSE; } EOLIAN static Eina_Bool -_elm_web_none_elm_web_forward_possible_get(Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED) +_elm_web_none_elm_web_forward_possible_get(const Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED) { return EINA_FALSE; } @@ -255,7 +255,7 @@ _elm_web_none_elm_web_navigate_possible_get(Eo *obj EINA_UNUSED, Elm_Web_None_Da } EOLIAN static Eina_Bool -_elm_web_none_elm_web_history_enabled_get(Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED) +_elm_web_none_elm_web_history_enabled_get(const Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED) { return EINA_FALSE; } @@ -271,7 +271,7 @@ _elm_web_none_efl_ui_zoom_zoom_level_set(Eo *obj EINA_UNUSED, Elm_Web_None_Data } EOLIAN static double -_elm_web_none_efl_ui_zoom_zoom_level_get(Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED) +_elm_web_none_efl_ui_zoom_zoom_level_get(const Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED) { return -1; } @@ -282,7 +282,7 @@ _elm_web_none_efl_ui_zoom_zoom_mode_set(Eo *obj EINA_UNUSED, Elm_Web_None_Data * } EOLIAN static Efl_Ui_Zoom_Mode -_elm_web_none_efl_ui_zoom_zoom_mode_get(Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED) +_elm_web_none_efl_ui_zoom_zoom_mode_get(const Eo *obj EINA_UNUSED, Elm_Web_None_Data *_pd EINA_UNUSED) { return EFL_UI_ZOOM_MODE_LAST; } @@ -303,7 +303,7 @@ _elm_web_none_elm_web_inwin_mode_set(Eo *obj EINA_UNUSED, Elm_Web_None_Data *sd } EOLIAN static Eina_Bool -_elm_web_none_elm_web_inwin_mode_get(Eo *obj EINA_UNUSED, Elm_Web_None_Data *sd EINA_UNUSED) +_elm_web_none_elm_web_inwin_mode_get(const Eo *obj EINA_UNUSED, Elm_Web_None_Data *sd EINA_UNUSED) { return EINA_FALSE; } diff --git a/src/modules/evas/engines/gl_generic/evas_ector_gl_buffer.c b/src/modules/evas/engines/gl_generic/evas_ector_gl_buffer.c index 3610fcd61d..f0a0b0c20a 100644 --- a/src/modules/evas/engines/gl_generic/evas_ector_gl_buffer.c +++ b/src/modules/evas/engines/gl_generic/evas_ector_gl_buffer.c @@ -190,7 +190,7 @@ _evas_ector_gl_buffer_evas_ector_buffer_engine_image_release(Eo *obj EINA_UNUSED } EOLIAN static void -_evas_ector_gl_buffer_ector_buffer_size_get(Eo *obj EINA_UNUSED, +_evas_ector_gl_buffer_ector_buffer_size_get(const Eo *obj EINA_UNUSED, Evas_Ector_GL_Buffer_Data *pd, int *w, int *h) { @@ -199,7 +199,7 @@ _evas_ector_gl_buffer_ector_buffer_size_get(Eo *obj EINA_UNUSED, } EOLIAN static Efl_Gfx_Colorspace -_evas_ector_gl_buffer_ector_buffer_cspace_get(Eo *obj EINA_UNUSED, +_evas_ector_gl_buffer_ector_buffer_cspace_get(const Eo *obj EINA_UNUSED, Evas_Ector_GL_Buffer_Data *pd) { if (pd->alpha_only) @@ -209,7 +209,7 @@ _evas_ector_gl_buffer_ector_buffer_cspace_get(Eo *obj EINA_UNUSED, } EOLIAN static Ector_Buffer_Flag -_evas_ector_gl_buffer_ector_buffer_flags_get(Eo *obj EINA_UNUSED, +_evas_ector_gl_buffer_ector_buffer_flags_get(const Eo *obj EINA_UNUSED, Evas_Ector_GL_Buffer_Data *pd EINA_UNUSED) { return ECTOR_BUFFER_FLAG_CPU_READABLE | ECTOR_BUFFER_FLAG_DRAWABLE | diff --git a/src/modules/evas/engines/gl_generic/evas_ector_gl_image_buffer.c b/src/modules/evas/engines/gl_generic/evas_ector_gl_image_buffer.c index a14375dc43..2a85948eee 100644 --- a/src/modules/evas/engines/gl_generic/evas_ector_gl_image_buffer.c +++ b/src/modules/evas/engines/gl_generic/evas_ector_gl_image_buffer.c @@ -126,14 +126,14 @@ _evas_ector_gl_image_buffer_evas_ector_buffer_engine_image_release(Eo *obj EINA_ } EOLIAN static Ector_Buffer_Flag -_evas_ector_gl_image_buffer_ector_buffer_flags_get(Eo *obj EINA_UNUSED, +_evas_ector_gl_image_buffer_ector_buffer_flags_get(const Eo *obj EINA_UNUSED, Evas_Ector_GL_Image_Buffer_Data *pd EINA_UNUSED) { return ECTOR_BUFFER_FLAG_CPU_READABLE | ECTOR_BUFFER_FLAG_DRAWABLE; } EOLIAN static void -_evas_ector_gl_image_buffer_ector_buffer_size_get(Eo *obj EINA_UNUSED, +_evas_ector_gl_image_buffer_ector_buffer_size_get(const Eo *obj EINA_UNUSED, Evas_Ector_GL_Image_Buffer_Data *pd, int *w, int *h) { @@ -142,7 +142,7 @@ _evas_ector_gl_image_buffer_ector_buffer_size_get(Eo *obj EINA_UNUSED, } EOLIAN static Efl_Gfx_Colorspace -_evas_ector_gl_image_buffer_ector_buffer_cspace_get(Eo *obj EINA_UNUSED, +_evas_ector_gl_image_buffer_ector_buffer_cspace_get(const Eo *obj EINA_UNUSED, Evas_Ector_GL_Image_Buffer_Data *pd EINA_UNUSED) { return EFL_GFX_COLORSPACE_ARGB8888; diff --git a/src/tests/elementary/elm_test_focus_common.c b/src/tests/elementary/elm_test_focus_common.c index 7bc53f0fce..d23b9d8655 100644 --- a/src/tests/elementary/elm_test_focus_common.c +++ b/src/tests/elementary/elm_test_focus_common.c @@ -84,7 +84,7 @@ _focus_test_efl_ui_focus_object_focus_set(Eo *obj, Focus_Test_Data *pd, Eina_Boo } EOLIAN static Eina_Rect -_focus_test_efl_ui_focus_object_focus_geometry_get(Eo *obj EINA_UNUSED, Focus_Test_Data *pd) +_focus_test_efl_ui_focus_object_focus_geometry_get(const Eo *obj EINA_UNUSED, Focus_Test_Data *pd) { return pd->rect; } @@ -96,19 +96,19 @@ _focus_test_test_size(Eo *obj EINA_UNUSED, Focus_Test_Data *pd, Eina_Rect rect) } EOLIAN static Eina_Rect -_focus_test_efl_gfx_geometry_get(Eo *obj EINA_UNUSED, Focus_Test_Data *pd) +_focus_test_efl_gfx_geometry_get(const Eo *obj EINA_UNUSED, Focus_Test_Data *pd) { return pd->rect; } EOLIAN static Efl_Ui_Focus_Manager* -_focus_test_efl_ui_focus_object_focus_manager_get(Eo *obj EINA_UNUSED, Focus_Test_Data *pd) +_focus_test_efl_ui_focus_object_focus_manager_get(const Eo *obj EINA_UNUSED, Focus_Test_Data *pd) { return pd->manager; } EOLIAN static Efl_Ui_Focus_Object* -_focus_test_efl_ui_focus_object_focus_parent_get(Eo *obj, Focus_Test_Data *pd EINA_UNUSED) +_focus_test_efl_ui_focus_object_focus_parent_get(const Eo *obj, Focus_Test_Data *pd EINA_UNUSED) { return efl_parent_get(obj); } diff --git a/src/tests/elementary/elm_test_focus_sub.c b/src/tests/elementary/elm_test_focus_sub.c index 56a0e7913a..98a809b6b6 100644 --- a/src/tests/elementary/elm_test_focus_sub.c +++ b/src/tests/elementary/elm_test_focus_sub.c @@ -7,19 +7,19 @@ typedef struct { EOLIAN static Eina_Rect -_focus_test_sub_main_efl_ui_focus_object_focus_geometry_get(Eo *obj EINA_UNUSED, Focus_Test_Sub_Main_Data *pd EINA_UNUSED) +_focus_test_sub_main_efl_ui_focus_object_focus_geometry_get(const Eo *obj EINA_UNUSED, Focus_Test_Sub_Main_Data *pd EINA_UNUSED) { return EINA_RECT(0, 0, 20, 20); } EOLIAN static Efl_Ui_Focus_Manager* -_focus_test_sub_main_efl_ui_focus_object_focus_manager_get(Eo *obj, Focus_Test_Sub_Main_Data *pd EINA_UNUSED) +_focus_test_sub_main_efl_ui_focus_object_focus_manager_get(const Eo *obj, Focus_Test_Sub_Main_Data *pd EINA_UNUSED) { return efl_key_data_get(obj, "__user_manager"); } EOLIAN static Efl_Ui_Focus_Object* -_focus_test_sub_main_efl_ui_focus_object_focus_parent_get(Eo *obj, Focus_Test_Sub_Main_Data *pd EINA_UNUSED) +_focus_test_sub_main_efl_ui_focus_object_focus_parent_get(const Eo *obj, Focus_Test_Sub_Main_Data *pd EINA_UNUSED) { return efl_key_data_get(obj, "__user_parent"); } diff --git a/src/tests/eolian/data/class_simple_ref.c b/src/tests/eolian/data/class_simple_ref.c index ea0fdac5ad..10fa96b038 100644 --- a/src/tests/eolian/data/class_simple_ref.c +++ b/src/tests/eolian/data/class_simple_ref.c @@ -4,7 +4,7 @@ Eina_Bool _class_simple_a_set(Eo *obj, Evas_Simple_Data *pd, int value); EOAPI EFL_FUNC_BODYV(efl_canvas_object_simple_a_set, Eina_Bool, EINA_TRUE /* true */, EFL_FUNC_CALL(value), int value); -int _class_simple_a_get(Eo *obj, Evas_Simple_Data *pd); +int _class_simple_a_get(const Eo *obj, Evas_Simple_Data *pd); EOAPI EFL_FUNC_BODY_CONST(efl_canvas_object_simple_a_get, int, 100); diff --git a/src/tests/eolian/data/object_impl_add_ref.c b/src/tests/eolian/data/object_impl_add_ref.c index f97248aa27..1ccb10236d 100644 --- a/src/tests/eolian/data/object_impl_add_ref.c +++ b/src/tests/eolian/data/object_impl_add_ref.c @@ -14,7 +14,7 @@ _object_impl_a_set(Eo *obj, Object_Impl_Data *pd, const char *part, const Eina_L } EOLIAN static Eina_List * -_object_impl_a_get(Eo *obj, Object_Impl_Data *pd, const char *part) +_object_impl_a_get(const Eo *obj, Object_Impl_Data *pd, const char *part) { } @@ -82,7 +82,7 @@ _object_impl_add_c_set(Eo *obj, Object_Impl_Data *pd, Eina_List *value) } EOLIAN static Eina_List * -_object_impl_add_c_get(Eo *obj, Object_Impl_Data *pd) +_object_impl_add_c_get(const Eo *obj, Object_Impl_Data *pd) { } diff --git a/src/tests/eolian/data/object_impl_ref.c b/src/tests/eolian/data/object_impl_ref.c index 335613af01..ddc0d7ccd5 100644 --- a/src/tests/eolian/data/object_impl_ref.c +++ b/src/tests/eolian/data/object_impl_ref.c @@ -14,7 +14,7 @@ _object_impl_a_set(Eo *obj, Object_Impl_Data *pd, const char *part, const Eina_L } EOLIAN static Eina_List * -_object_impl_a_get(Eo *obj, Object_Impl_Data *pd, const char *part) +_object_impl_a_get(const Eo *obj, Object_Impl_Data *pd, const char *part) { } diff --git a/src/tests/eolian/data/override_ref.c b/src/tests/eolian/data/override_ref.c index 95ee937ae0..a4b0c90d25 100644 --- a/src/tests/eolian/data/override_ref.c +++ b/src/tests/eolian/data/override_ref.c @@ -1,6 +1,6 @@ EOAPI EFL_VOID_FUNC_BODY(override_a_set); -void _override_a_get(Eo *obj, Override_Data *pd); +void _override_a_get(const Eo *obj, Override_Data *pd); EOAPI EFL_VOID_FUNC_BODY_CONST(override_a_get); @@ -13,7 +13,7 @@ static void __eolian_override_b_set(Eo *obj EINA_UNUSED, Override_Data *pd, int EOAPI EFL_VOID_FUNC_BODYV(override_b_set, EFL_FUNC_CALL(idx, a, b, c), int idx, float a, char b, int c); -void _override_b_get(Eo *obj, Override_Data *pd, int idx, float *a, char *b, int *c); +void _override_b_get(const Eo *obj, Override_Data *pd, int idx, float *a, char *b, int *c); EOAPI EFL_VOID_FUNC_BODYV_CONST(override_b_get, EFL_FUNC_CALL(idx, a, b, c), int idx, float *a, char *b, int *c); @@ -21,7 +21,7 @@ void _override_c_set(Eo *obj, Override_Data *pd, int idx, int c); EOAPI EFL_VOID_FUNC_BODYV(override_c_set, EFL_FUNC_CALL(idx, c), int idx, int c); -static int __eolian_override_c_get(Eo *obj EINA_UNUSED, Override_Data *pd EINA_UNUSED, int idx EINA_UNUSED) +static int __eolian_override_c_get(const Eo *obj EINA_UNUSED, Override_Data *pd EINA_UNUSED, int idx EINA_UNUSED) { return 50; } @@ -48,7 +48,7 @@ static void __eolian_override_base_z_set(Eo *obj EINA_UNUSED, Override_Data *pd, } -static void __eolian_override_base_z_get(Eo *obj EINA_UNUSED, Override_Data *pd, int *a, char *b, float *c) +static void __eolian_override_base_z_get(const Eo *obj EINA_UNUSED, Override_Data *pd, int *a, char *b, float *c) { if (a) *a = pd->a; if (b) *b = pd->b; diff --git a/src/tests/eolian/eolian_generated_future.c b/src/tests/eolian/eolian_generated_future.c index 5fb4202708..1fda87143c 100644 --- a/src/tests/eolian/eolian_generated_future.c +++ b/src/tests/eolian/eolian_generated_future.c @@ -16,12 +16,12 @@ static void _generated_future_method_progress_type(Eo *obj EINA_UNUSED, Generate { } -static Efl_Future * _generated_future_prop1_get(Eo *obj EINA_UNUSED, Generated_Future_Data *pd EINA_UNUSED) +static Efl_Future * _generated_future_prop1_get(const Eo *obj EINA_UNUSED, Generated_Future_Data *pd EINA_UNUSED) { return NULL; } -static void _generated_future_prop2_get(Eo *obj EINA_UNUSED, Generated_Future_Data *pd EINA_UNUSED, int *i EINA_UNUSED, +static void _generated_future_prop2_get(const Eo *obj EINA_UNUSED, Generated_Future_Data *pd EINA_UNUSED, int *i EINA_UNUSED, Efl_Future **future1 EINA_UNUSED) { } diff --git a/src/tests/eolian_cxx/generic.c b/src/tests/eolian_cxx/generic.c index d7483b33bd..f558208d4d 100644 --- a/src/tests/eolian_cxx/generic.c +++ b/src/tests/eolian_cxx/generic.c @@ -50,22 +50,22 @@ static void _generic_optional_ctor_b(Eo *obj EINA_UNUSED, Generic_Data *pd EINA_ pd->opt_ctor_b_val = value; } -static int _generic_req_ctor_a_value_get(Eo *obj EINA_UNUSED, Generic_Data *pd) +static int _generic_req_ctor_a_value_get(const Eo *obj EINA_UNUSED, Generic_Data *pd) { return pd->req_ctor_a_val; } -static int _generic_req_ctor_b_value_get(Eo *obj EINA_UNUSED, Generic_Data *pd) +static int _generic_req_ctor_b_value_get(const Eo *obj EINA_UNUSED, Generic_Data *pd) { return pd->req_ctor_b_val; } -static int _generic_opt_ctor_a_value_get(Eo *obj EINA_UNUSED, Generic_Data *pd) +static int _generic_opt_ctor_a_value_get(const Eo *obj EINA_UNUSED, Generic_Data *pd) { return pd->opt_ctor_a_val; } -static int _generic_opt_ctor_b_value_get(Eo *obj EINA_UNUSED, Generic_Data *pd) +static int _generic_opt_ctor_b_value_get(const Eo *obj EINA_UNUSED, Generic_Data *pd) { return pd->opt_ctor_b_val; }