From 08c5f2c9389f31a6010598e4868b9834189aa599 Mon Sep 17 00:00:00 2001 From: jaehyun0cho Date: Tue, 2 Jul 2019 21:07:42 +0900 Subject: [PATCH] [EflSharp] Update Circle and efl cs files (#916) Circle and efl cs files are updated based on the latest efl. Push and Pop methods have been added to Efl.Ui.ActiveView.Container. Efl.Ui.RadioBox has been introduced. Efl.Ui.Radio's interface has been changed. e.g. RangeMinMax is modified to RangeLimits --- .../EflSharp/Circle/CircleColorPart.cs | 0 .../EflSharp/EflSharp/Circle/CircleSpinner.cs | 2 +- .../EflSharp/Circle/CircleUIManager.cs | 4 +- .../EflSharp/Circle/RotarySelector.cs | 30 + .../EflSharp/Circle/RotarySelectorItem.cs | 14 +- .../src/EflSharp/EflSharp/efl/EoWrapper.cs | 6 +- .../EflSharp/efl/efl_access_action.eo.cs | 10 +- .../EflSharp/efl/efl_access_component.eo.cs | 84 +- .../EflSharp/efl/efl_access_object.eo.cs | 64 +- .../efl/efl_access_widget_action.eo.cs | 12 +- .../EflSharp/EflSharp/efl/efl_appthread.eo.cs | 24 +- .../EflSharp/efl/efl_cached_item.eo.cs | 2 +- .../efl/efl_canvas_filter_internal.eo.cs | 32 +- .../efl/efl_canvas_gesture_triple_tap.eo.cs | 2 +- .../EflSharp/efl/efl_canvas_group.eo.cs | 4 +- .../EflSharp/efl/efl_canvas_image.eo.cs | 12 +- .../efl/efl_canvas_image_internal.eo.cs | 18 +- .../EflSharp/efl/efl_canvas_layout.eo.cs | 12 +- .../EflSharp/efl/efl_canvas_layout_part.eo.cs | 18 +- .../efl/efl_canvas_layout_part_box.eo.cs | 12 +- .../efl/efl_canvas_layout_part_external.eo.cs | 6 +- .../efl/efl_canvas_layout_part_invalid.eo.cs | 3785 +++++++++++++++++ .../efl/efl_canvas_layout_part_swallow.eo.cs | 6 +- .../efl/efl_canvas_layout_part_table.eo.cs | 12 +- .../EflSharp/efl/efl_canvas_object.eo.cs | 34 +- .../EflSharp/efl/efl_canvas_pointer.eo.cs | 2 +- .../EflSharp/efl/efl_canvas_scene.eo.cs | 36 +- .../EflSharp/efl/efl_canvas_vg_node.eo.cs | 24 +- .../src/EflSharp/EflSharp/efl/efl_class.eo.cs | 93 - .../EflSharp/EflSharp/efl/efl_config.eo.cs | 2 +- .../EflSharp/efl/efl_config_global.eo.cs | 6 +- .../EflSharp/EflSharp/efl/efl_container.eo.cs | 2 +- .../EflSharp/EflSharp/efl/efl_content.eo.cs | 2 +- .../EflSharp/EflSharp/efl/efl_control.eo.cs | 2 +- .../EflSharp/efl/efl_core_command_line.eo.cs | 8 +- .../EflSharp/EflSharp/efl/efl_duplicate.eo.cs | 2 +- .../src/EflSharp/EflSharp/efl/efl_exe.eo.cs | 24 +- .../src/EflSharp/EflSharp/efl/efl_file.eo.cs | 20 +- .../EflSharp/EflSharp/efl/efl_file_save.eo.cs | 2 +- .../EflSharp/efl/efl_gfx_arrangement.eo.cs | 2 +- .../EflSharp/EflSharp/efl/efl_gfx_blur.eo.cs | 2 +- .../EflSharp/efl/efl_gfx_buffer.eo.cs | 2 +- .../EflSharp/EflSharp/efl/efl_gfx_color.eo.cs | 10 +- .../EflSharp/efl/efl_gfx_color_class.eo.cs | 16 +- .../EflSharp/efl/efl_gfx_entity.eo.cs | 2 +- .../EflSharp/EflSharp/efl/efl_gfx_fill.eo.cs | 2 +- .../EflSharp/efl/efl_gfx_filter.eo.cs | 2 +- .../efl/efl_gfx_frame_controller.eo.cs | 2 +- .../EflSharp/efl/efl_gfx_gradient.eo.cs | 2 +- .../efl/efl_gfx_gradient_linear.eo.cs | 2 +- .../efl/efl_gfx_gradient_radial.eo.cs | 2 +- .../EflSharp/EflSharp/efl/efl_gfx_hint.eo.cs | 2 +- .../EflSharp/EflSharp/efl/efl_gfx_image.eo.cs | 2 +- .../efl/efl_gfx_image_load_controller.eo.cs | 2 +- .../efl/efl_gfx_image_orientable.eo.cs | 2 +- .../EflSharp/efl/efl_gfx_mapping.eo.cs | 56 +- .../EflSharp/EflSharp/efl/efl_gfx_path.eo.cs | 50 +- .../EflSharp/EflSharp/efl/efl_gfx_shape.eo.cs | 82 +- .../EflSharp/efl/efl_gfx_size_class.eo.cs | 2 +- .../EflSharp/EflSharp/efl/efl_gfx_stack.eo.cs | 2 +- .../EflSharp/efl/efl_gfx_text_class.eo.cs | 2 +- .../EflSharp/EflSharp/efl/efl_gfx_view.eo.cs | 2 +- .../EflSharp/efl/efl_input_device.eo.cs | 140 +- .../EflSharp/efl/efl_input_event.eo.cs | 26 +- .../EflSharp/EflSharp/efl/efl_input_key.eo.cs | 62 +- .../EflSharp/efl/efl_input_pointer.eo.cs | 77 +- .../EflSharp/efl/efl_input_types.eot.cs | 4 +- .../EflSharp/efl/efl_interpolator.eo.cs | 2 +- .../EflSharp/EflSharp/efl/efl_io_buffer.eo.cs | 2375 ----------- .../EflSharp/EflSharp/efl/efl_io_closer.eo.cs | 2 +- .../EflSharp/efl/efl_io_positioner.eo.cs | 8 +- .../EflSharp/EflSharp/efl/efl_io_queue.eo.cs | 1641 ------- .../EflSharp/EflSharp/efl/efl_io_reader.eo.cs | 2 +- .../EflSharp/EflSharp/efl/efl_io_sizer.eo.cs | 322 -- .../EflSharp/EflSharp/efl/efl_io_writer.eo.cs | 2 +- .../src/EflSharp/EflSharp/efl/efl_loop.eo.cs | 4 +- .../EflSharp/efl/efl_loop_model.eo.cs | 24 +- .../src/EflSharp/EflSharp/efl/efl_model.eo.cs | 2 +- .../EflSharp/efl/efl_observable.eo.cs | 2 +- .../EflSharp/EflSharp/efl/efl_observer.eo.cs | 2 +- .../src/EflSharp/EflSharp/efl/efl_pack.eo.cs | 2 +- .../EflSharp/efl/efl_pack_layout.eo.cs | 2 +- .../EflSharp/efl/efl_pack_linear.eo.cs | 2 +- .../EflSharp/efl/efl_pack_table.eo.cs | 2 +- .../src/EflSharp/EflSharp/efl/efl_part.eo.cs | 2 +- .../EflSharp/EflSharp/efl/efl_playable.eo.cs | 2 +- .../EflSharp/EflSharp/efl/efl_player.eo.cs | 2 +- .../EflSharp/EflSharp/efl/efl_screen.eo.cs | 2 +- .../src/EflSharp/EflSharp/efl/efl_text.eo.cs | 2 +- .../EflSharp/efl/efl_text_annotate.eo.cs | 2 +- .../EflSharp/efl/efl_text_cursor.eo.cs | 2 +- .../EflSharp/EflSharp/efl/efl_text_font.eo.cs | 2 +- .../EflSharp/efl/efl_text_format.eo.cs | 2 +- .../EflSharp/efl/efl_text_markup.eo.cs | 2 +- .../efl/efl_text_markup_interactive.eo.cs | 2 +- .../EflSharp/efl/efl_text_markup_util.eo.cs | 2 +- .../EflSharp/efl/efl_text_style.eo.cs | 2 +- .../EflSharp/EflSharp/efl/efl_thread.eo.cs | 24 +- .../EflSharp/EflSharp/efl/efl_threadio.eo.cs | 12 +- .../efl/efl_ui_active_view_container.eo.cs | 197 +- .../efl/efl_ui_active_view_util.eo.cs | 133 + ...fl_ui_active_view_view_manager_plain.eo.cs | 93 - .../EflSharp/efl/efl_ui_autorepeat.eo.cs | 2 +- .../src/EflSharp/EflSharp/efl/efl_ui_bg.eo.cs | 30 +- .../EflSharp/EflSharp/efl/efl_ui_box.eo.cs | 18 +- .../EflSharp/EflSharp/efl/efl_ui_button.eo.cs | 12 +- .../EflSharp/EflSharp/efl/efl_ui_check.eo.cs | 6 +- .../EflSharp/efl/efl_ui_clickable.eo.cs | 6 +- .../EflSharp/EflSharp/efl/efl_ui_dnd.eo.cs | 10 +- .../EflSharp/efl/efl_ui_dnd_container.eo.cs | 12 +- .../EflSharp/EflSharp/efl/efl_ui_drag.eo.cs | 2 +- .../EflSharp/efl/efl_ui_draggable.eo.cs | 2 +- .../EflSharp/efl/efl_ui_factory.eo.cs | 2 +- .../EflSharp/efl/efl_ui_factory_bind.eo.cs | 2 +- .../EflSharp/EflSharp/efl/efl_ui_flip.eo.cs | 12 +- .../EflSharp/efl/efl_ui_flip_part.eo.cs | 6 +- .../efl/efl_ui_focus_composition.eo.cs | 12 +- .../EflSharp/efl/efl_ui_focus_layer.eo.cs | 46 +- .../efl/efl_ui_focus_manager_sub.eo.cs | 36 +- .../EflSharp/efl/efl_ui_focus_object.eo.cs | 20 +- .../EflSharp/EflSharp/efl/efl_ui_format.eo.cs | 8 +- .../EflSharp/EflSharp/efl/efl_ui_frame.eo.cs | 6 +- .../EflSharp/EflSharp/efl/efl_ui_grid.eo.cs | 186 +- .../efl/efl_ui_grid_default_item.eo.cs | 6 +- .../EflSharp/EflSharp/efl/efl_ui_i18n.eo.cs | 2 +- .../EflSharp/EflSharp/efl/efl_ui_image.eo.cs | 90 +- .../EflSharp/efl/efl_ui_image_zoomable.eo.cs | 150 +- .../EflSharp/EflSharp/efl/efl_ui_item.eo.cs | 48 +- .../efl/efl_ui_item_part_content.eo.cs | 6 +- .../EflSharp/efl/efl_ui_item_part_extra.eo.cs | 6 +- .../EflSharp/efl/efl_ui_item_part_icon.eo.cs | 6 +- .../EflSharp/efl/efl_ui_layout_base.eo.cs | 24 +- .../efl/efl_ui_layout_orientable.eo.cs | 2 +- .../efl_ui_layout_orientable_readonly.eo.cs | 6 +- .../EflSharp/efl/efl_ui_layout_part_box.eo.cs | 14 +- .../efl/efl_ui_layout_part_content.eo.cs | 6 +- .../efl/efl_ui_layout_part_legacy.eo.cs | 6 +- .../efl/efl_ui_layout_part_table.eo.cs | 14 +- .../EflSharp/EflSharp/efl/efl_ui_list.eo.cs | 186 +- .../efl/efl_ui_list_default_item.eo.cs | 6 +- .../efl/efl_ui_list_placeholder_item.eo.cs | 6 +- .../EflSharp/efl/efl_ui_list_view.eo.cs | 180 +- .../efl/efl_ui_multi_selectable.eo.cs | 2 +- ...l_ui_navigation_bar_part_back_button.eo.cs | 24 +- .../efl/efl_ui_navigation_layout.eo.cs | 6 +- .../EflSharp/EflSharp/efl/efl_ui_nstate.eo.cs | 2 +- .../EflSharp/EflSharp/efl/efl_ui_pan.eo.cs | 6 +- .../EflSharp/EflSharp/efl/efl_ui_panel.eo.cs | 96 +- .../EflSharp/EflSharp/efl/efl_ui_popup.eo.cs | 6 +- .../EflSharp/efl/efl_ui_progressbar.eo.cs | 62 +- .../efl/efl_ui_progressbar_part.eo.cs | 56 +- .../EflSharp/efl/efl_ui_property_bind.eo.cs | 2 +- .../EflSharp/EflSharp/efl/efl_ui_radio.eo.cs | 314 +- .../EflSharp/efl/efl_ui_radio_box.eo.cs | 495 +++ .../EflSharp/efl/efl_ui_radio_group.eo.cs | 528 +++ .../efl/efl_ui_radio_group_impl.eo.cs | 488 +++ .../EflSharp/efl/efl_ui_range_display.eo.cs | 62 +- .../efl/efl_ui_range_interactive.eo.cs | 58 +- .../EflSharp/efl/efl_ui_relative_layout.eo.cs | 18 +- .../efl/efl_ui_scroll_alert_popup_part.eo.cs | 6 +- .../EflSharp/efl/efl_ui_scroll_manager.eo.cs | 136 +- .../EflSharp/efl/efl_ui_scrollable.eo.cs | 2 +- .../efl/efl_ui_scrollable_interactive.eo.cs | 2 +- .../EflSharp/efl/efl_ui_scrollbar.eo.cs | 2 +- .../EflSharp/efl/efl_ui_scroller.eo.cs | 138 +- .../EflSharp/efl/efl_ui_selectable.eo.cs | 2 +- .../EflSharp/efl/efl_ui_selection.eo.cs | 8 +- .../EflSharp/EflSharp/efl/efl_ui_slider.eo.cs | 56 +- .../EflSharp/EflSharp/efl/efl_ui_spin.eo.cs | 56 +- .../EflSharp/EflSharp/efl/efl_ui_stack.eo.cs | 1131 ----- .../EflSharp/efl/efl_ui_tab_page.eo.cs | 6 +- .../EflSharp/EflSharp/efl/efl_ui_table.eo.cs | 18 +- .../EflSharp/EflSharp/efl/efl_ui_text.eo.cs | 48 +- .../efl/efl_ui_text_alert_popup_part.eo.cs | 6 +- .../EflSharp/EflSharp/efl/efl_ui_view.eo.cs | 2 +- .../EflSharp/EflSharp/efl/efl_ui_widget.eo.cs | 50 +- .../EflSharp/efl/efl_ui_widget_factory.eo.cs | 18 +- .../efl/efl_ui_widget_focus_manager.eo.cs | 38 +- .../EflSharp/efl/efl_ui_widget_part_bg.eo.cs | 18 +- .../EflSharp/EflSharp/efl/efl_ui_win.eo.cs | 82 +- .../EflSharp/efl/efl_ui_win_part.eo.cs | 6 +- .../EflSharp/EflSharp/efl/efl_ui_zoom.eo.cs | 2 +- .../src/EflSharp/EflSharp/efl/eina_value.cs | 114 + .../efl/elm_interface_scrollable.eo.cs | 282 +- .../src/EflSharp/EflSharp/efl/iwrapper.cs | 11 +- 185 files changed, 7615 insertions(+), 7920 deletions(-) mode change 100644 => 100755 internals/src/EflSharp/EflSharp/Circle/CircleColorPart.cs create mode 100644 internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part_invalid.eo.cs delete mode 100644 internals/src/EflSharp/EflSharp/efl/efl_class.eo.cs delete mode 100644 internals/src/EflSharp/EflSharp/efl/efl_io_buffer.eo.cs delete mode 100644 internals/src/EflSharp/EflSharp/efl/efl_io_queue.eo.cs delete mode 100644 internals/src/EflSharp/EflSharp/efl/efl_io_sizer.eo.cs create mode 100644 internals/src/EflSharp/EflSharp/efl/efl_ui_active_view_util.eo.cs delete mode 100644 internals/src/EflSharp/EflSharp/efl/efl_ui_active_view_view_manager_plain.eo.cs create mode 100644 internals/src/EflSharp/EflSharp/efl/efl_ui_radio_box.eo.cs create mode 100644 internals/src/EflSharp/EflSharp/efl/efl_ui_radio_group.eo.cs create mode 100644 internals/src/EflSharp/EflSharp/efl/efl_ui_radio_group_impl.eo.cs delete mode 100644 internals/src/EflSharp/EflSharp/efl/efl_ui_stack.eo.cs diff --git a/internals/src/EflSharp/EflSharp/Circle/CircleColorPart.cs b/internals/src/EflSharp/EflSharp/Circle/CircleColorPart.cs old mode 100644 new mode 100755 diff --git a/internals/src/EflSharp/EflSharp/Circle/CircleSpinner.cs b/internals/src/EflSharp/EflSharp/Circle/CircleSpinner.cs index dd4d75190..79f9b336d 100755 --- a/internals/src/EflSharp/EflSharp/Circle/CircleSpinner.cs +++ b/internals/src/EflSharp/EflSharp/Circle/CircleSpinner.cs @@ -85,7 +85,7 @@ namespace Efl { double Minimum, Maximum; - GetRangeMinMax(out Minimum, out Maximum); + GetRangeLimits(out Minimum, out Maximum); if (Maximum == Minimum) { return 0.0; diff --git a/internals/src/EflSharp/EflSharp/Circle/CircleUIManager.cs b/internals/src/EflSharp/EflSharp/Circle/CircleUIManager.cs index be26a4951..9f6d5b6a9 100755 --- a/internals/src/EflSharp/EflSharp/Circle/CircleUIManager.cs +++ b/internals/src/EflSharp/EflSharp/Circle/CircleUIManager.cs @@ -28,9 +28,9 @@ namespace Efl _handle = Interop.Eext.eext_circle_surface_layout_add(layout.NativeHandle); } - public CircleUIManager(Efl.Ui.Stack naviframe) + public CircleUIManager(Efl.Ui.ActiveView.Container container) { - _handle = Interop.Eext.eext_circle_surface_naviframe_add(naviframe.NativeHandle); + _handle = Interop.Eext.eext_circle_surface_naviframe_add(container.NativeHandle); } public CircleUIManager() diff --git a/internals/src/EflSharp/EflSharp/Circle/RotarySelector.cs b/internals/src/EflSharp/EflSharp/Circle/RotarySelector.cs index defa45673..ee36aab03 100755 --- a/internals/src/EflSharp/EflSharp/Circle/RotarySelector.cs +++ b/internals/src/EflSharp/EflSharp/Circle/RotarySelector.cs @@ -30,6 +30,14 @@ namespace Efl } + /// The event argument of Rotary Selector editing state. + /// + /// 6 + public class RotarySelectorEditingEventArgs : EventArgs + { + public bool editing { get; internal set; } + } + /// /// The RotarySelector is a widget to display a selector and multiple items surrounding the selector. /// An item can be selected by the Rotary event or user item click. @@ -45,6 +53,8 @@ namespace Efl const string ItemClickedEventName = "item,clicked"; const string ItemDeletedEventName = "item,deleted"; const string ItemReorderedEventName = "item,reordered"; + const string EditingEnterEventName = "editing,entered"; + const string EditingLeaveEventName = "editing,exited"; Image _normalBgImage; @@ -74,10 +84,18 @@ namespace Efl /// 6 public event EventHandler Reordered; + /// + /// Editing will be triggered when entering and leaving the editing state. + /// + /// 6 + public event EventHandler EditingStateChanged; + private Interop.Evas.SmartCallback smartClicked; private Interop.Evas.SmartCallback smartSelected; private Interop.Evas.SmartCallback smartDeleted; private Interop.Evas.SmartCallback smartReordered; + private Interop.Evas.SmartCallback smartEditingEnter; + private Interop.Evas.SmartCallback smartEditingLeave; /// /// Creates and initializes a new instance of the RotarySelector class. @@ -119,10 +137,22 @@ namespace Efl UpdateListOrder(reorderedItem, idx); }); + smartEditingEnter = new Interop.Evas.SmartCallback((d, o, e) => + { + EditingStateChanged?.Invoke(this, new RotarySelectorEditingEventArgs { editing = true}); + }); + + smartEditingLeave = new Interop.Evas.SmartCallback((d, o, e) => + { + EditingStateChanged?.Invoke(this, new RotarySelectorEditingEventArgs { editing = false }); + }); + Interop.Evas.evas_object_smart_callback_add(this.NativeHandle, ItemClickedEventName, smartClicked, IntPtr.Zero); Interop.Evas.evas_object_smart_callback_add(this.NativeHandle, ItemSelectedEventName, smartSelected, IntPtr.Zero); Interop.Evas.evas_object_smart_callback_add(this.NativeHandle, ItemDeletedEventName, smartDeleted, IntPtr.Zero); Interop.Evas.evas_object_smart_callback_add(this.NativeHandle, ItemReorderedEventName, smartReordered, IntPtr.Zero); + Interop.Evas.evas_object_smart_callback_add(this.NativeHandle, EditingEnterEventName, smartEditingEnter, IntPtr.Zero); + Interop.Evas.evas_object_smart_callback_add(this.NativeHandle, EditingLeaveEventName, smartEditingLeave, IntPtr.Zero); } private void UpdateListOrder(RotarySelectorItem reorderedItem, int currentIdx) diff --git a/internals/src/EflSharp/EflSharp/Circle/RotarySelectorItem.cs b/internals/src/EflSharp/EflSharp/Circle/RotarySelectorItem.cs index 21baeef25..d04a3c1cf 100755 --- a/internals/src/EflSharp/EflSharp/Circle/RotarySelectorItem.cs +++ b/internals/src/EflSharp/EflSharp/Circle/RotarySelectorItem.cs @@ -85,6 +85,7 @@ namespace Efl Image _disabledBgImage; Image _selectedBgImage; Image _selectorIconImage; + bool _isRemovable; /// /// Sets or gets the color of the main text. @@ -155,6 +156,8 @@ namespace Efl SetPart(BgPartName, ItemState.Normal, SelectedBgColor); SetPart(SelectorIconPartName, ItemState.Normal, _selectorIconImage); + + SetRemovable(_isRemovable); } get { @@ -190,6 +193,12 @@ namespace Efl } } + void SetRemovable(bool isRemovable) + { + if (NativeHandle != null) + Interop.Eext.eext_rotary_selector_item_delete_enabled_set(NativeHandle, isRemovable); + } + /// /// Sets or gets the main text. /// @@ -224,10 +233,11 @@ namespace Efl /// 6 public bool IsRemovable { - get { return Interop.Eext.eext_rotary_selector_item_delete_enabled_get(NativeHandle); } + get { return _isRemovable; } set { - Interop.Eext.eext_rotary_selector_item_delete_enabled_set(NativeHandle, value); + _isRemovable = value; + SetRemovable(value); } } diff --git a/internals/src/EflSharp/EflSharp/efl/EoWrapper.cs b/internals/src/EflSharp/EflSharp/efl/EoWrapper.cs index b6ea61992..c1333e0e0 100644 --- a/internals/src/EflSharp/EflSharp/efl/EoWrapper.cs +++ b/internals/src/EflSharp/EflSharp/efl/EoWrapper.cs @@ -241,9 +241,9 @@ public abstract class EoWrapper : IWrapper, IDisposable /// Register handlers to ownership events, in order to control the object lifetime. For internal use only. private void AddOwnershipEventHandlers() { - AddNativeEventHandler("eo", "_EFL_EVENT_INVALIDATE", ownershipUniqueDelegate, ownershipUniqueDelegate); - AddNativeEventHandler("eo", "_EFL_EVENT_OWNERSHIP_UNIQUE", ownershipUniqueDelegate, ownershipUniqueDelegate); - AddNativeEventHandler("eo", "_EFL_EVENT_OWNERSHIP_SHARED", ownershipSharedDelegate, ownershipSharedDelegate); + AddNativeEventHandler(efl.Libs.Eo, "_EFL_EVENT_INVALIDATE", ownershipUniqueDelegate, ownershipUniqueDelegate); + AddNativeEventHandler(efl.Libs.Eo, "_EFL_EVENT_OWNERSHIP_UNIQUE", ownershipUniqueDelegate, ownershipUniqueDelegate); + AddNativeEventHandler(efl.Libs.Eo, "_EFL_EVENT_OWNERSHIP_SHARED", ownershipSharedDelegate, ownershipSharedDelegate); Eina.Error.RaiseIfUnhandledException(); } } diff --git a/internals/src/EflSharp/EflSharp/efl/efl_access_action.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_access_action.eo.cs index b49cbb4ab..aa6eb968b 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_access_action.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_access_action.eo.cs @@ -207,7 +207,7 @@ sealed public class IActionConcrete : System.String _ret_var = default(System.String); try { - _ret_var = ((IActionConcrete)ws.Target).GetActionName(id); + _ret_var = ((IAction)ws.Target).GetActionName(id); } catch (Exception e) { @@ -243,7 +243,7 @@ sealed public class IActionConcrete : System.String _ret_var = default(System.String); try { - _ret_var = ((IActionConcrete)ws.Target).GetActionLocalizedName(id); + _ret_var = ((IAction)ws.Target).GetActionLocalizedName(id); } catch (Exception e) { @@ -279,7 +279,7 @@ sealed public class IActionConcrete : Eina.List _ret_var = default(Eina.List); try { - _ret_var = ((IActionConcrete)ws.Target).GetActions(); + _ret_var = ((IAction)ws.Target).GetActions(); } catch (Exception e) { @@ -315,7 +315,7 @@ sealed public class IActionConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IActionConcrete)ws.Target).ActionDo(id); + _ret_var = ((IAction)ws.Target).ActionDo(id); } catch (Exception e) { @@ -351,7 +351,7 @@ sealed public class IActionConcrete : System.String _ret_var = default(System.String); try { - _ret_var = ((IActionConcrete)ws.Target).GetActionKeybinding(id); + _ret_var = ((IAction)ws.Target).GetActionKeybinding(id); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_access_component.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_access_component.eo.cs index 3f638c022..5131d85d2 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_access_component.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_access_component.eo.cs @@ -126,7 +126,7 @@ sealed public class IComponentConcrete : }; string key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -135,7 +135,7 @@ sealed public class IComponentConcrete : lock (eventLock) { string key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -143,7 +143,7 @@ sealed public class IComponentConcrete : public void OnVisibilityChangedEvt(Efl.Gfx.IEntityVisibilityChangedEvt_Args e) { var key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -188,7 +188,7 @@ sealed public class IComponentConcrete : }; string key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -197,7 +197,7 @@ sealed public class IComponentConcrete : lock (eventLock) { string key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -205,7 +205,7 @@ sealed public class IComponentConcrete : public void OnPositionChangedEvt(Efl.Gfx.IEntityPositionChangedEvt_Args e) { var key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -251,7 +251,7 @@ sealed public class IComponentConcrete : }; string key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -260,7 +260,7 @@ sealed public class IComponentConcrete : lock (eventLock) { string key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -268,7 +268,7 @@ sealed public class IComponentConcrete : public void OnSizeChangedEvt(Efl.Gfx.IEntitySizeChangedEvt_Args e) { var key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -313,7 +313,7 @@ sealed public class IComponentConcrete : }; string key = "_EFL_GFX_ENTITY_EVENT_STACKING_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -322,7 +322,7 @@ sealed public class IComponentConcrete : lock (eventLock) { string key = "_EFL_GFX_ENTITY_EVENT_STACKING_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -330,7 +330,7 @@ sealed public class IComponentConcrete : public void OnStackingChangedEvt(EventArgs e) { var key = "_EFL_GFX_ENTITY_EVENT_STACKING_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1022,7 +1022,7 @@ sealed public class IComponentConcrete : int _ret_var = default(int); try { - _ret_var = ((IComponentConcrete)ws.Target).GetZOrder(); + _ret_var = ((IComponent)ws.Target).GetZOrder(); } catch (Exception e) { @@ -1058,7 +1058,7 @@ sealed public class IComponentConcrete : Eina.Rect _ret_var = default(Eina.Rect); try { - _ret_var = ((IComponentConcrete)ws.Target).GetExtents(screen_coords); + _ret_var = ((IComponent)ws.Target).GetExtents(screen_coords); } catch (Exception e) { @@ -1095,7 +1095,7 @@ sealed public class IComponentConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IComponentConcrete)ws.Target).SetExtents(screen_coords, _in_rect); + _ret_var = ((IComponent)ws.Target).SetExtents(screen_coords, _in_rect); } catch (Exception e) { @@ -1131,7 +1131,7 @@ sealed public class IComponentConcrete : x = default(int); y = default(int); try { - ((IComponentConcrete)ws.Target).GetScreenPosition(out x, out y); + ((IComponent)ws.Target).GetScreenPosition(out x, out y); } catch (Exception e) { @@ -1166,7 +1166,7 @@ sealed public class IComponentConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IComponentConcrete)ws.Target).SetScreenPosition(x, y); + _ret_var = ((IComponent)ws.Target).SetScreenPosition(x, y); } catch (Exception e) { @@ -1202,7 +1202,7 @@ sealed public class IComponentConcrete : x = default(int); y = default(int); try { - ((IComponentConcrete)ws.Target).GetSocketOffset(out x, out y); + ((IComponent)ws.Target).GetSocketOffset(out x, out y); } catch (Exception e) { @@ -1237,7 +1237,7 @@ sealed public class IComponentConcrete : try { - ((IComponentConcrete)ws.Target).SetSocketOffset(x, y); + ((IComponent)ws.Target).SetSocketOffset(x, y); } catch (Exception e) { @@ -1272,7 +1272,7 @@ sealed public class IComponentConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IComponentConcrete)ws.Target).Contains(screen_coords, x, y); + _ret_var = ((IComponent)ws.Target).Contains(screen_coords, x, y); } catch (Exception e) { @@ -1308,7 +1308,7 @@ sealed public class IComponentConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IComponentConcrete)ws.Target).GrabFocus(); + _ret_var = ((IComponent)ws.Target).GrabFocus(); } catch (Exception e) { @@ -1344,7 +1344,7 @@ sealed public class IComponentConcrete : Efl.Object _ret_var = default(Efl.Object); try { - _ret_var = ((IComponentConcrete)ws.Target).GetAccessibleAtPoint(screen_coords, x, y); + _ret_var = ((IComponent)ws.Target).GetAccessibleAtPoint(screen_coords, x, y); } catch (Exception e) { @@ -1380,7 +1380,7 @@ sealed public class IComponentConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IComponentConcrete)ws.Target).GrabHighlight(); + _ret_var = ((IComponent)ws.Target).GrabHighlight(); } catch (Exception e) { @@ -1416,7 +1416,7 @@ sealed public class IComponentConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IComponentConcrete)ws.Target).ClearHighlight(); + _ret_var = ((IComponent)ws.Target).ClearHighlight(); } catch (Exception e) { @@ -1452,7 +1452,7 @@ sealed public class IComponentConcrete : Eina.Position2D _ret_var = default(Eina.Position2D); try { - _ret_var = ((IComponentConcrete)ws.Target).GetPosition(); + _ret_var = ((IComponent)ws.Target).GetPosition(); } catch (Exception e) { @@ -1489,7 +1489,7 @@ sealed public class IComponentConcrete : try { - ((IComponentConcrete)ws.Target).SetPosition(_in_pos); + ((IComponent)ws.Target).SetPosition(_in_pos); } catch (Exception e) { @@ -1524,7 +1524,7 @@ sealed public class IComponentConcrete : Eina.Size2D _ret_var = default(Eina.Size2D); try { - _ret_var = ((IComponentConcrete)ws.Target).GetSize(); + _ret_var = ((IComponent)ws.Target).GetSize(); } catch (Exception e) { @@ -1561,7 +1561,7 @@ sealed public class IComponentConcrete : try { - ((IComponentConcrete)ws.Target).SetSize(_in_size); + ((IComponent)ws.Target).SetSize(_in_size); } catch (Exception e) { @@ -1596,7 +1596,7 @@ sealed public class IComponentConcrete : Eina.Rect _ret_var = default(Eina.Rect); try { - _ret_var = ((IComponentConcrete)ws.Target).GetGeometry(); + _ret_var = ((IComponent)ws.Target).GetGeometry(); } catch (Exception e) { @@ -1633,7 +1633,7 @@ sealed public class IComponentConcrete : try { - ((IComponentConcrete)ws.Target).SetGeometry(_in_rect); + ((IComponent)ws.Target).SetGeometry(_in_rect); } catch (Exception e) { @@ -1668,7 +1668,7 @@ sealed public class IComponentConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IComponentConcrete)ws.Target).GetVisible(); + _ret_var = ((IComponent)ws.Target).GetVisible(); } catch (Exception e) { @@ -1704,7 +1704,7 @@ sealed public class IComponentConcrete : try { - ((IComponentConcrete)ws.Target).SetVisible(v); + ((IComponent)ws.Target).SetVisible(v); } catch (Exception e) { @@ -1739,7 +1739,7 @@ sealed public class IComponentConcrete : double _ret_var = default(double); try { - _ret_var = ((IComponentConcrete)ws.Target).GetScale(); + _ret_var = ((IComponent)ws.Target).GetScale(); } catch (Exception e) { @@ -1775,7 +1775,7 @@ sealed public class IComponentConcrete : try { - ((IComponentConcrete)ws.Target).SetScale(scale); + ((IComponent)ws.Target).SetScale(scale); } catch (Exception e) { @@ -1810,7 +1810,7 @@ sealed public class IComponentConcrete : short _ret_var = default(short); try { - _ret_var = ((IComponentConcrete)ws.Target).GetLayer(); + _ret_var = ((IComponent)ws.Target).GetLayer(); } catch (Exception e) { @@ -1846,7 +1846,7 @@ sealed public class IComponentConcrete : try { - ((IComponentConcrete)ws.Target).SetLayer(l); + ((IComponent)ws.Target).SetLayer(l); } catch (Exception e) { @@ -1881,7 +1881,7 @@ sealed public class IComponentConcrete : Efl.Gfx.IStack _ret_var = default(Efl.Gfx.IStack); try { - _ret_var = ((IComponentConcrete)ws.Target).GetBelow(); + _ret_var = ((IComponent)ws.Target).GetBelow(); } catch (Exception e) { @@ -1917,7 +1917,7 @@ sealed public class IComponentConcrete : Efl.Gfx.IStack _ret_var = default(Efl.Gfx.IStack); try { - _ret_var = ((IComponentConcrete)ws.Target).GetAbove(); + _ret_var = ((IComponent)ws.Target).GetAbove(); } catch (Exception e) { @@ -1953,7 +1953,7 @@ sealed public class IComponentConcrete : try { - ((IComponentConcrete)ws.Target).StackBelow(below); + ((IComponent)ws.Target).StackBelow(below); } catch (Exception e) { @@ -1988,7 +1988,7 @@ sealed public class IComponentConcrete : try { - ((IComponentConcrete)ws.Target).RaiseToTop(); + ((IComponent)ws.Target).RaiseToTop(); } catch (Exception e) { @@ -2023,7 +2023,7 @@ sealed public class IComponentConcrete : try { - ((IComponentConcrete)ws.Target).StackAbove(above); + ((IComponent)ws.Target).StackAbove(above); } catch (Exception e) { @@ -2058,7 +2058,7 @@ sealed public class IComponentConcrete : try { - ((IComponentConcrete)ws.Target).LowerToBottom(); + ((IComponent)ws.Target).LowerToBottom(); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_access_object.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_access_object.eo.cs index 3f0cca66e..390244036 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_access_object.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_access_object.eo.cs @@ -1588,7 +1588,7 @@ sealed public class IObjectConcrete : System.String _ret_var = default(System.String); try { - _ret_var = ((IObjectConcrete)ws.Target).GetLocalizedRoleName(); + _ret_var = ((IObject)ws.Target).GetLocalizedRoleName(); } catch (Exception e) { @@ -1624,7 +1624,7 @@ sealed public class IObjectConcrete : System.String _ret_var = default(System.String); try { - _ret_var = ((IObjectConcrete)ws.Target).GetI18nName(); + _ret_var = ((IObject)ws.Target).GetI18nName(); } catch (Exception e) { @@ -1660,7 +1660,7 @@ sealed public class IObjectConcrete : try { - ((IObjectConcrete)ws.Target).SetI18nName(i18n_name); + ((IObject)ws.Target).SetI18nName(i18n_name); } catch (Exception e) { @@ -1695,7 +1695,7 @@ sealed public class IObjectConcrete : try { - ((IObjectConcrete)ws.Target).SetNameCb(name_cb, data); + ((IObject)ws.Target).SetNameCb(name_cb, data); } catch (Exception e) { @@ -1730,7 +1730,7 @@ sealed public class IObjectConcrete : Efl.Access.RelationSet _ret_var = default(Efl.Access.RelationSet); try { - _ret_var = ((IObjectConcrete)ws.Target).GetRelationSet(); + _ret_var = ((IObject)ws.Target).GetRelationSet(); } catch (Exception e) { @@ -1766,7 +1766,7 @@ sealed public class IObjectConcrete : Efl.Access.Role _ret_var = default(Efl.Access.Role); try { - _ret_var = ((IObjectConcrete)ws.Target).GetRole(); + _ret_var = ((IObject)ws.Target).GetRole(); } catch (Exception e) { @@ -1802,7 +1802,7 @@ sealed public class IObjectConcrete : try { - ((IObjectConcrete)ws.Target).SetRole(role); + ((IObject)ws.Target).SetRole(role); } catch (Exception e) { @@ -1837,7 +1837,7 @@ sealed public class IObjectConcrete : Efl.Access.IObject _ret_var = default(Efl.Access.IObject); try { - _ret_var = ((IObjectConcrete)ws.Target).GetAccessParent(); + _ret_var = ((IObject)ws.Target).GetAccessParent(); } catch (Exception e) { @@ -1873,7 +1873,7 @@ sealed public class IObjectConcrete : try { - ((IObjectConcrete)ws.Target).SetAccessParent(parent); + ((IObject)ws.Target).SetAccessParent(parent); } catch (Exception e) { @@ -1908,7 +1908,7 @@ sealed public class IObjectConcrete : try { - ((IObjectConcrete)ws.Target).SetDescriptionCb(description_cb, data); + ((IObject)ws.Target).SetDescriptionCb(description_cb, data); } catch (Exception e) { @@ -1943,7 +1943,7 @@ sealed public class IObjectConcrete : try { - ((IObjectConcrete)ws.Target).SetGestureCb(gesture_cb, data); + ((IObject)ws.Target).SetGestureCb(gesture_cb, data); } catch (Exception e) { @@ -1978,7 +1978,7 @@ sealed public class IObjectConcrete : Eina.List _ret_var = default(Eina.List); try { - _ret_var = ((IObjectConcrete)ws.Target).GetAccessChildren(); + _ret_var = ((IObject)ws.Target).GetAccessChildren(); } catch (Exception e) { @@ -2014,7 +2014,7 @@ sealed public class IObjectConcrete : System.String _ret_var = default(System.String); try { - _ret_var = ((IObjectConcrete)ws.Target).GetRoleName(); + _ret_var = ((IObject)ws.Target).GetRoleName(); } catch (Exception e) { @@ -2050,7 +2050,7 @@ sealed public class IObjectConcrete : Eina.List _ret_var = default(Eina.List); try { - _ret_var = ((IObjectConcrete)ws.Target).GetAttributes(); + _ret_var = ((IObject)ws.Target).GetAttributes(); } catch (Exception e) { @@ -2086,7 +2086,7 @@ sealed public class IObjectConcrete : Efl.Access.ReadingInfoTypeMask _ret_var = default(Efl.Access.ReadingInfoTypeMask); try { - _ret_var = ((IObjectConcrete)ws.Target).GetReadingInfoType(); + _ret_var = ((IObject)ws.Target).GetReadingInfoType(); } catch (Exception e) { @@ -2122,7 +2122,7 @@ sealed public class IObjectConcrete : try { - ((IObjectConcrete)ws.Target).SetReadingInfoType(reading_info); + ((IObject)ws.Target).SetReadingInfoType(reading_info); } catch (Exception e) { @@ -2157,7 +2157,7 @@ sealed public class IObjectConcrete : int _ret_var = default(int); try { - _ret_var = ((IObjectConcrete)ws.Target).GetIndexInParent(); + _ret_var = ((IObject)ws.Target).GetIndexInParent(); } catch (Exception e) { @@ -2193,7 +2193,7 @@ sealed public class IObjectConcrete : System.String _ret_var = default(System.String); try { - _ret_var = ((IObjectConcrete)ws.Target).GetDescription(); + _ret_var = ((IObject)ws.Target).GetDescription(); } catch (Exception e) { @@ -2229,7 +2229,7 @@ sealed public class IObjectConcrete : try { - ((IObjectConcrete)ws.Target).SetDescription(description); + ((IObject)ws.Target).SetDescription(description); } catch (Exception e) { @@ -2264,7 +2264,7 @@ sealed public class IObjectConcrete : Efl.Access.StateSet _ret_var = default(Efl.Access.StateSet); try { - _ret_var = ((IObjectConcrete)ws.Target).GetStateSet(); + _ret_var = ((IObject)ws.Target).GetStateSet(); } catch (Exception e) { @@ -2300,7 +2300,7 @@ sealed public class IObjectConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IObjectConcrete)ws.Target).GetCanHighlight(); + _ret_var = ((IObject)ws.Target).GetCanHighlight(); } catch (Exception e) { @@ -2336,7 +2336,7 @@ sealed public class IObjectConcrete : try { - ((IObjectConcrete)ws.Target).SetCanHighlight(can_highlight); + ((IObject)ws.Target).SetCanHighlight(can_highlight); } catch (Exception e) { @@ -2371,7 +2371,7 @@ sealed public class IObjectConcrete : System.String _ret_var = default(System.String); try { - _ret_var = ((IObjectConcrete)ws.Target).GetTranslationDomain(); + _ret_var = ((IObject)ws.Target).GetTranslationDomain(); } catch (Exception e) { @@ -2407,7 +2407,7 @@ sealed public class IObjectConcrete : try { - ((IObjectConcrete)ws.Target).SetTranslationDomain(domain); + ((IObject)ws.Target).SetTranslationDomain(domain); } catch (Exception e) { @@ -2477,7 +2477,7 @@ sealed public class IObjectConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IObjectConcrete)ws.Target).GestureDo(_in_gesture_info); + _ret_var = ((IObject)ws.Target).GestureDo(_in_gesture_info); } catch (Exception e) { @@ -2513,7 +2513,7 @@ sealed public class IObjectConcrete : try { - ((IObjectConcrete)ws.Target).AppendAttribute(key, value); + ((IObject)ws.Target).AppendAttribute(key, value); } catch (Exception e) { @@ -2548,7 +2548,7 @@ sealed public class IObjectConcrete : try { - ((IObjectConcrete)ws.Target).DelAttribute(key); + ((IObject)ws.Target).DelAttribute(key); } catch (Exception e) { @@ -2583,7 +2583,7 @@ sealed public class IObjectConcrete : try { - ((IObjectConcrete)ws.Target).ClearAttributes(); + ((IObject)ws.Target).ClearAttributes(); } catch (Exception e) { @@ -2719,7 +2719,7 @@ sealed public class IObjectConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IObjectConcrete)ws.Target).AppendRelationship(type, relation_object); + _ret_var = ((IObject)ws.Target).AppendRelationship(type, relation_object); } catch (Exception e) { @@ -2755,7 +2755,7 @@ sealed public class IObjectConcrete : try { - ((IObjectConcrete)ws.Target).RelationshipRemove(type, relation_object); + ((IObject)ws.Target).RelationshipRemove(type, relation_object); } catch (Exception e) { @@ -2790,7 +2790,7 @@ sealed public class IObjectConcrete : try { - ((IObjectConcrete)ws.Target).ClearRelationships(); + ((IObject)ws.Target).ClearRelationships(); } catch (Exception e) { @@ -2825,7 +2825,7 @@ sealed public class IObjectConcrete : try { - ((IObjectConcrete)ws.Target).StateNotify(state_types_mask, recursive); + ((IObject)ws.Target).StateNotify(state_types_mask, recursive); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_access_widget_action.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_access_widget_action.eo.cs index af79fd540..b07faa373 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_access_widget_action.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_access_widget_action.eo.cs @@ -268,7 +268,7 @@ sealed public class IActionConcrete : Efl.Access.ActionData _ret_var = default(Efl.Access.ActionData); try { - _ret_var = ((IActionConcrete)ws.Target).GetElmActions(); + _ret_var = ((IAction)ws.Target).GetElmActions(); } catch (Exception e) { @@ -304,7 +304,7 @@ sealed public class IActionConcrete : System.String _ret_var = default(System.String); try { - _ret_var = ((IActionConcrete)ws.Target).GetActionName(id); + _ret_var = ((IAction)ws.Target).GetActionName(id); } catch (Exception e) { @@ -340,7 +340,7 @@ sealed public class IActionConcrete : System.String _ret_var = default(System.String); try { - _ret_var = ((IActionConcrete)ws.Target).GetActionLocalizedName(id); + _ret_var = ((IAction)ws.Target).GetActionLocalizedName(id); } catch (Exception e) { @@ -376,7 +376,7 @@ sealed public class IActionConcrete : Eina.List _ret_var = default(Eina.List); try { - _ret_var = ((IActionConcrete)ws.Target).GetActions(); + _ret_var = ((IAction)ws.Target).GetActions(); } catch (Exception e) { @@ -412,7 +412,7 @@ sealed public class IActionConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IActionConcrete)ws.Target).ActionDo(id); + _ret_var = ((IAction)ws.Target).ActionDo(id); } catch (Exception e) { @@ -448,7 +448,7 @@ sealed public class IActionConcrete : System.String _ret_var = default(System.String); try { - _ret_var = ((IActionConcrete)ws.Target).GetActionKeybinding(id); + _ret_var = ((IAction)ws.Target).GetActionKeybinding(id); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_appthread.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_appthread.eo.cs index 3e9d6bb21..2e7ad08c5 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_appthread.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_appthread.eo.cs @@ -80,7 +80,7 @@ public class Appthread : Efl.Loop, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io. }; string key = "_EFL_IO_CLOSER_EVENT_CLOSED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Ecore, key, callerCb, value); } } @@ -89,7 +89,7 @@ public class Appthread : Efl.Loop, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io. lock (eventLock) { string key = "_EFL_IO_CLOSER_EVENT_CLOSED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Ecore, key, value); } } } @@ -97,7 +97,7 @@ public class Appthread : Efl.Loop, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io. public void OnClosedEvt(EventArgs e) { var key = "_EFL_IO_CLOSER_EVENT_CLOSED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Ecore, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -137,7 +137,7 @@ public class Appthread : Efl.Loop, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io. }; string key = "_EFL_IO_READER_EVENT_CAN_READ_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Ecore, key, callerCb, value); } } @@ -146,7 +146,7 @@ public class Appthread : Efl.Loop, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io. lock (eventLock) { string key = "_EFL_IO_READER_EVENT_CAN_READ_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Ecore, key, value); } } } @@ -154,7 +154,7 @@ public class Appthread : Efl.Loop, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io. public void OnCanReadChangedEvt(Efl.Io.IReaderCanReadChangedEvt_Args e) { var key = "_EFL_IO_READER_EVENT_CAN_READ_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Ecore, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -203,7 +203,7 @@ public class Appthread : Efl.Loop, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io. }; string key = "_EFL_IO_READER_EVENT_EOS"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Ecore, key, callerCb, value); } } @@ -212,7 +212,7 @@ public class Appthread : Efl.Loop, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io. lock (eventLock) { string key = "_EFL_IO_READER_EVENT_EOS"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Ecore, key, value); } } } @@ -220,7 +220,7 @@ public class Appthread : Efl.Loop, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io. public void OnEosEvt(EventArgs e) { var key = "_EFL_IO_READER_EVENT_EOS"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Ecore, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -260,7 +260,7 @@ public class Appthread : Efl.Loop, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io. }; string key = "_EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Ecore, key, callerCb, value); } } @@ -269,7 +269,7 @@ public class Appthread : Efl.Loop, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io. lock (eventLock) { string key = "_EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Ecore, key, value); } } } @@ -277,7 +277,7 @@ public class Appthread : Efl.Loop, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io. public void OnCanWriteChangedEvt(Efl.Io.IWriterCanWriteChangedEvt_Args e) { var key = "_EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Ecore, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_cached_item.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_cached_item.eo.cs index 0e54edcb4..af7a7cbe5 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_cached_item.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_cached_item.eo.cs @@ -45,7 +45,7 @@ sealed public class IItemConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_cached_item_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_canvas_filter_internal.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_canvas_filter_internal.eo.cs index b6f82262e..f3a3e7dde 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_canvas_filter_internal.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_canvas_filter_internal.eo.cs @@ -473,7 +473,7 @@ sealed public class IInternalConcrete : try { - ((IInternalConcrete)ws.Target).SetFilterChanged(val); + ((IInternal)ws.Target).SetFilterChanged(val); } catch (Exception e) { @@ -508,7 +508,7 @@ sealed public class IInternalConcrete : try { - ((IInternalConcrete)ws.Target).SetFilterInvalid(val); + ((IInternal)ws.Target).SetFilterInvalid(val); } catch (Exception e) { @@ -543,7 +543,7 @@ sealed public class IInternalConcrete : System.IntPtr _ret_var = default(System.IntPtr); try { - _ret_var = ((IInternalConcrete)ws.Target).GetFilterOutputBuffer(); + _ret_var = ((IInternal)ws.Target).GetFilterOutputBuffer(); } catch (Exception e) { @@ -579,7 +579,7 @@ sealed public class IInternalConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IInternalConcrete)ws.Target).FilterInputAlpha(); + _ret_var = ((IInternal)ws.Target).FilterInputAlpha(); } catch (Exception e) { @@ -616,7 +616,7 @@ sealed public class IInternalConcrete : try { - ((IInternalConcrete)ws.Target).FilterStatePrepare(out _out_state, data); + ((IInternal)ws.Target).FilterStatePrepare(out _out_state, data); } catch (Exception e) { @@ -652,7 +652,7 @@ sealed public class IInternalConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IInternalConcrete)ws.Target).FilterInputRender(filter, engine, output, drawctx, data, l, r, t, b, x, y, do_async); + _ret_var = ((IInternal)ws.Target).FilterInputRender(filter, engine, output, drawctx, data, l, r, t, b, x, y, do_async); } catch (Exception e) { @@ -688,7 +688,7 @@ sealed public class IInternalConcrete : try { - ((IInternalConcrete)ws.Target).FilterDirty(); + ((IInternal)ws.Target).FilterDirty(); } catch (Exception e) { @@ -725,7 +725,7 @@ sealed public class IInternalConcrete : try { - ((IInternalConcrete)ws.Target).GetFilterProgram(out _out_code, out _out_name); + ((IInternal)ws.Target).GetFilterProgram(out _out_code, out _out_name); } catch (Exception e) { @@ -762,7 +762,7 @@ sealed public class IInternalConcrete : try { - ((IInternalConcrete)ws.Target).SetFilterProgram(code, name); + ((IInternal)ws.Target).SetFilterProgram(code, name); } catch (Exception e) { @@ -799,7 +799,7 @@ sealed public class IInternalConcrete : next_val = default(double); pos = default(double); try { - ((IInternalConcrete)ws.Target).GetFilterState(out _out_cur_state, out cur_val, out _out_next_state, out next_val, out pos); + ((IInternal)ws.Target).GetFilterState(out _out_cur_state, out cur_val, out _out_next_state, out next_val, out pos); } catch (Exception e) { @@ -836,7 +836,7 @@ sealed public class IInternalConcrete : try { - ((IInternalConcrete)ws.Target).SetFilterState(cur_state, cur_val, next_state, next_val, pos); + ((IInternal)ws.Target).SetFilterState(cur_state, cur_val, next_state, next_val, pos); } catch (Exception e) { @@ -871,7 +871,7 @@ sealed public class IInternalConcrete : l = default(int); r = default(int); t = default(int); b = default(int); try { - ((IInternalConcrete)ws.Target).GetFilterPadding(out l, out r, out t, out b); + ((IInternal)ws.Target).GetFilterPadding(out l, out r, out t, out b); } catch (Exception e) { @@ -906,7 +906,7 @@ sealed public class IInternalConcrete : Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity); try { - _ret_var = ((IInternalConcrete)ws.Target).GetFilterSource(name); + _ret_var = ((IInternal)ws.Target).GetFilterSource(name); } catch (Exception e) { @@ -942,7 +942,7 @@ sealed public class IInternalConcrete : try { - ((IInternalConcrete)ws.Target).SetFilterSource(name, source); + ((IInternal)ws.Target).SetFilterSource(name, source); } catch (Exception e) { @@ -978,7 +978,7 @@ sealed public class IInternalConcrete : execute = default(bool); try { - ((IInternalConcrete)ws.Target).GetFilterData(name, out _out_value, out execute); + ((IInternal)ws.Target).GetFilterData(name, out _out_value, out execute); } catch (Exception e) { @@ -1014,7 +1014,7 @@ sealed public class IInternalConcrete : try { - ((IInternalConcrete)ws.Target).SetFilterData(name, value, execute); + ((IInternal)ws.Target).SetFilterData(name, value, execute); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_canvas_gesture_triple_tap.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_canvas_gesture_triple_tap.eo.cs index d88366c7b..eb4aa7afe 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_canvas_gesture_triple_tap.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_canvas_gesture_triple_tap.eo.cs @@ -29,7 +29,7 @@ public class GestureTripleTap : Efl.Canvas.Gesture } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Evas )] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport(efl.Libs.Evas)] internal static extern System.IntPtr efl_canvas_gesture_triple_tap_class_get(); /// Initializes a new instance of the class. /// Parent instance. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_canvas_group.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_canvas_group.eo.cs index 3d2c5fcbc..eac328512 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_canvas_group.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_canvas_group.eo.cs @@ -205,7 +205,7 @@ public class Group : Efl.Canvas.Object /// Get the internal clipper. /// (Since EFL 1.22) /// A clipper rectangle. - virtual public Efl.Canvas.Object GetGroupClipper() { + virtual protected Efl.Canvas.Object GetGroupClipper() { var _ret_var = Efl.Canvas.Group.NativeMethods.efl_canvas_group_clipper_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; @@ -280,7 +280,7 @@ public class Group : Efl.Canvas.Object /// This is the object clipping all the child objects. Do not delete or otherwise modify this clipper! /// (Since EFL 1.22) /// A clipper rectangle. - public Efl.Canvas.Object GroupClipper { + protected Efl.Canvas.Object GroupClipper { get { return GetGroupClipper(); } } private static IntPtr GetEflClassStatic() diff --git a/internals/src/EflSharp/EflSharp/efl/efl_canvas_image.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_canvas_image.eo.cs index ac132e10d..e795d922e 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_canvas_image.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_canvas_image.eo.cs @@ -82,7 +82,7 @@ public class Image : Efl.Canvas.ImageInternal, Efl.IFile, Efl.Gfx.IFrameControll }; string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_DONE"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value); } } @@ -91,7 +91,7 @@ public class Image : Efl.Canvas.ImageInternal, Efl.IFile, Efl.Gfx.IFrameControll lock (eventLock) { string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_DONE"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Evas, key, value); } } } @@ -99,7 +99,7 @@ public class Image : Efl.Canvas.ImageInternal, Efl.IFile, Efl.Gfx.IFrameControll public void OnLoadDoneEvt(EventArgs e) { var key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_DONE"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -135,7 +135,7 @@ public class Image : Efl.Canvas.ImageInternal, Efl.IFile, Efl.Gfx.IFrameControll }; string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_ERROR"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value); } } @@ -144,7 +144,7 @@ public class Image : Efl.Canvas.ImageInternal, Efl.IFile, Efl.Gfx.IFrameControll lock (eventLock) { string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_ERROR"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Evas, key, value); } } } @@ -152,7 +152,7 @@ public class Image : Efl.Canvas.ImageInternal, Efl.IFile, Efl.Gfx.IFrameControll public void OnLoadErrorEvt(Efl.Gfx.IImageLoadControllerLoadErrorEvt_Args e) { var key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_ERROR"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_canvas_image_internal.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_canvas_image_internal.eo.cs index b5eff2274..4352957b0 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_canvas_image_internal.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_canvas_image_internal.eo.cs @@ -88,7 +88,7 @@ public abstract class ImageInternal : Efl.Canvas.Object, Efl.IFileSave, Efl.Canv }; string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value); } } @@ -97,7 +97,7 @@ public abstract class ImageInternal : Efl.Canvas.Object, Efl.IFileSave, Efl.Canv lock (eventLock) { string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Evas, key, value); } } } @@ -105,7 +105,7 @@ public abstract class ImageInternal : Efl.Canvas.Object, Efl.IFileSave, Efl.Canv public void OnImagePreloadEvt(EventArgs e) { var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -140,7 +140,7 @@ public abstract class ImageInternal : Efl.Canvas.Object, Efl.IFileSave, Efl.Canv }; string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value); } } @@ -149,7 +149,7 @@ public abstract class ImageInternal : Efl.Canvas.Object, Efl.IFileSave, Efl.Canv lock (eventLock) { string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Evas, key, value); } } } @@ -157,7 +157,7 @@ public abstract class ImageInternal : Efl.Canvas.Object, Efl.IFileSave, Efl.Canv public void OnImageResizeEvt(EventArgs e) { var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -192,7 +192,7 @@ public abstract class ImageInternal : Efl.Canvas.Object, Efl.IFileSave, Efl.Canv }; string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value); } } @@ -201,7 +201,7 @@ public abstract class ImageInternal : Efl.Canvas.Object, Efl.IFileSave, Efl.Canv lock (eventLock) { string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Evas, key, value); } } } @@ -209,7 +209,7 @@ public abstract class ImageInternal : Efl.Canvas.Object, Efl.IFileSave, Efl.Canv public void OnImageUnloadEvt(EventArgs e) { var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout.eo.cs index f9a6c9e3d..f3365ed31 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout.eo.cs @@ -149,7 +149,7 @@ public class Layout : Efl.Canvas.Group, Efl.IContainer, Efl.IFile, Efl.IObserver }; string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Edje, key, callerCb, value); } } @@ -158,7 +158,7 @@ public class Layout : Efl.Canvas.Group, Efl.IContainer, Efl.IFile, Efl.IObserver lock (eventLock) { string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Edje, key, value); } } } @@ -166,7 +166,7 @@ public class Layout : Efl.Canvas.Group, Efl.IContainer, Efl.IFile, Efl.IObserver public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Edje, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -204,7 +204,7 @@ public class Layout : Efl.Canvas.Group, Efl.IContainer, Efl.IFile, Efl.IObserver }; string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Edje, key, callerCb, value); } } @@ -213,7 +213,7 @@ public class Layout : Efl.Canvas.Group, Efl.IContainer, Efl.IFile, Efl.IObserver lock (eventLock) { string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Edje, key, value); } } } @@ -221,7 +221,7 @@ public class Layout : Efl.Canvas.Group, Efl.IContainer, Efl.IFile, Efl.IObserver public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Edje, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part.eo.cs index 859ffcbf1..970cfd30e 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part.eo.cs @@ -84,7 +84,7 @@ public class LayoutPart : Efl.Object, Efl.Gfx.IEntity, Efl.Ui.IDrag }; string key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Edje, key, callerCb, value); } } @@ -93,7 +93,7 @@ public class LayoutPart : Efl.Object, Efl.Gfx.IEntity, Efl.Ui.IDrag lock (eventLock) { string key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Edje, key, value); } } } @@ -101,7 +101,7 @@ public class LayoutPart : Efl.Object, Efl.Gfx.IEntity, Efl.Ui.IDrag public void OnVisibilityChangedEvt(Efl.Gfx.IEntityVisibilityChangedEvt_Args e) { var key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Edje, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -146,7 +146,7 @@ public class LayoutPart : Efl.Object, Efl.Gfx.IEntity, Efl.Ui.IDrag }; string key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Edje, key, callerCb, value); } } @@ -155,7 +155,7 @@ public class LayoutPart : Efl.Object, Efl.Gfx.IEntity, Efl.Ui.IDrag lock (eventLock) { string key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Edje, key, value); } } } @@ -163,7 +163,7 @@ public class LayoutPart : Efl.Object, Efl.Gfx.IEntity, Efl.Ui.IDrag public void OnPositionChangedEvt(Efl.Gfx.IEntityPositionChangedEvt_Args e) { var key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Edje, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -209,7 +209,7 @@ public class LayoutPart : Efl.Object, Efl.Gfx.IEntity, Efl.Ui.IDrag }; string key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Edje, key, callerCb, value); } } @@ -218,7 +218,7 @@ public class LayoutPart : Efl.Object, Efl.Gfx.IEntity, Efl.Ui.IDrag lock (eventLock) { string key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Edje, key, value); } } } @@ -226,7 +226,7 @@ public class LayoutPart : Efl.Object, Efl.Gfx.IEntity, Efl.Ui.IDrag public void OnSizeChangedEvt(Efl.Gfx.IEntitySizeChangedEvt_Args e) { var key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Edje, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part_box.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part_box.eo.cs index 8c9a2b40d..0b76100a4 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part_box.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part_box.eo.cs @@ -84,7 +84,7 @@ public class LayoutPartBox : Efl.Canvas.LayoutPart, Efl.IContainer, Efl.IPack, E }; string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Edje, key, callerCb, value); } } @@ -93,7 +93,7 @@ public class LayoutPartBox : Efl.Canvas.LayoutPart, Efl.IContainer, Efl.IPack, E lock (eventLock) { string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Edje, key, value); } } } @@ -101,7 +101,7 @@ public class LayoutPartBox : Efl.Canvas.LayoutPart, Efl.IContainer, Efl.IPack, E public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Edje, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -139,7 +139,7 @@ public class LayoutPartBox : Efl.Canvas.LayoutPart, Efl.IContainer, Efl.IPack, E }; string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Edje, key, callerCb, value); } } @@ -148,7 +148,7 @@ public class LayoutPartBox : Efl.Canvas.LayoutPart, Efl.IContainer, Efl.IPack, E lock (eventLock) { string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Edje, key, value); } } } @@ -156,7 +156,7 @@ public class LayoutPartBox : Efl.Canvas.LayoutPart, Efl.IContainer, Efl.IPack, E public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Edje, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part_external.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part_external.eo.cs index ec51c3140..3db651c5d 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part_external.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part_external.eo.cs @@ -90,7 +90,7 @@ public class LayoutPartExternal : Efl.Canvas.LayoutPart, Efl.IContent }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Edje, key, callerCb, value); } } @@ -99,7 +99,7 @@ public class LayoutPartExternal : Efl.Canvas.LayoutPart, Efl.IContent lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Edje, key, value); } } } @@ -107,7 +107,7 @@ public class LayoutPartExternal : Efl.Canvas.LayoutPart, Efl.IContent public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Edje, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part_invalid.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part_invalid.eo.cs new file mode 100644 index 000000000..cb5b776ec --- /dev/null +++ b/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part_invalid.eo.cs @@ -0,0 +1,3785 @@ +#pragma warning disable CS1591 +using System; +using System.Runtime.InteropServices; +using System.Collections.Generic; +using System.Linq; +using System.Threading; +using System.ComponentModel; +namespace Efl { + +namespace Canvas { + +/// Common class for part proxy objects for . +/// As an implementation class, all objects of this class are meant to be used for one and only one function call. In pseudo-code, the use of object of this type looks like the following: rect = layout.part("somepart").geometry_get(); +[Efl.Canvas.LayoutPartInvalid.NativeMethods] +public class LayoutPartInvalid : Efl.Canvas.LayoutPart, Efl.IContainer, Efl.IContent, Efl.IPack, Efl.IPackLinear, Efl.IPackTable, Efl.IText, Efl.ITextCursor, Efl.ITextMarkup, Efl.ITextMarkupInteractive, Efl.Ui.ILayoutOrientable, Efl.Ui.ILayoutOrientableReadonly +{ + ///Pointer to the native class description. + public override System.IntPtr NativeClass + { + get + { + if (((object)this).GetType() == typeof(LayoutPartInvalid)) + { + return GetEflClassStatic(); + } + else + { + return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()]; + } + } + } + + [System.Runtime.InteropServices.DllImport(efl.Libs.Edje)] internal static extern System.IntPtr + efl_canvas_layout_part_invalid_class_get(); + /// Initializes a new instance of the class. + /// Parent instance. + public LayoutPartInvalid(Efl.Object parent= null + ) : base(efl_canvas_layout_part_invalid_class_get(), typeof(LayoutPartInvalid), parent) + { + FinishInstantiation(); + } + + /// Initializes a new instance of the class. + /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly. + /// The native pointer to be wrapped. + protected LayoutPartInvalid(System.IntPtr raw) : base(raw) + { + } + + /// Initializes a new instance of the class. + /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly. + /// The pointer to the base native Eo class. + /// The managed type of the public constructor that originated this call. + /// The Efl.Object parent of this instance. + protected LayoutPartInvalid(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent) + { + } + + /// Sent after a new sub-object was added. + /// (Since EFL 1.22) + public event EventHandler ContentAddedEvt + { + add + { + lock (eventLock) + { + Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => + { + var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; + if (obj != null) + { + Efl.IContainerContentAddedEvt_Args args = new Efl.IContainerContentAddedEvt_Args(); + args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete); + try + { + value?.Invoke(obj, args); + } + catch (Exception e) + { + Eina.Log.Error(e.ToString()); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + } + }; + + string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; + AddNativeEventHandler(efl.Libs.Edje, key, callerCb, value); + } + } + + remove + { + lock (eventLock) + { + string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; + RemoveNativeEventHandler(efl.Libs.Edje, key, value); + } + } + } + ///Method to raise event ContentAddedEvt. + public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e) + { + var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Edje, key); + if (desc == IntPtr.Zero) + { + Eina.Log.Error($"Failed to get native event {key}"); + return; + } + + IntPtr info = e.arg.NativeHandle; + Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); + } + /// Sent after a sub-object was removed, before unref. + /// (Since EFL 1.22) + public event EventHandler ContentRemovedEvt + { + add + { + lock (eventLock) + { + Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => + { + var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; + if (obj != null) + { + Efl.IContainerContentRemovedEvt_Args args = new Efl.IContainerContentRemovedEvt_Args(); + args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete); + try + { + value?.Invoke(obj, args); + } + catch (Exception e) + { + Eina.Log.Error(e.ToString()); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + } + }; + + string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; + AddNativeEventHandler(efl.Libs.Edje, key, callerCb, value); + } + } + + remove + { + lock (eventLock) + { + string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; + RemoveNativeEventHandler(efl.Libs.Edje, key, value); + } + } + } + ///Method to raise event ContentRemovedEvt. + public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e) + { + var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Edje, key); + if (desc == IntPtr.Zero) + { + Eina.Log.Error($"Failed to get native event {key}"); + return; + } + + IntPtr info = e.arg.NativeHandle; + Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); + } + /// Sent after the content is set or unset using the current content object. + /// (Since EFL 1.22) + public event EventHandler ContentChangedEvt + { + add + { + lock (eventLock) + { + Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => + { + var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; + if (obj != null) + { + Efl.IContentContentChangedEvt_Args args = new Efl.IContentContentChangedEvt_Args(); + args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete); + try + { + value?.Invoke(obj, args); + } + catch (Exception e) + { + Eina.Log.Error(e.ToString()); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + } + }; + + string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; + AddNativeEventHandler(efl.Libs.Edje, key, callerCb, value); + } + } + + remove + { + lock (eventLock) + { + string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; + RemoveNativeEventHandler(efl.Libs.Edje, key, value); + } + } + } + ///Method to raise event ContentChangedEvt. + public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) + { + var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Edje, key); + if (desc == IntPtr.Zero) + { + Eina.Log.Error($"Failed to get native event {key}"); + return; + } + + IntPtr info = e.arg.NativeHandle; + Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); + } + /// Begin iterating over this object's contents. + /// (Since EFL 1.22) + /// Iterator on object's content. + virtual public Eina.Iterator ContentIterate() { + var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_iterate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); + Eina.Error.RaiseIfUnhandledException(); + return new Eina.Iterator(_ret_var, true, false); + } + /// Returns the number of contained sub-objects. + /// (Since EFL 1.22) + /// Number of sub-objects. + virtual public int ContentCount() { + var _ret_var = Efl.IContainerConcrete.NativeMethods.efl_content_count_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Sub-object currently set as this object's single content. + /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid content is set the object will become empty (it will have no sub-object). + /// (Since EFL 1.22) + /// The sub-object. + virtual public Efl.Gfx.IEntity GetContent() { + var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Sub-object currently set as this object's single content. + /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid content is set the object will become empty (it will have no sub-object). + /// (Since EFL 1.22) + /// The sub-object. + /// true if content was successfully swallowed. + virtual public bool SetContent(Efl.Gfx.IEntity content) { + var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Remove the sub-object currently set as content of this object and return it. This object becomes empty. + /// (Since EFL 1.22) + /// Unswallowed object + virtual public Efl.Gfx.IEntity UnsetContent() { + var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Removes all packed sub-objects and unreferences them. + /// true on success, false otherwise. + virtual public bool ClearPack() { + var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Removes all packed sub-objects without unreferencing them. + /// Use with caution. + /// true on success, false otherwise. + virtual public bool UnpackAll() { + var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_all_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Removes an existing sub-object from the container without deleting it. + /// The sub-object to unpack. + /// false if subobj wasn't in the container or couldn't be removed. + virtual public bool Unpack(Efl.Gfx.IEntity subobj) { + var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_unpack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Adds a sub-object to this container. + /// Depending on the container this will either fill in the default spot, replacing any already existing element or append to the end of the container if there is no default part. + /// + /// When this container is deleted, it will request deletion of the given subobj. Use to remove subobj from this container without deleting it. + /// The object to pack. + /// false if subobj could not be packed. + virtual public bool Pack(Efl.Gfx.IEntity subobj) { + var _ret_var = Efl.IPackConcrete.NativeMethods.efl_pack_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Prepend an object at the beginning of this container. + /// This is the same as (subobj, 0). + /// + /// When this container is deleted, it will request deletion of the given subobj. Use to remove subobj from this container without deleting it. + /// Object to pack at the beginning. + /// false if subobj could not be packed. + virtual public bool PackBegin(Efl.Gfx.IEntity subobj) { + var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_begin_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Append object at the end of this container. + /// This is the same as (subobj, -1). + /// + /// When this container is deleted, it will request deletion of the given subobj. Use to remove subobj from this container without deleting it. + /// Object to pack at the end. + /// false if subobj could not be packed. + virtual public bool PackEnd(Efl.Gfx.IEntity subobj) { + var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_end_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Prepend an object before an existing sub-object. + /// When this container is deleted, it will request deletion of the given subobj. Use to remove subobj from this container without deleting it. + /// Object to pack before existing. + /// Existing reference sub-object. + /// false if existing could not be found or subobj could not be packed. + virtual public bool PackBefore(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) { + var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_before_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, existing); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Append an object after an existing sub-object. + /// When this container is deleted, it will request deletion of the given subobj. Use to remove subobj from this container without deleting it. + /// Object to pack after existing. + /// Existing reference sub-object. + /// false if existing could not be found or subobj could not be packed. + virtual public bool PackAfter(Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) { + var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_after_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, existing); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Inserts subobj BEFORE the sub-object at position index. + /// index ranges from -count to count-1, where positive numbers go from first sub-object (0) to last (count-1), and negative numbers go from last sub-object (-1) to first (-count). count is the number of sub-objects currently in the container as returned by . + /// + /// If index is less than -count, it will trigger (subobj) whereas index greater than count-1 will trigger (subobj). + /// + /// When this container is deleted, it will request deletion of the given subobj. Use to remove subobj from this container without deleting it. + /// Object to pack. + /// Index of existing sub-object to insert BEFORE. Valid range is -count to (count-1). + /// false if subobj could not be packed. + virtual public bool PackAt(Efl.Gfx.IEntity subobj, int index) { + var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_at_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, index); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Sub-object at a given index in this container. + /// index ranges from -count to count-1, where positive numbers go from first sub-object (0) to last (count-1), and negative numbers go from last sub-object (-1) to first (-count). count is the number of sub-objects currently in the container as returned by . + /// + /// If index is less than -count, it will return the first sub-object whereas index greater than count-1 will return the last sub-object. + /// Index of the existing sub-object to retrieve. Valid range is -count to (count-1). + /// The sub-object contained at the given index. + virtual public Efl.Gfx.IEntity GetPackContent(int index) { + var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Get the index of a sub-object in this container. + /// An existing sub-object in this container. + /// -1 in case subobj is not found, or the index of subobj in the range 0 to (count-1). + virtual public int GetPackIndex(Efl.Gfx.IEntity subobj) { + var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_index_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Pop out (remove) the sub-object at the specified index. + /// index ranges from -count to count-1, where positive numbers go from first sub-object (0) to last (count-1), and negative numbers go from last sub-object (-1) to first (-count). count is the number of sub-objects currently in the container as returned by . + /// + /// If index is less than -count, it will remove the first sub-object whereas index greater than count-1 will remove the last sub-object. + /// Index of the sub-object to remove. Valid range is -count to (count-1). + /// The sub-object if it could be removed. + virtual public Efl.Gfx.IEntity PackUnpackAt(int index) { + var _ret_var = Efl.IPackLinearConcrete.NativeMethods.efl_pack_unpack_at_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Position and span of the subobj in this container, may be modified to move the subobj + /// Child object + /// Column number + /// Row number + /// Column span + /// Row span + /// Returns false if item is not a child + virtual public bool GetTablePosition(Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan) { + var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, out col, out row, out colspan, out rowspan); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Combines and + /// Number of columns + /// Number of rows + virtual public void GetTableSize(out int cols, out int rows) { + Efl.IPackTableConcrete.NativeMethods.efl_pack_table_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out cols, out rows); + Eina.Error.RaiseIfUnhandledException(); + } + /// Combines and + /// Number of columns + /// Number of rows + virtual public void SetTableSize(int cols, int rows) { + Efl.IPackTableConcrete.NativeMethods.efl_pack_table_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cols, rows); + Eina.Error.RaiseIfUnhandledException(); + } + /// Specifies the amount of columns the table will have when the fill direction is horizontal. If it is vertical, the amount of columns depends on the amount of cells added and . + /// Amount of columns. + virtual public int GetTableColumns() { + var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_columns_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Specifies the amount of columns the table will have when the fill direction is horizontal. If it is vertical, the amount of columns depends on the amount of cells added and . + /// Amount of columns. + virtual public void SetTableColumns(int cols) { + Efl.IPackTableConcrete.NativeMethods.efl_pack_table_columns_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cols); + Eina.Error.RaiseIfUnhandledException(); + } + /// Specifies the amount of rows the table will have when the fill direction is vertical. If it is horizontal, the amount of rows depends on the amount of cells added and . + /// Amount of rows. + virtual public int GetTableRows() { + var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_rows_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Specifies the amount of rows the table will have when the fill direction is vertical. If it is horizontal, the amount of rows depends on the amount of cells added and . + /// Amount of rows. + virtual public void SetTableRows(int rows) { + Efl.IPackTableConcrete.NativeMethods.efl_pack_table_rows_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),rows); + Eina.Error.RaiseIfUnhandledException(); + } + /// Pack object at a given location in the table. + /// When this container is deleted, it will request deletion of the given subobj. Use to remove subobj from this container without deleting it. + /// A child object to pack in this table. + /// Column number + /// Row number + /// 0 means 1, -1 means + /// 0 means 1, -1 means + /// true on success, false otherwise + virtual public bool PackTable(Efl.Gfx.IEntity subobj, int col, int row, int colspan, int rowspan) { + var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),subobj, col, row, colspan, rowspan); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Returns all objects at a given position in this table. + /// Column number + /// Row number + /// If true get objects spanning over this cell. + /// Iterator to table contents + virtual public Eina.Iterator GetTableContents(int col, int row, bool below) { + var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_contents_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),col, row, below); + Eina.Error.RaiseIfUnhandledException(); + return new Eina.Iterator(_ret_var, true, false); + } + /// Returns a child at a given position, see . + /// Column number + /// Row number + /// Child object + virtual public Efl.Gfx.IEntity GetTableContent(int col, int row) { + var _ret_var = Efl.IPackTableConcrete.NativeMethods.efl_pack_table_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),col, row); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Retrieves the text string currently being displayed by the given text object. + /// Do not free() the return value. + /// + /// See also . + /// (Since EFL 1.22) + /// Text string to display on it. + virtual public System.String GetText() { + var _ret_var = Efl.ITextConcrete.NativeMethods.efl_text_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Sets the text string to be displayed by the given text object. + /// See also . + /// (Since EFL 1.22) + /// Text string to display on it. + virtual public void SetText(System.String text) { + Efl.ITextConcrete.NativeMethods.efl_text_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),text); + Eina.Error.RaiseIfUnhandledException(); + } + /// The object's main cursor. + /// Cursor type + /// Text cursor object + virtual public Efl.TextCursorCursor GetTextCursor(Efl.TextCursorGetType get_type) { + var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),get_type); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Cursor position + /// Cursor object + /// Cursor position + virtual public int GetCursorPosition(Efl.TextCursorCursor cur) { + var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Cursor position + /// Cursor object + /// Cursor position + virtual public void SetCursorPosition(Efl.TextCursorCursor cur, int position) { + Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, position); + Eina.Error.RaiseIfUnhandledException(); + } + /// The content of the cursor (the character under the cursor) + /// Cursor object + /// The unicode codepoint of the character + virtual public Eina.Unicode GetCursorContent(Efl.TextCursorCursor cur) { + var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Returns the geometry of two cursors ("split cursor"), if logical cursor is between LTR/RTL text, also considering paragraph direction. Upper cursor is shown for the text of the same direction as paragraph, lower cursor - for opposite. + /// Split cursor geometry is valid only in '|' cursor mode. In this case true is returned and cx2, cy2, cw2, ch2 are set. + /// Cursor object + /// The type of the cursor. + /// The x of the cursor (or upper cursor) + /// The y of the cursor (or upper cursor) + /// The width of the cursor (or upper cursor) + /// The height of the cursor (or upper cursor) + /// The x of the lower cursor + /// The y of the lower cursor + /// The width of the lower cursor + /// The height of the lower cursor + /// true if split cursor, false otherwise. + virtual public bool GetCursorGeometry(Efl.TextCursorCursor cur, Efl.TextCursorType ctype, out int cx, out int cy, out int cw, out int ch, out int cx2, out int cy2, out int cw2, out int ch2) { + var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, ctype, out cx, out cy, out cw, out ch, out cx2, out cy2, out cw2, out ch2); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Create new cursor + /// Cursor object + virtual public Efl.TextCursorCursor NewCursor() { + var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_new_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Free existing cursor + /// Cursor object + virtual public void CursorFree(Efl.TextCursorCursor cur) { + Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_free_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur); + Eina.Error.RaiseIfUnhandledException(); + } + /// Check if two cursors are equal + /// Cursor 1 object + /// Cursor 2 object + /// true if cursors are equal, false otherwise + virtual public bool CursorEqual(Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2) { + var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_equal_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur1, cur2); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Compare two cursors + /// Cursor 1 object + /// Cursor 2 object + /// Difference between cursors + virtual public int CursorCompare(Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2) { + var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_compare_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur1, cur2); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Copy existing cursor + /// Destination cursor + /// Source cursor + virtual public void CursorCopy(Efl.TextCursorCursor dst, Efl.TextCursorCursor src) { + Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_copy_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dst, src); + Eina.Error.RaiseIfUnhandledException(); + } + /// Advances to the next character + /// Cursor object + virtual public void CursorCharNext(Efl.TextCursorCursor cur) { + Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_next_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur); + Eina.Error.RaiseIfUnhandledException(); + } + /// Advances to the previous character + /// Cursor object + virtual public void CursorCharPrev(Efl.TextCursorCursor cur) { + Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_prev_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur); + Eina.Error.RaiseIfUnhandledException(); + } + /// Advances to the next grapheme cluster + /// Cursor object + virtual public void CursorClusterNext(Efl.TextCursorCursor cur) { + Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_next_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur); + Eina.Error.RaiseIfUnhandledException(); + } + /// Advances to the previous grapheme cluster + /// Cursor object + virtual public void CursorClusterPrev(Efl.TextCursorCursor cur) { + Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_prev_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur); + Eina.Error.RaiseIfUnhandledException(); + } + /// Advances to the first character in this paragraph + /// Cursor object + virtual public void CursorParagraphCharFirst(Efl.TextCursorCursor cur) { + Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_char_first_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur); + Eina.Error.RaiseIfUnhandledException(); + } + /// Advances to the last character in this paragraph + /// Cursor object + virtual public void CursorParagraphCharLast(Efl.TextCursorCursor cur) { + Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_char_last_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur); + Eina.Error.RaiseIfUnhandledException(); + } + /// Advance to current word start + /// Cursor object + virtual public void CursorWordStart(Efl.TextCursorCursor cur) { + Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_word_start_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur); + Eina.Error.RaiseIfUnhandledException(); + } + /// Advance to current word end + /// Cursor object + virtual public void CursorWordEnd(Efl.TextCursorCursor cur) { + Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_word_end_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur); + Eina.Error.RaiseIfUnhandledException(); + } + /// Advance to current line first character + /// Cursor object + virtual public void CursorLineCharFirst(Efl.TextCursorCursor cur) { + Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_char_first_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur); + Eina.Error.RaiseIfUnhandledException(); + } + /// Advance to current line last character + /// Cursor object + virtual public void CursorLineCharLast(Efl.TextCursorCursor cur) { + Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_char_last_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur); + Eina.Error.RaiseIfUnhandledException(); + } + /// Advance to current paragraph first character + /// Cursor object + virtual public void CursorParagraphFirst(Efl.TextCursorCursor cur) { + Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_first_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur); + Eina.Error.RaiseIfUnhandledException(); + } + /// Advance to current paragraph last character + /// Cursor object + virtual public void CursorParagraphLast(Efl.TextCursorCursor cur) { + Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_last_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur); + Eina.Error.RaiseIfUnhandledException(); + } + /// Advances to the start of the next text node + /// Cursor object + virtual public void CursorParagraphNext(Efl.TextCursorCursor cur) { + Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_next_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur); + Eina.Error.RaiseIfUnhandledException(); + } + /// Advances to the end of the previous text node + /// Cursor object + virtual public void CursorParagraphPrev(Efl.TextCursorCursor cur) { + Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_paragraph_prev_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur); + Eina.Error.RaiseIfUnhandledException(); + } + /// Jump the cursor by the given number of lines + /// Cursor object + /// Number of lines + virtual public void CursorLineJumpBy(Efl.TextCursorCursor cur, int by) { + Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_line_jump_by_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, by); + Eina.Error.RaiseIfUnhandledException(); + } + /// Set cursor coordinates + /// Cursor object + /// X coord to set by. + /// Y coord to set by. + virtual public void SetCursorCoord(Efl.TextCursorCursor cur, int x, int y) { + Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_coord_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, x, y); + Eina.Error.RaiseIfUnhandledException(); + } + /// Set cursor coordinates according to grapheme clusters. It does not allow to put a cursor to the middle of a grapheme cluster. + /// Cursor object + /// X coord to set by. + /// Y coord to set by. + virtual public void SetCursorClusterCoord(Efl.TextCursorCursor cur, int x, int y) { + Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_cluster_coord_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, x, y); + Eina.Error.RaiseIfUnhandledException(); + } + /// Adds text to the current cursor position and set the cursor to *after* the start of the text just added. + /// Cursor object + /// Text to append (UTF-8 format). + /// Length of the appended text. + virtual public int CursorTextInsert(Efl.TextCursorCursor cur, System.String text) { + var _ret_var = Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_text_insert_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, text); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Deletes a single character from position pointed by given cursor. + /// Cursor object + virtual public void CursorCharDelete(Efl.TextCursorCursor cur) { + Efl.ITextCursorConcrete.NativeMethods.efl_text_cursor_char_delete_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur); + Eina.Error.RaiseIfUnhandledException(); + } + /// Markup property + /// The markup-text representation set to this text. + virtual public System.String GetMarkup() { + var _ret_var = Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Markup property + /// The markup-text representation set to this text. + virtual public void SetMarkup(System.String markup) { + Efl.ITextMarkupConcrete.NativeMethods.efl_text_markup_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),markup); + Eina.Error.RaiseIfUnhandledException(); + } + /// Markup of a given range in the text + /// Start of the markup region + /// End of markup region + /// The markup-text representation set to this text of a given range + virtual public System.String GetMarkupRange(Efl.TextCursorCursor start, Efl.TextCursorCursor end) { + var _ret_var = Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_markup_range_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),start, end); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Markup of a given range in the text + /// Start of the markup region + /// End of markup region + /// The markup-text representation set to this text of a given range + virtual public void SetMarkupRange(Efl.TextCursorCursor start, Efl.TextCursorCursor end, System.String markup) { + Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_markup_range_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),start, end, markup); + Eina.Error.RaiseIfUnhandledException(); + } + /// Inserts a markup text to the text object in a given cursor position + /// Cursor position to insert markup + /// The markup text to insert + virtual public void CursorMarkupInsert(Efl.TextCursorCursor cur, System.String markup) { + Efl.ITextMarkupInteractiveConcrete.NativeMethods.efl_text_markup_interactive_cursor_markup_insert_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),cur, markup); + Eina.Error.RaiseIfUnhandledException(); + } + /// Control the direction of a given widget. + /// Use this function to change how your widget is to be disposed: vertically or horizontally or inverted vertically or inverted horizontally. + /// + /// Mirroring as defined in can invert the horizontal direction: it is ltr by default, but becomes rtl if the object is mirrored. + /// Direction of the widget. + virtual public Efl.Ui.LayoutOrientation GetOrientation() { + var _ret_var = Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Control the direction of a given widget. + /// Use this function to change how your widget is to be disposed: vertically or horizontally or inverted vertically or inverted horizontally. + /// + /// Mirroring as defined in can invert the horizontal direction: it is ltr by default, but becomes rtl if the object is mirrored. + /// Direction of the widget. + virtual public void SetOrientation(Efl.Ui.LayoutOrientation dir) { + Efl.Ui.ILayoutOrientableConcrete.NativeMethods.efl_ui_layout_orientation_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),dir); + Eina.Error.RaiseIfUnhandledException(); + } + /// Sub-object currently set as this object's single content. + /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid content is set the object will become empty (it will have no sub-object). + /// (Since EFL 1.22) + /// The sub-object. + public Efl.Gfx.IEntity Content { + get { return GetContent(); } + set { SetContent(value); } + } + /// Specifies the amount of columns the table will have when the fill direction is horizontal. If it is vertical, the amount of columns depends on the amount of cells added and . + /// Amount of columns. + public int TableColumns { + get { return GetTableColumns(); } + set { SetTableColumns(value); } + } + /// Specifies the amount of rows the table will have when the fill direction is vertical. If it is horizontal, the amount of rows depends on the amount of cells added and . + /// Amount of rows. + public int TableRows { + get { return GetTableRows(); } + set { SetTableRows(value); } + } + /// Markup property + /// The markup-text representation set to this text. + public System.String Markup { + get { return GetMarkup(); } + set { SetMarkup(value); } + } + /// Control the direction of a given widget. + /// Use this function to change how your widget is to be disposed: vertically or horizontally or inverted vertically or inverted horizontally. + /// + /// Mirroring as defined in can invert the horizontal direction: it is ltr by default, but becomes rtl if the object is mirrored. + /// Direction of the widget. + public Efl.Ui.LayoutOrientation Orientation { + get { return GetOrientation(); } + set { SetOrientation(value); } + } + private static IntPtr GetEflClassStatic() + { + return Efl.Canvas.LayoutPartInvalid.efl_canvas_layout_part_invalid_class_get(); + } + /// Wrapper for native methods and virtual method delegates. + /// For internal use by generated code only. + public new class NativeMethods : Efl.Canvas.LayoutPart.NativeMethods + { + private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Edje); + /// Gets the list of Eo operations to override. + /// The list of Eo operations to be overload. + public override System.Collections.Generic.List GetEoOps(System.Type type) + { + var descs = new System.Collections.Generic.List(); + var methods = Efl.Eo.Globals.GetUserMethods(type); + + if (efl_content_iterate_static_delegate == null) + { + efl_content_iterate_static_delegate = new efl_content_iterate_delegate(content_iterate); + } + + if (methods.FirstOrDefault(m => m.Name == "ContentIterate") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_iterate"), func = Marshal.GetFunctionPointerForDelegate(efl_content_iterate_static_delegate) }); + } + + if (efl_content_count_static_delegate == null) + { + efl_content_count_static_delegate = new efl_content_count_delegate(content_count); + } + + if (methods.FirstOrDefault(m => m.Name == "ContentCount") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_count"), func = Marshal.GetFunctionPointerForDelegate(efl_content_count_static_delegate) }); + } + + if (efl_content_get_static_delegate == null) + { + efl_content_get_static_delegate = new efl_content_get_delegate(content_get); + } + + if (methods.FirstOrDefault(m => m.Name == "GetContent") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_content_get_static_delegate) }); + } + + if (efl_content_set_static_delegate == null) + { + efl_content_set_static_delegate = new efl_content_set_delegate(content_set); + } + + if (methods.FirstOrDefault(m => m.Name == "SetContent") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_content_set_static_delegate) }); + } + + if (efl_content_unset_static_delegate == null) + { + efl_content_unset_static_delegate = new efl_content_unset_delegate(content_unset); + } + + if (methods.FirstOrDefault(m => m.Name == "UnsetContent") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_unset"), func = Marshal.GetFunctionPointerForDelegate(efl_content_unset_static_delegate) }); + } + + if (efl_pack_clear_static_delegate == null) + { + efl_pack_clear_static_delegate = new efl_pack_clear_delegate(pack_clear); + } + + if (methods.FirstOrDefault(m => m.Name == "ClearPack") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_clear"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_clear_static_delegate) }); + } + + if (efl_pack_unpack_all_static_delegate == null) + { + efl_pack_unpack_all_static_delegate = new efl_pack_unpack_all_delegate(unpack_all); + } + + if (methods.FirstOrDefault(m => m.Name == "UnpackAll") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_unpack_all"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_unpack_all_static_delegate) }); + } + + if (efl_pack_unpack_static_delegate == null) + { + efl_pack_unpack_static_delegate = new efl_pack_unpack_delegate(unpack); + } + + if (methods.FirstOrDefault(m => m.Name == "Unpack") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_unpack"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_unpack_static_delegate) }); + } + + if (efl_pack_static_delegate == null) + { + efl_pack_static_delegate = new efl_pack_delegate(pack); + } + + if (methods.FirstOrDefault(m => m.Name == "Pack") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_static_delegate) }); + } + + if (efl_pack_begin_static_delegate == null) + { + efl_pack_begin_static_delegate = new efl_pack_begin_delegate(pack_begin); + } + + if (methods.FirstOrDefault(m => m.Name == "PackBegin") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_begin"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_begin_static_delegate) }); + } + + if (efl_pack_end_static_delegate == null) + { + efl_pack_end_static_delegate = new efl_pack_end_delegate(pack_end); + } + + if (methods.FirstOrDefault(m => m.Name == "PackEnd") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_end"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_end_static_delegate) }); + } + + if (efl_pack_before_static_delegate == null) + { + efl_pack_before_static_delegate = new efl_pack_before_delegate(pack_before); + } + + if (methods.FirstOrDefault(m => m.Name == "PackBefore") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_before"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_before_static_delegate) }); + } + + if (efl_pack_after_static_delegate == null) + { + efl_pack_after_static_delegate = new efl_pack_after_delegate(pack_after); + } + + if (methods.FirstOrDefault(m => m.Name == "PackAfter") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_after"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_after_static_delegate) }); + } + + if (efl_pack_at_static_delegate == null) + { + efl_pack_at_static_delegate = new efl_pack_at_delegate(pack_at); + } + + if (methods.FirstOrDefault(m => m.Name == "PackAt") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_at"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_at_static_delegate) }); + } + + if (efl_pack_content_get_static_delegate == null) + { + efl_pack_content_get_static_delegate = new efl_pack_content_get_delegate(pack_content_get); + } + + if (methods.FirstOrDefault(m => m.Name == "GetPackContent") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_content_get_static_delegate) }); + } + + if (efl_pack_index_get_static_delegate == null) + { + efl_pack_index_get_static_delegate = new efl_pack_index_get_delegate(pack_index_get); + } + + if (methods.FirstOrDefault(m => m.Name == "GetPackIndex") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_index_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_index_get_static_delegate) }); + } + + if (efl_pack_unpack_at_static_delegate == null) + { + efl_pack_unpack_at_static_delegate = new efl_pack_unpack_at_delegate(pack_unpack_at); + } + + if (methods.FirstOrDefault(m => m.Name == "PackUnpackAt") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_unpack_at"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_unpack_at_static_delegate) }); + } + + if (efl_pack_table_position_get_static_delegate == null) + { + efl_pack_table_position_get_static_delegate = new efl_pack_table_position_get_delegate(table_position_get); + } + + if (methods.FirstOrDefault(m => m.Name == "GetTablePosition") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_position_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_position_get_static_delegate) }); + } + + if (efl_pack_table_size_get_static_delegate == null) + { + efl_pack_table_size_get_static_delegate = new efl_pack_table_size_get_delegate(table_size_get); + } + + if (methods.FirstOrDefault(m => m.Name == "GetTableSize") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_size_get_static_delegate) }); + } + + if (efl_pack_table_size_set_static_delegate == null) + { + efl_pack_table_size_set_static_delegate = new efl_pack_table_size_set_delegate(table_size_set); + } + + if (methods.FirstOrDefault(m => m.Name == "SetTableSize") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_size_set_static_delegate) }); + } + + if (efl_pack_table_columns_get_static_delegate == null) + { + efl_pack_table_columns_get_static_delegate = new efl_pack_table_columns_get_delegate(table_columns_get); + } + + if (methods.FirstOrDefault(m => m.Name == "GetTableColumns") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_columns_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_columns_get_static_delegate) }); + } + + if (efl_pack_table_columns_set_static_delegate == null) + { + efl_pack_table_columns_set_static_delegate = new efl_pack_table_columns_set_delegate(table_columns_set); + } + + if (methods.FirstOrDefault(m => m.Name == "SetTableColumns") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_columns_set"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_columns_set_static_delegate) }); + } + + if (efl_pack_table_rows_get_static_delegate == null) + { + efl_pack_table_rows_get_static_delegate = new efl_pack_table_rows_get_delegate(table_rows_get); + } + + if (methods.FirstOrDefault(m => m.Name == "GetTableRows") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_rows_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_rows_get_static_delegate) }); + } + + if (efl_pack_table_rows_set_static_delegate == null) + { + efl_pack_table_rows_set_static_delegate = new efl_pack_table_rows_set_delegate(table_rows_set); + } + + if (methods.FirstOrDefault(m => m.Name == "SetTableRows") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_rows_set"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_rows_set_static_delegate) }); + } + + if (efl_pack_table_static_delegate == null) + { + efl_pack_table_static_delegate = new efl_pack_table_delegate(pack_table); + } + + if (methods.FirstOrDefault(m => m.Name == "PackTable") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_static_delegate) }); + } + + if (efl_pack_table_contents_get_static_delegate == null) + { + efl_pack_table_contents_get_static_delegate = new efl_pack_table_contents_get_delegate(table_contents_get); + } + + if (methods.FirstOrDefault(m => m.Name == "GetTableContents") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_contents_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_contents_get_static_delegate) }); + } + + if (efl_pack_table_content_get_static_delegate == null) + { + efl_pack_table_content_get_static_delegate = new efl_pack_table_content_get_delegate(table_content_get); + } + + if (methods.FirstOrDefault(m => m.Name == "GetTableContent") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_pack_table_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_pack_table_content_get_static_delegate) }); + } + + if (efl_text_get_static_delegate == null) + { + efl_text_get_static_delegate = new efl_text_get_delegate(text_get); + } + + if (methods.FirstOrDefault(m => m.Name == "GetText") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_get_static_delegate) }); + } + + if (efl_text_set_static_delegate == null) + { + efl_text_set_static_delegate = new efl_text_set_delegate(text_set); + } + + if (methods.FirstOrDefault(m => m.Name == "SetText") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_set_static_delegate) }); + } + + if (efl_text_cursor_get_static_delegate == null) + { + efl_text_cursor_get_static_delegate = new efl_text_cursor_get_delegate(text_cursor_get); + } + + if (methods.FirstOrDefault(m => m.Name == "GetTextCursor") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_get_static_delegate) }); + } + + if (efl_text_cursor_position_get_static_delegate == null) + { + efl_text_cursor_position_get_static_delegate = new efl_text_cursor_position_get_delegate(cursor_position_get); + } + + if (methods.FirstOrDefault(m => m.Name == "GetCursorPosition") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_position_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_position_get_static_delegate) }); + } + + if (efl_text_cursor_position_set_static_delegate == null) + { + efl_text_cursor_position_set_static_delegate = new efl_text_cursor_position_set_delegate(cursor_position_set); + } + + if (methods.FirstOrDefault(m => m.Name == "SetCursorPosition") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_position_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_position_set_static_delegate) }); + } + + if (efl_text_cursor_content_get_static_delegate == null) + { + efl_text_cursor_content_get_static_delegate = new efl_text_cursor_content_get_delegate(cursor_content_get); + } + + if (methods.FirstOrDefault(m => m.Name == "GetCursorContent") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_content_get_static_delegate) }); + } + + if (efl_text_cursor_geometry_get_static_delegate == null) + { + efl_text_cursor_geometry_get_static_delegate = new efl_text_cursor_geometry_get_delegate(cursor_geometry_get); + } + + if (methods.FirstOrDefault(m => m.Name == "GetCursorGeometry") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_geometry_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_geometry_get_static_delegate) }); + } + + if (efl_text_cursor_new_static_delegate == null) + { + efl_text_cursor_new_static_delegate = new efl_text_cursor_new_delegate(cursor_new); + } + + if (methods.FirstOrDefault(m => m.Name == "NewCursor") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_new"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_new_static_delegate) }); + } + + if (efl_text_cursor_free_static_delegate == null) + { + efl_text_cursor_free_static_delegate = new efl_text_cursor_free_delegate(cursor_free); + } + + if (methods.FirstOrDefault(m => m.Name == "CursorFree") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_free"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_free_static_delegate) }); + } + + if (efl_text_cursor_equal_static_delegate == null) + { + efl_text_cursor_equal_static_delegate = new efl_text_cursor_equal_delegate(cursor_equal); + } + + if (methods.FirstOrDefault(m => m.Name == "CursorEqual") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_equal"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_equal_static_delegate) }); + } + + if (efl_text_cursor_compare_static_delegate == null) + { + efl_text_cursor_compare_static_delegate = new efl_text_cursor_compare_delegate(cursor_compare); + } + + if (methods.FirstOrDefault(m => m.Name == "CursorCompare") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_compare"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_compare_static_delegate) }); + } + + if (efl_text_cursor_copy_static_delegate == null) + { + efl_text_cursor_copy_static_delegate = new efl_text_cursor_copy_delegate(cursor_copy); + } + + if (methods.FirstOrDefault(m => m.Name == "CursorCopy") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_copy"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_copy_static_delegate) }); + } + + if (efl_text_cursor_char_next_static_delegate == null) + { + efl_text_cursor_char_next_static_delegate = new efl_text_cursor_char_next_delegate(cursor_char_next); + } + + if (methods.FirstOrDefault(m => m.Name == "CursorCharNext") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_char_next"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_char_next_static_delegate) }); + } + + if (efl_text_cursor_char_prev_static_delegate == null) + { + efl_text_cursor_char_prev_static_delegate = new efl_text_cursor_char_prev_delegate(cursor_char_prev); + } + + if (methods.FirstOrDefault(m => m.Name == "CursorCharPrev") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_char_prev"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_char_prev_static_delegate) }); + } + + if (efl_text_cursor_cluster_next_static_delegate == null) + { + efl_text_cursor_cluster_next_static_delegate = new efl_text_cursor_cluster_next_delegate(cursor_cluster_next); + } + + if (methods.FirstOrDefault(m => m.Name == "CursorClusterNext") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_cluster_next"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_cluster_next_static_delegate) }); + } + + if (efl_text_cursor_cluster_prev_static_delegate == null) + { + efl_text_cursor_cluster_prev_static_delegate = new efl_text_cursor_cluster_prev_delegate(cursor_cluster_prev); + } + + if (methods.FirstOrDefault(m => m.Name == "CursorClusterPrev") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_cluster_prev"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_cluster_prev_static_delegate) }); + } + + if (efl_text_cursor_paragraph_char_first_static_delegate == null) + { + efl_text_cursor_paragraph_char_first_static_delegate = new efl_text_cursor_paragraph_char_first_delegate(cursor_paragraph_char_first); + } + + if (methods.FirstOrDefault(m => m.Name == "CursorParagraphCharFirst") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_paragraph_char_first"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_paragraph_char_first_static_delegate) }); + } + + if (efl_text_cursor_paragraph_char_last_static_delegate == null) + { + efl_text_cursor_paragraph_char_last_static_delegate = new efl_text_cursor_paragraph_char_last_delegate(cursor_paragraph_char_last); + } + + if (methods.FirstOrDefault(m => m.Name == "CursorParagraphCharLast") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_paragraph_char_last"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_paragraph_char_last_static_delegate) }); + } + + if (efl_text_cursor_word_start_static_delegate == null) + { + efl_text_cursor_word_start_static_delegate = new efl_text_cursor_word_start_delegate(cursor_word_start); + } + + if (methods.FirstOrDefault(m => m.Name == "CursorWordStart") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_word_start"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_word_start_static_delegate) }); + } + + if (efl_text_cursor_word_end_static_delegate == null) + { + efl_text_cursor_word_end_static_delegate = new efl_text_cursor_word_end_delegate(cursor_word_end); + } + + if (methods.FirstOrDefault(m => m.Name == "CursorWordEnd") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_word_end"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_word_end_static_delegate) }); + } + + if (efl_text_cursor_line_char_first_static_delegate == null) + { + efl_text_cursor_line_char_first_static_delegate = new efl_text_cursor_line_char_first_delegate(cursor_line_char_first); + } + + if (methods.FirstOrDefault(m => m.Name == "CursorLineCharFirst") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_line_char_first"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_line_char_first_static_delegate) }); + } + + if (efl_text_cursor_line_char_last_static_delegate == null) + { + efl_text_cursor_line_char_last_static_delegate = new efl_text_cursor_line_char_last_delegate(cursor_line_char_last); + } + + if (methods.FirstOrDefault(m => m.Name == "CursorLineCharLast") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_line_char_last"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_line_char_last_static_delegate) }); + } + + if (efl_text_cursor_paragraph_first_static_delegate == null) + { + efl_text_cursor_paragraph_first_static_delegate = new efl_text_cursor_paragraph_first_delegate(cursor_paragraph_first); + } + + if (methods.FirstOrDefault(m => m.Name == "CursorParagraphFirst") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_paragraph_first"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_paragraph_first_static_delegate) }); + } + + if (efl_text_cursor_paragraph_last_static_delegate == null) + { + efl_text_cursor_paragraph_last_static_delegate = new efl_text_cursor_paragraph_last_delegate(cursor_paragraph_last); + } + + if (methods.FirstOrDefault(m => m.Name == "CursorParagraphLast") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_paragraph_last"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_paragraph_last_static_delegate) }); + } + + if (efl_text_cursor_paragraph_next_static_delegate == null) + { + efl_text_cursor_paragraph_next_static_delegate = new efl_text_cursor_paragraph_next_delegate(cursor_paragraph_next); + } + + if (methods.FirstOrDefault(m => m.Name == "CursorParagraphNext") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_paragraph_next"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_paragraph_next_static_delegate) }); + } + + if (efl_text_cursor_paragraph_prev_static_delegate == null) + { + efl_text_cursor_paragraph_prev_static_delegate = new efl_text_cursor_paragraph_prev_delegate(cursor_paragraph_prev); + } + + if (methods.FirstOrDefault(m => m.Name == "CursorParagraphPrev") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_paragraph_prev"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_paragraph_prev_static_delegate) }); + } + + if (efl_text_cursor_line_jump_by_static_delegate == null) + { + efl_text_cursor_line_jump_by_static_delegate = new efl_text_cursor_line_jump_by_delegate(cursor_line_jump_by); + } + + if (methods.FirstOrDefault(m => m.Name == "CursorLineJumpBy") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_line_jump_by"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_line_jump_by_static_delegate) }); + } + + if (efl_text_cursor_coord_set_static_delegate == null) + { + efl_text_cursor_coord_set_static_delegate = new efl_text_cursor_coord_set_delegate(cursor_coord_set); + } + + if (methods.FirstOrDefault(m => m.Name == "SetCursorCoord") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_coord_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_coord_set_static_delegate) }); + } + + if (efl_text_cursor_cluster_coord_set_static_delegate == null) + { + efl_text_cursor_cluster_coord_set_static_delegate = new efl_text_cursor_cluster_coord_set_delegate(cursor_cluster_coord_set); + } + + if (methods.FirstOrDefault(m => m.Name == "SetCursorClusterCoord") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_cluster_coord_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_cluster_coord_set_static_delegate) }); + } + + if (efl_text_cursor_text_insert_static_delegate == null) + { + efl_text_cursor_text_insert_static_delegate = new efl_text_cursor_text_insert_delegate(cursor_text_insert); + } + + if (methods.FirstOrDefault(m => m.Name == "CursorTextInsert") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_text_insert"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_text_insert_static_delegate) }); + } + + if (efl_text_cursor_char_delete_static_delegate == null) + { + efl_text_cursor_char_delete_static_delegate = new efl_text_cursor_char_delete_delegate(cursor_char_delete); + } + + if (methods.FirstOrDefault(m => m.Name == "CursorCharDelete") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_cursor_char_delete"), func = Marshal.GetFunctionPointerForDelegate(efl_text_cursor_char_delete_static_delegate) }); + } + + if (efl_text_markup_get_static_delegate == null) + { + efl_text_markup_get_static_delegate = new efl_text_markup_get_delegate(markup_get); + } + + if (methods.FirstOrDefault(m => m.Name == "GetMarkup") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_get_static_delegate) }); + } + + if (efl_text_markup_set_static_delegate == null) + { + efl_text_markup_set_static_delegate = new efl_text_markup_set_delegate(markup_set); + } + + if (methods.FirstOrDefault(m => m.Name == "SetMarkup") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_set_static_delegate) }); + } + + if (efl_text_markup_interactive_markup_range_get_static_delegate == null) + { + efl_text_markup_interactive_markup_range_get_static_delegate = new efl_text_markup_interactive_markup_range_get_delegate(markup_range_get); + } + + if (methods.FirstOrDefault(m => m.Name == "GetMarkupRange") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_interactive_markup_range_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_interactive_markup_range_get_static_delegate) }); + } + + if (efl_text_markup_interactive_markup_range_set_static_delegate == null) + { + efl_text_markup_interactive_markup_range_set_static_delegate = new efl_text_markup_interactive_markup_range_set_delegate(markup_range_set); + } + + if (methods.FirstOrDefault(m => m.Name == "SetMarkupRange") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_interactive_markup_range_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_interactive_markup_range_set_static_delegate) }); + } + + if (efl_text_markup_interactive_cursor_markup_insert_static_delegate == null) + { + efl_text_markup_interactive_cursor_markup_insert_static_delegate = new efl_text_markup_interactive_cursor_markup_insert_delegate(cursor_markup_insert); + } + + if (methods.FirstOrDefault(m => m.Name == "CursorMarkupInsert") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_markup_interactive_cursor_markup_insert"), func = Marshal.GetFunctionPointerForDelegate(efl_text_markup_interactive_cursor_markup_insert_static_delegate) }); + } + + if (efl_ui_layout_orientation_get_static_delegate == null) + { + efl_ui_layout_orientation_get_static_delegate = new efl_ui_layout_orientation_get_delegate(orientation_get); + } + + if (methods.FirstOrDefault(m => m.Name == "GetOrientation") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_layout_orientation_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_layout_orientation_get_static_delegate) }); + } + + if (efl_ui_layout_orientation_set_static_delegate == null) + { + efl_ui_layout_orientation_set_static_delegate = new efl_ui_layout_orientation_set_delegate(orientation_set); + } + + if (methods.FirstOrDefault(m => m.Name == "SetOrientation") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_layout_orientation_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_layout_orientation_set_static_delegate) }); + } + + descs.AddRange(base.GetEoOps(type)); + return descs; + } + /// Returns the Eo class for the native methods of this class. + /// The native class pointer. + public override IntPtr GetEflClass() + { + return Efl.Canvas.LayoutPartInvalid.efl_canvas_layout_part_invalid_class_get(); + } + + #pragma warning disable CA1707, CS1591, SA1300, SA1600 + + + private delegate System.IntPtr efl_content_iterate_delegate(System.IntPtr obj, System.IntPtr pd); + + + public delegate System.IntPtr efl_content_iterate_api_delegate(System.IntPtr obj); + + public static Efl.Eo.FunctionWrapper efl_content_iterate_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_content_iterate"); + + private static System.IntPtr content_iterate(System.IntPtr obj, System.IntPtr pd) + { + Eina.Log.Debug("function efl_content_iterate was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + Eina.Iterator _ret_var = default(Eina.Iterator); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).ContentIterate(); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + _ret_var.Own = false; return _ret_var.Handle; + + } + else + { + return efl_content_iterate_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + } + } + + private static efl_content_iterate_delegate efl_content_iterate_static_delegate; + + + private delegate int efl_content_count_delegate(System.IntPtr obj, System.IntPtr pd); + + + public delegate int efl_content_count_api_delegate(System.IntPtr obj); + + public static Efl.Eo.FunctionWrapper efl_content_count_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_content_count"); + + private static int content_count(System.IntPtr obj, System.IntPtr pd) + { + Eina.Log.Debug("function efl_content_count was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + int _ret_var = default(int); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).ContentCount(); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_content_count_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + } + } + + private static efl_content_count_delegate efl_content_count_static_delegate; + + [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] + private delegate Efl.Gfx.IEntity efl_content_get_delegate(System.IntPtr obj, System.IntPtr pd); + + [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] + public delegate Efl.Gfx.IEntity efl_content_get_api_delegate(System.IntPtr obj); + + public static Efl.Eo.FunctionWrapper efl_content_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_content_get"); + + private static Efl.Gfx.IEntity content_get(System.IntPtr obj, System.IntPtr pd) + { + Eina.Log.Debug("function efl_content_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).GetContent(); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + } + } + + private static efl_content_get_delegate efl_content_get_static_delegate; + + [return: MarshalAs(UnmanagedType.U1)] + private delegate bool efl_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity content); + + [return: MarshalAs(UnmanagedType.U1)] + public delegate bool efl_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity content); + + public static Efl.Eo.FunctionWrapper efl_content_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_content_set"); + + private static bool content_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity content) + { + Eina.Log.Debug("function efl_content_set was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + bool _ret_var = default(bool); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).SetContent(content); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content); + } + } + + private static efl_content_set_delegate efl_content_set_static_delegate; + + [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] + private delegate Efl.Gfx.IEntity efl_content_unset_delegate(System.IntPtr obj, System.IntPtr pd); + + [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] + public delegate Efl.Gfx.IEntity efl_content_unset_api_delegate(System.IntPtr obj); + + public static Efl.Eo.FunctionWrapper efl_content_unset_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_content_unset"); + + private static Efl.Gfx.IEntity content_unset(System.IntPtr obj, System.IntPtr pd) + { + Eina.Log.Debug("function efl_content_unset was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).UnsetContent(); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_content_unset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + } + } + + private static efl_content_unset_delegate efl_content_unset_static_delegate; + + [return: MarshalAs(UnmanagedType.U1)] + private delegate bool efl_pack_clear_delegate(System.IntPtr obj, System.IntPtr pd); + + [return: MarshalAs(UnmanagedType.U1)] + public delegate bool efl_pack_clear_api_delegate(System.IntPtr obj); + + public static Efl.Eo.FunctionWrapper efl_pack_clear_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_clear"); + + private static bool pack_clear(System.IntPtr obj, System.IntPtr pd) + { + Eina.Log.Debug("function efl_pack_clear was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + bool _ret_var = default(bool); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).ClearPack(); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_pack_clear_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + } + } + + private static efl_pack_clear_delegate efl_pack_clear_static_delegate; + + [return: MarshalAs(UnmanagedType.U1)] + private delegate bool efl_pack_unpack_all_delegate(System.IntPtr obj, System.IntPtr pd); + + [return: MarshalAs(UnmanagedType.U1)] + public delegate bool efl_pack_unpack_all_api_delegate(System.IntPtr obj); + + public static Efl.Eo.FunctionWrapper efl_pack_unpack_all_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_unpack_all"); + + private static bool unpack_all(System.IntPtr obj, System.IntPtr pd) + { + Eina.Log.Debug("function efl_pack_unpack_all was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + bool _ret_var = default(bool); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).UnpackAll(); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_pack_unpack_all_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + } + } + + private static efl_pack_unpack_all_delegate efl_pack_unpack_all_static_delegate; + + [return: MarshalAs(UnmanagedType.U1)] + private delegate bool efl_pack_unpack_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj); + + [return: MarshalAs(UnmanagedType.U1)] + public delegate bool efl_pack_unpack_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj); + + public static Efl.Eo.FunctionWrapper efl_pack_unpack_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_unpack"); + + private static bool unpack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj) + { + Eina.Log.Debug("function efl_pack_unpack was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + bool _ret_var = default(bool); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).Unpack(subobj); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_pack_unpack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj); + } + } + + private static efl_pack_unpack_delegate efl_pack_unpack_static_delegate; + + [return: MarshalAs(UnmanagedType.U1)] + private delegate bool efl_pack_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj); + + [return: MarshalAs(UnmanagedType.U1)] + public delegate bool efl_pack_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj); + + public static Efl.Eo.FunctionWrapper efl_pack_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack"); + + private static bool pack(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj) + { + Eina.Log.Debug("function efl_pack was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + bool _ret_var = default(bool); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).Pack(subobj); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_pack_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj); + } + } + + private static efl_pack_delegate efl_pack_static_delegate; + + [return: MarshalAs(UnmanagedType.U1)] + private delegate bool efl_pack_begin_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj); + + [return: MarshalAs(UnmanagedType.U1)] + public delegate bool efl_pack_begin_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj); + + public static Efl.Eo.FunctionWrapper efl_pack_begin_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_begin"); + + private static bool pack_begin(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj) + { + Eina.Log.Debug("function efl_pack_begin was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + bool _ret_var = default(bool); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).PackBegin(subobj); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_pack_begin_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj); + } + } + + private static efl_pack_begin_delegate efl_pack_begin_static_delegate; + + [return: MarshalAs(UnmanagedType.U1)] + private delegate bool efl_pack_end_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj); + + [return: MarshalAs(UnmanagedType.U1)] + public delegate bool efl_pack_end_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj); + + public static Efl.Eo.FunctionWrapper efl_pack_end_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_end"); + + private static bool pack_end(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj) + { + Eina.Log.Debug("function efl_pack_end was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + bool _ret_var = default(bool); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).PackEnd(subobj); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_pack_end_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj); + } + } + + private static efl_pack_end_delegate efl_pack_end_static_delegate; + + [return: MarshalAs(UnmanagedType.U1)] + private delegate bool efl_pack_before_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity existing); + + [return: MarshalAs(UnmanagedType.U1)] + public delegate bool efl_pack_before_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity existing); + + public static Efl.Eo.FunctionWrapper efl_pack_before_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_before"); + + private static bool pack_before(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) + { + Eina.Log.Debug("function efl_pack_before was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + bool _ret_var = default(bool); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).PackBefore(subobj, existing); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_pack_before_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, existing); + } + } + + private static efl_pack_before_delegate efl_pack_before_static_delegate; + + [return: MarshalAs(UnmanagedType.U1)] + private delegate bool efl_pack_after_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity existing); + + [return: MarshalAs(UnmanagedType.U1)] + public delegate bool efl_pack_after_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity existing); + + public static Efl.Eo.FunctionWrapper efl_pack_after_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_after"); + + private static bool pack_after(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, Efl.Gfx.IEntity existing) + { + Eina.Log.Debug("function efl_pack_after was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + bool _ret_var = default(bool); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).PackAfter(subobj, existing); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_pack_after_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, existing); + } + } + + private static efl_pack_after_delegate efl_pack_after_static_delegate; + + [return: MarshalAs(UnmanagedType.U1)] + private delegate bool efl_pack_at_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj, int index); + + [return: MarshalAs(UnmanagedType.U1)] + public delegate bool efl_pack_at_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj, int index); + + public static Efl.Eo.FunctionWrapper efl_pack_at_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_at"); + + private static bool pack_at(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int index) + { + Eina.Log.Debug("function efl_pack_at was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + bool _ret_var = default(bool); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).PackAt(subobj, index); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_pack_at_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, index); + } + } + + private static efl_pack_at_delegate efl_pack_at_static_delegate; + + [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] + private delegate Efl.Gfx.IEntity efl_pack_content_get_delegate(System.IntPtr obj, System.IntPtr pd, int index); + + [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] + public delegate Efl.Gfx.IEntity efl_pack_content_get_api_delegate(System.IntPtr obj, int index); + + public static Efl.Eo.FunctionWrapper efl_pack_content_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_content_get"); + + private static Efl.Gfx.IEntity pack_content_get(System.IntPtr obj, System.IntPtr pd, int index) + { + Eina.Log.Debug("function efl_pack_content_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).GetPackContent(index); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_pack_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index); + } + } + + private static efl_pack_content_get_delegate efl_pack_content_get_static_delegate; + + + private delegate int efl_pack_index_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj); + + + public delegate int efl_pack_index_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj); + + public static Efl.Eo.FunctionWrapper efl_pack_index_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_index_get"); + + private static int pack_index_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj) + { + Eina.Log.Debug("function efl_pack_index_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + int _ret_var = default(int); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).GetPackIndex(subobj); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_pack_index_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj); + } + } + + private static efl_pack_index_get_delegate efl_pack_index_get_static_delegate; + + [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] + private delegate Efl.Gfx.IEntity efl_pack_unpack_at_delegate(System.IntPtr obj, System.IntPtr pd, int index); + + [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] + public delegate Efl.Gfx.IEntity efl_pack_unpack_at_api_delegate(System.IntPtr obj, int index); + + public static Efl.Eo.FunctionWrapper efl_pack_unpack_at_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_unpack_at"); + + private static Efl.Gfx.IEntity pack_unpack_at(System.IntPtr obj, System.IntPtr pd, int index) + { + Eina.Log.Debug("function efl_pack_unpack_at was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).PackUnpackAt(index); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_pack_unpack_at_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index); + } + } + + private static efl_pack_unpack_at_delegate efl_pack_unpack_at_static_delegate; + + [return: MarshalAs(UnmanagedType.U1)] + private delegate bool efl_pack_table_position_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan); + + [return: MarshalAs(UnmanagedType.U1)] + public delegate bool efl_pack_table_position_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan); + + public static Efl.Eo.FunctionWrapper efl_pack_table_position_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_table_position_get"); + + private static bool table_position_get(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, out int col, out int row, out int colspan, out int rowspan) + { + Eina.Log.Debug("function efl_pack_table_position_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + col = default(int); row = default(int); colspan = default(int); rowspan = default(int); bool _ret_var = default(bool); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).GetTablePosition(subobj, out col, out row, out colspan, out rowspan); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_pack_table_position_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, out col, out row, out colspan, out rowspan); + } + } + + private static efl_pack_table_position_get_delegate efl_pack_table_position_get_static_delegate; + + + private delegate void efl_pack_table_size_get_delegate(System.IntPtr obj, System.IntPtr pd, out int cols, out int rows); + + + public delegate void efl_pack_table_size_get_api_delegate(System.IntPtr obj, out int cols, out int rows); + + public static Efl.Eo.FunctionWrapper efl_pack_table_size_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_table_size_get"); + + private static void table_size_get(System.IntPtr obj, System.IntPtr pd, out int cols, out int rows) + { + Eina.Log.Debug("function efl_pack_table_size_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + cols = default(int); rows = default(int); + try + { + ((LayoutPartInvalid)ws.Target).GetTableSize(out cols, out rows); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_pack_table_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out cols, out rows); + } + } + + private static efl_pack_table_size_get_delegate efl_pack_table_size_get_static_delegate; + + + private delegate void efl_pack_table_size_set_delegate(System.IntPtr obj, System.IntPtr pd, int cols, int rows); + + + public delegate void efl_pack_table_size_set_api_delegate(System.IntPtr obj, int cols, int rows); + + public static Efl.Eo.FunctionWrapper efl_pack_table_size_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_table_size_set"); + + private static void table_size_set(System.IntPtr obj, System.IntPtr pd, int cols, int rows) + { + Eina.Log.Debug("function efl_pack_table_size_set was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).SetTableSize(cols, rows); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_pack_table_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cols, rows); + } + } + + private static efl_pack_table_size_set_delegate efl_pack_table_size_set_static_delegate; + + + private delegate int efl_pack_table_columns_get_delegate(System.IntPtr obj, System.IntPtr pd); + + + public delegate int efl_pack_table_columns_get_api_delegate(System.IntPtr obj); + + public static Efl.Eo.FunctionWrapper efl_pack_table_columns_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_table_columns_get"); + + private static int table_columns_get(System.IntPtr obj, System.IntPtr pd) + { + Eina.Log.Debug("function efl_pack_table_columns_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + int _ret_var = default(int); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).GetTableColumns(); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_pack_table_columns_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + } + } + + private static efl_pack_table_columns_get_delegate efl_pack_table_columns_get_static_delegate; + + + private delegate void efl_pack_table_columns_set_delegate(System.IntPtr obj, System.IntPtr pd, int cols); + + + public delegate void efl_pack_table_columns_set_api_delegate(System.IntPtr obj, int cols); + + public static Efl.Eo.FunctionWrapper efl_pack_table_columns_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_table_columns_set"); + + private static void table_columns_set(System.IntPtr obj, System.IntPtr pd, int cols) + { + Eina.Log.Debug("function efl_pack_table_columns_set was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).SetTableColumns(cols); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_pack_table_columns_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cols); + } + } + + private static efl_pack_table_columns_set_delegate efl_pack_table_columns_set_static_delegate; + + + private delegate int efl_pack_table_rows_get_delegate(System.IntPtr obj, System.IntPtr pd); + + + public delegate int efl_pack_table_rows_get_api_delegate(System.IntPtr obj); + + public static Efl.Eo.FunctionWrapper efl_pack_table_rows_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_table_rows_get"); + + private static int table_rows_get(System.IntPtr obj, System.IntPtr pd) + { + Eina.Log.Debug("function efl_pack_table_rows_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + int _ret_var = default(int); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).GetTableRows(); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_pack_table_rows_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + } + } + + private static efl_pack_table_rows_get_delegate efl_pack_table_rows_get_static_delegate; + + + private delegate void efl_pack_table_rows_set_delegate(System.IntPtr obj, System.IntPtr pd, int rows); + + + public delegate void efl_pack_table_rows_set_api_delegate(System.IntPtr obj, int rows); + + public static Efl.Eo.FunctionWrapper efl_pack_table_rows_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_table_rows_set"); + + private static void table_rows_set(System.IntPtr obj, System.IntPtr pd, int rows) + { + Eina.Log.Debug("function efl_pack_table_rows_set was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).SetTableRows(rows); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_pack_table_rows_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), rows); + } + } + + private static efl_pack_table_rows_set_delegate efl_pack_table_rows_set_static_delegate; + + [return: MarshalAs(UnmanagedType.U1)] + private delegate bool efl_pack_table_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj, int col, int row, int colspan, int rowspan); + + [return: MarshalAs(UnmanagedType.U1)] + public delegate bool efl_pack_table_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity subobj, int col, int row, int colspan, int rowspan); + + public static Efl.Eo.FunctionWrapper efl_pack_table_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_table"); + + private static bool pack_table(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int col, int row, int colspan, int rowspan) + { + Eina.Log.Debug("function efl_pack_table was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + bool _ret_var = default(bool); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).PackTable(subobj, col, row, colspan, rowspan); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_pack_table_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, col, row, colspan, rowspan); + } + } + + private static efl_pack_table_delegate efl_pack_table_static_delegate; + + + private delegate System.IntPtr efl_pack_table_contents_get_delegate(System.IntPtr obj, System.IntPtr pd, int col, int row, [MarshalAs(UnmanagedType.U1)] bool below); + + + public delegate System.IntPtr efl_pack_table_contents_get_api_delegate(System.IntPtr obj, int col, int row, [MarshalAs(UnmanagedType.U1)] bool below); + + public static Efl.Eo.FunctionWrapper efl_pack_table_contents_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_table_contents_get"); + + private static System.IntPtr table_contents_get(System.IntPtr obj, System.IntPtr pd, int col, int row, bool below) + { + Eina.Log.Debug("function efl_pack_table_contents_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + Eina.Iterator _ret_var = default(Eina.Iterator); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).GetTableContents(col, row, below); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + _ret_var.Own = false; return _ret_var.Handle; + + } + else + { + return efl_pack_table_contents_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), col, row, below); + } + } + + private static efl_pack_table_contents_get_delegate efl_pack_table_contents_get_static_delegate; + + [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] + private delegate Efl.Gfx.IEntity efl_pack_table_content_get_delegate(System.IntPtr obj, System.IntPtr pd, int col, int row); + + [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] + public delegate Efl.Gfx.IEntity efl_pack_table_content_get_api_delegate(System.IntPtr obj, int col, int row); + + public static Efl.Eo.FunctionWrapper efl_pack_table_content_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_pack_table_content_get"); + + private static Efl.Gfx.IEntity table_content_get(System.IntPtr obj, System.IntPtr pd, int col, int row) + { + Eina.Log.Debug("function efl_pack_table_content_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).GetTableContent(col, row); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_pack_table_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), col, row); + } + } + + private static efl_pack_table_content_get_delegate efl_pack_table_content_get_static_delegate; + + [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] + private delegate System.String efl_text_get_delegate(System.IntPtr obj, System.IntPtr pd); + + [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] + public delegate System.String efl_text_get_api_delegate(System.IntPtr obj); + + public static Efl.Eo.FunctionWrapper efl_text_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_get"); + + private static System.String text_get(System.IntPtr obj, System.IntPtr pd) + { + Eina.Log.Debug("function efl_text_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + System.String _ret_var = default(System.String); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).GetText(); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_text_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + } + } + + private static efl_text_get_delegate efl_text_get_static_delegate; + + + private delegate void efl_text_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text); + + + public delegate void efl_text_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text); + + public static Efl.Eo.FunctionWrapper efl_text_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_set"); + + private static void text_set(System.IntPtr obj, System.IntPtr pd, System.String text) + { + Eina.Log.Debug("function efl_text_set was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).SetText(text); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), text); + } + } + + private static efl_text_set_delegate efl_text_set_static_delegate; + + + private delegate Efl.TextCursorCursor efl_text_cursor_get_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorGetType get_type); + + + public delegate Efl.TextCursorCursor efl_text_cursor_get_api_delegate(System.IntPtr obj, Efl.TextCursorGetType get_type); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_get"); + + private static Efl.TextCursorCursor text_cursor_get(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorGetType get_type) + { + Eina.Log.Debug("function efl_text_cursor_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + Efl.TextCursorCursor _ret_var = default(Efl.TextCursorCursor); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).GetTextCursor(get_type); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_text_cursor_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), get_type); + } + } + + private static efl_text_cursor_get_delegate efl_text_cursor_get_static_delegate; + + + private delegate int efl_text_cursor_position_get_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); + + + public delegate int efl_text_cursor_position_get_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_position_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_position_get"); + + private static int cursor_position_get(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) + { + Eina.Log.Debug("function efl_text_cursor_position_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + int _ret_var = default(int); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).GetCursorPosition(cur); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_text_cursor_position_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); + } + } + + private static efl_text_cursor_position_get_delegate efl_text_cursor_position_get_static_delegate; + + + private delegate void efl_text_cursor_position_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int position); + + + public delegate void efl_text_cursor_position_set_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur, int position); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_position_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_position_set"); + + private static void cursor_position_set(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int position) + { + Eina.Log.Debug("function efl_text_cursor_position_set was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).SetCursorPosition(cur, position); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_cursor_position_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur, position); + } + } + + private static efl_text_cursor_position_set_delegate efl_text_cursor_position_set_static_delegate; + + + private delegate Eina.Unicode efl_text_cursor_content_get_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); + + + public delegate Eina.Unicode efl_text_cursor_content_get_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_content_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_content_get"); + + private static Eina.Unicode cursor_content_get(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) + { + Eina.Log.Debug("function efl_text_cursor_content_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + Eina.Unicode _ret_var = default(Eina.Unicode); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).GetCursorContent(cur); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_text_cursor_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); + } + } + + private static efl_text_cursor_content_get_delegate efl_text_cursor_content_get_static_delegate; + + [return: MarshalAs(UnmanagedType.U1)] + private delegate bool efl_text_cursor_geometry_get_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, Efl.TextCursorType ctype, out int cx, out int cy, out int cw, out int ch, out int cx2, out int cy2, out int cw2, out int ch2); + + [return: MarshalAs(UnmanagedType.U1)] + public delegate bool efl_text_cursor_geometry_get_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur, Efl.TextCursorType ctype, out int cx, out int cy, out int cw, out int ch, out int cx2, out int cy2, out int cw2, out int ch2); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_geometry_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_geometry_get"); + + private static bool cursor_geometry_get(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, Efl.TextCursorType ctype, out int cx, out int cy, out int cw, out int ch, out int cx2, out int cy2, out int cw2, out int ch2) + { + Eina.Log.Debug("function efl_text_cursor_geometry_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + cx = default(int); cy = default(int); cw = default(int); ch = default(int); cx2 = default(int); cy2 = default(int); cw2 = default(int); ch2 = default(int); bool _ret_var = default(bool); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).GetCursorGeometry(cur, ctype, out cx, out cy, out cw, out ch, out cx2, out cy2, out cw2, out ch2); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_text_cursor_geometry_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur, ctype, out cx, out cy, out cw, out ch, out cx2, out cy2, out cw2, out ch2); + } + } + + private static efl_text_cursor_geometry_get_delegate efl_text_cursor_geometry_get_static_delegate; + + + private delegate Efl.TextCursorCursor efl_text_cursor_new_delegate(System.IntPtr obj, System.IntPtr pd); + + + public delegate Efl.TextCursorCursor efl_text_cursor_new_api_delegate(System.IntPtr obj); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_new_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_new"); + + private static Efl.TextCursorCursor cursor_new(System.IntPtr obj, System.IntPtr pd) + { + Eina.Log.Debug("function efl_text_cursor_new was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + Efl.TextCursorCursor _ret_var = default(Efl.TextCursorCursor); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).NewCursor(); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_text_cursor_new_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + } + } + + private static efl_text_cursor_new_delegate efl_text_cursor_new_static_delegate; + + + private delegate void efl_text_cursor_free_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); + + + public delegate void efl_text_cursor_free_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_free_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_free"); + + private static void cursor_free(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) + { + Eina.Log.Debug("function efl_text_cursor_free was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).CursorFree(cur); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_cursor_free_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); + } + } + + private static efl_text_cursor_free_delegate efl_text_cursor_free_static_delegate; + + [return: MarshalAs(UnmanagedType.U1)] + private delegate bool efl_text_cursor_equal_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2); + + [return: MarshalAs(UnmanagedType.U1)] + public delegate bool efl_text_cursor_equal_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_equal_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_equal"); + + private static bool cursor_equal(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2) + { + Eina.Log.Debug("function efl_text_cursor_equal was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + bool _ret_var = default(bool); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).CursorEqual(cur1, cur2); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_text_cursor_equal_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur1, cur2); + } + } + + private static efl_text_cursor_equal_delegate efl_text_cursor_equal_static_delegate; + + + private delegate int efl_text_cursor_compare_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2); + + + public delegate int efl_text_cursor_compare_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_compare_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_compare"); + + private static int cursor_compare(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur1, Efl.TextCursorCursor cur2) + { + Eina.Log.Debug("function efl_text_cursor_compare was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + int _ret_var = default(int); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).CursorCompare(cur1, cur2); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_text_cursor_compare_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur1, cur2); + } + } + + private static efl_text_cursor_compare_delegate efl_text_cursor_compare_static_delegate; + + + private delegate void efl_text_cursor_copy_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor dst, Efl.TextCursorCursor src); + + + public delegate void efl_text_cursor_copy_api_delegate(System.IntPtr obj, Efl.TextCursorCursor dst, Efl.TextCursorCursor src); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_copy_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_copy"); + + private static void cursor_copy(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor dst, Efl.TextCursorCursor src) + { + Eina.Log.Debug("function efl_text_cursor_copy was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).CursorCopy(dst, src); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_cursor_copy_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dst, src); + } + } + + private static efl_text_cursor_copy_delegate efl_text_cursor_copy_static_delegate; + + + private delegate void efl_text_cursor_char_next_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); + + + public delegate void efl_text_cursor_char_next_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_char_next_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_char_next"); + + private static void cursor_char_next(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) + { + Eina.Log.Debug("function efl_text_cursor_char_next was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).CursorCharNext(cur); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_cursor_char_next_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); + } + } + + private static efl_text_cursor_char_next_delegate efl_text_cursor_char_next_static_delegate; + + + private delegate void efl_text_cursor_char_prev_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); + + + public delegate void efl_text_cursor_char_prev_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_char_prev_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_char_prev"); + + private static void cursor_char_prev(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) + { + Eina.Log.Debug("function efl_text_cursor_char_prev was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).CursorCharPrev(cur); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_cursor_char_prev_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); + } + } + + private static efl_text_cursor_char_prev_delegate efl_text_cursor_char_prev_static_delegate; + + + private delegate void efl_text_cursor_cluster_next_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); + + + public delegate void efl_text_cursor_cluster_next_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_cluster_next_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_cluster_next"); + + private static void cursor_cluster_next(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) + { + Eina.Log.Debug("function efl_text_cursor_cluster_next was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).CursorClusterNext(cur); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_cursor_cluster_next_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); + } + } + + private static efl_text_cursor_cluster_next_delegate efl_text_cursor_cluster_next_static_delegate; + + + private delegate void efl_text_cursor_cluster_prev_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); + + + public delegate void efl_text_cursor_cluster_prev_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_cluster_prev_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_cluster_prev"); + + private static void cursor_cluster_prev(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) + { + Eina.Log.Debug("function efl_text_cursor_cluster_prev was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).CursorClusterPrev(cur); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_cursor_cluster_prev_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); + } + } + + private static efl_text_cursor_cluster_prev_delegate efl_text_cursor_cluster_prev_static_delegate; + + + private delegate void efl_text_cursor_paragraph_char_first_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); + + + public delegate void efl_text_cursor_paragraph_char_first_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_paragraph_char_first_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_paragraph_char_first"); + + private static void cursor_paragraph_char_first(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) + { + Eina.Log.Debug("function efl_text_cursor_paragraph_char_first was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).CursorParagraphCharFirst(cur); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_cursor_paragraph_char_first_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); + } + } + + private static efl_text_cursor_paragraph_char_first_delegate efl_text_cursor_paragraph_char_first_static_delegate; + + + private delegate void efl_text_cursor_paragraph_char_last_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); + + + public delegate void efl_text_cursor_paragraph_char_last_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_paragraph_char_last_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_paragraph_char_last"); + + private static void cursor_paragraph_char_last(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) + { + Eina.Log.Debug("function efl_text_cursor_paragraph_char_last was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).CursorParagraphCharLast(cur); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_cursor_paragraph_char_last_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); + } + } + + private static efl_text_cursor_paragraph_char_last_delegate efl_text_cursor_paragraph_char_last_static_delegate; + + + private delegate void efl_text_cursor_word_start_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); + + + public delegate void efl_text_cursor_word_start_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_word_start_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_word_start"); + + private static void cursor_word_start(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) + { + Eina.Log.Debug("function efl_text_cursor_word_start was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).CursorWordStart(cur); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_cursor_word_start_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); + } + } + + private static efl_text_cursor_word_start_delegate efl_text_cursor_word_start_static_delegate; + + + private delegate void efl_text_cursor_word_end_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); + + + public delegate void efl_text_cursor_word_end_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_word_end_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_word_end"); + + private static void cursor_word_end(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) + { + Eina.Log.Debug("function efl_text_cursor_word_end was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).CursorWordEnd(cur); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_cursor_word_end_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); + } + } + + private static efl_text_cursor_word_end_delegate efl_text_cursor_word_end_static_delegate; + + + private delegate void efl_text_cursor_line_char_first_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); + + + public delegate void efl_text_cursor_line_char_first_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_line_char_first_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_line_char_first"); + + private static void cursor_line_char_first(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) + { + Eina.Log.Debug("function efl_text_cursor_line_char_first was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).CursorLineCharFirst(cur); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_cursor_line_char_first_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); + } + } + + private static efl_text_cursor_line_char_first_delegate efl_text_cursor_line_char_first_static_delegate; + + + private delegate void efl_text_cursor_line_char_last_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); + + + public delegate void efl_text_cursor_line_char_last_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_line_char_last_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_line_char_last"); + + private static void cursor_line_char_last(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) + { + Eina.Log.Debug("function efl_text_cursor_line_char_last was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).CursorLineCharLast(cur); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_cursor_line_char_last_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); + } + } + + private static efl_text_cursor_line_char_last_delegate efl_text_cursor_line_char_last_static_delegate; + + + private delegate void efl_text_cursor_paragraph_first_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); + + + public delegate void efl_text_cursor_paragraph_first_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_paragraph_first_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_paragraph_first"); + + private static void cursor_paragraph_first(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) + { + Eina.Log.Debug("function efl_text_cursor_paragraph_first was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).CursorParagraphFirst(cur); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_cursor_paragraph_first_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); + } + } + + private static efl_text_cursor_paragraph_first_delegate efl_text_cursor_paragraph_first_static_delegate; + + + private delegate void efl_text_cursor_paragraph_last_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); + + + public delegate void efl_text_cursor_paragraph_last_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_paragraph_last_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_paragraph_last"); + + private static void cursor_paragraph_last(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) + { + Eina.Log.Debug("function efl_text_cursor_paragraph_last was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).CursorParagraphLast(cur); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_cursor_paragraph_last_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); + } + } + + private static efl_text_cursor_paragraph_last_delegate efl_text_cursor_paragraph_last_static_delegate; + + + private delegate void efl_text_cursor_paragraph_next_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); + + + public delegate void efl_text_cursor_paragraph_next_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_paragraph_next_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_paragraph_next"); + + private static void cursor_paragraph_next(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) + { + Eina.Log.Debug("function efl_text_cursor_paragraph_next was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).CursorParagraphNext(cur); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_cursor_paragraph_next_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); + } + } + + private static efl_text_cursor_paragraph_next_delegate efl_text_cursor_paragraph_next_static_delegate; + + + private delegate void efl_text_cursor_paragraph_prev_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); + + + public delegate void efl_text_cursor_paragraph_prev_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_paragraph_prev_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_paragraph_prev"); + + private static void cursor_paragraph_prev(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) + { + Eina.Log.Debug("function efl_text_cursor_paragraph_prev was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).CursorParagraphPrev(cur); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_cursor_paragraph_prev_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); + } + } + + private static efl_text_cursor_paragraph_prev_delegate efl_text_cursor_paragraph_prev_static_delegate; + + + private delegate void efl_text_cursor_line_jump_by_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int by); + + + public delegate void efl_text_cursor_line_jump_by_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur, int by); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_line_jump_by_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_line_jump_by"); + + private static void cursor_line_jump_by(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int by) + { + Eina.Log.Debug("function efl_text_cursor_line_jump_by was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).CursorLineJumpBy(cur, by); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_cursor_line_jump_by_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur, by); + } + } + + private static efl_text_cursor_line_jump_by_delegate efl_text_cursor_line_jump_by_static_delegate; + + + private delegate void efl_text_cursor_coord_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int x, int y); + + + public delegate void efl_text_cursor_coord_set_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur, int x, int y); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_coord_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_coord_set"); + + private static void cursor_coord_set(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int x, int y) + { + Eina.Log.Debug("function efl_text_cursor_coord_set was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).SetCursorCoord(cur, x, y); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_cursor_coord_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur, x, y); + } + } + + private static efl_text_cursor_coord_set_delegate efl_text_cursor_coord_set_static_delegate; + + + private delegate void efl_text_cursor_cluster_coord_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int x, int y); + + + public delegate void efl_text_cursor_cluster_coord_set_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur, int x, int y); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_cluster_coord_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_cluster_coord_set"); + + private static void cursor_cluster_coord_set(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, int x, int y) + { + Eina.Log.Debug("function efl_text_cursor_cluster_coord_set was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).SetCursorClusterCoord(cur, x, y); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_cursor_cluster_coord_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur, x, y); + } + } + + private static efl_text_cursor_cluster_coord_set_delegate efl_text_cursor_cluster_coord_set_static_delegate; + + + private delegate int efl_text_cursor_text_insert_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text); + + + public delegate int efl_text_cursor_text_insert_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String text); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_text_insert_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_text_insert"); + + private static int cursor_text_insert(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, System.String text) + { + Eina.Log.Debug("function efl_text_cursor_text_insert was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + int _ret_var = default(int); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).CursorTextInsert(cur, text); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_text_cursor_text_insert_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur, text); + } + } + + private static efl_text_cursor_text_insert_delegate efl_text_cursor_text_insert_static_delegate; + + + private delegate void efl_text_cursor_char_delete_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur); + + + public delegate void efl_text_cursor_char_delete_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur); + + public static Efl.Eo.FunctionWrapper efl_text_cursor_char_delete_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_cursor_char_delete"); + + private static void cursor_char_delete(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur) + { + Eina.Log.Debug("function efl_text_cursor_char_delete was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).CursorCharDelete(cur); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_cursor_char_delete_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur); + } + } + + private static efl_text_cursor_char_delete_delegate efl_text_cursor_char_delete_static_delegate; + + [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] + private delegate System.String efl_text_markup_get_delegate(System.IntPtr obj, System.IntPtr pd); + + [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] + public delegate System.String efl_text_markup_get_api_delegate(System.IntPtr obj); + + public static Efl.Eo.FunctionWrapper efl_text_markup_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_markup_get"); + + private static System.String markup_get(System.IntPtr obj, System.IntPtr pd) + { + Eina.Log.Debug("function efl_text_markup_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + System.String _ret_var = default(System.String); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).GetMarkup(); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_text_markup_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + } + } + + private static efl_text_markup_get_delegate efl_text_markup_get_static_delegate; + + + private delegate void efl_text_markup_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String markup); + + + public delegate void efl_text_markup_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String markup); + + public static Efl.Eo.FunctionWrapper efl_text_markup_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_markup_set"); + + private static void markup_set(System.IntPtr obj, System.IntPtr pd, System.String markup) + { + Eina.Log.Debug("function efl_text_markup_set was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).SetMarkup(markup); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_markup_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), markup); + } + } + + private static efl_text_markup_set_delegate efl_text_markup_set_static_delegate; + + [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringPassOwnershipMarshaler))] + private delegate System.String efl_text_markup_interactive_markup_range_get_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor start, Efl.TextCursorCursor end); + + [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringPassOwnershipMarshaler))] + public delegate System.String efl_text_markup_interactive_markup_range_get_api_delegate(System.IntPtr obj, Efl.TextCursorCursor start, Efl.TextCursorCursor end); + + public static Efl.Eo.FunctionWrapper efl_text_markup_interactive_markup_range_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_markup_interactive_markup_range_get"); + + private static System.String markup_range_get(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor start, Efl.TextCursorCursor end) + { + Eina.Log.Debug("function efl_text_markup_interactive_markup_range_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + System.String _ret_var = default(System.String); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).GetMarkupRange(start, end); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_text_markup_interactive_markup_range_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), start, end); + } + } + + private static efl_text_markup_interactive_markup_range_get_delegate efl_text_markup_interactive_markup_range_get_static_delegate; + + + private delegate void efl_text_markup_interactive_markup_range_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor start, Efl.TextCursorCursor end, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringPassOwnershipMarshaler))] System.String markup); + + + public delegate void efl_text_markup_interactive_markup_range_set_api_delegate(System.IntPtr obj, Efl.TextCursorCursor start, Efl.TextCursorCursor end, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringPassOwnershipMarshaler))] System.String markup); + + public static Efl.Eo.FunctionWrapper efl_text_markup_interactive_markup_range_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_markup_interactive_markup_range_set"); + + private static void markup_range_set(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor start, Efl.TextCursorCursor end, System.String markup) + { + Eina.Log.Debug("function efl_text_markup_interactive_markup_range_set was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).SetMarkupRange(start, end, markup); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_markup_interactive_markup_range_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), start, end, markup); + } + } + + private static efl_text_markup_interactive_markup_range_set_delegate efl_text_markup_interactive_markup_range_set_static_delegate; + + + private delegate void efl_text_markup_interactive_cursor_markup_insert_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String markup); + + + public delegate void efl_text_markup_interactive_cursor_markup_insert_api_delegate(System.IntPtr obj, Efl.TextCursorCursor cur, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String markup); + + public static Efl.Eo.FunctionWrapper efl_text_markup_interactive_cursor_markup_insert_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_text_markup_interactive_cursor_markup_insert"); + + private static void cursor_markup_insert(System.IntPtr obj, System.IntPtr pd, Efl.TextCursorCursor cur, System.String markup) + { + Eina.Log.Debug("function efl_text_markup_interactive_cursor_markup_insert was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).CursorMarkupInsert(cur, markup); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_text_markup_interactive_cursor_markup_insert_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), cur, markup); + } + } + + private static efl_text_markup_interactive_cursor_markup_insert_delegate efl_text_markup_interactive_cursor_markup_insert_static_delegate; + + + private delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_delegate(System.IntPtr obj, System.IntPtr pd); + + + public delegate Efl.Ui.LayoutOrientation efl_ui_layout_orientation_get_api_delegate(System.IntPtr obj); + + public static Efl.Eo.FunctionWrapper efl_ui_layout_orientation_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_layout_orientation_get"); + + private static Efl.Ui.LayoutOrientation orientation_get(System.IntPtr obj, System.IntPtr pd) + { + Eina.Log.Debug("function efl_ui_layout_orientation_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + Efl.Ui.LayoutOrientation _ret_var = default(Efl.Ui.LayoutOrientation); + try + { + _ret_var = ((LayoutPartInvalid)ws.Target).GetOrientation(); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_ui_layout_orientation_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + } + } + + private static efl_ui_layout_orientation_get_delegate efl_ui_layout_orientation_get_static_delegate; + + + private delegate void efl_ui_layout_orientation_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.LayoutOrientation dir); + + + public delegate void efl_ui_layout_orientation_set_api_delegate(System.IntPtr obj, Efl.Ui.LayoutOrientation dir); + + public static Efl.Eo.FunctionWrapper efl_ui_layout_orientation_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_layout_orientation_set"); + + private static void orientation_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.LayoutOrientation dir) + { + Eina.Log.Debug("function efl_ui_layout_orientation_set was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((LayoutPartInvalid)ws.Target).SetOrientation(dir); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_ui_layout_orientation_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), dir); + } + } + + private static efl_ui_layout_orientation_set_delegate efl_ui_layout_orientation_set_static_delegate; + + #pragma warning restore CA1707, CS1591, SA1300, SA1600 + +} +} +} + +} + diff --git a/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part_swallow.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part_swallow.eo.cs index d65aae2b2..2b7a25cae 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part_swallow.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part_swallow.eo.cs @@ -84,7 +84,7 @@ public class LayoutPartSwallow : Efl.Canvas.LayoutPart, Efl.IContent }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Edje, key, callerCb, value); } } @@ -93,7 +93,7 @@ public class LayoutPartSwallow : Efl.Canvas.LayoutPart, Efl.IContent lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Edje, key, value); } } } @@ -101,7 +101,7 @@ public class LayoutPartSwallow : Efl.Canvas.LayoutPart, Efl.IContent public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Edje, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part_table.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part_table.eo.cs index accc5c39f..beb7bad69 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part_table.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_canvas_layout_part_table.eo.cs @@ -84,7 +84,7 @@ public class LayoutPartTable : Efl.Canvas.LayoutPart, Efl.IContainer, Efl.IPack, }; string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Edje, key, callerCb, value); } } @@ -93,7 +93,7 @@ public class LayoutPartTable : Efl.Canvas.LayoutPart, Efl.IContainer, Efl.IPack, lock (eventLock) { string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Edje, key, value); } } } @@ -101,7 +101,7 @@ public class LayoutPartTable : Efl.Canvas.LayoutPart, Efl.IContainer, Efl.IPack, public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Edje, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -139,7 +139,7 @@ public class LayoutPartTable : Efl.Canvas.LayoutPart, Efl.IContainer, Efl.IPack, }; string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Edje, key, callerCb, value); } } @@ -148,7 +148,7 @@ public class LayoutPartTable : Efl.Canvas.LayoutPart, Efl.IContainer, Efl.IPack, lock (eventLock) { string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Edje, key, value); } } } @@ -156,7 +156,7 @@ public class LayoutPartTable : Efl.Canvas.LayoutPart, Efl.IContainer, Efl.IPack, public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Edje, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_canvas_object.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_canvas_object.eo.cs index 483aed5db..48ebf2bea 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_canvas_object.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_canvas_object.eo.cs @@ -537,7 +537,7 @@ public abstract class Object : Efl.LoopConsumer, Efl.Canvas.IPointer, Efl.Gestur }; string key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value); } } @@ -546,7 +546,7 @@ public abstract class Object : Efl.LoopConsumer, Efl.Canvas.IPointer, Efl.Gestur lock (eventLock) { string key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Evas, key, value); } } } @@ -554,7 +554,7 @@ public abstract class Object : Efl.LoopConsumer, Efl.Canvas.IPointer, Efl.Gestur public void OnVisibilityChangedEvt(Efl.Gfx.IEntityVisibilityChangedEvt_Args e) { var key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -599,7 +599,7 @@ public abstract class Object : Efl.LoopConsumer, Efl.Canvas.IPointer, Efl.Gestur }; string key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value); } } @@ -608,7 +608,7 @@ public abstract class Object : Efl.LoopConsumer, Efl.Canvas.IPointer, Efl.Gestur lock (eventLock) { string key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Evas, key, value); } } } @@ -616,7 +616,7 @@ public abstract class Object : Efl.LoopConsumer, Efl.Canvas.IPointer, Efl.Gestur public void OnPositionChangedEvt(Efl.Gfx.IEntityPositionChangedEvt_Args e) { var key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -662,7 +662,7 @@ public abstract class Object : Efl.LoopConsumer, Efl.Canvas.IPointer, Efl.Gestur }; string key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value); } } @@ -671,7 +671,7 @@ public abstract class Object : Efl.LoopConsumer, Efl.Canvas.IPointer, Efl.Gestur lock (eventLock) { string key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Evas, key, value); } } } @@ -679,7 +679,7 @@ public abstract class Object : Efl.LoopConsumer, Efl.Canvas.IPointer, Efl.Gestur public void OnSizeChangedEvt(Efl.Gfx.IEntitySizeChangedEvt_Args e) { var key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -724,7 +724,7 @@ public abstract class Object : Efl.LoopConsumer, Efl.Canvas.IPointer, Efl.Gestur }; string key = "_EFL_GFX_ENTITY_EVENT_HINTS_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value); } } @@ -733,7 +733,7 @@ public abstract class Object : Efl.LoopConsumer, Efl.Canvas.IPointer, Efl.Gestur lock (eventLock) { string key = "_EFL_GFX_ENTITY_EVENT_HINTS_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Evas, key, value); } } } @@ -741,7 +741,7 @@ public abstract class Object : Efl.LoopConsumer, Efl.Canvas.IPointer, Efl.Gestur public void OnHintsChangedEvt(EventArgs e) { var key = "_EFL_GFX_ENTITY_EVENT_HINTS_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -777,7 +777,7 @@ public abstract class Object : Efl.LoopConsumer, Efl.Canvas.IPointer, Efl.Gestur }; string key = "_EFL_GFX_ENTITY_EVENT_STACKING_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value); } } @@ -786,7 +786,7 @@ public abstract class Object : Efl.LoopConsumer, Efl.Canvas.IPointer, Efl.Gestur lock (eventLock) { string key = "_EFL_GFX_ENTITY_EVENT_STACKING_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Evas, key, value); } } } @@ -794,7 +794,7 @@ public abstract class Object : Efl.LoopConsumer, Efl.Canvas.IPointer, Efl.Gestur public void OnStackingChangedEvt(EventArgs e) { var key = "_EFL_GFX_ENTITY_EVENT_STACKING_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1902,7 +1902,7 @@ public abstract class Object : Efl.LoopConsumer, Efl.Canvas.IPointer, Efl.Gestur /// This can be different from because this one is used internally for rendering and the normal parent is what the user expects to be the parent. /// (Since EFL 1.22) /// The parent smart object of obj or null. - virtual public Efl.Canvas.Object GetRenderParent() { + virtual protected Efl.Canvas.Object GetRenderParent() { var _ret_var = Efl.Canvas.Object.NativeMethods.efl_canvas_object_render_parent_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; @@ -2996,7 +2996,7 @@ public abstract class Object : Efl.LoopConsumer, Efl.Canvas.IPointer, Efl.Gestur /// This can be different from because this one is used internally for rendering and the normal parent is what the user expects to be the parent. /// (Since EFL 1.22) /// The parent smart object of obj or null. - public Efl.Canvas.Object RenderParent { + protected Efl.Canvas.Object RenderParent { get { return GetRenderParent(); } } /// This handles text paragraph direction of the given object. Even if the given object is not textblock or text, its smart child objects can inherit the paragraph direction from the given object. The default paragraph direction is inherit. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_canvas_pointer.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_canvas_pointer.eo.cs index 03658a6af..601f37e5d 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_canvas_pointer.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_canvas_pointer.eo.cs @@ -49,7 +49,7 @@ sealed public class IPointerConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_canvas_pointer_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_canvas_scene.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_canvas_scene.eo.cs index 471d1ed00..682db6b6f 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_canvas_scene.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_canvas_scene.eo.cs @@ -98,10 +98,10 @@ Efl.Gfx.IEntity GetObjectTopInRectangle(Eina.Rect rect, bool include_pass_events Eina.Iterator Seats(); /// Called when scene got focus /// (Since EFL 1.22) - event EventHandler SceneFocusInEvt; + event EventHandler SceneFocusInEvt; /// Called when scene lost focus /// (Since EFL 1.22) - event EventHandler SceneFocusOutEvt; + event EventHandler SceneFocusOutEvt; /// Called when object got focus /// (Since EFL 1.22) event EventHandler ObjectFocusInEvt; @@ -139,16 +139,6 @@ Eina.Iterator Seats(); get ; } } -///Event argument wrapper for event . -public class ISceneSceneFocusInEvt_Args : EventArgs { - ///Actual event payload. - public Efl.Input.Focus arg { get; set; } -} -///Event argument wrapper for event . -public class ISceneSceneFocusOutEvt_Args : EventArgs { - ///Actual event payload. - public Efl.Input.Focus arg { get; set; } -} ///Event argument wrapper for event . public class ISceneObjectFocusInEvt_Args : EventArgs { ///Actual event payload. @@ -202,7 +192,7 @@ sealed public class ISceneConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_canvas_scene_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. @@ -212,7 +202,7 @@ sealed public class ISceneConcrete : /// Called when scene got focus /// (Since EFL 1.22) - public event EventHandler SceneFocusInEvt + public event EventHandler SceneFocusInEvt { add { @@ -223,8 +213,7 @@ sealed public class ISceneConcrete : var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { - Efl.Canvas.ISceneSceneFocusInEvt_Args args = new Efl.Canvas.ISceneSceneFocusInEvt_Args(); - args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Input.Focus); + EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); @@ -252,7 +241,7 @@ sealed public class ISceneConcrete : } } ///Method to raise event SceneFocusInEvt. - public void OnSceneFocusInEvt(Efl.Canvas.ISceneSceneFocusInEvt_Args e) + public void OnSceneFocusInEvt(EventArgs e) { var key = "_EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_IN"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); @@ -262,12 +251,11 @@ sealed public class ISceneConcrete : return; } - IntPtr info = e.arg.NativeHandle; - Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); + Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Called when scene lost focus /// (Since EFL 1.22) - public event EventHandler SceneFocusOutEvt + public event EventHandler SceneFocusOutEvt { add { @@ -278,8 +266,7 @@ sealed public class ISceneConcrete : var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { - Efl.Canvas.ISceneSceneFocusOutEvt_Args args = new Efl.Canvas.ISceneSceneFocusOutEvt_Args(); - args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Input.Focus); + EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); @@ -307,7 +294,7 @@ sealed public class ISceneConcrete : } } ///Method to raise event SceneFocusOutEvt. - public void OnSceneFocusOutEvt(Efl.Canvas.ISceneSceneFocusOutEvt_Args e) + public void OnSceneFocusOutEvt(EventArgs e) { var key = "_EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_OUT"; IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); @@ -317,8 +304,7 @@ sealed public class ISceneConcrete : return; } - IntPtr info = e.arg.NativeHandle; - Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); + Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Called when object got focus /// (Since EFL 1.22) diff --git a/internals/src/EflSharp/EflSharp/efl/efl_canvas_vg_node.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_canvas_vg_node.eo.cs index 19f02cc2e..3dd7ceea0 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_canvas_vg_node.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_canvas_vg_node.eo.cs @@ -92,7 +92,7 @@ public abstract class Node : Efl.Object, Efl.IDuplicate, Efl.Gfx.IColor, Efl.Gfx }; string key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value); } } @@ -101,7 +101,7 @@ public abstract class Node : Efl.Object, Efl.IDuplicate, Efl.Gfx.IColor, Efl.Gfx lock (eventLock) { string key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Evas, key, value); } } } @@ -109,7 +109,7 @@ public abstract class Node : Efl.Object, Efl.IDuplicate, Efl.Gfx.IColor, Efl.Gfx public void OnVisibilityChangedEvt(Efl.Gfx.IEntityVisibilityChangedEvt_Args e) { var key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -154,7 +154,7 @@ public abstract class Node : Efl.Object, Efl.IDuplicate, Efl.Gfx.IColor, Efl.Gfx }; string key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value); } } @@ -163,7 +163,7 @@ public abstract class Node : Efl.Object, Efl.IDuplicate, Efl.Gfx.IColor, Efl.Gfx lock (eventLock) { string key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Evas, key, value); } } } @@ -171,7 +171,7 @@ public abstract class Node : Efl.Object, Efl.IDuplicate, Efl.Gfx.IColor, Efl.Gfx public void OnPositionChangedEvt(Efl.Gfx.IEntityPositionChangedEvt_Args e) { var key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -217,7 +217,7 @@ public abstract class Node : Efl.Object, Efl.IDuplicate, Efl.Gfx.IColor, Efl.Gfx }; string key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value); } } @@ -226,7 +226,7 @@ public abstract class Node : Efl.Object, Efl.IDuplicate, Efl.Gfx.IColor, Efl.Gfx lock (eventLock) { string key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Evas, key, value); } } } @@ -234,7 +234,7 @@ public abstract class Node : Efl.Object, Efl.IDuplicate, Efl.Gfx.IColor, Efl.Gfx public void OnSizeChangedEvt(Efl.Gfx.IEntitySizeChangedEvt_Args e) { var key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -279,7 +279,7 @@ public abstract class Node : Efl.Object, Efl.IDuplicate, Efl.Gfx.IColor, Efl.Gfx }; string key = "_EFL_GFX_ENTITY_EVENT_STACKING_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Evas, key, callerCb, value); } } @@ -288,7 +288,7 @@ public abstract class Node : Efl.Object, Efl.IDuplicate, Efl.Gfx.IColor, Efl.Gfx lock (eventLock) { string key = "_EFL_GFX_ENTITY_EVENT_STACKING_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Evas, key, value); } } } @@ -296,7 +296,7 @@ public abstract class Node : Efl.Object, Efl.IDuplicate, Efl.Gfx.IColor, Efl.Gfx public void OnStackingChangedEvt(EventArgs e) { var key = "_EFL_GFX_ENTITY_EVENT_STACKING_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Evas, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_class.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_class.eo.cs deleted file mode 100644 index 745b9ac11..000000000 --- a/internals/src/EflSharp/EflSharp/efl/efl_class.eo.cs +++ /dev/null @@ -1,93 +0,0 @@ -#pragma warning disable CS1591 -using System; -using System.Runtime.InteropServices; -using System.Collections.Generic; -using System.Linq; -using System.Threading; -using System.ComponentModel; -namespace Efl { - -/// Abstract Efl class -/// (Since EFL 1.22) -[Efl.Class.NativeMethods] -public abstract class Class : Efl.Eo.EoWrapper -{ - ///Pointer to the native class description. - public override System.IntPtr NativeClass - { - get - { - if (((object)this).GetType() == typeof(Class)) - { - return GetEflClassStatic(); - } - else - { - return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()]; - } - } - } - - [System.Runtime.InteropServices.DllImport(efl.Libs.Eo)] internal static extern System.IntPtr - efl_class_class_get(); - /// Initializes a new instance of the class. - /// Parent instance. - public Class(Efl.Object parent= null - ) : base(efl_class_class_get(), typeof(Class), parent) - { - FinishInstantiation(); - } - - /// Initializes a new instance of the class. - /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly. - /// The native pointer to be wrapped. - protected Class(System.IntPtr raw) : base(raw) - { - } - - [Efl.Eo.PrivateNativeClass] - private class ClassRealized : Class - { - private ClassRealized(IntPtr ptr) : base(ptr) - { - } - } - /// Initializes a new instance of the class. - /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly. - /// The pointer to the base native Eo class. - /// The managed type of the public constructor that originated this call. - /// The Efl.Object parent of this instance. - protected Class(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent) - { - } - - private static IntPtr GetEflClassStatic() - { - return Efl.Class.efl_class_class_get(); - } - /// Wrapper for native methods and virtual method delegates. - /// For internal use by generated code only. - public class NativeMethods : Efl.Eo.NativeClass - { - /// Gets the list of Eo operations to override. - /// The list of Eo operations to be overload. - public override System.Collections.Generic.List GetEoOps(System.Type type) - { - var descs = new System.Collections.Generic.List(); - return descs; - } - /// Returns the Eo class for the native methods of this class. - /// The native class pointer. - public override IntPtr GetEflClass() - { - return Efl.Class.efl_class_class_get(); - } - - #pragma warning disable CA1707, CS1591, SA1300, SA1600 - - #pragma warning restore CA1707, CS1591, SA1300, SA1600 - -} -} -} - diff --git a/internals/src/EflSharp/EflSharp/efl/efl_config.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_config.eo.cs index 93d9c8ffc..d49ace5a4 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_config.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_config.eo.cs @@ -44,7 +44,7 @@ sealed public class IConfigConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_config_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_config_global.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_config_global.eo.cs index 9f96c02ce..6a00041b1 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_config_global.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_config_global.eo.cs @@ -80,7 +80,7 @@ public class ConfigGlobal : Efl.Object, Efl.IConfig /// If profile is not null, this will take the current in-memory config and write it out to the named profile. This will not change profile for the application or make other processes switch profile. /// The profile name. /// true on success, false otherwise - virtual public bool Save(System.String profile) { + virtual protected bool Save(System.String profile) { var _ret_var = Efl.ConfigGlobal.NativeMethods.efl_config_save_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),profile); Eina.Error.RaiseIfUnhandledException(); return _ret_var; @@ -116,7 +116,7 @@ public class ConfigGlobal : Efl.Object, Efl.IConfig /// At this point it is not expected that anyone would generally use this API except if you are a desktop environment and so the user base of this API will be enlightenment itself. /// The new profile's name. /// Derive options detailing how to modify. - virtual public void AddProfileDerived(System.String profile, System.String options) { + virtual protected void AddProfileDerived(System.String profile, System.String options) { Efl.ConfigGlobal.NativeMethods.efl_config_profile_derived_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),profile, options); Eina.Error.RaiseIfUnhandledException(); } @@ -125,7 +125,7 @@ public class ConfigGlobal : Efl.Object, Efl.IConfig /// /// At this point it is not expected that anyone would generally use this API except if you are a desktop environment and so the user base of this API will be enlightenment itself. /// The name of the profile that is to be deleted. - virtual public void DelProfileDerived(System.String profile) { + virtual protected void DelProfileDerived(System.String profile) { Efl.ConfigGlobal.NativeMethods.efl_config_profile_derived_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),profile); Eina.Error.RaiseIfUnhandledException(); } diff --git a/internals/src/EflSharp/EflSharp/efl/efl_container.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_container.eo.cs index 5c59d6835..bfa3524ac 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_container.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_container.eo.cs @@ -63,7 +63,7 @@ sealed public class IContainerConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_container_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_content.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_content.eo.cs index b8afe5eb4..0a842f466 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_content.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_content.eo.cs @@ -70,7 +70,7 @@ sealed public class IContentConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_content_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_control.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_control.eo.cs index 7296dc05f..29c9b6ce2 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_control.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_control.eo.cs @@ -59,7 +59,7 @@ sealed public class IControlConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_control_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_core_command_line.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_core_command_line.eo.cs index 3132a8ba4..e601d26c7 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_core_command_line.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_core_command_line.eo.cs @@ -238,7 +238,7 @@ array.OwnContent = false; System.String _ret_var = default(System.String); try { - _ret_var = ((ICommandLineConcrete)ws.Target).GetCommand(); + _ret_var = ((ICommandLine)ws.Target).GetCommand(); } catch (Exception e) { @@ -275,7 +275,7 @@ array.OwnContent = false; bool _ret_var = default(bool); try { - _ret_var = ((ICommandLineConcrete)ws.Target).SetCommandArray(_in_array); + _ret_var = ((ICommandLine)ws.Target).SetCommandArray(_in_array); } catch (Exception e) { @@ -311,7 +311,7 @@ array.OwnContent = false; bool _ret_var = default(bool); try { - _ret_var = ((ICommandLineConcrete)ws.Target).SetCommandString(str); + _ret_var = ((ICommandLine)ws.Target).SetCommandString(str); } catch (Exception e) { @@ -347,7 +347,7 @@ array.OwnContent = false; Eina.Accessor _ret_var = default(Eina.Accessor); try { - _ret_var = ((ICommandLineConcrete)ws.Target).CommandAccess(); + _ret_var = ((ICommandLine)ws.Target).CommandAccess(); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_duplicate.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_duplicate.eo.cs index dd5b67bff..6ce8b06a2 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_duplicate.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_duplicate.eo.cs @@ -41,7 +41,7 @@ sealed public class IDuplicateConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_duplicate_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_exe.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_exe.eo.cs index 330177aec..f0b55e8e2 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_exe.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_exe.eo.cs @@ -80,7 +80,7 @@ public class Exe : Efl.Task, Efl.Core.ICommandLine, Efl.Io.ICloser, Efl.Io.IRead }; string key = "_EFL_IO_CLOSER_EVENT_CLOSED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Ecore, key, callerCb, value); } } @@ -89,7 +89,7 @@ public class Exe : Efl.Task, Efl.Core.ICommandLine, Efl.Io.ICloser, Efl.Io.IRead lock (eventLock) { string key = "_EFL_IO_CLOSER_EVENT_CLOSED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Ecore, key, value); } } } @@ -97,7 +97,7 @@ public class Exe : Efl.Task, Efl.Core.ICommandLine, Efl.Io.ICloser, Efl.Io.IRead public void OnClosedEvt(EventArgs e) { var key = "_EFL_IO_CLOSER_EVENT_CLOSED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Ecore, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -137,7 +137,7 @@ public class Exe : Efl.Task, Efl.Core.ICommandLine, Efl.Io.ICloser, Efl.Io.IRead }; string key = "_EFL_IO_READER_EVENT_CAN_READ_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Ecore, key, callerCb, value); } } @@ -146,7 +146,7 @@ public class Exe : Efl.Task, Efl.Core.ICommandLine, Efl.Io.ICloser, Efl.Io.IRead lock (eventLock) { string key = "_EFL_IO_READER_EVENT_CAN_READ_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Ecore, key, value); } } } @@ -154,7 +154,7 @@ public class Exe : Efl.Task, Efl.Core.ICommandLine, Efl.Io.ICloser, Efl.Io.IRead public void OnCanReadChangedEvt(Efl.Io.IReaderCanReadChangedEvt_Args e) { var key = "_EFL_IO_READER_EVENT_CAN_READ_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Ecore, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -203,7 +203,7 @@ public class Exe : Efl.Task, Efl.Core.ICommandLine, Efl.Io.ICloser, Efl.Io.IRead }; string key = "_EFL_IO_READER_EVENT_EOS"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Ecore, key, callerCb, value); } } @@ -212,7 +212,7 @@ public class Exe : Efl.Task, Efl.Core.ICommandLine, Efl.Io.ICloser, Efl.Io.IRead lock (eventLock) { string key = "_EFL_IO_READER_EVENT_EOS"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Ecore, key, value); } } } @@ -220,7 +220,7 @@ public class Exe : Efl.Task, Efl.Core.ICommandLine, Efl.Io.ICloser, Efl.Io.IRead public void OnEosEvt(EventArgs e) { var key = "_EFL_IO_READER_EVENT_EOS"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Ecore, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -260,7 +260,7 @@ public class Exe : Efl.Task, Efl.Core.ICommandLine, Efl.Io.ICloser, Efl.Io.IRead }; string key = "_EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Ecore, key, callerCb, value); } } @@ -269,7 +269,7 @@ public class Exe : Efl.Task, Efl.Core.ICommandLine, Efl.Io.ICloser, Efl.Io.IRead lock (eventLock) { string key = "_EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Ecore, key, value); } } } @@ -277,7 +277,7 @@ public class Exe : Efl.Task, Efl.Core.ICommandLine, Efl.Io.ICloser, Efl.Io.IRead public void OnCanWriteChangedEvt(Efl.Io.IWriterCanWriteChangedEvt_Args e) { var key = "_EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Ecore, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_file.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_file.eo.cs index 6cff0da67..6be5a90aa 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_file.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_file.eo.cs @@ -118,7 +118,7 @@ sealed public class IFileConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_file_mixin_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. @@ -375,7 +375,7 @@ sealed public class IFileConcrete : Eina.File _ret_var = default(Eina.File); try { - _ret_var = ((IFileConcrete)ws.Target).GetMmap(); + _ret_var = ((IFile)ws.Target).GetMmap(); } catch (Exception e) { @@ -411,7 +411,7 @@ sealed public class IFileConcrete : Eina.Error _ret_var = default(Eina.Error); try { - _ret_var = ((IFileConcrete)ws.Target).SetMmap(f); + _ret_var = ((IFile)ws.Target).SetMmap(f); } catch (Exception e) { @@ -447,7 +447,7 @@ sealed public class IFileConcrete : System.String _ret_var = default(System.String); try { - _ret_var = ((IFileConcrete)ws.Target).GetFile(); + _ret_var = ((IFile)ws.Target).GetFile(); } catch (Exception e) { @@ -483,7 +483,7 @@ sealed public class IFileConcrete : Eina.Error _ret_var = default(Eina.Error); try { - _ret_var = ((IFileConcrete)ws.Target).SetFile(file); + _ret_var = ((IFile)ws.Target).SetFile(file); } catch (Exception e) { @@ -519,7 +519,7 @@ sealed public class IFileConcrete : System.String _ret_var = default(System.String); try { - _ret_var = ((IFileConcrete)ws.Target).GetKey(); + _ret_var = ((IFile)ws.Target).GetKey(); } catch (Exception e) { @@ -555,7 +555,7 @@ sealed public class IFileConcrete : try { - ((IFileConcrete)ws.Target).SetKey(key); + ((IFile)ws.Target).SetKey(key); } catch (Exception e) { @@ -590,7 +590,7 @@ sealed public class IFileConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IFileConcrete)ws.Target).GetLoaded(); + _ret_var = ((IFile)ws.Target).GetLoaded(); } catch (Exception e) { @@ -626,7 +626,7 @@ sealed public class IFileConcrete : Eina.Error _ret_var = default(Eina.Error); try { - _ret_var = ((IFileConcrete)ws.Target).Load(); + _ret_var = ((IFile)ws.Target).Load(); } catch (Exception e) { @@ -662,7 +662,7 @@ sealed public class IFileConcrete : try { - ((IFileConcrete)ws.Target).Unload(); + ((IFile)ws.Target).Unload(); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_file_save.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_file_save.eo.cs index e68409f19..e780924a1 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_file_save.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_file_save.eo.cs @@ -47,7 +47,7 @@ sealed public class IFileSaveConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_file_save_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_arrangement.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_arrangement.eo.cs index fae907ecc..014d45902 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_arrangement.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_arrangement.eo.cs @@ -55,7 +55,7 @@ sealed public class IArrangementConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_gfx_arrangement_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_blur.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_blur.eo.cs index bedf4d7fd..18e714732 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_blur.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_blur.eo.cs @@ -78,7 +78,7 @@ sealed public class IBlurConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_gfx_blur_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_buffer.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_buffer.eo.cs index 75db86d6a..31ee79e6b 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_buffer.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_buffer.eo.cs @@ -153,7 +153,7 @@ sealed public class IBufferConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_gfx_buffer_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_color.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_color.eo.cs index c1a77a2b4..ac48c1b19 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_color.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_color.eo.cs @@ -70,7 +70,7 @@ sealed public class IColorConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_gfx_color_mixin_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. @@ -206,7 +206,7 @@ sealed public class IColorConcrete : r = default(int); g = default(int); b = default(int); a = default(int); try { - ((IColorConcrete)ws.Target).GetColor(out r, out g, out b, out a); + ((IColor)ws.Target).GetColor(out r, out g, out b, out a); } catch (Exception e) { @@ -241,7 +241,7 @@ sealed public class IColorConcrete : try { - ((IColorConcrete)ws.Target).SetColor(r, g, b, a); + ((IColor)ws.Target).SetColor(r, g, b, a); } catch (Exception e) { @@ -276,7 +276,7 @@ sealed public class IColorConcrete : System.String _ret_var = default(System.String); try { - _ret_var = ((IColorConcrete)ws.Target).GetColorCode(); + _ret_var = ((IColor)ws.Target).GetColorCode(); } catch (Exception e) { @@ -312,7 +312,7 @@ sealed public class IColorConcrete : try { - ((IColorConcrete)ws.Target).SetColorCode(colorcode); + ((IColor)ws.Target).SetColorCode(colorcode); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_color_class.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_color_class.eo.cs index a3fafd2fb..09ee06003 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_color_class.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_color_class.eo.cs @@ -108,7 +108,7 @@ sealed public class IColorClassConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_gfx_color_class_mixin_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. @@ -327,7 +327,7 @@ sealed public class IColorClassConcrete : r = default(int); g = default(int); b = default(int); a = default(int); bool _ret_var = default(bool); try { - _ret_var = ((IColorClassConcrete)ws.Target).GetColorClass(color_class, layer, out r, out g, out b, out a); + _ret_var = ((IColorClass)ws.Target).GetColorClass(color_class, layer, out r, out g, out b, out a); } catch (Exception e) { @@ -363,7 +363,7 @@ sealed public class IColorClassConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IColorClassConcrete)ws.Target).SetColorClass(color_class, layer, r, g, b, a); + _ret_var = ((IColorClass)ws.Target).SetColorClass(color_class, layer, r, g, b, a); } catch (Exception e) { @@ -399,7 +399,7 @@ sealed public class IColorClassConcrete : System.String _ret_var = default(System.String); try { - _ret_var = ((IColorClassConcrete)ws.Target).GetColorClassCode(color_class, layer); + _ret_var = ((IColorClass)ws.Target).GetColorClassCode(color_class, layer); } catch (Exception e) { @@ -435,7 +435,7 @@ sealed public class IColorClassConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IColorClassConcrete)ws.Target).SetColorClassCode(color_class, layer, colorcode); + _ret_var = ((IColorClass)ws.Target).SetColorClassCode(color_class, layer, colorcode); } catch (Exception e) { @@ -471,7 +471,7 @@ sealed public class IColorClassConcrete : System.String _ret_var = default(System.String); try { - _ret_var = ((IColorClassConcrete)ws.Target).GetColorClassDescription(color_class); + _ret_var = ((IColorClass)ws.Target).GetColorClassDescription(color_class); } catch (Exception e) { @@ -507,7 +507,7 @@ sealed public class IColorClassConcrete : try { - ((IColorClassConcrete)ws.Target).DelColorClass(color_class); + ((IColorClass)ws.Target).DelColorClass(color_class); } catch (Exception e) { @@ -542,7 +542,7 @@ sealed public class IColorClassConcrete : try { - ((IColorClassConcrete)ws.Target).ClearColorClass(); + ((IColorClass)ws.Target).ClearColorClass(); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_entity.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_entity.eo.cs index 80eb4a0c5..8e59cb139 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_entity.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_entity.eo.cs @@ -146,7 +146,7 @@ sealed public class IEntityConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_gfx_entity_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_fill.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_fill.eo.cs index 0859a0a1f..4ed5b073e 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_fill.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_fill.eo.cs @@ -85,7 +85,7 @@ sealed public class IFillConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_gfx_fill_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_filter.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_filter.eo.cs index f1d626c6d..9d4d48c0e 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_filter.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_filter.eo.cs @@ -108,7 +108,7 @@ sealed public class IFilterConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_gfx_filter_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_frame_controller.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_frame_controller.eo.cs index 7c3da0715..65ab85906 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_frame_controller.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_frame_controller.eo.cs @@ -116,7 +116,7 @@ sealed public class IFrameControllerConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_gfx_frame_controller_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_gradient.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_gradient.eo.cs index 8672e41e4..6ed7489c6 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_gradient.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_gradient.eo.cs @@ -57,7 +57,7 @@ sealed public class IGradientConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_gfx_gradient_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_gradient_linear.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_gradient_linear.eo.cs index c29e4d9b4..bfe253bfd 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_gradient_linear.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_gradient_linear.eo.cs @@ -54,7 +54,7 @@ sealed public class IGradientLinearConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_gfx_gradient_linear_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_gradient_radial.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_gradient_radial.eo.cs index 9d53e31d3..513ccdc86 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_gradient_radial.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_gradient_radial.eo.cs @@ -66,7 +66,7 @@ sealed public class IGradientRadialConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_gfx_gradient_radial_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_hint.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_hint.eo.cs index 8699b8b29..9b587712b 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_hint.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_hint.eo.cs @@ -261,7 +261,7 @@ sealed public class IHintConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_gfx_hint_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_image.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_image.eo.cs index 81d60b47d..c44d92df2 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_image.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_image.eo.cs @@ -208,7 +208,7 @@ sealed public class IImageConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_gfx_image_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_image_load_controller.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_image_load_controller.eo.cs index 25a794d1e..499094c40 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_image_load_controller.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_image_load_controller.eo.cs @@ -157,7 +157,7 @@ sealed public class IImageLoadControllerConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_gfx_image_load_controller_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_image_orientable.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_image_orientable.eo.cs index cf23043a1..922dd840c 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_image_orientable.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_image_orientable.eo.cs @@ -52,7 +52,7 @@ sealed public class IImageOrientableConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_gfx_image_orientable_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_mapping.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_mapping.eo.cs index 32be00609..837a5e192 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_mapping.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_mapping.eo.cs @@ -1078,7 +1078,7 @@ sealed public class IMappingConcrete : int _ret_var = default(int); try { - _ret_var = ((IMappingConcrete)ws.Target).GetMappingPointCount(); + _ret_var = ((IMapping)ws.Target).GetMappingPointCount(); } catch (Exception e) { @@ -1114,7 +1114,7 @@ sealed public class IMappingConcrete : try { - ((IMappingConcrete)ws.Target).SetMappingPointCount(count); + ((IMapping)ws.Target).SetMappingPointCount(count); } catch (Exception e) { @@ -1149,7 +1149,7 @@ sealed public class IMappingConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IMappingConcrete)ws.Target).GetMappingClockwise(); + _ret_var = ((IMapping)ws.Target).GetMappingClockwise(); } catch (Exception e) { @@ -1185,7 +1185,7 @@ sealed public class IMappingConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IMappingConcrete)ws.Target).GetMappingSmooth(); + _ret_var = ((IMapping)ws.Target).GetMappingSmooth(); } catch (Exception e) { @@ -1221,7 +1221,7 @@ sealed public class IMappingConcrete : try { - ((IMappingConcrete)ws.Target).SetMappingSmooth(smooth); + ((IMapping)ws.Target).SetMappingSmooth(smooth); } catch (Exception e) { @@ -1256,7 +1256,7 @@ sealed public class IMappingConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IMappingConcrete)ws.Target).GetMappingAlpha(); + _ret_var = ((IMapping)ws.Target).GetMappingAlpha(); } catch (Exception e) { @@ -1292,7 +1292,7 @@ sealed public class IMappingConcrete : try { - ((IMappingConcrete)ws.Target).SetMappingAlpha(alpha); + ((IMapping)ws.Target).SetMappingAlpha(alpha); } catch (Exception e) { @@ -1327,7 +1327,7 @@ sealed public class IMappingConcrete : x = default(double); y = default(double); z = default(double); try { - ((IMappingConcrete)ws.Target).GetMappingCoordAbsolute(idx, out x, out y, out z); + ((IMapping)ws.Target).GetMappingCoordAbsolute(idx, out x, out y, out z); } catch (Exception e) { @@ -1362,7 +1362,7 @@ sealed public class IMappingConcrete : try { - ((IMappingConcrete)ws.Target).SetMappingCoordAbsolute(idx, x, y, z); + ((IMapping)ws.Target).SetMappingCoordAbsolute(idx, x, y, z); } catch (Exception e) { @@ -1397,7 +1397,7 @@ sealed public class IMappingConcrete : u = default(double); v = default(double); try { - ((IMappingConcrete)ws.Target).GetMappingUv(idx, out u, out v); + ((IMapping)ws.Target).GetMappingUv(idx, out u, out v); } catch (Exception e) { @@ -1432,7 +1432,7 @@ sealed public class IMappingConcrete : try { - ((IMappingConcrete)ws.Target).SetMappingUv(idx, u, v); + ((IMapping)ws.Target).SetMappingUv(idx, u, v); } catch (Exception e) { @@ -1467,7 +1467,7 @@ sealed public class IMappingConcrete : r = default(int); g = default(int); b = default(int); a = default(int); try { - ((IMappingConcrete)ws.Target).GetMappingColor(idx, out r, out g, out b, out a); + ((IMapping)ws.Target).GetMappingColor(idx, out r, out g, out b, out a); } catch (Exception e) { @@ -1502,7 +1502,7 @@ sealed public class IMappingConcrete : try { - ((IMappingConcrete)ws.Target).SetMappingColor(idx, r, g, b, a); + ((IMapping)ws.Target).SetMappingColor(idx, r, g, b, a); } catch (Exception e) { @@ -1537,7 +1537,7 @@ sealed public class IMappingConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IMappingConcrete)ws.Target).HasMapping(); + _ret_var = ((IMapping)ws.Target).HasMapping(); } catch (Exception e) { @@ -1573,7 +1573,7 @@ sealed public class IMappingConcrete : try { - ((IMappingConcrete)ws.Target).ResetMapping(); + ((IMapping)ws.Target).ResetMapping(); } catch (Exception e) { @@ -1608,7 +1608,7 @@ sealed public class IMappingConcrete : try { - ((IMappingConcrete)ws.Target).Translate(dx, dy, dz); + ((IMapping)ws.Target).Translate(dx, dy, dz); } catch (Exception e) { @@ -1643,7 +1643,7 @@ sealed public class IMappingConcrete : try { - ((IMappingConcrete)ws.Target).Rotate(degrees, pivot, cx, cy); + ((IMapping)ws.Target).Rotate(degrees, pivot, cx, cy); } catch (Exception e) { @@ -1678,7 +1678,7 @@ sealed public class IMappingConcrete : try { - ((IMappingConcrete)ws.Target).Rotate3d(dx, dy, dz, pivot, cx, cy, cz); + ((IMapping)ws.Target).Rotate3d(dx, dy, dz, pivot, cx, cy, cz); } catch (Exception e) { @@ -1713,7 +1713,7 @@ sealed public class IMappingConcrete : try { - ((IMappingConcrete)ws.Target).RotateQuat(qx, qy, qz, qw, pivot, cx, cy, cz); + ((IMapping)ws.Target).RotateQuat(qx, qy, qz, qw, pivot, cx, cy, cz); } catch (Exception e) { @@ -1748,7 +1748,7 @@ sealed public class IMappingConcrete : try { - ((IMappingConcrete)ws.Target).Zoom(zoomx, zoomy, pivot, cx, cy); + ((IMapping)ws.Target).Zoom(zoomx, zoomy, pivot, cx, cy); } catch (Exception e) { @@ -1783,7 +1783,7 @@ sealed public class IMappingConcrete : try { - ((IMappingConcrete)ws.Target).Lighting3d(pivot, lx, ly, lz, lr, lg, lb, ar, ag, ab); + ((IMapping)ws.Target).Lighting3d(pivot, lx, ly, lz, lr, lg, lb, ar, ag, ab); } catch (Exception e) { @@ -1818,7 +1818,7 @@ sealed public class IMappingConcrete : try { - ((IMappingConcrete)ws.Target).Perspective3d(pivot, px, py, z0, foc); + ((IMapping)ws.Target).Perspective3d(pivot, px, py, z0, foc); } catch (Exception e) { @@ -1853,7 +1853,7 @@ sealed public class IMappingConcrete : try { - ((IMappingConcrete)ws.Target).RotateAbsolute(degrees, cx, cy); + ((IMapping)ws.Target).RotateAbsolute(degrees, cx, cy); } catch (Exception e) { @@ -1888,7 +1888,7 @@ sealed public class IMappingConcrete : try { - ((IMappingConcrete)ws.Target).Rotate3dAbsolute(dx, dy, dz, cx, cy, cz); + ((IMapping)ws.Target).Rotate3dAbsolute(dx, dy, dz, cx, cy, cz); } catch (Exception e) { @@ -1923,7 +1923,7 @@ sealed public class IMappingConcrete : try { - ((IMappingConcrete)ws.Target).RotateQuatAbsolute(qx, qy, qz, qw, cx, cy, cz); + ((IMapping)ws.Target).RotateQuatAbsolute(qx, qy, qz, qw, cx, cy, cz); } catch (Exception e) { @@ -1958,7 +1958,7 @@ sealed public class IMappingConcrete : try { - ((IMappingConcrete)ws.Target).ZoomAbsolute(zoomx, zoomy, cx, cy); + ((IMapping)ws.Target).ZoomAbsolute(zoomx, zoomy, cx, cy); } catch (Exception e) { @@ -1993,7 +1993,7 @@ sealed public class IMappingConcrete : try { - ((IMappingConcrete)ws.Target).Lighting3dAbsolute(lx, ly, lz, lr, lg, lb, ar, ag, ab); + ((IMapping)ws.Target).Lighting3dAbsolute(lx, ly, lz, lr, lg, lb, ar, ag, ab); } catch (Exception e) { @@ -2028,7 +2028,7 @@ sealed public class IMappingConcrete : try { - ((IMappingConcrete)ws.Target).Perspective3dAbsolute(px, py, z0, foc); + ((IMapping)ws.Target).Perspective3dAbsolute(px, py, z0, foc); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_path.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_path.eo.cs index 43ec1c1ce..37faf114b 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_path.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_path.eo.cs @@ -165,7 +165,7 @@ sealed public class IPathConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_gfx_path_mixin_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. @@ -669,7 +669,7 @@ sealed public class IPathConcrete : try { - ((IPathConcrete)ws.Target).GetPath(out _out_op, out _out_points); + ((IPath)ws.Target).GetPath(out _out_op, out _out_points); } catch (Exception e) { @@ -708,7 +708,7 @@ sealed public class IPathConcrete : try { - ((IPathConcrete)ws.Target).SetPath(_in_op, _in_points); + ((IPath)ws.Target).SetPath(_in_op, _in_points); } catch (Exception e) { @@ -743,7 +743,7 @@ sealed public class IPathConcrete : commands = default(uint); points = default(uint); try { - ((IPathConcrete)ws.Target).GetLength(out commands, out points); + ((IPath)ws.Target).GetLength(out commands, out points); } catch (Exception e) { @@ -778,7 +778,7 @@ sealed public class IPathConcrete : x = default(double); y = default(double); try { - ((IPathConcrete)ws.Target).GetCurrent(out x, out y); + ((IPath)ws.Target).GetCurrent(out x, out y); } catch (Exception e) { @@ -813,7 +813,7 @@ sealed public class IPathConcrete : x = default(double); y = default(double); try { - ((IPathConcrete)ws.Target).GetCurrentCtrl(out x, out y); + ((IPath)ws.Target).GetCurrentCtrl(out x, out y); } catch (Exception e) { @@ -848,7 +848,7 @@ sealed public class IPathConcrete : try { - ((IPathConcrete)ws.Target).CopyFrom(dup_from); + ((IPath)ws.Target).CopyFrom(dup_from); } catch (Exception e) { @@ -884,7 +884,7 @@ sealed public class IPathConcrete : try { - ((IPathConcrete)ws.Target).GetBounds(out _out_r); + ((IPath)ws.Target).GetBounds(out _out_r); } catch (Exception e) { @@ -920,7 +920,7 @@ sealed public class IPathConcrete : try { - ((IPathConcrete)ws.Target).Reset(); + ((IPath)ws.Target).Reset(); } catch (Exception e) { @@ -955,7 +955,7 @@ sealed public class IPathConcrete : try { - ((IPathConcrete)ws.Target).AppendMoveTo(x, y); + ((IPath)ws.Target).AppendMoveTo(x, y); } catch (Exception e) { @@ -990,7 +990,7 @@ sealed public class IPathConcrete : try { - ((IPathConcrete)ws.Target).AppendLineTo(x, y); + ((IPath)ws.Target).AppendLineTo(x, y); } catch (Exception e) { @@ -1025,7 +1025,7 @@ sealed public class IPathConcrete : try { - ((IPathConcrete)ws.Target).AppendQuadraticTo(x, y, ctrl_x, ctrl_y); + ((IPath)ws.Target).AppendQuadraticTo(x, y, ctrl_x, ctrl_y); } catch (Exception e) { @@ -1060,7 +1060,7 @@ sealed public class IPathConcrete : try { - ((IPathConcrete)ws.Target).AppendSquadraticTo(x, y); + ((IPath)ws.Target).AppendSquadraticTo(x, y); } catch (Exception e) { @@ -1095,7 +1095,7 @@ sealed public class IPathConcrete : try { - ((IPathConcrete)ws.Target).AppendCubicTo(ctrl_x0, ctrl_y0, ctrl_x1, ctrl_y1, x, y); + ((IPath)ws.Target).AppendCubicTo(ctrl_x0, ctrl_y0, ctrl_x1, ctrl_y1, x, y); } catch (Exception e) { @@ -1130,7 +1130,7 @@ sealed public class IPathConcrete : try { - ((IPathConcrete)ws.Target).AppendScubicTo(x, y, ctrl_x, ctrl_y); + ((IPath)ws.Target).AppendScubicTo(x, y, ctrl_x, ctrl_y); } catch (Exception e) { @@ -1165,7 +1165,7 @@ sealed public class IPathConcrete : try { - ((IPathConcrete)ws.Target).AppendArcTo(x, y, rx, ry, angle, large_arc, sweep); + ((IPath)ws.Target).AppendArcTo(x, y, rx, ry, angle, large_arc, sweep); } catch (Exception e) { @@ -1200,7 +1200,7 @@ sealed public class IPathConcrete : try { - ((IPathConcrete)ws.Target).AppendArc(x, y, w, h, start_angle, sweep_length); + ((IPath)ws.Target).AppendArc(x, y, w, h, start_angle, sweep_length); } catch (Exception e) { @@ -1235,7 +1235,7 @@ sealed public class IPathConcrete : try { - ((IPathConcrete)ws.Target).CloseAppend(); + ((IPath)ws.Target).CloseAppend(); } catch (Exception e) { @@ -1270,7 +1270,7 @@ sealed public class IPathConcrete : try { - ((IPathConcrete)ws.Target).AppendCircle(x, y, radius); + ((IPath)ws.Target).AppendCircle(x, y, radius); } catch (Exception e) { @@ -1305,7 +1305,7 @@ sealed public class IPathConcrete : try { - ((IPathConcrete)ws.Target).AppendRect(x, y, w, h, rx, ry); + ((IPath)ws.Target).AppendRect(x, y, w, h, rx, ry); } catch (Exception e) { @@ -1340,7 +1340,7 @@ sealed public class IPathConcrete : try { - ((IPathConcrete)ws.Target).AppendSvgPath(svg_path_data); + ((IPath)ws.Target).AppendSvgPath(svg_path_data); } catch (Exception e) { @@ -1375,7 +1375,7 @@ sealed public class IPathConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IPathConcrete)ws.Target).Interpolate(from, to, pos_map); + _ret_var = ((IPath)ws.Target).Interpolate(from, to, pos_map); } catch (Exception e) { @@ -1411,7 +1411,7 @@ sealed public class IPathConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IPathConcrete)ws.Target).EqualCommands(with); + _ret_var = ((IPath)ws.Target).EqualCommands(with); } catch (Exception e) { @@ -1447,7 +1447,7 @@ sealed public class IPathConcrete : try { - ((IPathConcrete)ws.Target).Reserve(cmd_count, pts_count); + ((IPath)ws.Target).Reserve(cmd_count, pts_count); } catch (Exception e) { @@ -1482,7 +1482,7 @@ sealed public class IPathConcrete : try { - ((IPathConcrete)ws.Target).Commit(); + ((IPath)ws.Target).Commit(); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_shape.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_shape.eo.cs index 300c73b6e..1732c05f1 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_shape.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_shape.eo.cs @@ -138,7 +138,7 @@ sealed public class IShapeConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_gfx_shape_mixin_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. @@ -958,7 +958,7 @@ sealed public class IShapeConcrete : double _ret_var = default(double); try { - _ret_var = ((IShapeConcrete)ws.Target).GetStrokeScale(); + _ret_var = ((IShape)ws.Target).GetStrokeScale(); } catch (Exception e) { @@ -994,7 +994,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).SetStrokeScale(s); + ((IShape)ws.Target).SetStrokeScale(s); } catch (Exception e) { @@ -1029,7 +1029,7 @@ sealed public class IShapeConcrete : r = default(int); g = default(int); b = default(int); a = default(int); try { - ((IShapeConcrete)ws.Target).GetStrokeColor(out r, out g, out b, out a); + ((IShape)ws.Target).GetStrokeColor(out r, out g, out b, out a); } catch (Exception e) { @@ -1064,7 +1064,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).SetStrokeColor(r, g, b, a); + ((IShape)ws.Target).SetStrokeColor(r, g, b, a); } catch (Exception e) { @@ -1099,7 +1099,7 @@ sealed public class IShapeConcrete : double _ret_var = default(double); try { - _ret_var = ((IShapeConcrete)ws.Target).GetStrokeWidth(); + _ret_var = ((IShape)ws.Target).GetStrokeWidth(); } catch (Exception e) { @@ -1135,7 +1135,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).SetStrokeWidth(w); + ((IShape)ws.Target).SetStrokeWidth(w); } catch (Exception e) { @@ -1170,7 +1170,7 @@ sealed public class IShapeConcrete : double _ret_var = default(double); try { - _ret_var = ((IShapeConcrete)ws.Target).GetStrokeLocation(); + _ret_var = ((IShape)ws.Target).GetStrokeLocation(); } catch (Exception e) { @@ -1206,7 +1206,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).SetStrokeLocation(centered); + ((IShape)ws.Target).SetStrokeLocation(centered); } catch (Exception e) { @@ -1242,7 +1242,7 @@ sealed public class IShapeConcrete : length = default(uint); try { - ((IShapeConcrete)ws.Target).GetStrokeDash(out _out_dash, out length); + ((IShape)ws.Target).GetStrokeDash(out _out_dash, out length); } catch (Exception e) { @@ -1279,7 +1279,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).SetStrokeDash(ref _in_dash, length); + ((IShape)ws.Target).SetStrokeDash(ref _in_dash, length); } catch (Exception e) { @@ -1315,7 +1315,7 @@ sealed public class IShapeConcrete : Efl.Gfx.Cap _ret_var = default(Efl.Gfx.Cap); try { - _ret_var = ((IShapeConcrete)ws.Target).GetStrokeCap(); + _ret_var = ((IShape)ws.Target).GetStrokeCap(); } catch (Exception e) { @@ -1351,7 +1351,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).SetStrokeCap(c); + ((IShape)ws.Target).SetStrokeCap(c); } catch (Exception e) { @@ -1386,7 +1386,7 @@ sealed public class IShapeConcrete : Efl.Gfx.Join _ret_var = default(Efl.Gfx.Join); try { - _ret_var = ((IShapeConcrete)ws.Target).GetStrokeJoin(); + _ret_var = ((IShape)ws.Target).GetStrokeJoin(); } catch (Exception e) { @@ -1422,7 +1422,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).SetStrokeJoin(j); + ((IShape)ws.Target).SetStrokeJoin(j); } catch (Exception e) { @@ -1457,7 +1457,7 @@ sealed public class IShapeConcrete : Efl.Gfx.FillRule _ret_var = default(Efl.Gfx.FillRule); try { - _ret_var = ((IShapeConcrete)ws.Target).GetFillRule(); + _ret_var = ((IShape)ws.Target).GetFillRule(); } catch (Exception e) { @@ -1493,7 +1493,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).SetFillRule(fill_rule); + ((IShape)ws.Target).SetFillRule(fill_rule); } catch (Exception e) { @@ -1530,7 +1530,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).GetPath(out _out_op, out _out_points); + ((IShape)ws.Target).GetPath(out _out_op, out _out_points); } catch (Exception e) { @@ -1569,7 +1569,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).SetPath(_in_op, _in_points); + ((IShape)ws.Target).SetPath(_in_op, _in_points); } catch (Exception e) { @@ -1604,7 +1604,7 @@ sealed public class IShapeConcrete : commands = default(uint); points = default(uint); try { - ((IShapeConcrete)ws.Target).GetLength(out commands, out points); + ((IShape)ws.Target).GetLength(out commands, out points); } catch (Exception e) { @@ -1639,7 +1639,7 @@ sealed public class IShapeConcrete : x = default(double); y = default(double); try { - ((IShapeConcrete)ws.Target).GetCurrent(out x, out y); + ((IShape)ws.Target).GetCurrent(out x, out y); } catch (Exception e) { @@ -1674,7 +1674,7 @@ sealed public class IShapeConcrete : x = default(double); y = default(double); try { - ((IShapeConcrete)ws.Target).GetCurrentCtrl(out x, out y); + ((IShape)ws.Target).GetCurrentCtrl(out x, out y); } catch (Exception e) { @@ -1709,7 +1709,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).CopyFrom(dup_from); + ((IShape)ws.Target).CopyFrom(dup_from); } catch (Exception e) { @@ -1745,7 +1745,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).GetBounds(out _out_r); + ((IShape)ws.Target).GetBounds(out _out_r); } catch (Exception e) { @@ -1781,7 +1781,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).Reset(); + ((IShape)ws.Target).Reset(); } catch (Exception e) { @@ -1816,7 +1816,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).AppendMoveTo(x, y); + ((IShape)ws.Target).AppendMoveTo(x, y); } catch (Exception e) { @@ -1851,7 +1851,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).AppendLineTo(x, y); + ((IShape)ws.Target).AppendLineTo(x, y); } catch (Exception e) { @@ -1886,7 +1886,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).AppendQuadraticTo(x, y, ctrl_x, ctrl_y); + ((IShape)ws.Target).AppendQuadraticTo(x, y, ctrl_x, ctrl_y); } catch (Exception e) { @@ -1921,7 +1921,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).AppendSquadraticTo(x, y); + ((IShape)ws.Target).AppendSquadraticTo(x, y); } catch (Exception e) { @@ -1956,7 +1956,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).AppendCubicTo(ctrl_x0, ctrl_y0, ctrl_x1, ctrl_y1, x, y); + ((IShape)ws.Target).AppendCubicTo(ctrl_x0, ctrl_y0, ctrl_x1, ctrl_y1, x, y); } catch (Exception e) { @@ -1991,7 +1991,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).AppendScubicTo(x, y, ctrl_x, ctrl_y); + ((IShape)ws.Target).AppendScubicTo(x, y, ctrl_x, ctrl_y); } catch (Exception e) { @@ -2026,7 +2026,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).AppendArcTo(x, y, rx, ry, angle, large_arc, sweep); + ((IShape)ws.Target).AppendArcTo(x, y, rx, ry, angle, large_arc, sweep); } catch (Exception e) { @@ -2061,7 +2061,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).AppendArc(x, y, w, h, start_angle, sweep_length); + ((IShape)ws.Target).AppendArc(x, y, w, h, start_angle, sweep_length); } catch (Exception e) { @@ -2096,7 +2096,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).CloseAppend(); + ((IShape)ws.Target).CloseAppend(); } catch (Exception e) { @@ -2131,7 +2131,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).AppendCircle(x, y, radius); + ((IShape)ws.Target).AppendCircle(x, y, radius); } catch (Exception e) { @@ -2166,7 +2166,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).AppendRect(x, y, w, h, rx, ry); + ((IShape)ws.Target).AppendRect(x, y, w, h, rx, ry); } catch (Exception e) { @@ -2201,7 +2201,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).AppendSvgPath(svg_path_data); + ((IShape)ws.Target).AppendSvgPath(svg_path_data); } catch (Exception e) { @@ -2236,7 +2236,7 @@ sealed public class IShapeConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IShapeConcrete)ws.Target).Interpolate(from, to, pos_map); + _ret_var = ((IShape)ws.Target).Interpolate(from, to, pos_map); } catch (Exception e) { @@ -2272,7 +2272,7 @@ sealed public class IShapeConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IShapeConcrete)ws.Target).EqualCommands(with); + _ret_var = ((IShape)ws.Target).EqualCommands(with); } catch (Exception e) { @@ -2308,7 +2308,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).Reserve(cmd_count, pts_count); + ((IShape)ws.Target).Reserve(cmd_count, pts_count); } catch (Exception e) { @@ -2343,7 +2343,7 @@ sealed public class IShapeConcrete : try { - ((IShapeConcrete)ws.Target).Commit(); + ((IShape)ws.Target).Commit(); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_size_class.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_size_class.eo.cs index 9f45a5f7a..64d12749c 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_size_class.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_size_class.eo.cs @@ -61,7 +61,7 @@ sealed public class ISizeClassConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_gfx_size_class_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_stack.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_stack.eo.cs index 721c31df2..e9c792186 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_stack.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_stack.eo.cs @@ -162,7 +162,7 @@ sealed public class IStackConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_gfx_stack_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_text_class.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_text_class.eo.cs index 8b75490d9..214f8c87c 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_text_class.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_text_class.eo.cs @@ -57,7 +57,7 @@ sealed public class ITextClassConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_gfx_text_class_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_view.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_view.eo.cs index cef8883c3..3a0130c6b 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_view.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_view.eo.cs @@ -76,7 +76,7 @@ sealed public class IViewConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_gfx_view_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_input_device.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_input_device.eo.cs index e9650e6a0..234d89d31 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_input_device.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_input_device.eo.cs @@ -29,7 +29,7 @@ public class Device : Efl.Object } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_input_device_class_get(); /// Initializes a new instance of the class. /// Parent instance. @@ -106,6 +106,21 @@ public class Device : Efl.Object Efl.Input.Device.NativeMethods.efl_input_device_seat_id_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),id); Eina.Error.RaiseIfUnhandledException(); } + /// The number of pointer devices in this seat. + /// Pointer devices are the ones whose is mouse, pen, touch or wand. In case this device is not of the type seat, -1 is returned. + /// The number of pointer devices. + virtual public int GetPointerDeviceCount() { + var _ret_var = Efl.Input.Device.NativeMethods.efl_input_device_pointer_device_count_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// true if is mouse, pen, touch or wand. + /// true if the device has pointing capabilities. + virtual public bool GetIsPointerType() { + var _ret_var = Efl.Input.Device.NativeMethods.efl_input_device_is_pointer_type_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } /// Lists the children attached to this device. /// This is only meaningful with seat devices, as they are groups of real input devices. /// List of device children @@ -113,16 +128,6 @@ public class Device : Efl.Object var _ret_var = Efl.Input.Device.NativeMethods.efl_input_device_children_iterate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return new Eina.Iterator(_ret_var, true, false); - } - /// Determine whether a device has pointer capabilities. - /// Returns 1 for Mouse, Touch, Pen, Pointer, and Wand type devices. - /// - /// If a seat device is passed returns the number of pointer devices in the seat. - /// Pointer caps - virtual public uint HasPointerCaps() { - var _ret_var = Efl.Input.Device.NativeMethods.efl_input_device_has_pointer_caps_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; } /// Device type property /// Input device class @@ -152,6 +157,17 @@ public class Device : Efl.Object get { return GetSeatId(); } set { SetSeatId(value); } } + /// The number of pointer devices in this seat. + /// Pointer devices are the ones whose is mouse, pen, touch or wand. In case this device is not of the type seat, -1 is returned. + /// The number of pointer devices. + public int PointerDeviceCount { + get { return GetPointerDeviceCount(); } + } + /// true if is mouse, pen, touch or wand. + /// true if the device has pointing capabilities. + public bool IsPointerType { + get { return GetIsPointerType(); } + } private static IntPtr GetEflClassStatic() { return Efl.Input.Device.efl_input_device_class_get(); @@ -238,24 +254,34 @@ public class Device : Efl.Object descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_device_seat_id_set"), func = Marshal.GetFunctionPointerForDelegate(efl_input_device_seat_id_set_static_delegate) }); } - if (efl_input_device_children_iterate_static_delegate == null) + if (efl_input_device_pointer_device_count_get_static_delegate == null) { - efl_input_device_children_iterate_static_delegate = new efl_input_device_children_iterate_delegate(children_iterate); + efl_input_device_pointer_device_count_get_static_delegate = new efl_input_device_pointer_device_count_get_delegate(pointer_device_count_get); } - if (methods.FirstOrDefault(m => m.Name == "ChildrenIterate") != null) + if (methods.FirstOrDefault(m => m.Name == "GetPointerDeviceCount") != null) { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_device_children_iterate"), func = Marshal.GetFunctionPointerForDelegate(efl_input_device_children_iterate_static_delegate) }); + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_device_pointer_device_count_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_device_pointer_device_count_get_static_delegate) }); } - if (efl_input_device_has_pointer_caps_static_delegate == null) + if (efl_input_device_is_pointer_type_get_static_delegate == null) { - efl_input_device_has_pointer_caps_static_delegate = new efl_input_device_has_pointer_caps_delegate(has_pointer_caps); + efl_input_device_is_pointer_type_get_static_delegate = new efl_input_device_is_pointer_type_get_delegate(is_pointer_type_get); } - if (methods.FirstOrDefault(m => m.Name == "HasPointerCaps") != null) + if (methods.FirstOrDefault(m => m.Name == "GetIsPointerType") != null) { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_device_has_pointer_caps"), func = Marshal.GetFunctionPointerForDelegate(efl_input_device_has_pointer_caps_static_delegate) }); + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_device_is_pointer_type_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_device_is_pointer_type_get_static_delegate) }); + } + + if (efl_input_device_children_iterate_static_delegate == null) + { + efl_input_device_children_iterate_static_delegate = new efl_input_device_children_iterate_delegate(children_iterate); + } + + if (methods.FirstOrDefault(m => m.Name == "ChildrenIterate") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_device_children_iterate"), func = Marshal.GetFunctionPointerForDelegate(efl_input_device_children_iterate_static_delegate) }); } descs.AddRange(base.GetEoOps(type)); @@ -520,23 +546,23 @@ public class Device : Efl.Object private static efl_input_device_seat_id_set_delegate efl_input_device_seat_id_set_static_delegate; - private delegate System.IntPtr efl_input_device_children_iterate_delegate(System.IntPtr obj, System.IntPtr pd); + private delegate int efl_input_device_pointer_device_count_get_delegate(System.IntPtr obj, System.IntPtr pd); - public delegate System.IntPtr efl_input_device_children_iterate_api_delegate(System.IntPtr obj); + public delegate int efl_input_device_pointer_device_count_get_api_delegate(System.IntPtr obj); - public static Efl.Eo.FunctionWrapper efl_input_device_children_iterate_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_input_device_children_iterate"); + public static Efl.Eo.FunctionWrapper efl_input_device_pointer_device_count_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_input_device_pointer_device_count_get"); - private static System.IntPtr children_iterate(System.IntPtr obj, System.IntPtr pd) + private static int pointer_device_count_get(System.IntPtr obj, System.IntPtr pd) { - Eina.Log.Debug("function efl_input_device_children_iterate was called"); + Eina.Log.Debug("function efl_input_device_pointer_device_count_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { - Eina.Iterator _ret_var = default(Eina.Iterator); + int _ret_var = default(int); try { - _ret_var = ((Device)ws.Target).ChildrenIterate(); + _ret_var = ((Device)ws.Target).GetPointerDeviceCount(); } catch (Exception e) { @@ -544,35 +570,71 @@ public class Device : Efl.Object Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } - _ret_var.Own = false; return _ret_var.Handle; + return _ret_var; } else { - return efl_input_device_children_iterate_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + return efl_input_device_pointer_device_count_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } - private static efl_input_device_children_iterate_delegate efl_input_device_children_iterate_static_delegate; + private static efl_input_device_pointer_device_count_get_delegate efl_input_device_pointer_device_count_get_static_delegate; + + [return: MarshalAs(UnmanagedType.U1)] + private delegate bool efl_input_device_is_pointer_type_get_delegate(System.IntPtr obj, System.IntPtr pd); + + [return: MarshalAs(UnmanagedType.U1)] + public delegate bool efl_input_device_is_pointer_type_get_api_delegate(System.IntPtr obj); + + public static Efl.Eo.FunctionWrapper efl_input_device_is_pointer_type_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_input_device_is_pointer_type_get"); + + private static bool is_pointer_type_get(System.IntPtr obj, System.IntPtr pd) + { + Eina.Log.Debug("function efl_input_device_is_pointer_type_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + bool _ret_var = default(bool); + try + { + _ret_var = ((Device)ws.Target).GetIsPointerType(); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_input_device_is_pointer_type_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + } + } + + private static efl_input_device_is_pointer_type_get_delegate efl_input_device_is_pointer_type_get_static_delegate; - private delegate uint efl_input_device_has_pointer_caps_delegate(System.IntPtr obj, System.IntPtr pd); + private delegate System.IntPtr efl_input_device_children_iterate_delegate(System.IntPtr obj, System.IntPtr pd); - public delegate uint efl_input_device_has_pointer_caps_api_delegate(System.IntPtr obj); + public delegate System.IntPtr efl_input_device_children_iterate_api_delegate(System.IntPtr obj); - public static Efl.Eo.FunctionWrapper efl_input_device_has_pointer_caps_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_input_device_has_pointer_caps"); + public static Efl.Eo.FunctionWrapper efl_input_device_children_iterate_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_input_device_children_iterate"); - private static uint has_pointer_caps(System.IntPtr obj, System.IntPtr pd) + private static System.IntPtr children_iterate(System.IntPtr obj, System.IntPtr pd) { - Eina.Log.Debug("function efl_input_device_has_pointer_caps was called"); + Eina.Log.Debug("function efl_input_device_children_iterate was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { - uint _ret_var = default(uint); + Eina.Iterator _ret_var = default(Eina.Iterator); try { - _ret_var = ((Device)ws.Target).HasPointerCaps(); + _ret_var = ((Device)ws.Target).ChildrenIterate(); } catch (Exception e) { @@ -580,16 +642,16 @@ public class Device : Efl.Object Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } - return _ret_var; + _ret_var.Own = false; return _ret_var.Handle; } else { - return efl_input_device_has_pointer_caps_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + return efl_input_device_children_iterate_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } - private static efl_input_device_has_pointer_caps_delegate efl_input_device_has_pointer_caps_static_delegate; + private static efl_input_device_children_iterate_delegate efl_input_device_children_iterate_static_delegate; #pragma warning restore CA1707, CS1591, SA1300, SA1600 diff --git a/internals/src/EflSharp/EflSharp/efl/efl_input_event.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_input_event.eo.cs index 177799816..56832615f 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_input_event.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_input_event.eo.cs @@ -416,7 +416,7 @@ sealed public class IEventConcrete : double _ret_var = default(double); try { - _ret_var = ((IEventConcrete)ws.Target).GetTimestamp(); + _ret_var = ((IEvent)ws.Target).GetTimestamp(); } catch (Exception e) { @@ -452,7 +452,7 @@ sealed public class IEventConcrete : try { - ((IEventConcrete)ws.Target).SetTimestamp(ms); + ((IEvent)ws.Target).SetTimestamp(ms); } catch (Exception e) { @@ -487,7 +487,7 @@ sealed public class IEventConcrete : Efl.Input.Device _ret_var = default(Efl.Input.Device); try { - _ret_var = ((IEventConcrete)ws.Target).GetDevice(); + _ret_var = ((IEvent)ws.Target).GetDevice(); } catch (Exception e) { @@ -523,7 +523,7 @@ sealed public class IEventConcrete : try { - ((IEventConcrete)ws.Target).SetDevice(dev); + ((IEvent)ws.Target).SetDevice(dev); } catch (Exception e) { @@ -558,7 +558,7 @@ sealed public class IEventConcrete : Efl.Input.Flags _ret_var = default(Efl.Input.Flags); try { - _ret_var = ((IEventConcrete)ws.Target).GetEventFlags(); + _ret_var = ((IEvent)ws.Target).GetEventFlags(); } catch (Exception e) { @@ -594,7 +594,7 @@ sealed public class IEventConcrete : try { - ((IEventConcrete)ws.Target).SetEventFlags(flags); + ((IEvent)ws.Target).SetEventFlags(flags); } catch (Exception e) { @@ -629,7 +629,7 @@ sealed public class IEventConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IEventConcrete)ws.Target).GetProcessed(); + _ret_var = ((IEvent)ws.Target).GetProcessed(); } catch (Exception e) { @@ -665,7 +665,7 @@ sealed public class IEventConcrete : try { - ((IEventConcrete)ws.Target).SetProcessed(val); + ((IEvent)ws.Target).SetProcessed(val); } catch (Exception e) { @@ -700,7 +700,7 @@ sealed public class IEventConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IEventConcrete)ws.Target).GetScrolling(); + _ret_var = ((IEvent)ws.Target).GetScrolling(); } catch (Exception e) { @@ -736,7 +736,7 @@ sealed public class IEventConcrete : try { - ((IEventConcrete)ws.Target).SetScrolling(val); + ((IEvent)ws.Target).SetScrolling(val); } catch (Exception e) { @@ -771,7 +771,7 @@ sealed public class IEventConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IEventConcrete)ws.Target).GetFake(); + _ret_var = ((IEvent)ws.Target).GetFake(); } catch (Exception e) { @@ -807,7 +807,7 @@ sealed public class IEventConcrete : try { - ((IEventConcrete)ws.Target).Reset(); + ((IEvent)ws.Target).Reset(); } catch (Exception e) { @@ -842,7 +842,7 @@ sealed public class IEventConcrete : Efl.IDuplicate _ret_var = default(Efl.IDuplicate); try { - _ret_var = ((IEventConcrete)ws.Target).Duplicate(); + _ret_var = ((IEvent)ws.Target).Duplicate(); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_input_key.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_input_key.eo.cs index ff450b195..f8e393b11 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_input_key.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_input_key.eo.cs @@ -112,16 +112,16 @@ public class Key : Efl.Object, Efl.IDuplicate, Efl.Input.IEvent, Efl.Input.IStat /// A UTF8 string if this keystroke has modified a string in the middle of being composed. /// Note: This string replaces the previous one /// Composed key string in UTF8 - virtual public System.String GetCompose() { - var _ret_var = Efl.Input.Key.NativeMethods.efl_input_key_compose_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); + virtual public System.String GetComposeString() { + var _ret_var = Efl.Input.Key.NativeMethods.efl_input_key_compose_string_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } /// A UTF8 string if this keystroke has modified a string in the middle of being composed. /// Note: This string replaces the previous one /// Composed key string in UTF8 - virtual public void SetCompose(System.String val) { - Efl.Input.Key.NativeMethods.efl_input_key_compose_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val); + virtual public void SetComposeString(System.String val) { + Efl.Input.Key.NativeMethods.efl_input_key_compose_string_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),val); Eina.Error.RaiseIfUnhandledException(); } /// Key scan code numeric value. @@ -264,9 +264,9 @@ public class Key : Efl.Object, Efl.IDuplicate, Efl.Input.IEvent, Efl.Input.IStat /// A UTF8 string if this keystroke has modified a string in the middle of being composed. /// Note: This string replaces the previous one /// Composed key string in UTF8 - public System.String Compose { - get { return GetCompose(); } - set { SetCompose(value); } + public System.String ComposeString { + get { return GetComposeString(); } + set { SetComposeString(value); } } /// Key scan code numeric value. /// Key scan code @@ -406,24 +406,24 @@ public class Key : Efl.Object, Efl.IDuplicate, Efl.Input.IEvent, Efl.Input.IStat descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_key_string_set"), func = Marshal.GetFunctionPointerForDelegate(efl_input_key_string_set_static_delegate) }); } - if (efl_input_key_compose_get_static_delegate == null) + if (efl_input_key_compose_string_get_static_delegate == null) { - efl_input_key_compose_get_static_delegate = new efl_input_key_compose_get_delegate(compose_get); + efl_input_key_compose_string_get_static_delegate = new efl_input_key_compose_string_get_delegate(compose_string_get); } - if (methods.FirstOrDefault(m => m.Name == "GetCompose") != null) + if (methods.FirstOrDefault(m => m.Name == "GetComposeString") != null) { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_key_compose_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_key_compose_get_static_delegate) }); + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_key_compose_string_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_key_compose_string_get_static_delegate) }); } - if (efl_input_key_compose_set_static_delegate == null) + if (efl_input_key_compose_string_set_static_delegate == null) { - efl_input_key_compose_set_static_delegate = new efl_input_key_compose_set_delegate(compose_set); + efl_input_key_compose_string_set_static_delegate = new efl_input_key_compose_string_set_delegate(compose_string_set); } - if (methods.FirstOrDefault(m => m.Name == "SetCompose") != null) + if (methods.FirstOrDefault(m => m.Name == "SetComposeString") != null) { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_key_compose_set"), func = Marshal.GetFunctionPointerForDelegate(efl_input_key_compose_set_static_delegate) }); + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_key_compose_string_set"), func = Marshal.GetFunctionPointerForDelegate(efl_input_key_compose_string_set_static_delegate) }); } if (efl_input_key_code_get_static_delegate == null) @@ -893,23 +893,23 @@ public class Key : Efl.Object, Efl.IDuplicate, Efl.Input.IEvent, Efl.Input.IStat private static efl_input_key_string_set_delegate efl_input_key_string_set_static_delegate; [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] - private delegate System.String efl_input_key_compose_get_delegate(System.IntPtr obj, System.IntPtr pd); + private delegate System.String efl_input_key_compose_string_get_delegate(System.IntPtr obj, System.IntPtr pd); [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] - public delegate System.String efl_input_key_compose_get_api_delegate(System.IntPtr obj); + public delegate System.String efl_input_key_compose_string_get_api_delegate(System.IntPtr obj); - public static Efl.Eo.FunctionWrapper efl_input_key_compose_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_input_key_compose_get"); + public static Efl.Eo.FunctionWrapper efl_input_key_compose_string_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_input_key_compose_string_get"); - private static System.String compose_get(System.IntPtr obj, System.IntPtr pd) + private static System.String compose_string_get(System.IntPtr obj, System.IntPtr pd) { - Eina.Log.Debug("function efl_input_key_compose_get was called"); + Eina.Log.Debug("function efl_input_key_compose_string_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { System.String _ret_var = default(System.String); try { - _ret_var = ((Key)ws.Target).GetCompose(); + _ret_var = ((Key)ws.Target).GetComposeString(); } catch (Exception e) { @@ -922,30 +922,30 @@ public class Key : Efl.Object, Efl.IDuplicate, Efl.Input.IEvent, Efl.Input.IStat } else { - return efl_input_key_compose_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + return efl_input_key_compose_string_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } - private static efl_input_key_compose_get_delegate efl_input_key_compose_get_static_delegate; + private static efl_input_key_compose_string_get_delegate efl_input_key_compose_string_get_static_delegate; - private delegate void efl_input_key_compose_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String val); + private delegate void efl_input_key_compose_string_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String val); - public delegate void efl_input_key_compose_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String val); + public delegate void efl_input_key_compose_string_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String val); - public static Efl.Eo.FunctionWrapper efl_input_key_compose_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_input_key_compose_set"); + public static Efl.Eo.FunctionWrapper efl_input_key_compose_string_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_input_key_compose_string_set"); - private static void compose_set(System.IntPtr obj, System.IntPtr pd, System.String val) + private static void compose_string_set(System.IntPtr obj, System.IntPtr pd, System.String val) { - Eina.Log.Debug("function efl_input_key_compose_set was called"); + Eina.Log.Debug("function efl_input_key_compose_string_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { - ((Key)ws.Target).SetCompose(val); + ((Key)ws.Target).SetComposeString(val); } catch (Exception e) { @@ -957,11 +957,11 @@ public class Key : Efl.Object, Efl.IDuplicate, Efl.Input.IEvent, Efl.Input.IStat } else { - efl_input_key_compose_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), val); + efl_input_key_compose_string_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), val); } } - private static efl_input_key_compose_set_delegate efl_input_key_compose_set_static_delegate; + private static efl_input_key_compose_string_set_delegate efl_input_key_compose_string_set_static_delegate; private delegate int efl_input_key_code_get_delegate(System.IntPtr obj, System.IntPtr pd); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_input_pointer.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_input_pointer.eo.cs index 4b7864bd7..5d09add5e 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_input_pointer.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_input_pointer.eo.cs @@ -187,17 +187,19 @@ public class Pointer : Efl.Object, Efl.IDuplicate, Efl.Input.IEvent, Efl.Input.I Efl.Input.Pointer.NativeMethods.efl_input_pointer_previous_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_pos); Eina.Error.RaiseIfUnhandledException(); } - /// ID of the tool (eg. pen) that triggered this event. - /// Tool ID - virtual public int GetTool() { - var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_tool_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); + /// TThe ID associated with this pointer. + /// In case there are multiple pointers (for example when multiple fingers are touching the screen) this number uniquely identifies each pointer, for as long as it is present. This is, when a finger is lifted its ID can be later reused by another finger touching the screen. + /// An ID uniquely identifying this pointer among the currently present pointers. + virtual public int GetTouchId() { + var _ret_var = Efl.Input.Pointer.NativeMethods.efl_input_pointer_touch_id_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } - /// ID of the tool (eg. pen) that triggered this event. - /// Tool ID - virtual public void SetTool(int id) { - Efl.Input.Pointer.NativeMethods.efl_input_pointer_tool_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),id); + /// TThe ID associated with this pointer. + /// In case there are multiple pointers (for example when multiple fingers are touching the screen) this number uniquely identifies each pointer, for as long as it is present. This is, when a finger is lifted its ID can be later reused by another finger touching the screen. + /// An ID uniquely identifying this pointer among the currently present pointers. + virtual public void SetTouchId(int id) { + Efl.Input.Pointer.NativeMethods.efl_input_pointer_touch_id_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),id); Eina.Error.RaiseIfUnhandledException(); } /// The object where this event first originated, in case of propagation or repetition of the event. @@ -426,11 +428,12 @@ public class Pointer : Efl.Object, Efl.IDuplicate, Efl.Input.IEvent, Efl.Input.I get { return GetPreviousPosition(); } set { SetPreviousPosition(value); } } - /// ID of the tool (eg. pen) that triggered this event. - /// Tool ID - public int Tool { - get { return GetTool(); } - set { SetTool(value); } + /// TThe ID associated with this pointer. + /// In case there are multiple pointers (for example when multiple fingers are touching the screen) this number uniquely identifies each pointer, for as long as it is present. This is, when a finger is lifted its ID can be later reused by another finger touching the screen. + /// An ID uniquely identifying this pointer among the currently present pointers. + public int TouchId { + get { return GetTouchId(); } + set { SetTouchId(value); } } /// The object where this event first originated, in case of propagation or repetition of the event. /// Source object: @@ -672,24 +675,24 @@ public class Pointer : Efl.Object, Efl.IDuplicate, Efl.Input.IEvent, Efl.Input.I descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_pointer_previous_position_set"), func = Marshal.GetFunctionPointerForDelegate(efl_input_pointer_previous_position_set_static_delegate) }); } - if (efl_input_pointer_tool_get_static_delegate == null) + if (efl_input_pointer_touch_id_get_static_delegate == null) { - efl_input_pointer_tool_get_static_delegate = new efl_input_pointer_tool_get_delegate(tool_get); + efl_input_pointer_touch_id_get_static_delegate = new efl_input_pointer_touch_id_get_delegate(touch_id_get); } - if (methods.FirstOrDefault(m => m.Name == "GetTool") != null) + if (methods.FirstOrDefault(m => m.Name == "GetTouchId") != null) { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_pointer_tool_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_pointer_tool_get_static_delegate) }); + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_pointer_touch_id_get"), func = Marshal.GetFunctionPointerForDelegate(efl_input_pointer_touch_id_get_static_delegate) }); } - if (efl_input_pointer_tool_set_static_delegate == null) + if (efl_input_pointer_touch_id_set_static_delegate == null) { - efl_input_pointer_tool_set_static_delegate = new efl_input_pointer_tool_set_delegate(tool_set); + efl_input_pointer_touch_id_set_static_delegate = new efl_input_pointer_touch_id_set_delegate(touch_id_set); } - if (methods.FirstOrDefault(m => m.Name == "SetTool") != null) + if (methods.FirstOrDefault(m => m.Name == "SetTouchId") != null) { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_pointer_tool_set"), func = Marshal.GetFunctionPointerForDelegate(efl_input_pointer_tool_set_static_delegate) }); + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_input_pointer_touch_id_set"), func = Marshal.GetFunctionPointerForDelegate(efl_input_pointer_touch_id_set_static_delegate) }); } if (efl_input_pointer_source_get_static_delegate == null) @@ -1512,23 +1515,23 @@ public class Pointer : Efl.Object, Efl.IDuplicate, Efl.Input.IEvent, Efl.Input.I private static efl_input_pointer_previous_position_set_delegate efl_input_pointer_previous_position_set_static_delegate; - private delegate int efl_input_pointer_tool_get_delegate(System.IntPtr obj, System.IntPtr pd); + private delegate int efl_input_pointer_touch_id_get_delegate(System.IntPtr obj, System.IntPtr pd); - public delegate int efl_input_pointer_tool_get_api_delegate(System.IntPtr obj); + public delegate int efl_input_pointer_touch_id_get_api_delegate(System.IntPtr obj); - public static Efl.Eo.FunctionWrapper efl_input_pointer_tool_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_input_pointer_tool_get"); + public static Efl.Eo.FunctionWrapper efl_input_pointer_touch_id_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_input_pointer_touch_id_get"); - private static int tool_get(System.IntPtr obj, System.IntPtr pd) + private static int touch_id_get(System.IntPtr obj, System.IntPtr pd) { - Eina.Log.Debug("function efl_input_pointer_tool_get was called"); + Eina.Log.Debug("function efl_input_pointer_touch_id_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { int _ret_var = default(int); try { - _ret_var = ((Pointer)ws.Target).GetTool(); + _ret_var = ((Pointer)ws.Target).GetTouchId(); } catch (Exception e) { @@ -1541,30 +1544,30 @@ public class Pointer : Efl.Object, Efl.IDuplicate, Efl.Input.IEvent, Efl.Input.I } else { - return efl_input_pointer_tool_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + return efl_input_pointer_touch_id_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } - private static efl_input_pointer_tool_get_delegate efl_input_pointer_tool_get_static_delegate; + private static efl_input_pointer_touch_id_get_delegate efl_input_pointer_touch_id_get_static_delegate; - private delegate void efl_input_pointer_tool_set_delegate(System.IntPtr obj, System.IntPtr pd, int id); + private delegate void efl_input_pointer_touch_id_set_delegate(System.IntPtr obj, System.IntPtr pd, int id); - public delegate void efl_input_pointer_tool_set_api_delegate(System.IntPtr obj, int id); + public delegate void efl_input_pointer_touch_id_set_api_delegate(System.IntPtr obj, int id); - public static Efl.Eo.FunctionWrapper efl_input_pointer_tool_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_input_pointer_tool_set"); + public static Efl.Eo.FunctionWrapper efl_input_pointer_touch_id_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_input_pointer_touch_id_set"); - private static void tool_set(System.IntPtr obj, System.IntPtr pd, int id) + private static void touch_id_set(System.IntPtr obj, System.IntPtr pd, int id) { - Eina.Log.Debug("function efl_input_pointer_tool_set was called"); + Eina.Log.Debug("function efl_input_pointer_touch_id_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { - ((Pointer)ws.Target).SetTool(id); + ((Pointer)ws.Target).SetTouchId(id); } catch (Exception e) { @@ -1576,11 +1579,11 @@ public class Pointer : Efl.Object, Efl.IDuplicate, Efl.Input.IEvent, Efl.Input.I } else { - efl_input_pointer_tool_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), id); + efl_input_pointer_touch_id_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), id); } } - private static efl_input_pointer_tool_set_delegate efl_input_pointer_tool_set_static_delegate; + private static efl_input_pointer_touch_id_set_delegate efl_input_pointer_touch_id_set_static_delegate; [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] private delegate Efl.Object efl_input_pointer_source_get_delegate(System.IntPtr obj, System.IntPtr pd); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_input_types.eot.cs b/internals/src/EflSharp/EflSharp/efl/efl_input_types.eot.cs index b24f285e8..07efa7497 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_input_types.eot.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_input_types.eot.cs @@ -117,8 +117,8 @@ Timestamp = 1, Button = 2, /// 32-bit bit mask (unsigned int). Prefer the method buttons_pressed to read this value. Default: 0. ButtonsPressed = 3, -/// ID of the finger or tool (eg. pen) that triggered this event. Prefer the property tool to read this value. Default: 0. -Tool = 4, +/// ID of the finger or tool (eg. pen) that triggered this event. Prefer the property touch_id to read this value. Default: 0. +TouchId = 4, /// Absolute X position where this event occurred, in pixels. Relative to the window. Default: last known position. This value may be smoothed out or even extrapolated by EFL. X = 5, /// Absolute Y position where this event occurred, in pixels. Relative to the window. Default: last known position. This value may be smoothed out or even extrapolated by EFL. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_interpolator.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_interpolator.eo.cs index 6d0b9beab..3115ef7da 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_interpolator.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_interpolator.eo.cs @@ -39,7 +39,7 @@ sealed public class IInterpolatorConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_interpolator_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_io_buffer.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_io_buffer.eo.cs deleted file mode 100644 index 1b63a5aff..000000000 --- a/internals/src/EflSharp/EflSharp/efl/efl_io_buffer.eo.cs +++ /dev/null @@ -1,2375 +0,0 @@ -#pragma warning disable CS1591 -using System; -using System.Runtime.InteropServices; -using System.Collections.Generic; -using System.Linq; -using System.Threading; -using System.ComponentModel; -namespace Efl { - -namespace Io { - -/// Generic In-memory buffer of data to be used as I/O. -/// This class offers both input and output, which can be used at the same time since and use different offsets/position internally. -/// -/// One can get temporary direct access to internal buffer with or steal the buffer with . -/// -/// A fixed sized buffer can be implemented by setting followed by -[Efl.Io.Buffer.NativeMethods] -public class Buffer : Efl.Object, Efl.Io.ICloser, Efl.Io.IPositioner, Efl.Io.IReader, Efl.Io.ISizer, Efl.Io.IWriter -{ - ///Pointer to the native class description. - public override System.IntPtr NativeClass - { - get - { - if (((object)this).GetType() == typeof(Buffer)) - { - return GetEflClassStatic(); - } - else - { - return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()]; - } - } - } - - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr - efl_io_buffer_class_get(); - /// Initializes a new instance of the class. - /// Parent instance. - public Buffer(Efl.Object parent= null - ) : base(efl_io_buffer_class_get(), typeof(Buffer), parent) - { - FinishInstantiation(); - } - - /// Initializes a new instance of the class. - /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly. - /// The native pointer to be wrapped. - protected Buffer(System.IntPtr raw) : base(raw) - { - } - - /// Initializes a new instance of the class. - /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly. - /// The pointer to the base native Eo class. - /// The managed type of the public constructor that originated this call. - /// The Efl.Object parent of this instance. - protected Buffer(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent) - { - } - - /// Notifies changed - public event EventHandler PositionReadChangedEvt - { - add - { - lock (eventLock) - { - Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => - { - var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; - if (obj != null) - { - EventArgs args = EventArgs.Empty; - try - { - value?.Invoke(obj, args); - } - catch (Exception e) - { - Eina.Log.Error(e.ToString()); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - } - }; - - string key = "_EFL_IO_BUFFER_EVENT_POSITION_READ_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); - } - } - - remove - { - lock (eventLock) - { - string key = "_EFL_IO_BUFFER_EVENT_POSITION_READ_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); - } - } - } - ///Method to raise event PositionReadChangedEvt. - public void OnPositionReadChangedEvt(EventArgs e) - { - var key = "_EFL_IO_BUFFER_EVENT_POSITION_READ_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); - if (desc == IntPtr.Zero) - { - Eina.Log.Error($"Failed to get native event {key}"); - return; - } - - Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); - } - /// Notifies changed - public event EventHandler PositionWriteChangedEvt - { - add - { - lock (eventLock) - { - Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => - { - var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; - if (obj != null) - { - EventArgs args = EventArgs.Empty; - try - { - value?.Invoke(obj, args); - } - catch (Exception e) - { - Eina.Log.Error(e.ToString()); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - } - }; - - string key = "_EFL_IO_BUFFER_EVENT_POSITION_WRITE_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); - } - } - - remove - { - lock (eventLock) - { - string key = "_EFL_IO_BUFFER_EVENT_POSITION_WRITE_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); - } - } - } - ///Method to raise event PositionWriteChangedEvt. - public void OnPositionWriteChangedEvt(EventArgs e) - { - var key = "_EFL_IO_BUFFER_EVENT_POSITION_WRITE_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); - if (desc == IntPtr.Zero) - { - Eina.Log.Error($"Failed to get native event {key}"); - return; - } - - Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); - } - /// Notifies the internal buffer was reallocated, thus whatever was returned by becomes invalid - public event EventHandler ReallocatedEvt - { - add - { - lock (eventLock) - { - Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => - { - var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; - if (obj != null) - { - EventArgs args = EventArgs.Empty; - try - { - value?.Invoke(obj, args); - } - catch (Exception e) - { - Eina.Log.Error(e.ToString()); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - } - }; - - string key = "_EFL_IO_BUFFER_EVENT_REALLOCATED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); - } - } - - remove - { - lock (eventLock) - { - string key = "_EFL_IO_BUFFER_EVENT_REALLOCATED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); - } - } - } - ///Method to raise event ReallocatedEvt. - public void OnReallocatedEvt(EventArgs e) - { - var key = "_EFL_IO_BUFFER_EVENT_REALLOCATED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); - if (desc == IntPtr.Zero) - { - Eina.Log.Error($"Failed to get native event {key}"); - return; - } - - Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); - } - /// Notifies closed, when property is marked as true - /// (Since EFL 1.22) - public event EventHandler ClosedEvt - { - add - { - lock (eventLock) - { - Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => - { - var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; - if (obj != null) - { - EventArgs args = EventArgs.Empty; - try - { - value?.Invoke(obj, args); - } - catch (Exception e) - { - Eina.Log.Error(e.ToString()); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - } - }; - - string key = "_EFL_IO_CLOSER_EVENT_CLOSED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); - } - } - - remove - { - lock (eventLock) - { - string key = "_EFL_IO_CLOSER_EVENT_CLOSED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); - } - } - } - ///Method to raise event ClosedEvt. - public void OnClosedEvt(EventArgs e) - { - var key = "_EFL_IO_CLOSER_EVENT_CLOSED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); - if (desc == IntPtr.Zero) - { - Eina.Log.Error($"Failed to get native event {key}"); - return; - } - - Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); - } - /// Notifies position changed - public event EventHandler PositionChangedEvt - { - add - { - lock (eventLock) - { - Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => - { - var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; - if (obj != null) - { - EventArgs args = EventArgs.Empty; - try - { - value?.Invoke(obj, args); - } - catch (Exception e) - { - Eina.Log.Error(e.ToString()); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - } - }; - - string key = "_EFL_IO_POSITIONER_EVENT_POSITION_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); - } - } - - remove - { - lock (eventLock) - { - string key = "_EFL_IO_POSITIONER_EVENT_POSITION_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); - } - } - } - ///Method to raise event PositionChangedEvt. - public void OnPositionChangedEvt(EventArgs e) - { - var key = "_EFL_IO_POSITIONER_EVENT_POSITION_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); - if (desc == IntPtr.Zero) - { - Eina.Log.Error($"Failed to get native event {key}"); - return; - } - - Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); - } - /// Notifies can_read property changed. - /// If is true there is data to without blocking/error. If is false, would either block or fail. - /// - /// Note that usually this event is dispatched from inside , thus before it returns. - /// (Since EFL 1.22) - public event EventHandler CanReadChangedEvt - { - add - { - lock (eventLock) - { - Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => - { - var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; - if (obj != null) - { - Efl.Io.IReaderCanReadChangedEvt_Args args = new Efl.Io.IReaderCanReadChangedEvt_Args(); - args.arg = Marshal.ReadByte(evt.Info) != 0; - try - { - value?.Invoke(obj, args); - } - catch (Exception e) - { - Eina.Log.Error(e.ToString()); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - } - }; - - string key = "_EFL_IO_READER_EVENT_CAN_READ_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); - } - } - - remove - { - lock (eventLock) - { - string key = "_EFL_IO_READER_EVENT_CAN_READ_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); - } - } - } - ///Method to raise event CanReadChangedEvt. - public void OnCanReadChangedEvt(Efl.Io.IReaderCanReadChangedEvt_Args e) - { - var key = "_EFL_IO_READER_EVENT_CAN_READ_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); - if (desc == IntPtr.Zero) - { - Eina.Log.Error($"Failed to get native event {key}"); - return; - } - - IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg ? (byte) 1 : (byte) 0); - try - { - Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); - } - finally - { - Marshal.FreeHGlobal(info); - } - } - /// Notifies end of stream, when property is marked as true. - /// If this is used alongside with an , then it should be emitted before that call. - /// - /// It should be emitted only once for an object unless it implements . - /// - /// The property should change to false before this event is dispatched. - /// (Since EFL 1.22) - public event EventHandler EosEvt - { - add - { - lock (eventLock) - { - Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => - { - var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; - if (obj != null) - { - EventArgs args = EventArgs.Empty; - try - { - value?.Invoke(obj, args); - } - catch (Exception e) - { - Eina.Log.Error(e.ToString()); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - } - }; - - string key = "_EFL_IO_READER_EVENT_EOS"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); - } - } - - remove - { - lock (eventLock) - { - string key = "_EFL_IO_READER_EVENT_EOS"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); - } - } - } - ///Method to raise event EosEvt. - public void OnEosEvt(EventArgs e) - { - var key = "_EFL_IO_READER_EVENT_EOS"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); - if (desc == IntPtr.Zero) - { - Eina.Log.Error($"Failed to get native event {key}"); - return; - } - - Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); - } - /// Notifies size changed - public event EventHandler SizeChangedEvt - { - add - { - lock (eventLock) - { - Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => - { - var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; - if (obj != null) - { - EventArgs args = EventArgs.Empty; - try - { - value?.Invoke(obj, args); - } - catch (Exception e) - { - Eina.Log.Error(e.ToString()); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - } - }; - - string key = "_EFL_IO_SIZER_EVENT_SIZE_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); - } - } - - remove - { - lock (eventLock) - { - string key = "_EFL_IO_SIZER_EVENT_SIZE_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); - } - } - } - ///Method to raise event SizeChangedEvt. - public void OnSizeChangedEvt(EventArgs e) - { - var key = "_EFL_IO_SIZER_EVENT_SIZE_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); - if (desc == IntPtr.Zero) - { - Eina.Log.Error($"Failed to get native event {key}"); - return; - } - - Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); - } - /// Notifies can_write property changed. - /// If is true there is data to without blocking/error. If is false, would either block or fail. - /// - /// Note that usually this event is dispatched from inside , thus before it returns. - /// (Since EFL 1.22) - public event EventHandler CanWriteChangedEvt - { - add - { - lock (eventLock) - { - Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => - { - var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; - if (obj != null) - { - Efl.Io.IWriterCanWriteChangedEvt_Args args = new Efl.Io.IWriterCanWriteChangedEvt_Args(); - args.arg = Marshal.ReadByte(evt.Info) != 0; - try - { - value?.Invoke(obj, args); - } - catch (Exception e) - { - Eina.Log.Error(e.ToString()); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - } - }; - - string key = "_EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); - } - } - - remove - { - lock (eventLock) - { - string key = "_EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); - } - } - } - ///Method to raise event CanWriteChangedEvt. - public void OnCanWriteChangedEvt(Efl.Io.IWriterCanWriteChangedEvt_Args e) - { - var key = "_EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); - if (desc == IntPtr.Zero) - { - Eina.Log.Error($"Failed to get native event {key}"); - return; - } - - IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg ? (byte) 1 : (byte) 0); - try - { - Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); - } - finally - { - Marshal.FreeHGlobal(info); - } - } - /// Limit how big the buffer can grow. - /// This affects both and how buffer grows when is called. - /// - /// If you want a buffer of an exact size always set the limit before any further calls that can expand it. - /// Defines a maximum buffer size, or 0 to allow unlimited amount of bytes - virtual public uint GetLimit() { - var _ret_var = Efl.Io.Buffer.NativeMethods.efl_io_buffer_limit_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// Constructor-only property to set buffer limit. 0 is unlimited - /// Defines a maximum buffer size, or 0 to allow unlimited amount of bytes - virtual public void SetLimit(uint size) { - Efl.Io.Buffer.NativeMethods.efl_io_buffer_limit_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),size); - Eina.Error.RaiseIfUnhandledException(); - } - /// The position used by . - /// Note that or will affect this property and . - /// - /// will return the greatest of and . - /// Position in buffer - virtual public ulong GetPositionRead() { - var _ret_var = Efl.Io.Buffer.NativeMethods.efl_io_buffer_position_read_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// The position used by . - /// Note that or will affect this property and . - /// - /// will return the greatest of and . - /// Position in buffer - /// true if setting the position succeeded, false otherwise - virtual public bool SetPositionRead(ulong position) { - var _ret_var = Efl.Io.Buffer.NativeMethods.efl_io_buffer_position_read_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),position); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// The position used by . - /// Note that or will affect this property and . - /// - /// will return the greatest of and . - /// Position in buffer - virtual public ulong GetPositionWrite() { - var _ret_var = Efl.Io.Buffer.NativeMethods.efl_io_buffer_position_write_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// The position used by . - /// Note that or will affect this property and . - /// - /// will return the greatest of and . - /// Position in buffer - /// true if setting the position succeeded, false otherwise - virtual public bool SetPositionWrite(ulong position) { - var _ret_var = Efl.Io.Buffer.NativeMethods.efl_io_buffer_position_write_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),position); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// Get a temporary access to buffer's internal memory. - /// The memory pointed by slice may be changed by other methods of this class. The event "reallocated" will be called in those situations. - /// Slice of the current buffer, may be invalidated if , or are called. It is the full slice, not a partial one starting at current position. - virtual public Eina.Slice GetSlice() { - var _ret_var = Efl.Io.Buffer.NativeMethods.efl_io_buffer_slice_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// Immediately pre-allocate a buffer of at least a given size. - /// Amount of bytes to pre-allocate. - virtual public void Preallocate(uint size) { - Efl.Io.Buffer.NativeMethods.efl_io_buffer_preallocate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),size); - Eina.Error.RaiseIfUnhandledException(); - } - /// Adopt a read-only slice as buffer's backing store. - /// The slice memory will not be copied and must remain alive during the buffer's lifetime. Usually this is guaranteed by some global static-const memory or some parent object and this buffer being a view of that -- be aware of parent memory remaining alive, such as "slice,changed" events. - /// Slice to adopt as read-only - virtual public void AdoptReadonly(Eina.Slice slice) { - Efl.Io.Buffer.NativeMethods.efl_io_buffer_adopt_readonly_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),slice); - Eina.Error.RaiseIfUnhandledException(); - } - /// Adopt a read-write slice as buffer's backing store. - /// The slice memory will not be copied and must remain alive during the buffer's lifetime. Usually this is guaranteed by some global static memory or some parent object and this buffer being a view of that -- be aware of parent memory remaining alive, such as "slice,changed" events. - /// - /// The memory will be disposed using free() and reallocated using realloc(). - /// Slice to adopt as read-write - virtual public void AdoptReadwrite(Eina.RwSlice slice) { - Efl.Io.Buffer.NativeMethods.efl_io_buffer_adopt_readwrite_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),slice); - Eina.Error.RaiseIfUnhandledException(); - } - /// Steals the internal buffer memory and returns it as a binbuf. - /// The returned memory must be freed with eina_binbuf_free(). - /// - /// On failure, for example a read-only backing store was adopted with , NULL is returned. - /// Binbuf - virtual public Eina.Binbuf BinbufSteal() { - var _ret_var = Efl.Io.Buffer.NativeMethods.efl_io_buffer_binbuf_steal_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - var _binbuf_ret = new Eina.Binbuf(_ret_var, true); - return _binbuf_ret; - } - /// If true will notify object was closed. - /// (Since EFL 1.22) - /// true if closed, false otherwise - virtual public bool GetClosed() { - var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_closed_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// If true will automatically close resources on exec() calls. - /// When using file descriptors this should set FD_CLOEXEC so they are not inherited by the processes (children or self) doing exec(). - /// (Since EFL 1.22) - /// true if close on exec(), false otherwise - virtual public bool GetCloseOnExec() { - var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_exec_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// If true, will close on exec() call. - /// (Since EFL 1.22) - /// true if close on exec(), false otherwise - /// true if could set, false if not supported or failed. - virtual public bool SetCloseOnExec(bool close_on_exec) { - var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_exec_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),close_on_exec); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// If true will automatically close() on object invalidate. - /// If the object was disconnected from its parent (including the main loop) without close, this property will state whenever it should be closed or not. - /// (Since EFL 1.22) - /// true if close on invalidate, false otherwise - virtual public bool GetCloseOnInvalidate() { - var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_invalidate_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// If true will automatically close() on object invalidate. - /// If the object was disconnected from its parent (including the main loop) without close, this property will state whenever it should be closed or not. - /// (Since EFL 1.22) - /// true if close on invalidate, false otherwise - virtual public void SetCloseOnInvalidate(bool close_on_invalidate) { - Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_invalidate_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),close_on_invalidate); - Eina.Error.RaiseIfUnhandledException(); - } - /// Closes the Input/Output object. - /// This operation will be executed immediately and may or may not block the caller thread for some time. The details of blocking behavior is to be defined by the implementation and may be subject to other parameters such as non-blocking flags, maximum timeout or even retry attempts. - /// - /// You can understand this method as close(2) libc function. - /// (Since EFL 1.22) - /// 0 on succeed, a mapping of errno otherwise - virtual public Eina.Error Close() { - var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// Position property - /// Position in file or buffer - virtual public ulong GetPosition() { - var _ret_var = Efl.Io.IPositionerConcrete.NativeMethods.efl_io_positioner_position_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// Try to set position object, relative to start of file. See - /// Position in file or buffer - /// true if could reposition, false if errors. - virtual public bool SetPosition(ulong position) { - var _ret_var = Efl.Io.IPositionerConcrete.NativeMethods.efl_io_positioner_position_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),position); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// Seek in data - /// Offset in byte relative to whence - /// Whence - /// 0 on succeed, a mapping of errno otherwise - virtual public Eina.Error Seek(long offset, Efl.Io.PositionerWhence whence) { - var _ret_var = Efl.Io.IPositionerConcrete.NativeMethods.efl_io_positioner_seek_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),offset, whence); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// If true will notify can be called without blocking or failing. - /// (Since EFL 1.22) - /// true if it can be read without blocking or failing, false otherwise - virtual public bool GetCanRead() { - var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_can_read_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// If true will notify can be called without blocking or failing. - /// (Since EFL 1.22) - /// true if it can be read without blocking or failing, false otherwise - virtual public void SetCanRead(bool can_read) { - Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_can_read_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),can_read); - Eina.Error.RaiseIfUnhandledException(); - } - /// If true will notify end of stream. - /// (Since EFL 1.22) - /// true if end of stream, false otherwise - virtual public bool GetEos() { - var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_eos_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// If true will notify end of stream. - /// (Since EFL 1.22) - /// true if end of stream, false otherwise - virtual public void SetEos(bool is_eos) { - Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_eos_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),is_eos); - Eina.Error.RaiseIfUnhandledException(); - } - /// Reads data into a pre-allocated buffer. - /// This operation will be executed immediately and may or may not block the caller thread for some time. The details of blocking behavior is to be defined by the implementation and may be subject to other parameters such as non-blocking flags, maximum timeout or even retry attempts. - /// - /// You can understand this method as read(2) libc function. - /// (Since EFL 1.22) - /// Provides a pre-allocated memory to be filled up to rw_slice.len. It will be populated and the length will be set to the actually used amount of bytes, which can be smaller than the request. - /// 0 on succeed, a mapping of errno otherwise - virtual public Eina.Error Read(ref Eina.RwSlice rw_slice) { - var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_read_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ref rw_slice); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// Size property - /// Object size - virtual public ulong GetSize() { - var _ret_var = Efl.Io.ISizerConcrete.NativeMethods.efl_io_sizer_size_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// Try to resize the object, check with get if the value was accepted or not. - /// Object size - /// true if could resize, false if errors. - virtual public bool SetSize(ulong size) { - var _ret_var = Efl.Io.ISizerConcrete.NativeMethods.efl_io_sizer_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),size); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// Resize object - /// Object size - /// 0 on succeed, a mapping of errno otherwise - virtual public Eina.Error Resize(ulong size) { - var _ret_var = Efl.Io.ISizerConcrete.NativeMethods.efl_io_sizer_resize_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),size); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// If true will notify can be called without blocking or failing. - /// (Since EFL 1.22) - /// true if it can be written without blocking or failure, false otherwise - virtual public bool GetCanWrite() { - var _ret_var = Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_can_write_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// If true will notify can be called without blocking or failing. - /// (Since EFL 1.22) - /// true if it can be written without blocking or failure, false otherwise - virtual public void SetCanWrite(bool can_write) { - Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_can_write_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),can_write); - Eina.Error.RaiseIfUnhandledException(); - } - /// Writes data from a pre-populated buffer. - /// This operation will be executed immediately and may or may not block the caller thread for some time. The details of blocking behavior is defined by the implementation and may be subject to other parameters such as non-blocking flags, maximum timeout or even retry attempts. - /// - /// You can understand this method as write(2) libc function. - /// (Since EFL 1.22) - /// Provides a pre-populated memory to be used up to slice.len. The returned slice will be adapted as length will be set to the actually used amount of bytes, which can be smaller than the request. - /// Convenience to output the remaining parts of slice that was not written. If the full slice was written, this will be a slice of zero-length. - /// 0 on succeed, a mapping of errno otherwise - virtual public Eina.Error Write(ref Eina.Slice slice, ref Eina.Slice remaining) { - var _ret_var = Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_write_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ref slice, ref remaining); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// Limit how big the buffer can grow. - /// This affects both and how buffer grows when is called. - /// - /// If you want a buffer of an exact size always set the limit before any further calls that can expand it. - /// Defines a maximum buffer size, or 0 to allow unlimited amount of bytes - public uint Limit { - get { return GetLimit(); } - set { SetLimit(value); } - } - /// The position used by . - /// Note that or will affect this property and . - /// - /// will return the greatest of and . - /// Position in buffer - public ulong PositionRead { - get { return GetPositionRead(); } - set { SetPositionRead(value); } - } - /// The position used by . - /// Note that or will affect this property and . - /// - /// will return the greatest of and . - /// Position in buffer - public ulong PositionWrite { - get { return GetPositionWrite(); } - set { SetPositionWrite(value); } - } - /// Get a temporary access to buffer's internal memory. - /// The memory pointed by slice may be changed by other methods of this class. The event "reallocated" will be called in those situations. - /// Slice of the current buffer, may be invalidated if , or are called. It is the full slice, not a partial one starting at current position. - public Eina.Slice Slice { - get { return GetSlice(); } - } - /// If true will notify object was closed. - /// (Since EFL 1.22) - /// true if closed, false otherwise - public bool Closed { - get { return GetClosed(); } - } - /// If true will automatically close resources on exec() calls. - /// When using file descriptors this should set FD_CLOEXEC so they are not inherited by the processes (children or self) doing exec(). - /// (Since EFL 1.22) - /// true if close on exec(), false otherwise - public bool CloseOnExec { - get { return GetCloseOnExec(); } - set { SetCloseOnExec(value); } - } - /// If true will automatically close() on object invalidate. - /// If the object was disconnected from its parent (including the main loop) without close, this property will state whenever it should be closed or not. - /// (Since EFL 1.22) - /// true if close on invalidate, false otherwise - public bool CloseOnInvalidate { - get { return GetCloseOnInvalidate(); } - set { SetCloseOnInvalidate(value); } - } - /// Position property - /// Position in file or buffer - public ulong Position { - get { return GetPosition(); } - set { SetPosition(value); } - } - /// If true will notify can be called without blocking or failing. - /// (Since EFL 1.22) - /// true if it can be read without blocking or failing, false otherwise - public bool CanRead { - get { return GetCanRead(); } - set { SetCanRead(value); } - } - /// If true will notify end of stream. - /// (Since EFL 1.22) - /// true if end of stream, false otherwise - public bool Eos { - get { return GetEos(); } - set { SetEos(value); } - } - /// Size property - /// Object size - public ulong Size { - get { return GetSize(); } - set { SetSize(value); } - } - /// If true will notify can be called without blocking or failing. - /// (Since EFL 1.22) - /// true if it can be written without blocking or failure, false otherwise - public bool CanWrite { - get { return GetCanWrite(); } - set { SetCanWrite(value); } - } - private static IntPtr GetEflClassStatic() - { - return Efl.Io.Buffer.efl_io_buffer_class_get(); - } - /// Wrapper for native methods and virtual method delegates. - /// For internal use by generated code only. - public new class NativeMethods : Efl.Object.NativeMethods - { - private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl); - /// Gets the list of Eo operations to override. - /// The list of Eo operations to be overload. - public override System.Collections.Generic.List GetEoOps(System.Type type) - { - var descs = new System.Collections.Generic.List(); - var methods = Efl.Eo.Globals.GetUserMethods(type); - - if (efl_io_buffer_limit_get_static_delegate == null) - { - efl_io_buffer_limit_get_static_delegate = new efl_io_buffer_limit_get_delegate(limit_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetLimit") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_buffer_limit_get"), func = Marshal.GetFunctionPointerForDelegate(efl_io_buffer_limit_get_static_delegate) }); - } - - if (efl_io_buffer_limit_set_static_delegate == null) - { - efl_io_buffer_limit_set_static_delegate = new efl_io_buffer_limit_set_delegate(limit_set); - } - - if (methods.FirstOrDefault(m => m.Name == "SetLimit") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_buffer_limit_set"), func = Marshal.GetFunctionPointerForDelegate(efl_io_buffer_limit_set_static_delegate) }); - } - - if (efl_io_buffer_position_read_get_static_delegate == null) - { - efl_io_buffer_position_read_get_static_delegate = new efl_io_buffer_position_read_get_delegate(position_read_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetPositionRead") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_buffer_position_read_get"), func = Marshal.GetFunctionPointerForDelegate(efl_io_buffer_position_read_get_static_delegate) }); - } - - if (efl_io_buffer_position_read_set_static_delegate == null) - { - efl_io_buffer_position_read_set_static_delegate = new efl_io_buffer_position_read_set_delegate(position_read_set); - } - - if (methods.FirstOrDefault(m => m.Name == "SetPositionRead") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_buffer_position_read_set"), func = Marshal.GetFunctionPointerForDelegate(efl_io_buffer_position_read_set_static_delegate) }); - } - - if (efl_io_buffer_position_write_get_static_delegate == null) - { - efl_io_buffer_position_write_get_static_delegate = new efl_io_buffer_position_write_get_delegate(position_write_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetPositionWrite") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_buffer_position_write_get"), func = Marshal.GetFunctionPointerForDelegate(efl_io_buffer_position_write_get_static_delegate) }); - } - - if (efl_io_buffer_position_write_set_static_delegate == null) - { - efl_io_buffer_position_write_set_static_delegate = new efl_io_buffer_position_write_set_delegate(position_write_set); - } - - if (methods.FirstOrDefault(m => m.Name == "SetPositionWrite") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_buffer_position_write_set"), func = Marshal.GetFunctionPointerForDelegate(efl_io_buffer_position_write_set_static_delegate) }); - } - - if (efl_io_buffer_slice_get_static_delegate == null) - { - efl_io_buffer_slice_get_static_delegate = new efl_io_buffer_slice_get_delegate(slice_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetSlice") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_buffer_slice_get"), func = Marshal.GetFunctionPointerForDelegate(efl_io_buffer_slice_get_static_delegate) }); - } - - if (efl_io_buffer_preallocate_static_delegate == null) - { - efl_io_buffer_preallocate_static_delegate = new efl_io_buffer_preallocate_delegate(preallocate); - } - - if (methods.FirstOrDefault(m => m.Name == "Preallocate") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_buffer_preallocate"), func = Marshal.GetFunctionPointerForDelegate(efl_io_buffer_preallocate_static_delegate) }); - } - - if (efl_io_buffer_adopt_readonly_static_delegate == null) - { - efl_io_buffer_adopt_readonly_static_delegate = new efl_io_buffer_adopt_readonly_delegate(adopt_readonly); - } - - if (methods.FirstOrDefault(m => m.Name == "AdoptReadonly") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_buffer_adopt_readonly"), func = Marshal.GetFunctionPointerForDelegate(efl_io_buffer_adopt_readonly_static_delegate) }); - } - - if (efl_io_buffer_adopt_readwrite_static_delegate == null) - { - efl_io_buffer_adopt_readwrite_static_delegate = new efl_io_buffer_adopt_readwrite_delegate(adopt_readwrite); - } - - if (methods.FirstOrDefault(m => m.Name == "AdoptReadwrite") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_buffer_adopt_readwrite"), func = Marshal.GetFunctionPointerForDelegate(efl_io_buffer_adopt_readwrite_static_delegate) }); - } - - if (efl_io_buffer_binbuf_steal_static_delegate == null) - { - efl_io_buffer_binbuf_steal_static_delegate = new efl_io_buffer_binbuf_steal_delegate(binbuf_steal); - } - - if (methods.FirstOrDefault(m => m.Name == "BinbufSteal") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_buffer_binbuf_steal"), func = Marshal.GetFunctionPointerForDelegate(efl_io_buffer_binbuf_steal_static_delegate) }); - } - - if (efl_io_closer_closed_get_static_delegate == null) - { - efl_io_closer_closed_get_static_delegate = new efl_io_closer_closed_get_delegate(closed_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetClosed") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_closer_closed_get"), func = Marshal.GetFunctionPointerForDelegate(efl_io_closer_closed_get_static_delegate) }); - } - - if (efl_io_closer_close_on_exec_get_static_delegate == null) - { - efl_io_closer_close_on_exec_get_static_delegate = new efl_io_closer_close_on_exec_get_delegate(close_on_exec_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetCloseOnExec") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_closer_close_on_exec_get"), func = Marshal.GetFunctionPointerForDelegate(efl_io_closer_close_on_exec_get_static_delegate) }); - } - - if (efl_io_closer_close_on_exec_set_static_delegate == null) - { - efl_io_closer_close_on_exec_set_static_delegate = new efl_io_closer_close_on_exec_set_delegate(close_on_exec_set); - } - - if (methods.FirstOrDefault(m => m.Name == "SetCloseOnExec") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_closer_close_on_exec_set"), func = Marshal.GetFunctionPointerForDelegate(efl_io_closer_close_on_exec_set_static_delegate) }); - } - - if (efl_io_closer_close_on_invalidate_get_static_delegate == null) - { - efl_io_closer_close_on_invalidate_get_static_delegate = new efl_io_closer_close_on_invalidate_get_delegate(close_on_invalidate_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetCloseOnInvalidate") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_closer_close_on_invalidate_get"), func = Marshal.GetFunctionPointerForDelegate(efl_io_closer_close_on_invalidate_get_static_delegate) }); - } - - if (efl_io_closer_close_on_invalidate_set_static_delegate == null) - { - efl_io_closer_close_on_invalidate_set_static_delegate = new efl_io_closer_close_on_invalidate_set_delegate(close_on_invalidate_set); - } - - if (methods.FirstOrDefault(m => m.Name == "SetCloseOnInvalidate") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_closer_close_on_invalidate_set"), func = Marshal.GetFunctionPointerForDelegate(efl_io_closer_close_on_invalidate_set_static_delegate) }); - } - - if (efl_io_closer_close_static_delegate == null) - { - efl_io_closer_close_static_delegate = new efl_io_closer_close_delegate(close); - } - - if (methods.FirstOrDefault(m => m.Name == "Close") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_closer_close"), func = Marshal.GetFunctionPointerForDelegate(efl_io_closer_close_static_delegate) }); - } - - if (efl_io_positioner_position_get_static_delegate == null) - { - efl_io_positioner_position_get_static_delegate = new efl_io_positioner_position_get_delegate(position_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetPosition") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_positioner_position_get"), func = Marshal.GetFunctionPointerForDelegate(efl_io_positioner_position_get_static_delegate) }); - } - - if (efl_io_positioner_position_set_static_delegate == null) - { - efl_io_positioner_position_set_static_delegate = new efl_io_positioner_position_set_delegate(position_set); - } - - if (methods.FirstOrDefault(m => m.Name == "SetPosition") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_positioner_position_set"), func = Marshal.GetFunctionPointerForDelegate(efl_io_positioner_position_set_static_delegate) }); - } - - if (efl_io_positioner_seek_static_delegate == null) - { - efl_io_positioner_seek_static_delegate = new efl_io_positioner_seek_delegate(seek); - } - - if (methods.FirstOrDefault(m => m.Name == "Seek") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_positioner_seek"), func = Marshal.GetFunctionPointerForDelegate(efl_io_positioner_seek_static_delegate) }); - } - - if (efl_io_reader_can_read_get_static_delegate == null) - { - efl_io_reader_can_read_get_static_delegate = new efl_io_reader_can_read_get_delegate(can_read_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetCanRead") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_reader_can_read_get"), func = Marshal.GetFunctionPointerForDelegate(efl_io_reader_can_read_get_static_delegate) }); - } - - if (efl_io_reader_can_read_set_static_delegate == null) - { - efl_io_reader_can_read_set_static_delegate = new efl_io_reader_can_read_set_delegate(can_read_set); - } - - if (methods.FirstOrDefault(m => m.Name == "SetCanRead") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_reader_can_read_set"), func = Marshal.GetFunctionPointerForDelegate(efl_io_reader_can_read_set_static_delegate) }); - } - - if (efl_io_reader_eos_get_static_delegate == null) - { - efl_io_reader_eos_get_static_delegate = new efl_io_reader_eos_get_delegate(eos_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetEos") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_reader_eos_get"), func = Marshal.GetFunctionPointerForDelegate(efl_io_reader_eos_get_static_delegate) }); - } - - if (efl_io_reader_eos_set_static_delegate == null) - { - efl_io_reader_eos_set_static_delegate = new efl_io_reader_eos_set_delegate(eos_set); - } - - if (methods.FirstOrDefault(m => m.Name == "SetEos") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_reader_eos_set"), func = Marshal.GetFunctionPointerForDelegate(efl_io_reader_eos_set_static_delegate) }); - } - - if (efl_io_reader_read_static_delegate == null) - { - efl_io_reader_read_static_delegate = new efl_io_reader_read_delegate(read); - } - - if (methods.FirstOrDefault(m => m.Name == "Read") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_reader_read"), func = Marshal.GetFunctionPointerForDelegate(efl_io_reader_read_static_delegate) }); - } - - if (efl_io_sizer_size_get_static_delegate == null) - { - efl_io_sizer_size_get_static_delegate = new efl_io_sizer_size_get_delegate(size_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetSize") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_sizer_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_io_sizer_size_get_static_delegate) }); - } - - if (efl_io_sizer_size_set_static_delegate == null) - { - efl_io_sizer_size_set_static_delegate = new efl_io_sizer_size_set_delegate(size_set); - } - - if (methods.FirstOrDefault(m => m.Name == "SetSize") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_sizer_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_io_sizer_size_set_static_delegate) }); - } - - if (efl_io_sizer_resize_static_delegate == null) - { - efl_io_sizer_resize_static_delegate = new efl_io_sizer_resize_delegate(resize); - } - - if (methods.FirstOrDefault(m => m.Name == "Resize") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_sizer_resize"), func = Marshal.GetFunctionPointerForDelegate(efl_io_sizer_resize_static_delegate) }); - } - - if (efl_io_writer_can_write_get_static_delegate == null) - { - efl_io_writer_can_write_get_static_delegate = new efl_io_writer_can_write_get_delegate(can_write_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetCanWrite") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_writer_can_write_get"), func = Marshal.GetFunctionPointerForDelegate(efl_io_writer_can_write_get_static_delegate) }); - } - - if (efl_io_writer_can_write_set_static_delegate == null) - { - efl_io_writer_can_write_set_static_delegate = new efl_io_writer_can_write_set_delegate(can_write_set); - } - - if (methods.FirstOrDefault(m => m.Name == "SetCanWrite") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_writer_can_write_set"), func = Marshal.GetFunctionPointerForDelegate(efl_io_writer_can_write_set_static_delegate) }); - } - - if (efl_io_writer_write_static_delegate == null) - { - efl_io_writer_write_static_delegate = new efl_io_writer_write_delegate(write); - } - - if (methods.FirstOrDefault(m => m.Name == "Write") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_writer_write"), func = Marshal.GetFunctionPointerForDelegate(efl_io_writer_write_static_delegate) }); - } - - descs.AddRange(base.GetEoOps(type)); - return descs; - } - /// Returns the Eo class for the native methods of this class. - /// The native class pointer. - public override IntPtr GetEflClass() - { - return Efl.Io.Buffer.efl_io_buffer_class_get(); - } - - #pragma warning disable CA1707, CS1591, SA1300, SA1600 - - - private delegate uint efl_io_buffer_limit_get_delegate(System.IntPtr obj, System.IntPtr pd); - - - public delegate uint efl_io_buffer_limit_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_buffer_limit_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_buffer_limit_get"); - - private static uint limit_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_buffer_limit_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - uint _ret_var = default(uint); - try - { - _ret_var = ((Buffer)ws.Target).GetLimit(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_buffer_limit_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_buffer_limit_get_delegate efl_io_buffer_limit_get_static_delegate; - - - private delegate void efl_io_buffer_limit_set_delegate(System.IntPtr obj, System.IntPtr pd, uint size); - - - public delegate void efl_io_buffer_limit_set_api_delegate(System.IntPtr obj, uint size); - - public static Efl.Eo.FunctionWrapper efl_io_buffer_limit_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_buffer_limit_set"); - - private static void limit_set(System.IntPtr obj, System.IntPtr pd, uint size) - { - Eina.Log.Debug("function efl_io_buffer_limit_set was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Buffer)ws.Target).SetLimit(size); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_io_buffer_limit_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size); - } - } - - private static efl_io_buffer_limit_set_delegate efl_io_buffer_limit_set_static_delegate; - - - private delegate ulong efl_io_buffer_position_read_get_delegate(System.IntPtr obj, System.IntPtr pd); - - - public delegate ulong efl_io_buffer_position_read_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_buffer_position_read_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_buffer_position_read_get"); - - private static ulong position_read_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_buffer_position_read_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - ulong _ret_var = default(ulong); - try - { - _ret_var = ((Buffer)ws.Target).GetPositionRead(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_buffer_position_read_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_buffer_position_read_get_delegate efl_io_buffer_position_read_get_static_delegate; - - [return: MarshalAs(UnmanagedType.U1)] - private delegate bool efl_io_buffer_position_read_set_delegate(System.IntPtr obj, System.IntPtr pd, ulong position); - - [return: MarshalAs(UnmanagedType.U1)] - public delegate bool efl_io_buffer_position_read_set_api_delegate(System.IntPtr obj, ulong position); - - public static Efl.Eo.FunctionWrapper efl_io_buffer_position_read_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_buffer_position_read_set"); - - private static bool position_read_set(System.IntPtr obj, System.IntPtr pd, ulong position) - { - Eina.Log.Debug("function efl_io_buffer_position_read_set was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - bool _ret_var = default(bool); - try - { - _ret_var = ((Buffer)ws.Target).SetPositionRead(position); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_buffer_position_read_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), position); - } - } - - private static efl_io_buffer_position_read_set_delegate efl_io_buffer_position_read_set_static_delegate; - - - private delegate ulong efl_io_buffer_position_write_get_delegate(System.IntPtr obj, System.IntPtr pd); - - - public delegate ulong efl_io_buffer_position_write_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_buffer_position_write_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_buffer_position_write_get"); - - private static ulong position_write_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_buffer_position_write_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - ulong _ret_var = default(ulong); - try - { - _ret_var = ((Buffer)ws.Target).GetPositionWrite(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_buffer_position_write_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_buffer_position_write_get_delegate efl_io_buffer_position_write_get_static_delegate; - - [return: MarshalAs(UnmanagedType.U1)] - private delegate bool efl_io_buffer_position_write_set_delegate(System.IntPtr obj, System.IntPtr pd, ulong position); - - [return: MarshalAs(UnmanagedType.U1)] - public delegate bool efl_io_buffer_position_write_set_api_delegate(System.IntPtr obj, ulong position); - - public static Efl.Eo.FunctionWrapper efl_io_buffer_position_write_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_buffer_position_write_set"); - - private static bool position_write_set(System.IntPtr obj, System.IntPtr pd, ulong position) - { - Eina.Log.Debug("function efl_io_buffer_position_write_set was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - bool _ret_var = default(bool); - try - { - _ret_var = ((Buffer)ws.Target).SetPositionWrite(position); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_buffer_position_write_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), position); - } - } - - private static efl_io_buffer_position_write_set_delegate efl_io_buffer_position_write_set_static_delegate; - - - private delegate Eina.Slice efl_io_buffer_slice_get_delegate(System.IntPtr obj, System.IntPtr pd); - - - public delegate Eina.Slice efl_io_buffer_slice_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_buffer_slice_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_buffer_slice_get"); - - private static Eina.Slice slice_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_buffer_slice_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - Eina.Slice _ret_var = default(Eina.Slice); - try - { - _ret_var = ((Buffer)ws.Target).GetSlice(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_buffer_slice_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_buffer_slice_get_delegate efl_io_buffer_slice_get_static_delegate; - - - private delegate void efl_io_buffer_preallocate_delegate(System.IntPtr obj, System.IntPtr pd, uint size); - - - public delegate void efl_io_buffer_preallocate_api_delegate(System.IntPtr obj, uint size); - - public static Efl.Eo.FunctionWrapper efl_io_buffer_preallocate_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_buffer_preallocate"); - - private static void preallocate(System.IntPtr obj, System.IntPtr pd, uint size) - { - Eina.Log.Debug("function efl_io_buffer_preallocate was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Buffer)ws.Target).Preallocate(size); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_io_buffer_preallocate_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size); - } - } - - private static efl_io_buffer_preallocate_delegate efl_io_buffer_preallocate_static_delegate; - - - private delegate void efl_io_buffer_adopt_readonly_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Slice slice); - - - public delegate void efl_io_buffer_adopt_readonly_api_delegate(System.IntPtr obj, Eina.Slice slice); - - public static Efl.Eo.FunctionWrapper efl_io_buffer_adopt_readonly_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_buffer_adopt_readonly"); - - private static void adopt_readonly(System.IntPtr obj, System.IntPtr pd, Eina.Slice slice) - { - Eina.Log.Debug("function efl_io_buffer_adopt_readonly was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Buffer)ws.Target).AdoptReadonly(slice); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_io_buffer_adopt_readonly_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), slice); - } - } - - private static efl_io_buffer_adopt_readonly_delegate efl_io_buffer_adopt_readonly_static_delegate; - - - private delegate void efl_io_buffer_adopt_readwrite_delegate(System.IntPtr obj, System.IntPtr pd, Eina.RwSlice slice); - - - public delegate void efl_io_buffer_adopt_readwrite_api_delegate(System.IntPtr obj, Eina.RwSlice slice); - - public static Efl.Eo.FunctionWrapper efl_io_buffer_adopt_readwrite_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_buffer_adopt_readwrite"); - - private static void adopt_readwrite(System.IntPtr obj, System.IntPtr pd, Eina.RwSlice slice) - { - Eina.Log.Debug("function efl_io_buffer_adopt_readwrite was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Buffer)ws.Target).AdoptReadwrite(slice); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_io_buffer_adopt_readwrite_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), slice); - } - } - - private static efl_io_buffer_adopt_readwrite_delegate efl_io_buffer_adopt_readwrite_static_delegate; - - - private delegate System.IntPtr efl_io_buffer_binbuf_steal_delegate(System.IntPtr obj, System.IntPtr pd); - - - public delegate System.IntPtr efl_io_buffer_binbuf_steal_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_buffer_binbuf_steal_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_buffer_binbuf_steal"); - - private static System.IntPtr binbuf_steal(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_buffer_binbuf_steal was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - Eina.Binbuf _ret_var = default(Eina.Binbuf); - try - { - _ret_var = ((Buffer)ws.Target).BinbufSteal(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - _ret_var.Own = false; return _ret_var.Handle; - - } - else - { - return efl_io_buffer_binbuf_steal_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_buffer_binbuf_steal_delegate efl_io_buffer_binbuf_steal_static_delegate; - - [return: MarshalAs(UnmanagedType.U1)] - private delegate bool efl_io_closer_closed_get_delegate(System.IntPtr obj, System.IntPtr pd); - - [return: MarshalAs(UnmanagedType.U1)] - public delegate bool efl_io_closer_closed_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_closer_closed_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_closer_closed_get"); - - private static bool closed_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_closer_closed_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - bool _ret_var = default(bool); - try - { - _ret_var = ((Buffer)ws.Target).GetClosed(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_closer_closed_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_closer_closed_get_delegate efl_io_closer_closed_get_static_delegate; - - [return: MarshalAs(UnmanagedType.U1)] - private delegate bool efl_io_closer_close_on_exec_get_delegate(System.IntPtr obj, System.IntPtr pd); - - [return: MarshalAs(UnmanagedType.U1)] - public delegate bool efl_io_closer_close_on_exec_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_closer_close_on_exec_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_closer_close_on_exec_get"); - - private static bool close_on_exec_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_closer_close_on_exec_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - bool _ret_var = default(bool); - try - { - _ret_var = ((Buffer)ws.Target).GetCloseOnExec(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_closer_close_on_exec_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_closer_close_on_exec_get_delegate efl_io_closer_close_on_exec_get_static_delegate; - - [return: MarshalAs(UnmanagedType.U1)] - private delegate bool efl_io_closer_close_on_exec_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool close_on_exec); - - [return: MarshalAs(UnmanagedType.U1)] - public delegate bool efl_io_closer_close_on_exec_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool close_on_exec); - - public static Efl.Eo.FunctionWrapper efl_io_closer_close_on_exec_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_closer_close_on_exec_set"); - - private static bool close_on_exec_set(System.IntPtr obj, System.IntPtr pd, bool close_on_exec) - { - Eina.Log.Debug("function efl_io_closer_close_on_exec_set was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - bool _ret_var = default(bool); - try - { - _ret_var = ((Buffer)ws.Target).SetCloseOnExec(close_on_exec); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_closer_close_on_exec_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), close_on_exec); - } - } - - private static efl_io_closer_close_on_exec_set_delegate efl_io_closer_close_on_exec_set_static_delegate; - - [return: MarshalAs(UnmanagedType.U1)] - private delegate bool efl_io_closer_close_on_invalidate_get_delegate(System.IntPtr obj, System.IntPtr pd); - - [return: MarshalAs(UnmanagedType.U1)] - public delegate bool efl_io_closer_close_on_invalidate_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_closer_close_on_invalidate_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_closer_close_on_invalidate_get"); - - private static bool close_on_invalidate_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_closer_close_on_invalidate_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - bool _ret_var = default(bool); - try - { - _ret_var = ((Buffer)ws.Target).GetCloseOnInvalidate(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_closer_close_on_invalidate_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_closer_close_on_invalidate_get_delegate efl_io_closer_close_on_invalidate_get_static_delegate; - - - private delegate void efl_io_closer_close_on_invalidate_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool close_on_invalidate); - - - public delegate void efl_io_closer_close_on_invalidate_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool close_on_invalidate); - - public static Efl.Eo.FunctionWrapper efl_io_closer_close_on_invalidate_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_closer_close_on_invalidate_set"); - - private static void close_on_invalidate_set(System.IntPtr obj, System.IntPtr pd, bool close_on_invalidate) - { - Eina.Log.Debug("function efl_io_closer_close_on_invalidate_set was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Buffer)ws.Target).SetCloseOnInvalidate(close_on_invalidate); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_io_closer_close_on_invalidate_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), close_on_invalidate); - } - } - - private static efl_io_closer_close_on_invalidate_set_delegate efl_io_closer_close_on_invalidate_set_static_delegate; - - - private delegate Eina.Error efl_io_closer_close_delegate(System.IntPtr obj, System.IntPtr pd); - - - public delegate Eina.Error efl_io_closer_close_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_closer_close_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_closer_close"); - - private static Eina.Error close(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_closer_close was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - Eina.Error _ret_var = default(Eina.Error); - try - { - _ret_var = ((Buffer)ws.Target).Close(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_closer_close_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_closer_close_delegate efl_io_closer_close_static_delegate; - - - private delegate ulong efl_io_positioner_position_get_delegate(System.IntPtr obj, System.IntPtr pd); - - - public delegate ulong efl_io_positioner_position_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_positioner_position_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_positioner_position_get"); - - private static ulong position_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_positioner_position_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - ulong _ret_var = default(ulong); - try - { - _ret_var = ((Buffer)ws.Target).GetPosition(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_positioner_position_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_positioner_position_get_delegate efl_io_positioner_position_get_static_delegate; - - [return: MarshalAs(UnmanagedType.U1)] - private delegate bool efl_io_positioner_position_set_delegate(System.IntPtr obj, System.IntPtr pd, ulong position); - - [return: MarshalAs(UnmanagedType.U1)] - public delegate bool efl_io_positioner_position_set_api_delegate(System.IntPtr obj, ulong position); - - public static Efl.Eo.FunctionWrapper efl_io_positioner_position_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_positioner_position_set"); - - private static bool position_set(System.IntPtr obj, System.IntPtr pd, ulong position) - { - Eina.Log.Debug("function efl_io_positioner_position_set was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - bool _ret_var = default(bool); - try - { - _ret_var = ((Buffer)ws.Target).SetPosition(position); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_positioner_position_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), position); - } - } - - private static efl_io_positioner_position_set_delegate efl_io_positioner_position_set_static_delegate; - - - private delegate Eina.Error efl_io_positioner_seek_delegate(System.IntPtr obj, System.IntPtr pd, long offset, Efl.Io.PositionerWhence whence); - - - public delegate Eina.Error efl_io_positioner_seek_api_delegate(System.IntPtr obj, long offset, Efl.Io.PositionerWhence whence); - - public static Efl.Eo.FunctionWrapper efl_io_positioner_seek_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_positioner_seek"); - - private static Eina.Error seek(System.IntPtr obj, System.IntPtr pd, long offset, Efl.Io.PositionerWhence whence) - { - Eina.Log.Debug("function efl_io_positioner_seek was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - Eina.Error _ret_var = default(Eina.Error); - try - { - _ret_var = ((Buffer)ws.Target).Seek(offset, whence); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_positioner_seek_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), offset, whence); - } - } - - private static efl_io_positioner_seek_delegate efl_io_positioner_seek_static_delegate; - - [return: MarshalAs(UnmanagedType.U1)] - private delegate bool efl_io_reader_can_read_get_delegate(System.IntPtr obj, System.IntPtr pd); - - [return: MarshalAs(UnmanagedType.U1)] - public delegate bool efl_io_reader_can_read_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_reader_can_read_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_reader_can_read_get"); - - private static bool can_read_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_reader_can_read_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - bool _ret_var = default(bool); - try - { - _ret_var = ((Buffer)ws.Target).GetCanRead(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_reader_can_read_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_reader_can_read_get_delegate efl_io_reader_can_read_get_static_delegate; - - - private delegate void efl_io_reader_can_read_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool can_read); - - - public delegate void efl_io_reader_can_read_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool can_read); - - public static Efl.Eo.FunctionWrapper efl_io_reader_can_read_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_reader_can_read_set"); - - private static void can_read_set(System.IntPtr obj, System.IntPtr pd, bool can_read) - { - Eina.Log.Debug("function efl_io_reader_can_read_set was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Buffer)ws.Target).SetCanRead(can_read); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_io_reader_can_read_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), can_read); - } - } - - private static efl_io_reader_can_read_set_delegate efl_io_reader_can_read_set_static_delegate; - - [return: MarshalAs(UnmanagedType.U1)] - private delegate bool efl_io_reader_eos_get_delegate(System.IntPtr obj, System.IntPtr pd); - - [return: MarshalAs(UnmanagedType.U1)] - public delegate bool efl_io_reader_eos_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_reader_eos_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_reader_eos_get"); - - private static bool eos_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_reader_eos_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - bool _ret_var = default(bool); - try - { - _ret_var = ((Buffer)ws.Target).GetEos(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_reader_eos_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_reader_eos_get_delegate efl_io_reader_eos_get_static_delegate; - - - private delegate void efl_io_reader_eos_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool is_eos); - - - public delegate void efl_io_reader_eos_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool is_eos); - - public static Efl.Eo.FunctionWrapper efl_io_reader_eos_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_reader_eos_set"); - - private static void eos_set(System.IntPtr obj, System.IntPtr pd, bool is_eos) - { - Eina.Log.Debug("function efl_io_reader_eos_set was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Buffer)ws.Target).SetEos(is_eos); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_io_reader_eos_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), is_eos); - } - } - - private static efl_io_reader_eos_set_delegate efl_io_reader_eos_set_static_delegate; - - - private delegate Eina.Error efl_io_reader_read_delegate(System.IntPtr obj, System.IntPtr pd, ref Eina.RwSlice rw_slice); - - - public delegate Eina.Error efl_io_reader_read_api_delegate(System.IntPtr obj, ref Eina.RwSlice rw_slice); - - public static Efl.Eo.FunctionWrapper efl_io_reader_read_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_reader_read"); - - private static Eina.Error read(System.IntPtr obj, System.IntPtr pd, ref Eina.RwSlice rw_slice) - { - Eina.Log.Debug("function efl_io_reader_read was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - Eina.Error _ret_var = default(Eina.Error); - try - { - _ret_var = ((Buffer)ws.Target).Read(ref rw_slice); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_reader_read_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), ref rw_slice); - } - } - - private static efl_io_reader_read_delegate efl_io_reader_read_static_delegate; - - - private delegate ulong efl_io_sizer_size_get_delegate(System.IntPtr obj, System.IntPtr pd); - - - public delegate ulong efl_io_sizer_size_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_sizer_size_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_sizer_size_get"); - - private static ulong size_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_sizer_size_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - ulong _ret_var = default(ulong); - try - { - _ret_var = ((Buffer)ws.Target).GetSize(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_sizer_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_sizer_size_get_delegate efl_io_sizer_size_get_static_delegate; - - [return: MarshalAs(UnmanagedType.U1)] - private delegate bool efl_io_sizer_size_set_delegate(System.IntPtr obj, System.IntPtr pd, ulong size); - - [return: MarshalAs(UnmanagedType.U1)] - public delegate bool efl_io_sizer_size_set_api_delegate(System.IntPtr obj, ulong size); - - public static Efl.Eo.FunctionWrapper efl_io_sizer_size_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_sizer_size_set"); - - private static bool size_set(System.IntPtr obj, System.IntPtr pd, ulong size) - { - Eina.Log.Debug("function efl_io_sizer_size_set was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - bool _ret_var = default(bool); - try - { - _ret_var = ((Buffer)ws.Target).SetSize(size); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_sizer_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size); - } - } - - private static efl_io_sizer_size_set_delegate efl_io_sizer_size_set_static_delegate; - - - private delegate Eina.Error efl_io_sizer_resize_delegate(System.IntPtr obj, System.IntPtr pd, ulong size); - - - public delegate Eina.Error efl_io_sizer_resize_api_delegate(System.IntPtr obj, ulong size); - - public static Efl.Eo.FunctionWrapper efl_io_sizer_resize_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_sizer_resize"); - - private static Eina.Error resize(System.IntPtr obj, System.IntPtr pd, ulong size) - { - Eina.Log.Debug("function efl_io_sizer_resize was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - Eina.Error _ret_var = default(Eina.Error); - try - { - _ret_var = ((Buffer)ws.Target).Resize(size); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_sizer_resize_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size); - } - } - - private static efl_io_sizer_resize_delegate efl_io_sizer_resize_static_delegate; - - [return: MarshalAs(UnmanagedType.U1)] - private delegate bool efl_io_writer_can_write_get_delegate(System.IntPtr obj, System.IntPtr pd); - - [return: MarshalAs(UnmanagedType.U1)] - public delegate bool efl_io_writer_can_write_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_writer_can_write_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_writer_can_write_get"); - - private static bool can_write_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_writer_can_write_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - bool _ret_var = default(bool); - try - { - _ret_var = ((Buffer)ws.Target).GetCanWrite(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_writer_can_write_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_writer_can_write_get_delegate efl_io_writer_can_write_get_static_delegate; - - - private delegate void efl_io_writer_can_write_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool can_write); - - - public delegate void efl_io_writer_can_write_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool can_write); - - public static Efl.Eo.FunctionWrapper efl_io_writer_can_write_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_writer_can_write_set"); - - private static void can_write_set(System.IntPtr obj, System.IntPtr pd, bool can_write) - { - Eina.Log.Debug("function efl_io_writer_can_write_set was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Buffer)ws.Target).SetCanWrite(can_write); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_io_writer_can_write_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), can_write); - } - } - - private static efl_io_writer_can_write_set_delegate efl_io_writer_can_write_set_static_delegate; - - - private delegate Eina.Error efl_io_writer_write_delegate(System.IntPtr obj, System.IntPtr pd, ref Eina.Slice slice, ref Eina.Slice remaining); - - - public delegate Eina.Error efl_io_writer_write_api_delegate(System.IntPtr obj, ref Eina.Slice slice, ref Eina.Slice remaining); - - public static Efl.Eo.FunctionWrapper efl_io_writer_write_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_writer_write"); - - private static Eina.Error write(System.IntPtr obj, System.IntPtr pd, ref Eina.Slice slice, ref Eina.Slice remaining) - { - Eina.Log.Debug("function efl_io_writer_write was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - remaining = default(Eina.Slice); Eina.Error _ret_var = default(Eina.Error); - try - { - _ret_var = ((Buffer)ws.Target).Write(ref slice, ref remaining); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_writer_write_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), ref slice, ref remaining); - } - } - - private static efl_io_writer_write_delegate efl_io_writer_write_static_delegate; - - #pragma warning restore CA1707, CS1591, SA1300, SA1600 - -} -} -} - -} - diff --git a/internals/src/EflSharp/EflSharp/efl/efl_io_closer.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_io_closer.eo.cs index e7d12b9b6..e84e65e6a 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_io_closer.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_io_closer.eo.cs @@ -101,7 +101,7 @@ sealed public class ICloserConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_io_closer_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_io_positioner.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_io_positioner.eo.cs index a59725f5a..8587f2721 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_io_positioner.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_io_positioner.eo.cs @@ -57,7 +57,7 @@ sealed public class IPositionerConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_io_positioner_mixin_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. @@ -221,7 +221,7 @@ sealed public class IPositionerConcrete : ulong _ret_var = default(ulong); try { - _ret_var = ((IPositionerConcrete)ws.Target).GetPosition(); + _ret_var = ((IPositioner)ws.Target).GetPosition(); } catch (Exception e) { @@ -257,7 +257,7 @@ sealed public class IPositionerConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IPositionerConcrete)ws.Target).SetPosition(position); + _ret_var = ((IPositioner)ws.Target).SetPosition(position); } catch (Exception e) { @@ -293,7 +293,7 @@ sealed public class IPositionerConcrete : Eina.Error _ret_var = default(Eina.Error); try { - _ret_var = ((IPositionerConcrete)ws.Target).Seek(offset, whence); + _ret_var = ((IPositioner)ws.Target).Seek(offset, whence); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_io_queue.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_io_queue.eo.cs deleted file mode 100644 index dddc1d84c..000000000 --- a/internals/src/EflSharp/EflSharp/efl/efl_io_queue.eo.cs +++ /dev/null @@ -1,1641 +0,0 @@ -#pragma warning disable CS1591 -using System; -using System.Runtime.InteropServices; -using System.Collections.Generic; -using System.Linq; -using System.Threading; -using System.ComponentModel; -namespace Efl { - -namespace Io { - -/// Generic In-memory queue of data to be used as I/O. -/// This class is to be used to receive temporary data using and hold it until someone calls to consume it. -/// -/// A fixed sized queue can be implemented by setting followed by -[Efl.Io.Queue.NativeMethods] -public class Queue : Efl.Object, Efl.Io.ICloser, Efl.Io.IReader, Efl.Io.IWriter -{ - ///Pointer to the native class description. - public override System.IntPtr NativeClass - { - get - { - if (((object)this).GetType() == typeof(Queue)) - { - return GetEflClassStatic(); - } - else - { - return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()]; - } - } - } - - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr - efl_io_queue_class_get(); - /// Initializes a new instance of the class. - /// Parent instance. - public Queue(Efl.Object parent= null - ) : base(efl_io_queue_class_get(), typeof(Queue), parent) - { - FinishInstantiation(); - } - - /// Initializes a new instance of the class. - /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly. - /// The native pointer to be wrapped. - protected Queue(System.IntPtr raw) : base(raw) - { - } - - /// Initializes a new instance of the class. - /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly. - /// The pointer to the base native Eo class. - /// The managed type of the public constructor that originated this call. - /// The Efl.Object parent of this instance. - protected Queue(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent) - { - } - - /// The read-slice returned by may have changed. - public event EventHandler SliceChangedEvt - { - add - { - lock (eventLock) - { - Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => - { - var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; - if (obj != null) - { - EventArgs args = EventArgs.Empty; - try - { - value?.Invoke(obj, args); - } - catch (Exception e) - { - Eina.Log.Error(e.ToString()); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - } - }; - - string key = "_EFL_IO_QUEUE_EVENT_SLICE_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); - } - } - - remove - { - lock (eventLock) - { - string key = "_EFL_IO_QUEUE_EVENT_SLICE_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); - } - } - } - ///Method to raise event SliceChangedEvt. - public void OnSliceChangedEvt(EventArgs e) - { - var key = "_EFL_IO_QUEUE_EVENT_SLICE_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); - if (desc == IntPtr.Zero) - { - Eina.Log.Error($"Failed to get native event {key}"); - return; - } - - Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); - } - /// Notifies closed, when property is marked as true - /// (Since EFL 1.22) - public event EventHandler ClosedEvt - { - add - { - lock (eventLock) - { - Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => - { - var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; - if (obj != null) - { - EventArgs args = EventArgs.Empty; - try - { - value?.Invoke(obj, args); - } - catch (Exception e) - { - Eina.Log.Error(e.ToString()); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - } - }; - - string key = "_EFL_IO_CLOSER_EVENT_CLOSED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); - } - } - - remove - { - lock (eventLock) - { - string key = "_EFL_IO_CLOSER_EVENT_CLOSED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); - } - } - } - ///Method to raise event ClosedEvt. - public void OnClosedEvt(EventArgs e) - { - var key = "_EFL_IO_CLOSER_EVENT_CLOSED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); - if (desc == IntPtr.Zero) - { - Eina.Log.Error($"Failed to get native event {key}"); - return; - } - - Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); - } - /// Notifies can_read property changed. - /// If is true there is data to without blocking/error. If is false, would either block or fail. - /// - /// Note that usually this event is dispatched from inside , thus before it returns. - /// (Since EFL 1.22) - public event EventHandler CanReadChangedEvt - { - add - { - lock (eventLock) - { - Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => - { - var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; - if (obj != null) - { - Efl.Io.IReaderCanReadChangedEvt_Args args = new Efl.Io.IReaderCanReadChangedEvt_Args(); - args.arg = Marshal.ReadByte(evt.Info) != 0; - try - { - value?.Invoke(obj, args); - } - catch (Exception e) - { - Eina.Log.Error(e.ToString()); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - } - }; - - string key = "_EFL_IO_READER_EVENT_CAN_READ_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); - } - } - - remove - { - lock (eventLock) - { - string key = "_EFL_IO_READER_EVENT_CAN_READ_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); - } - } - } - ///Method to raise event CanReadChangedEvt. - public void OnCanReadChangedEvt(Efl.Io.IReaderCanReadChangedEvt_Args e) - { - var key = "_EFL_IO_READER_EVENT_CAN_READ_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); - if (desc == IntPtr.Zero) - { - Eina.Log.Error($"Failed to get native event {key}"); - return; - } - - IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg ? (byte) 1 : (byte) 0); - try - { - Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); - } - finally - { - Marshal.FreeHGlobal(info); - } - } - /// Notifies end of stream, when property is marked as true. - /// If this is used alongside with an , then it should be emitted before that call. - /// - /// It should be emitted only once for an object unless it implements . - /// - /// The property should change to false before this event is dispatched. - /// (Since EFL 1.22) - public event EventHandler EosEvt - { - add - { - lock (eventLock) - { - Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => - { - var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; - if (obj != null) - { - EventArgs args = EventArgs.Empty; - try - { - value?.Invoke(obj, args); - } - catch (Exception e) - { - Eina.Log.Error(e.ToString()); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - } - }; - - string key = "_EFL_IO_READER_EVENT_EOS"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); - } - } - - remove - { - lock (eventLock) - { - string key = "_EFL_IO_READER_EVENT_EOS"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); - } - } - } - ///Method to raise event EosEvt. - public void OnEosEvt(EventArgs e) - { - var key = "_EFL_IO_READER_EVENT_EOS"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); - if (desc == IntPtr.Zero) - { - Eina.Log.Error($"Failed to get native event {key}"); - return; - } - - Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); - } - /// Notifies can_write property changed. - /// If is true there is data to without blocking/error. If is false, would either block or fail. - /// - /// Note that usually this event is dispatched from inside , thus before it returns. - /// (Since EFL 1.22) - public event EventHandler CanWriteChangedEvt - { - add - { - lock (eventLock) - { - Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => - { - var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; - if (obj != null) - { - Efl.Io.IWriterCanWriteChangedEvt_Args args = new Efl.Io.IWriterCanWriteChangedEvt_Args(); - args.arg = Marshal.ReadByte(evt.Info) != 0; - try - { - value?.Invoke(obj, args); - } - catch (Exception e) - { - Eina.Log.Error(e.ToString()); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - } - }; - - string key = "_EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); - } - } - - remove - { - lock (eventLock) - { - string key = "_EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); - } - } - } - ///Method to raise event CanWriteChangedEvt. - public void OnCanWriteChangedEvt(Efl.Io.IWriterCanWriteChangedEvt_Args e) - { - var key = "_EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); - if (desc == IntPtr.Zero) - { - Eina.Log.Error($"Failed to get native event {key}"); - return; - } - - IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg ? (byte) 1 : (byte) 0); - try - { - Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); - } - finally - { - Marshal.FreeHGlobal(info); - } - } - /// Limit how big the buffer can grow. - /// This affects both and how buffer grows when is called. - /// - /// If you want a buffer of an exact size, always set the limit before any further calls that can expand it. - /// Defines a maximum buffer size, or 0 to allow unlimited amount of bytes - virtual public uint GetLimit() { - var _ret_var = Efl.Io.Queue.NativeMethods.efl_io_queue_limit_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// Constructor-only property to set buffer limit. 0 is unlimited - /// Defines a maximum buffer size, or 0 to allow unlimited amount of bytes - virtual public void SetLimit(uint size) { - Efl.Io.Queue.NativeMethods.efl_io_queue_limit_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),size); - Eina.Error.RaiseIfUnhandledException(); - } - /// How many bytes are available for read - /// Bytes available to read - virtual public uint GetUsage() { - var _ret_var = Efl.Io.Queue.NativeMethods.efl_io_queue_usage_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// Gain temporary access to queue's internal read memory. - /// The memory pointed to by slice may be changed by other methods of this class. The event "slice,changed" will be called in those situations. - /// Slice of the current buffer, may be invalidated if , or are called. It is the full slice available for reading. - virtual public Eina.Slice GetSlice() { - var _ret_var = Efl.Io.Queue.NativeMethods.efl_io_queue_slice_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// Immediately pre-allocate a buffer of at least a given size. - /// Amount of bytes to pre-allocate. - virtual public void Preallocate(uint size) { - Efl.Io.Queue.NativeMethods.efl_io_queue_preallocate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),size); - Eina.Error.RaiseIfUnhandledException(); - } - /// Discard the given number of bytes. - /// This has the same effect as reading and discarding the given amount of bytes, without executing the actual copy. - /// - /// It's often paired with , if users read the information from the slice and once they're done, that data must be discarded. - /// - /// As an example, some protocols provide messages with a "size" header, in which case is used to peek into the available memory to see if there is a "size" and if the rest of the slice is the full payload. In that situation the slice may be handled by a processing function. When the function is complete the defined amount of data must be discarded -- with this function. - /// Bytes to discard - virtual public void Discard(uint amount) { - Efl.Io.Queue.NativeMethods.efl_io_queue_discard_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),amount); - Eina.Error.RaiseIfUnhandledException(); - } - /// Clears the queue. Same as reading all data. - /// This is equivalent to calling with amount of bytes. - virtual public void Clear() { - Efl.Io.Queue.NativeMethods.efl_io_queue_clear_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - } - /// Mark this end-of-stream. - /// That will set to true and forbid any further writes. - /// - /// Unlike , this won't clear anything. - virtual public void EosMark() { - Efl.Io.Queue.NativeMethods.efl_io_queue_eos_mark_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - } - /// If true will notify object was closed. - /// (Since EFL 1.22) - /// true if closed, false otherwise - virtual public bool GetClosed() { - var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_closed_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// If true will automatically close resources on exec() calls. - /// When using file descriptors this should set FD_CLOEXEC so they are not inherited by the processes (children or self) doing exec(). - /// (Since EFL 1.22) - /// true if close on exec(), false otherwise - virtual public bool GetCloseOnExec() { - var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_exec_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// If true, will close on exec() call. - /// (Since EFL 1.22) - /// true if close on exec(), false otherwise - /// true if could set, false if not supported or failed. - virtual public bool SetCloseOnExec(bool close_on_exec) { - var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_exec_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),close_on_exec); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// If true will automatically close() on object invalidate. - /// If the object was disconnected from its parent (including the main loop) without close, this property will state whenever it should be closed or not. - /// (Since EFL 1.22) - /// true if close on invalidate, false otherwise - virtual public bool GetCloseOnInvalidate() { - var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_invalidate_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// If true will automatically close() on object invalidate. - /// If the object was disconnected from its parent (including the main loop) without close, this property will state whenever it should be closed or not. - /// (Since EFL 1.22) - /// true if close on invalidate, false otherwise - virtual public void SetCloseOnInvalidate(bool close_on_invalidate) { - Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_on_invalidate_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),close_on_invalidate); - Eina.Error.RaiseIfUnhandledException(); - } - /// Closes the Input/Output object. - /// This operation will be executed immediately and may or may not block the caller thread for some time. The details of blocking behavior is to be defined by the implementation and may be subject to other parameters such as non-blocking flags, maximum timeout or even retry attempts. - /// - /// You can understand this method as close(2) libc function. - /// (Since EFL 1.22) - /// 0 on succeed, a mapping of errno otherwise - virtual public Eina.Error Close() { - var _ret_var = Efl.Io.ICloserConcrete.NativeMethods.efl_io_closer_close_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// If true will notify can be called without blocking or failing. - /// (Since EFL 1.22) - /// true if it can be read without blocking or failing, false otherwise - virtual public bool GetCanRead() { - var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_can_read_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// If true will notify can be called without blocking or failing. - /// (Since EFL 1.22) - /// true if it can be read without blocking or failing, false otherwise - virtual public void SetCanRead(bool can_read) { - Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_can_read_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),can_read); - Eina.Error.RaiseIfUnhandledException(); - } - /// If true will notify end of stream. - /// (Since EFL 1.22) - /// true if end of stream, false otherwise - virtual public bool GetEos() { - var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_eos_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// If true will notify end of stream. - /// (Since EFL 1.22) - /// true if end of stream, false otherwise - virtual public void SetEos(bool is_eos) { - Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_eos_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),is_eos); - Eina.Error.RaiseIfUnhandledException(); - } - /// Reads data into a pre-allocated buffer. - /// This operation will be executed immediately and may or may not block the caller thread for some time. The details of blocking behavior is to be defined by the implementation and may be subject to other parameters such as non-blocking flags, maximum timeout or even retry attempts. - /// - /// You can understand this method as read(2) libc function. - /// (Since EFL 1.22) - /// Provides a pre-allocated memory to be filled up to rw_slice.len. It will be populated and the length will be set to the actually used amount of bytes, which can be smaller than the request. - /// 0 on succeed, a mapping of errno otherwise - virtual public Eina.Error Read(ref Eina.RwSlice rw_slice) { - var _ret_var = Efl.Io.IReaderConcrete.NativeMethods.efl_io_reader_read_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ref rw_slice); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// If true will notify can be called without blocking or failing. - /// (Since EFL 1.22) - /// true if it can be written without blocking or failure, false otherwise - virtual public bool GetCanWrite() { - var _ret_var = Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_can_write_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// If true will notify can be called without blocking or failing. - /// (Since EFL 1.22) - /// true if it can be written without blocking or failure, false otherwise - virtual public void SetCanWrite(bool can_write) { - Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_can_write_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),can_write); - Eina.Error.RaiseIfUnhandledException(); - } - /// Writes data from a pre-populated buffer. - /// This operation will be executed immediately and may or may not block the caller thread for some time. The details of blocking behavior is defined by the implementation and may be subject to other parameters such as non-blocking flags, maximum timeout or even retry attempts. - /// - /// You can understand this method as write(2) libc function. - /// (Since EFL 1.22) - /// Provides a pre-populated memory to be used up to slice.len. The returned slice will be adapted as length will be set to the actually used amount of bytes, which can be smaller than the request. - /// Convenience to output the remaining parts of slice that was not written. If the full slice was written, this will be a slice of zero-length. - /// 0 on succeed, a mapping of errno otherwise - virtual public Eina.Error Write(ref Eina.Slice slice, ref Eina.Slice remaining) { - var _ret_var = Efl.Io.IWriterConcrete.NativeMethods.efl_io_writer_write_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ref slice, ref remaining); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// Limit how big the buffer can grow. - /// This affects both and how buffer grows when is called. - /// - /// If you want a buffer of an exact size, always set the limit before any further calls that can expand it. - /// Defines a maximum buffer size, or 0 to allow unlimited amount of bytes - public uint Limit { - get { return GetLimit(); } - set { SetLimit(value); } - } - /// How many bytes are available for read - /// Bytes available to read - public uint Usage { - get { return GetUsage(); } - } - /// Gain temporary access to queue's internal read memory. - /// The memory pointed to by slice may be changed by other methods of this class. The event "slice,changed" will be called in those situations. - /// Slice of the current buffer, may be invalidated if , or are called. It is the full slice available for reading. - public Eina.Slice Slice { - get { return GetSlice(); } - } - /// If true will notify object was closed. - /// (Since EFL 1.22) - /// true if closed, false otherwise - public bool Closed { - get { return GetClosed(); } - } - /// If true will automatically close resources on exec() calls. - /// When using file descriptors this should set FD_CLOEXEC so they are not inherited by the processes (children or self) doing exec(). - /// (Since EFL 1.22) - /// true if close on exec(), false otherwise - public bool CloseOnExec { - get { return GetCloseOnExec(); } - set { SetCloseOnExec(value); } - } - /// If true will automatically close() on object invalidate. - /// If the object was disconnected from its parent (including the main loop) without close, this property will state whenever it should be closed or not. - /// (Since EFL 1.22) - /// true if close on invalidate, false otherwise - public bool CloseOnInvalidate { - get { return GetCloseOnInvalidate(); } - set { SetCloseOnInvalidate(value); } - } - /// If true will notify can be called without blocking or failing. - /// (Since EFL 1.22) - /// true if it can be read without blocking or failing, false otherwise - public bool CanRead { - get { return GetCanRead(); } - set { SetCanRead(value); } - } - /// If true will notify end of stream. - /// (Since EFL 1.22) - /// true if end of stream, false otherwise - public bool Eos { - get { return GetEos(); } - set { SetEos(value); } - } - /// If true will notify can be called without blocking or failing. - /// (Since EFL 1.22) - /// true if it can be written without blocking or failure, false otherwise - public bool CanWrite { - get { return GetCanWrite(); } - set { SetCanWrite(value); } - } - private static IntPtr GetEflClassStatic() - { - return Efl.Io.Queue.efl_io_queue_class_get(); - } - /// Wrapper for native methods and virtual method delegates. - /// For internal use by generated code only. - public new class NativeMethods : Efl.Object.NativeMethods - { - private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl); - /// Gets the list of Eo operations to override. - /// The list of Eo operations to be overload. - public override System.Collections.Generic.List GetEoOps(System.Type type) - { - var descs = new System.Collections.Generic.List(); - var methods = Efl.Eo.Globals.GetUserMethods(type); - - if (efl_io_queue_limit_get_static_delegate == null) - { - efl_io_queue_limit_get_static_delegate = new efl_io_queue_limit_get_delegate(limit_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetLimit") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_queue_limit_get"), func = Marshal.GetFunctionPointerForDelegate(efl_io_queue_limit_get_static_delegate) }); - } - - if (efl_io_queue_limit_set_static_delegate == null) - { - efl_io_queue_limit_set_static_delegate = new efl_io_queue_limit_set_delegate(limit_set); - } - - if (methods.FirstOrDefault(m => m.Name == "SetLimit") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_queue_limit_set"), func = Marshal.GetFunctionPointerForDelegate(efl_io_queue_limit_set_static_delegate) }); - } - - if (efl_io_queue_usage_get_static_delegate == null) - { - efl_io_queue_usage_get_static_delegate = new efl_io_queue_usage_get_delegate(usage_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetUsage") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_queue_usage_get"), func = Marshal.GetFunctionPointerForDelegate(efl_io_queue_usage_get_static_delegate) }); - } - - if (efl_io_queue_slice_get_static_delegate == null) - { - efl_io_queue_slice_get_static_delegate = new efl_io_queue_slice_get_delegate(slice_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetSlice") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_queue_slice_get"), func = Marshal.GetFunctionPointerForDelegate(efl_io_queue_slice_get_static_delegate) }); - } - - if (efl_io_queue_preallocate_static_delegate == null) - { - efl_io_queue_preallocate_static_delegate = new efl_io_queue_preallocate_delegate(preallocate); - } - - if (methods.FirstOrDefault(m => m.Name == "Preallocate") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_queue_preallocate"), func = Marshal.GetFunctionPointerForDelegate(efl_io_queue_preallocate_static_delegate) }); - } - - if (efl_io_queue_discard_static_delegate == null) - { - efl_io_queue_discard_static_delegate = new efl_io_queue_discard_delegate(discard); - } - - if (methods.FirstOrDefault(m => m.Name == "Discard") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_queue_discard"), func = Marshal.GetFunctionPointerForDelegate(efl_io_queue_discard_static_delegate) }); - } - - if (efl_io_queue_clear_static_delegate == null) - { - efl_io_queue_clear_static_delegate = new efl_io_queue_clear_delegate(clear); - } - - if (methods.FirstOrDefault(m => m.Name == "Clear") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_queue_clear"), func = Marshal.GetFunctionPointerForDelegate(efl_io_queue_clear_static_delegate) }); - } - - if (efl_io_queue_eos_mark_static_delegate == null) - { - efl_io_queue_eos_mark_static_delegate = new efl_io_queue_eos_mark_delegate(eos_mark); - } - - if (methods.FirstOrDefault(m => m.Name == "EosMark") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_queue_eos_mark"), func = Marshal.GetFunctionPointerForDelegate(efl_io_queue_eos_mark_static_delegate) }); - } - - if (efl_io_closer_closed_get_static_delegate == null) - { - efl_io_closer_closed_get_static_delegate = new efl_io_closer_closed_get_delegate(closed_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetClosed") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_closer_closed_get"), func = Marshal.GetFunctionPointerForDelegate(efl_io_closer_closed_get_static_delegate) }); - } - - if (efl_io_closer_close_on_exec_get_static_delegate == null) - { - efl_io_closer_close_on_exec_get_static_delegate = new efl_io_closer_close_on_exec_get_delegate(close_on_exec_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetCloseOnExec") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_closer_close_on_exec_get"), func = Marshal.GetFunctionPointerForDelegate(efl_io_closer_close_on_exec_get_static_delegate) }); - } - - if (efl_io_closer_close_on_exec_set_static_delegate == null) - { - efl_io_closer_close_on_exec_set_static_delegate = new efl_io_closer_close_on_exec_set_delegate(close_on_exec_set); - } - - if (methods.FirstOrDefault(m => m.Name == "SetCloseOnExec") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_closer_close_on_exec_set"), func = Marshal.GetFunctionPointerForDelegate(efl_io_closer_close_on_exec_set_static_delegate) }); - } - - if (efl_io_closer_close_on_invalidate_get_static_delegate == null) - { - efl_io_closer_close_on_invalidate_get_static_delegate = new efl_io_closer_close_on_invalidate_get_delegate(close_on_invalidate_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetCloseOnInvalidate") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_closer_close_on_invalidate_get"), func = Marshal.GetFunctionPointerForDelegate(efl_io_closer_close_on_invalidate_get_static_delegate) }); - } - - if (efl_io_closer_close_on_invalidate_set_static_delegate == null) - { - efl_io_closer_close_on_invalidate_set_static_delegate = new efl_io_closer_close_on_invalidate_set_delegate(close_on_invalidate_set); - } - - if (methods.FirstOrDefault(m => m.Name == "SetCloseOnInvalidate") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_closer_close_on_invalidate_set"), func = Marshal.GetFunctionPointerForDelegate(efl_io_closer_close_on_invalidate_set_static_delegate) }); - } - - if (efl_io_closer_close_static_delegate == null) - { - efl_io_closer_close_static_delegate = new efl_io_closer_close_delegate(close); - } - - if (methods.FirstOrDefault(m => m.Name == "Close") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_closer_close"), func = Marshal.GetFunctionPointerForDelegate(efl_io_closer_close_static_delegate) }); - } - - if (efl_io_reader_can_read_get_static_delegate == null) - { - efl_io_reader_can_read_get_static_delegate = new efl_io_reader_can_read_get_delegate(can_read_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetCanRead") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_reader_can_read_get"), func = Marshal.GetFunctionPointerForDelegate(efl_io_reader_can_read_get_static_delegate) }); - } - - if (efl_io_reader_can_read_set_static_delegate == null) - { - efl_io_reader_can_read_set_static_delegate = new efl_io_reader_can_read_set_delegate(can_read_set); - } - - if (methods.FirstOrDefault(m => m.Name == "SetCanRead") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_reader_can_read_set"), func = Marshal.GetFunctionPointerForDelegate(efl_io_reader_can_read_set_static_delegate) }); - } - - if (efl_io_reader_eos_get_static_delegate == null) - { - efl_io_reader_eos_get_static_delegate = new efl_io_reader_eos_get_delegate(eos_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetEos") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_reader_eos_get"), func = Marshal.GetFunctionPointerForDelegate(efl_io_reader_eos_get_static_delegate) }); - } - - if (efl_io_reader_eos_set_static_delegate == null) - { - efl_io_reader_eos_set_static_delegate = new efl_io_reader_eos_set_delegate(eos_set); - } - - if (methods.FirstOrDefault(m => m.Name == "SetEos") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_reader_eos_set"), func = Marshal.GetFunctionPointerForDelegate(efl_io_reader_eos_set_static_delegate) }); - } - - if (efl_io_reader_read_static_delegate == null) - { - efl_io_reader_read_static_delegate = new efl_io_reader_read_delegate(read); - } - - if (methods.FirstOrDefault(m => m.Name == "Read") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_reader_read"), func = Marshal.GetFunctionPointerForDelegate(efl_io_reader_read_static_delegate) }); - } - - if (efl_io_writer_can_write_get_static_delegate == null) - { - efl_io_writer_can_write_get_static_delegate = new efl_io_writer_can_write_get_delegate(can_write_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetCanWrite") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_writer_can_write_get"), func = Marshal.GetFunctionPointerForDelegate(efl_io_writer_can_write_get_static_delegate) }); - } - - if (efl_io_writer_can_write_set_static_delegate == null) - { - efl_io_writer_can_write_set_static_delegate = new efl_io_writer_can_write_set_delegate(can_write_set); - } - - if (methods.FirstOrDefault(m => m.Name == "SetCanWrite") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_writer_can_write_set"), func = Marshal.GetFunctionPointerForDelegate(efl_io_writer_can_write_set_static_delegate) }); - } - - if (efl_io_writer_write_static_delegate == null) - { - efl_io_writer_write_static_delegate = new efl_io_writer_write_delegate(write); - } - - if (methods.FirstOrDefault(m => m.Name == "Write") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_writer_write"), func = Marshal.GetFunctionPointerForDelegate(efl_io_writer_write_static_delegate) }); - } - - descs.AddRange(base.GetEoOps(type)); - return descs; - } - /// Returns the Eo class for the native methods of this class. - /// The native class pointer. - public override IntPtr GetEflClass() - { - return Efl.Io.Queue.efl_io_queue_class_get(); - } - - #pragma warning disable CA1707, CS1591, SA1300, SA1600 - - - private delegate uint efl_io_queue_limit_get_delegate(System.IntPtr obj, System.IntPtr pd); - - - public delegate uint efl_io_queue_limit_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_queue_limit_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_queue_limit_get"); - - private static uint limit_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_queue_limit_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - uint _ret_var = default(uint); - try - { - _ret_var = ((Queue)ws.Target).GetLimit(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_queue_limit_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_queue_limit_get_delegate efl_io_queue_limit_get_static_delegate; - - - private delegate void efl_io_queue_limit_set_delegate(System.IntPtr obj, System.IntPtr pd, uint size); - - - public delegate void efl_io_queue_limit_set_api_delegate(System.IntPtr obj, uint size); - - public static Efl.Eo.FunctionWrapper efl_io_queue_limit_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_queue_limit_set"); - - private static void limit_set(System.IntPtr obj, System.IntPtr pd, uint size) - { - Eina.Log.Debug("function efl_io_queue_limit_set was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Queue)ws.Target).SetLimit(size); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_io_queue_limit_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size); - } - } - - private static efl_io_queue_limit_set_delegate efl_io_queue_limit_set_static_delegate; - - - private delegate uint efl_io_queue_usage_get_delegate(System.IntPtr obj, System.IntPtr pd); - - - public delegate uint efl_io_queue_usage_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_queue_usage_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_queue_usage_get"); - - private static uint usage_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_queue_usage_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - uint _ret_var = default(uint); - try - { - _ret_var = ((Queue)ws.Target).GetUsage(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_queue_usage_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_queue_usage_get_delegate efl_io_queue_usage_get_static_delegate; - - - private delegate Eina.Slice efl_io_queue_slice_get_delegate(System.IntPtr obj, System.IntPtr pd); - - - public delegate Eina.Slice efl_io_queue_slice_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_queue_slice_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_queue_slice_get"); - - private static Eina.Slice slice_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_queue_slice_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - Eina.Slice _ret_var = default(Eina.Slice); - try - { - _ret_var = ((Queue)ws.Target).GetSlice(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_queue_slice_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_queue_slice_get_delegate efl_io_queue_slice_get_static_delegate; - - - private delegate void efl_io_queue_preallocate_delegate(System.IntPtr obj, System.IntPtr pd, uint size); - - - public delegate void efl_io_queue_preallocate_api_delegate(System.IntPtr obj, uint size); - - public static Efl.Eo.FunctionWrapper efl_io_queue_preallocate_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_queue_preallocate"); - - private static void preallocate(System.IntPtr obj, System.IntPtr pd, uint size) - { - Eina.Log.Debug("function efl_io_queue_preallocate was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Queue)ws.Target).Preallocate(size); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_io_queue_preallocate_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size); - } - } - - private static efl_io_queue_preallocate_delegate efl_io_queue_preallocate_static_delegate; - - - private delegate void efl_io_queue_discard_delegate(System.IntPtr obj, System.IntPtr pd, uint amount); - - - public delegate void efl_io_queue_discard_api_delegate(System.IntPtr obj, uint amount); - - public static Efl.Eo.FunctionWrapper efl_io_queue_discard_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_queue_discard"); - - private static void discard(System.IntPtr obj, System.IntPtr pd, uint amount) - { - Eina.Log.Debug("function efl_io_queue_discard was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Queue)ws.Target).Discard(amount); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_io_queue_discard_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), amount); - } - } - - private static efl_io_queue_discard_delegate efl_io_queue_discard_static_delegate; - - - private delegate void efl_io_queue_clear_delegate(System.IntPtr obj, System.IntPtr pd); - - - public delegate void efl_io_queue_clear_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_queue_clear_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_queue_clear"); - - private static void clear(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_queue_clear was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Queue)ws.Target).Clear(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_io_queue_clear_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_queue_clear_delegate efl_io_queue_clear_static_delegate; - - - private delegate void efl_io_queue_eos_mark_delegate(System.IntPtr obj, System.IntPtr pd); - - - public delegate void efl_io_queue_eos_mark_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_queue_eos_mark_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_queue_eos_mark"); - - private static void eos_mark(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_queue_eos_mark was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Queue)ws.Target).EosMark(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_io_queue_eos_mark_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_queue_eos_mark_delegate efl_io_queue_eos_mark_static_delegate; - - [return: MarshalAs(UnmanagedType.U1)] - private delegate bool efl_io_closer_closed_get_delegate(System.IntPtr obj, System.IntPtr pd); - - [return: MarshalAs(UnmanagedType.U1)] - public delegate bool efl_io_closer_closed_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_closer_closed_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_closer_closed_get"); - - private static bool closed_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_closer_closed_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - bool _ret_var = default(bool); - try - { - _ret_var = ((Queue)ws.Target).GetClosed(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_closer_closed_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_closer_closed_get_delegate efl_io_closer_closed_get_static_delegate; - - [return: MarshalAs(UnmanagedType.U1)] - private delegate bool efl_io_closer_close_on_exec_get_delegate(System.IntPtr obj, System.IntPtr pd); - - [return: MarshalAs(UnmanagedType.U1)] - public delegate bool efl_io_closer_close_on_exec_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_closer_close_on_exec_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_closer_close_on_exec_get"); - - private static bool close_on_exec_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_closer_close_on_exec_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - bool _ret_var = default(bool); - try - { - _ret_var = ((Queue)ws.Target).GetCloseOnExec(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_closer_close_on_exec_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_closer_close_on_exec_get_delegate efl_io_closer_close_on_exec_get_static_delegate; - - [return: MarshalAs(UnmanagedType.U1)] - private delegate bool efl_io_closer_close_on_exec_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool close_on_exec); - - [return: MarshalAs(UnmanagedType.U1)] - public delegate bool efl_io_closer_close_on_exec_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool close_on_exec); - - public static Efl.Eo.FunctionWrapper efl_io_closer_close_on_exec_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_closer_close_on_exec_set"); - - private static bool close_on_exec_set(System.IntPtr obj, System.IntPtr pd, bool close_on_exec) - { - Eina.Log.Debug("function efl_io_closer_close_on_exec_set was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - bool _ret_var = default(bool); - try - { - _ret_var = ((Queue)ws.Target).SetCloseOnExec(close_on_exec); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_closer_close_on_exec_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), close_on_exec); - } - } - - private static efl_io_closer_close_on_exec_set_delegate efl_io_closer_close_on_exec_set_static_delegate; - - [return: MarshalAs(UnmanagedType.U1)] - private delegate bool efl_io_closer_close_on_invalidate_get_delegate(System.IntPtr obj, System.IntPtr pd); - - [return: MarshalAs(UnmanagedType.U1)] - public delegate bool efl_io_closer_close_on_invalidate_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_closer_close_on_invalidate_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_closer_close_on_invalidate_get"); - - private static bool close_on_invalidate_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_closer_close_on_invalidate_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - bool _ret_var = default(bool); - try - { - _ret_var = ((Queue)ws.Target).GetCloseOnInvalidate(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_closer_close_on_invalidate_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_closer_close_on_invalidate_get_delegate efl_io_closer_close_on_invalidate_get_static_delegate; - - - private delegate void efl_io_closer_close_on_invalidate_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool close_on_invalidate); - - - public delegate void efl_io_closer_close_on_invalidate_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool close_on_invalidate); - - public static Efl.Eo.FunctionWrapper efl_io_closer_close_on_invalidate_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_closer_close_on_invalidate_set"); - - private static void close_on_invalidate_set(System.IntPtr obj, System.IntPtr pd, bool close_on_invalidate) - { - Eina.Log.Debug("function efl_io_closer_close_on_invalidate_set was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Queue)ws.Target).SetCloseOnInvalidate(close_on_invalidate); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_io_closer_close_on_invalidate_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), close_on_invalidate); - } - } - - private static efl_io_closer_close_on_invalidate_set_delegate efl_io_closer_close_on_invalidate_set_static_delegate; - - - private delegate Eina.Error efl_io_closer_close_delegate(System.IntPtr obj, System.IntPtr pd); - - - public delegate Eina.Error efl_io_closer_close_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_closer_close_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_closer_close"); - - private static Eina.Error close(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_closer_close was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - Eina.Error _ret_var = default(Eina.Error); - try - { - _ret_var = ((Queue)ws.Target).Close(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_closer_close_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_closer_close_delegate efl_io_closer_close_static_delegate; - - [return: MarshalAs(UnmanagedType.U1)] - private delegate bool efl_io_reader_can_read_get_delegate(System.IntPtr obj, System.IntPtr pd); - - [return: MarshalAs(UnmanagedType.U1)] - public delegate bool efl_io_reader_can_read_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_reader_can_read_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_reader_can_read_get"); - - private static bool can_read_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_reader_can_read_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - bool _ret_var = default(bool); - try - { - _ret_var = ((Queue)ws.Target).GetCanRead(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_reader_can_read_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_reader_can_read_get_delegate efl_io_reader_can_read_get_static_delegate; - - - private delegate void efl_io_reader_can_read_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool can_read); - - - public delegate void efl_io_reader_can_read_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool can_read); - - public static Efl.Eo.FunctionWrapper efl_io_reader_can_read_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_reader_can_read_set"); - - private static void can_read_set(System.IntPtr obj, System.IntPtr pd, bool can_read) - { - Eina.Log.Debug("function efl_io_reader_can_read_set was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Queue)ws.Target).SetCanRead(can_read); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_io_reader_can_read_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), can_read); - } - } - - private static efl_io_reader_can_read_set_delegate efl_io_reader_can_read_set_static_delegate; - - [return: MarshalAs(UnmanagedType.U1)] - private delegate bool efl_io_reader_eos_get_delegate(System.IntPtr obj, System.IntPtr pd); - - [return: MarshalAs(UnmanagedType.U1)] - public delegate bool efl_io_reader_eos_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_reader_eos_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_reader_eos_get"); - - private static bool eos_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_reader_eos_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - bool _ret_var = default(bool); - try - { - _ret_var = ((Queue)ws.Target).GetEos(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_reader_eos_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_reader_eos_get_delegate efl_io_reader_eos_get_static_delegate; - - - private delegate void efl_io_reader_eos_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool is_eos); - - - public delegate void efl_io_reader_eos_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool is_eos); - - public static Efl.Eo.FunctionWrapper efl_io_reader_eos_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_reader_eos_set"); - - private static void eos_set(System.IntPtr obj, System.IntPtr pd, bool is_eos) - { - Eina.Log.Debug("function efl_io_reader_eos_set was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Queue)ws.Target).SetEos(is_eos); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_io_reader_eos_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), is_eos); - } - } - - private static efl_io_reader_eos_set_delegate efl_io_reader_eos_set_static_delegate; - - - private delegate Eina.Error efl_io_reader_read_delegate(System.IntPtr obj, System.IntPtr pd, ref Eina.RwSlice rw_slice); - - - public delegate Eina.Error efl_io_reader_read_api_delegate(System.IntPtr obj, ref Eina.RwSlice rw_slice); - - public static Efl.Eo.FunctionWrapper efl_io_reader_read_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_reader_read"); - - private static Eina.Error read(System.IntPtr obj, System.IntPtr pd, ref Eina.RwSlice rw_slice) - { - Eina.Log.Debug("function efl_io_reader_read was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - Eina.Error _ret_var = default(Eina.Error); - try - { - _ret_var = ((Queue)ws.Target).Read(ref rw_slice); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_reader_read_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), ref rw_slice); - } - } - - private static efl_io_reader_read_delegate efl_io_reader_read_static_delegate; - - [return: MarshalAs(UnmanagedType.U1)] - private delegate bool efl_io_writer_can_write_get_delegate(System.IntPtr obj, System.IntPtr pd); - - [return: MarshalAs(UnmanagedType.U1)] - public delegate bool efl_io_writer_can_write_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_writer_can_write_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_writer_can_write_get"); - - private static bool can_write_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_writer_can_write_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - bool _ret_var = default(bool); - try - { - _ret_var = ((Queue)ws.Target).GetCanWrite(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_writer_can_write_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_writer_can_write_get_delegate efl_io_writer_can_write_get_static_delegate; - - - private delegate void efl_io_writer_can_write_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool can_write); - - - public delegate void efl_io_writer_can_write_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool can_write); - - public static Efl.Eo.FunctionWrapper efl_io_writer_can_write_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_writer_can_write_set"); - - private static void can_write_set(System.IntPtr obj, System.IntPtr pd, bool can_write) - { - Eina.Log.Debug("function efl_io_writer_can_write_set was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Queue)ws.Target).SetCanWrite(can_write); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_io_writer_can_write_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), can_write); - } - } - - private static efl_io_writer_can_write_set_delegate efl_io_writer_can_write_set_static_delegate; - - - private delegate Eina.Error efl_io_writer_write_delegate(System.IntPtr obj, System.IntPtr pd, ref Eina.Slice slice, ref Eina.Slice remaining); - - - public delegate Eina.Error efl_io_writer_write_api_delegate(System.IntPtr obj, ref Eina.Slice slice, ref Eina.Slice remaining); - - public static Efl.Eo.FunctionWrapper efl_io_writer_write_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_writer_write"); - - private static Eina.Error write(System.IntPtr obj, System.IntPtr pd, ref Eina.Slice slice, ref Eina.Slice remaining) - { - Eina.Log.Debug("function efl_io_writer_write was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - remaining = default(Eina.Slice); Eina.Error _ret_var = default(Eina.Error); - try - { - _ret_var = ((Queue)ws.Target).Write(ref slice, ref remaining); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_writer_write_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), ref slice, ref remaining); - } - } - - private static efl_io_writer_write_delegate efl_io_writer_write_static_delegate; - - #pragma warning restore CA1707, CS1591, SA1300, SA1600 - -} -} -} - -} - diff --git a/internals/src/EflSharp/EflSharp/efl/efl_io_reader.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_io_reader.eo.cs index cf97dc136..a92b0a958 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_io_reader.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_io_reader.eo.cs @@ -102,7 +102,7 @@ sealed public class IReaderConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_io_reader_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_io_sizer.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_io_sizer.eo.cs deleted file mode 100644 index c63b2bbb1..000000000 --- a/internals/src/EflSharp/EflSharp/efl/efl_io_sizer.eo.cs +++ /dev/null @@ -1,322 +0,0 @@ -#pragma warning disable CS1591 -using System; -using System.Runtime.InteropServices; -using System.Collections.Generic; -using System.Linq; -using System.Threading; -using System.ComponentModel; -namespace Efl { - -namespace Io { - -/// Generic interface for objects that can resize or report size of themselves. -/// This interface allows external objects to transparently resize or report its size. -[Efl.Io.ISizerConcrete.NativeMethods] -public interface ISizer : - Efl.Eo.IWrapper, IDisposable -{ - /// Size property -/// Object size -ulong GetSize(); - /// Try to resize the object, check with get if the value was accepted or not. -/// Object size -/// true if could resize, false if errors. -bool SetSize(ulong size); - /// Resize object -/// Object size -/// 0 on succeed, a mapping of errno otherwise -Eina.Error Resize(ulong size); - /// Notifies size changed - event EventHandler SizeChangedEvt; - /// Size property - /// Object size - ulong Size { - get ; - set ; - } -} -/// Generic interface for objects that can resize or report size of themselves. -/// This interface allows external objects to transparently resize or report its size. -sealed public class ISizerConcrete : - Efl.Eo.EoWrapper - , ISizer - -{ - ///Pointer to the native class description. - public override System.IntPtr NativeClass - { - get - { - if (((object)this).GetType() == typeof(ISizerConcrete)) - { - return GetEflClassStatic(); - } - else - { - return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()]; - } - } - } - - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr - efl_io_sizer_mixin_get(); - /// Initializes a new instance of the class. - /// Internal usage: This is used when interacting with C code and should not be used directly. - private ISizerConcrete(System.IntPtr raw) : base(raw) - { - } - - /// Notifies size changed - public event EventHandler SizeChangedEvt - { - add - { - lock (eventLock) - { - Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => - { - var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; - if (obj != null) - { - EventArgs args = EventArgs.Empty; - try - { - value?.Invoke(obj, args); - } - catch (Exception e) - { - Eina.Log.Error(e.ToString()); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - } - }; - - string key = "_EFL_IO_SIZER_EVENT_SIZE_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); - } - } - - remove - { - lock (eventLock) - { - string key = "_EFL_IO_SIZER_EVENT_SIZE_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); - } - } - } - ///Method to raise event SizeChangedEvt. - public void OnSizeChangedEvt(EventArgs e) - { - var key = "_EFL_IO_SIZER_EVENT_SIZE_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); - if (desc == IntPtr.Zero) - { - Eina.Log.Error($"Failed to get native event {key}"); - return; - } - - Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); - } - /// Size property - /// Object size - public ulong GetSize() { - var _ret_var = Efl.Io.ISizerConcrete.NativeMethods.efl_io_sizer_size_get_ptr.Value.Delegate(this.NativeHandle); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// Try to resize the object, check with get if the value was accepted or not. - /// Object size - /// true if could resize, false if errors. - public bool SetSize(ulong size) { - var _ret_var = Efl.Io.ISizerConcrete.NativeMethods.efl_io_sizer_size_set_ptr.Value.Delegate(this.NativeHandle,size); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// Resize object - /// Object size - /// 0 on succeed, a mapping of errno otherwise - public Eina.Error Resize(ulong size) { - var _ret_var = Efl.Io.ISizerConcrete.NativeMethods.efl_io_sizer_resize_ptr.Value.Delegate(this.NativeHandle,size); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// Size property - /// Object size - public ulong Size { - get { return GetSize(); } - set { SetSize(value); } - } - private static IntPtr GetEflClassStatic() - { - return Efl.Io.ISizerConcrete.efl_io_sizer_mixin_get(); - } - /// Wrapper for native methods and virtual method delegates. - /// For internal use by generated code only. - public class NativeMethods : Efl.Eo.NativeClass - { - private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl); - /// Gets the list of Eo operations to override. - /// The list of Eo operations to be overload. - public override System.Collections.Generic.List GetEoOps(System.Type type) - { - var descs = new System.Collections.Generic.List(); - var methods = Efl.Eo.Globals.GetUserMethods(type); - - if (efl_io_sizer_size_get_static_delegate == null) - { - efl_io_sizer_size_get_static_delegate = new efl_io_sizer_size_get_delegate(size_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetSize") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_sizer_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_io_sizer_size_get_static_delegate) }); - } - - if (efl_io_sizer_size_set_static_delegate == null) - { - efl_io_sizer_size_set_static_delegate = new efl_io_sizer_size_set_delegate(size_set); - } - - if (methods.FirstOrDefault(m => m.Name == "SetSize") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_sizer_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_io_sizer_size_set_static_delegate) }); - } - - if (efl_io_sizer_resize_static_delegate == null) - { - efl_io_sizer_resize_static_delegate = new efl_io_sizer_resize_delegate(resize); - } - - if (methods.FirstOrDefault(m => m.Name == "Resize") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_io_sizer_resize"), func = Marshal.GetFunctionPointerForDelegate(efl_io_sizer_resize_static_delegate) }); - } - - return descs; - } - /// Returns the Eo class for the native methods of this class. - /// The native class pointer. - public override IntPtr GetEflClass() - { - return Efl.Io.ISizerConcrete.efl_io_sizer_mixin_get(); - } - - #pragma warning disable CA1707, CS1591, SA1300, SA1600 - - - private delegate ulong efl_io_sizer_size_get_delegate(System.IntPtr obj, System.IntPtr pd); - - - public delegate ulong efl_io_sizer_size_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_io_sizer_size_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_sizer_size_get"); - - private static ulong size_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_io_sizer_size_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - ulong _ret_var = default(ulong); - try - { - _ret_var = ((ISizerConcrete)ws.Target).GetSize(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_sizer_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_io_sizer_size_get_delegate efl_io_sizer_size_get_static_delegate; - - [return: MarshalAs(UnmanagedType.U1)] - private delegate bool efl_io_sizer_size_set_delegate(System.IntPtr obj, System.IntPtr pd, ulong size); - - [return: MarshalAs(UnmanagedType.U1)] - public delegate bool efl_io_sizer_size_set_api_delegate(System.IntPtr obj, ulong size); - - public static Efl.Eo.FunctionWrapper efl_io_sizer_size_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_sizer_size_set"); - - private static bool size_set(System.IntPtr obj, System.IntPtr pd, ulong size) - { - Eina.Log.Debug("function efl_io_sizer_size_set was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - bool _ret_var = default(bool); - try - { - _ret_var = ((ISizerConcrete)ws.Target).SetSize(size); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_sizer_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size); - } - } - - private static efl_io_sizer_size_set_delegate efl_io_sizer_size_set_static_delegate; - - - private delegate Eina.Error efl_io_sizer_resize_delegate(System.IntPtr obj, System.IntPtr pd, ulong size); - - - public delegate Eina.Error efl_io_sizer_resize_api_delegate(System.IntPtr obj, ulong size); - - public static Efl.Eo.FunctionWrapper efl_io_sizer_resize_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_io_sizer_resize"); - - private static Eina.Error resize(System.IntPtr obj, System.IntPtr pd, ulong size) - { - Eina.Log.Debug("function efl_io_sizer_resize was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - Eina.Error _ret_var = default(Eina.Error); - try - { - _ret_var = ((ISizerConcrete)ws.Target).Resize(size); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_io_sizer_resize_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size); - } - } - - private static efl_io_sizer_resize_delegate efl_io_sizer_resize_static_delegate; - - #pragma warning restore CA1707, CS1591, SA1300, SA1600 - -} -} -} - -} - diff --git a/internals/src/EflSharp/EflSharp/efl/efl_io_writer.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_io_writer.eo.cs index 4c3a3b84e..2ef3dcc31 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_io_writer.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_io_writer.eo.cs @@ -80,7 +80,7 @@ sealed public class IWriterConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_io_writer_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_loop.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_loop.eo.cs index 5830a0f81..5235cf3e1 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_loop.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_loop.eo.cs @@ -528,7 +528,7 @@ public abstract class Loop : Efl.Task /// Note: The time point must match whatever zero time you get from ecore_time_get() and (same 0 point). What this point is is undefined, so unless your source uses the same 0 time, then you may have to adjust and do some guessing. /// (Since EFL 1.22) /// Time in seconds - virtual public void SetTime(double timepoint) { + virtual protected void SetTime(double timepoint) { Efl.Loop.NativeMethods.efl_loop_time_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),timepoint); Eina.Error.RaiseIfUnhandledException(); } @@ -650,7 +650,7 @@ public abstract class Loop : Efl.Task /// Time in seconds public double Time { get { return GetTime(); } - set { SetTime(value); } + protected set { SetTime(value); } } private static IntPtr GetEflClassStatic() { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_loop_model.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_loop_model.eo.cs index ec8f7629c..bd4244c3b 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_loop_model.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_loop_model.eo.cs @@ -86,7 +86,7 @@ public abstract class LoopModel : Efl.LoopConsumer, Efl.IModel }; string key = "_EFL_MODEL_EVENT_PROPERTIES_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Ecore, key, callerCb, value); } } @@ -95,7 +95,7 @@ public abstract class LoopModel : Efl.LoopConsumer, Efl.IModel lock (eventLock) { string key = "_EFL_MODEL_EVENT_PROPERTIES_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Ecore, key, value); } } } @@ -103,7 +103,7 @@ public abstract class LoopModel : Efl.LoopConsumer, Efl.IModel public void OnPropertiesChangedEvt(Efl.IModelPropertiesChangedEvt_Args e) { var key = "_EFL_MODEL_EVENT_PROPERTIES_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Ecore, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -148,7 +148,7 @@ public abstract class LoopModel : Efl.LoopConsumer, Efl.IModel }; string key = "_EFL_MODEL_EVENT_CHILD_ADDED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Ecore, key, callerCb, value); } } @@ -157,7 +157,7 @@ public abstract class LoopModel : Efl.LoopConsumer, Efl.IModel lock (eventLock) { string key = "_EFL_MODEL_EVENT_CHILD_ADDED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Ecore, key, value); } } } @@ -165,7 +165,7 @@ public abstract class LoopModel : Efl.LoopConsumer, Efl.IModel public void OnChildAddedEvt(Efl.IModelChildAddedEvt_Args e) { var key = "_EFL_MODEL_EVENT_CHILD_ADDED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Ecore, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -210,7 +210,7 @@ public abstract class LoopModel : Efl.LoopConsumer, Efl.IModel }; string key = "_EFL_MODEL_EVENT_CHILD_REMOVED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Ecore, key, callerCb, value); } } @@ -219,7 +219,7 @@ public abstract class LoopModel : Efl.LoopConsumer, Efl.IModel lock (eventLock) { string key = "_EFL_MODEL_EVENT_CHILD_REMOVED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Ecore, key, value); } } } @@ -227,7 +227,7 @@ public abstract class LoopModel : Efl.LoopConsumer, Efl.IModel public void OnChildRemovedEvt(Efl.IModelChildRemovedEvt_Args e) { var key = "_EFL_MODEL_EVENT_CHILD_REMOVED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Ecore, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -271,7 +271,7 @@ public abstract class LoopModel : Efl.LoopConsumer, Efl.IModel }; string key = "_EFL_MODEL_EVENT_CHILDREN_COUNT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Ecore, key, callerCb, value); } } @@ -280,7 +280,7 @@ public abstract class LoopModel : Efl.LoopConsumer, Efl.IModel lock (eventLock) { string key = "_EFL_MODEL_EVENT_CHILDREN_COUNT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Ecore, key, value); } } } @@ -288,7 +288,7 @@ public abstract class LoopModel : Efl.LoopConsumer, Efl.IModel public void OnChildrenCountChangedEvt(EventArgs e) { var key = "_EFL_MODEL_EVENT_CHILDREN_COUNT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Ecore, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_model.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_model.eo.cs index 016598bae..b2ddf91b8 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_model.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_model.eo.cs @@ -154,7 +154,7 @@ sealed public class IModelConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_model_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_observable.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_observable.eo.cs index c1fc719f6..0a02380ef 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_observable.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_observable.eo.cs @@ -27,7 +27,7 @@ public class Observable : Efl.Object } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_observable_class_get(); /// Initializes a new instance of the class. /// Parent instance. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_observer.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_observer.eo.cs index 452ab7ccc..139bc8c4f 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_observer.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_observer.eo.cs @@ -40,7 +40,7 @@ sealed public class IObserverConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_observer_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_pack.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_pack.eo.cs index 67b1dedc5..0f7fb38b0 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_pack.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_pack.eo.cs @@ -54,7 +54,7 @@ sealed public class IPackConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_pack_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_pack_layout.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_pack_layout.eo.cs index d18851626..168bb548e 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_pack_layout.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_pack_layout.eo.cs @@ -47,7 +47,7 @@ sealed public class IPackLayoutConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_pack_layout_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_pack_linear.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_pack_linear.eo.cs index f8fbc9541..e45bb17e7 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_pack_linear.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_pack_linear.eo.cs @@ -92,7 +92,7 @@ sealed public class IPackLinearConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_pack_linear_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_pack_table.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_pack_table.eo.cs index e5c05a6f8..3f4f1d24f 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_pack_table.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_pack_table.eo.cs @@ -98,7 +98,7 @@ sealed public class IPackTableConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_pack_table_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_part.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_part.eo.cs index affedb76f..42a4cec2c 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_part.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_part.eo.cs @@ -68,7 +68,7 @@ sealed public class IPartConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_part_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_playable.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_playable.eo.cs index 24aee9487..a9214a769 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_playable.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_playable.eo.cs @@ -55,7 +55,7 @@ sealed public class IPlayableConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_playable_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_player.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_player.eo.cs index 0c7717329..ffc71f580 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_player.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_player.eo.cs @@ -143,7 +143,7 @@ sealed public class IPlayerConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_player_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_screen.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_screen.eo.cs index 641539a9a..5f8d18169 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_screen.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_screen.eo.cs @@ -82,7 +82,7 @@ sealed public class IScreenConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_screen_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_text.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_text.eo.cs index ef3e90d94..bebc20958 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_text.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_text.eo.cs @@ -49,7 +49,7 @@ sealed public class ITextConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_text_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_text_annotate.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_text_annotate.eo.cs index 2a8dca10d..51641bbb1 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_text_annotate.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_text_annotate.eo.cs @@ -94,7 +94,7 @@ sealed public class ITextAnnotateConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_text_annotate_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_text_cursor.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_text_cursor.eo.cs index caa249774..8dfeaedec 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_text_cursor.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_text_cursor.eo.cs @@ -149,7 +149,7 @@ sealed public class ITextCursorConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_text_cursor_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_text_font.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_text_font.eo.cs index 0cd1f027d..e985f7820 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_text_font.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_text_font.eo.cs @@ -156,7 +156,7 @@ sealed public class ITextFontConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_text_font_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_text_format.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_text_format.eo.cs index ff6656e90..2c46372d3 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_text_format.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_text_format.eo.cs @@ -178,7 +178,7 @@ sealed public class ITextFormatConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_text_format_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_text_markup.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_text_markup.eo.cs index f2c9ecdee..e9cbe871e 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_text_markup.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_text_markup.eo.cs @@ -47,7 +47,7 @@ sealed public class ITextMarkupConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_text_markup_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_text_markup_interactive.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_text_markup_interactive.eo.cs index 4f473809d..8ad2e3909 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_text_markup_interactive.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_text_markup_interactive.eo.cs @@ -50,7 +50,7 @@ sealed public class ITextMarkupInteractiveConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_text_markup_interactive_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_text_markup_util.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_text_markup_util.eo.cs index 1d79192b4..02d8f870a 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_text_markup_util.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_text_markup_util.eo.cs @@ -27,7 +27,7 @@ public class TextMarkupUtil : Efl.Eo.EoWrapper } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_text_markup_util_class_get(); /// Initializes a new instance of the class. /// Parent instance. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_text_style.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_text_style.eo.cs index 54c595fc3..b5eadae42 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_text_style.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_text_style.eo.cs @@ -268,7 +268,7 @@ sealed public class ITextStyleConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_text_style_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_thread.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_thread.eo.cs index 9343090dc..87a7950bf 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_thread.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_thread.eo.cs @@ -79,7 +79,7 @@ public class Thread : Efl.Task, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io.ICl }; string key = "_EFL_IO_CLOSER_EVENT_CLOSED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Ecore, key, callerCb, value); } } @@ -88,7 +88,7 @@ public class Thread : Efl.Task, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io.ICl lock (eventLock) { string key = "_EFL_IO_CLOSER_EVENT_CLOSED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Ecore, key, value); } } } @@ -96,7 +96,7 @@ public class Thread : Efl.Task, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io.ICl public void OnClosedEvt(EventArgs e) { var key = "_EFL_IO_CLOSER_EVENT_CLOSED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Ecore, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -136,7 +136,7 @@ public class Thread : Efl.Task, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io.ICl }; string key = "_EFL_IO_READER_EVENT_CAN_READ_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Ecore, key, callerCb, value); } } @@ -145,7 +145,7 @@ public class Thread : Efl.Task, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io.ICl lock (eventLock) { string key = "_EFL_IO_READER_EVENT_CAN_READ_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Ecore, key, value); } } } @@ -153,7 +153,7 @@ public class Thread : Efl.Task, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io.ICl public void OnCanReadChangedEvt(Efl.Io.IReaderCanReadChangedEvt_Args e) { var key = "_EFL_IO_READER_EVENT_CAN_READ_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Ecore, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -202,7 +202,7 @@ public class Thread : Efl.Task, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io.ICl }; string key = "_EFL_IO_READER_EVENT_EOS"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Ecore, key, callerCb, value); } } @@ -211,7 +211,7 @@ public class Thread : Efl.Task, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io.ICl lock (eventLock) { string key = "_EFL_IO_READER_EVENT_EOS"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Ecore, key, value); } } } @@ -219,7 +219,7 @@ public class Thread : Efl.Task, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io.ICl public void OnEosEvt(EventArgs e) { var key = "_EFL_IO_READER_EVENT_EOS"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Ecore, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -259,7 +259,7 @@ public class Thread : Efl.Task, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io.ICl }; string key = "_EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Ecore, key, callerCb, value); } } @@ -268,7 +268,7 @@ public class Thread : Efl.Task, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io.ICl lock (eventLock) { string key = "_EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Ecore, key, value); } } } @@ -276,7 +276,7 @@ public class Thread : Efl.Task, Efl.IThreadIO, Efl.Core.ICommandLine, Efl.Io.ICl public void OnCanWriteChangedEvt(Efl.Io.IWriterCanWriteChangedEvt_Args e) { var key = "_EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Ecore, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_threadio.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_threadio.eo.cs index db08e2337..0cbf393e9 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_threadio.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_threadio.eo.cs @@ -360,7 +360,7 @@ sealed public class IThreadIOConcrete : System.IntPtr _ret_var = default(System.IntPtr); try { - _ret_var = ((IThreadIOConcrete)ws.Target).GetIndata(); + _ret_var = ((IThreadIO)ws.Target).GetIndata(); } catch (Exception e) { @@ -396,7 +396,7 @@ sealed public class IThreadIOConcrete : try { - ((IThreadIOConcrete)ws.Target).SetIndata(data); + ((IThreadIO)ws.Target).SetIndata(data); } catch (Exception e) { @@ -431,7 +431,7 @@ sealed public class IThreadIOConcrete : System.IntPtr _ret_var = default(System.IntPtr); try { - _ret_var = ((IThreadIOConcrete)ws.Target).GetOutdata(); + _ret_var = ((IThreadIO)ws.Target).GetOutdata(); } catch (Exception e) { @@ -467,7 +467,7 @@ sealed public class IThreadIOConcrete : try { - ((IThreadIOConcrete)ws.Target).SetOutdata(data); + ((IThreadIO)ws.Target).SetOutdata(data); } catch (Exception e) { @@ -503,7 +503,7 @@ sealed public class IThreadIOConcrete : try { - ((IThreadIOConcrete)ws.Target).Call(func_wrapper.ManagedCb); + ((IThreadIO)ws.Target).Call(func_wrapper.ManagedCb); } catch (Exception e) { @@ -539,7 +539,7 @@ sealed public class IThreadIOConcrete : System.IntPtr _ret_var = default(System.IntPtr); try { - _ret_var = ((IThreadIOConcrete)ws.Target).CallSync(func_wrapper.ManagedCb); + _ret_var = ((IThreadIO)ws.Target).CallSync(func_wrapper.ManagedCb); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_active_view_container.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_active_view_container.eo.cs index adbee9af6..922287102 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_active_view_container.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_active_view_container.eo.cs @@ -247,25 +247,6 @@ public class Container : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLinear Efl.Ui.ActiveView.Container.NativeMethods.efl_ui_active_view_active_index_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index); Eina.Error.RaiseIfUnhandledException(); } - /// When a new view is added to this widget, the indices for the previous views might change (for example, when adding a view at the beginning of the list with all previous view's indices are increased by one). - /// This property controls whether the Active View should remain the same view as before () or if the Active View should be moved to the one with the same index as before (). - /// - /// For example, can be used to build a Stack, where is always 0 and new views are pushed onto the stack with and popped from the stack with 0. - /// Active View behavior when adding new views. Default is . - virtual public Efl.Ui.ActiveView.ContainerGravity GetActiveViewGravity() { - var _ret_var = Efl.Ui.ActiveView.Container.NativeMethods.efl_ui_active_view_gravity_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// When a new view is added to this widget, the indices for the previous views might change (for example, when adding a view at the beginning of the list with all previous view's indices are increased by one). - /// This property controls whether the Active View should remain the same view as before () or if the Active View should be moved to the one with the same index as before (). - /// - /// For example, can be used to build a Stack, where is always 0 and new views are pushed onto the stack with and popped from the stack with 0. - /// Active View behavior when adding new views. Default is . - virtual public void SetActiveViewGravity(Efl.Ui.ActiveView.ContainerGravity gravity) { - Efl.Ui.ActiveView.Container.NativeMethods.efl_ui_active_view_gravity_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),gravity); - Eina.Error.RaiseIfUnhandledException(); - } /// The size to use when displaying the Active View. This is used by the to perform the rendering. Views other than the Active one may or may not use this size. /// Render size for the Active View. (-1, -1) means that all available space inside the container is used. virtual public Eina.Size2D GetActiveViewSize() { @@ -280,6 +261,28 @@ public class Container : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLinear Efl.Ui.ActiveView.Container.NativeMethods.efl_ui_active_view_size_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_size); Eina.Error.RaiseIfUnhandledException(); } + /// Packs a new view at the position indicated by (0 by default). + /// This is the same behavior as a push operation on a stack. + /// + /// An animation might be triggered to make the new active view come into position. + /// View to add and set to be the active view. + virtual public void Push(Efl.Gfx.IEntity view) { + Efl.Ui.ActiveView.Container.NativeMethods.efl_ui_active_view_push_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),view); + Eina.Error.RaiseIfUnhandledException(); + } + /// Removes the active view from the widget. + /// The views behind it naturally flow down so the next one becomes the active view. This is the same behavior as a pop operation on a stack. When combined with you don't have to worry about since only the first view is manipulated. + /// + /// An animation might be triggered to make the new active view come into position and the old one disappear. + /// + /// The removed view can be returned to the caller or deleted (depending on delete_on_transition_end). + /// if true, then the object will be deleted before resolving the future, and a NULL pointer is the value of the future. false if no operation should be applied to it + /// This Future gets resolved when any transition animation finishes and the popped view is ready for collection. If there is no animation, the Future resolves immediately. If deletion_on_transition_end is true then this widget will destroy the popped view and the Future will contain no Value. Otherwise, the caller becomes the owner of the view contained in the Future and must dispose of it appropriately. + virtual public Eina.Future Pop(bool deletion_on_transition_end) { + var _ret_var = Efl.Ui.ActiveView.Container.NativeMethods.efl_ui_active_view_pop_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),deletion_on_transition_end); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } /// Removes all packed sub-objects and unreferences them. /// true on success, false otherwise. virtual public bool ClearPack() { @@ -400,6 +403,16 @@ public class Container : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLinear Eina.Error.RaiseIfUnhandledException(); return _ret_var; } + /// Async wrapper for . + /// if true, then the object will be deleted before resolving the future, and a NULL pointer is the value of the future. false if no operation should be applied to it + /// Token to notify the async operation of external request to cancel. + /// An async task wrapping the result of the operation. + public System.Threading.Tasks.Task PopAsync(bool deletion_on_transition_end, System.Threading.CancellationToken token = default(System.Threading.CancellationToken)) + { + Eina.Future future = Pop( deletion_on_transition_end); + return Efl.Eo.Globals.WrapAsync(future, token); + } + /// This object defines how views are rendered and animated. If it is not set, only the active view is shown and transitions are instantaneous (not animated). /// The View Manager object or NULL. public Efl.Ui.ActiveView.ViewManager ViewManager { @@ -419,15 +432,6 @@ public class Container : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLinear get { return GetActiveIndex(); } set { SetActiveIndex(value); } } - /// When a new view is added to this widget, the indices for the previous views might change (for example, when adding a view at the beginning of the list with all previous view's indices are increased by one). - /// This property controls whether the Active View should remain the same view as before () or if the Active View should be moved to the one with the same index as before (). - /// - /// For example, can be used to build a Stack, where is always 0 and new views are pushed onto the stack with and popped from the stack with 0. - /// Active View behavior when adding new views. Default is . - public Efl.Ui.ActiveView.ContainerGravity ActiveViewGravity { - get { return GetActiveViewGravity(); } - set { SetActiveViewGravity(value); } - } /// The size to use when displaying the Active View. This is used by the to perform the rendering. Views other than the Active one may or may not use this size. /// Render size for the Active View. (-1, -1) means that all available space inside the container is used. public Eina.Size2D ActiveViewSize { @@ -510,44 +514,44 @@ public class Container : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLinear descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_active_index_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_active_index_set_static_delegate) }); } - if (efl_ui_active_view_gravity_get_static_delegate == null) + if (efl_ui_active_view_size_get_static_delegate == null) { - efl_ui_active_view_gravity_get_static_delegate = new efl_ui_active_view_gravity_get_delegate(active_view_gravity_get); + efl_ui_active_view_size_get_static_delegate = new efl_ui_active_view_size_get_delegate(active_view_size_get); } - if (methods.FirstOrDefault(m => m.Name == "GetActiveViewGravity") != null) + if (methods.FirstOrDefault(m => m.Name == "GetActiveViewSize") != null) { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_gravity_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_gravity_get_static_delegate) }); + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_size_get_static_delegate) }); } - if (efl_ui_active_view_gravity_set_static_delegate == null) + if (efl_ui_active_view_size_set_static_delegate == null) { - efl_ui_active_view_gravity_set_static_delegate = new efl_ui_active_view_gravity_set_delegate(active_view_gravity_set); + efl_ui_active_view_size_set_static_delegate = new efl_ui_active_view_size_set_delegate(active_view_size_set); } - if (methods.FirstOrDefault(m => m.Name == "SetActiveViewGravity") != null) + if (methods.FirstOrDefault(m => m.Name == "SetActiveViewSize") != null) { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_gravity_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_gravity_set_static_delegate) }); + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_size_set_static_delegate) }); } - if (efl_ui_active_view_size_get_static_delegate == null) + if (efl_ui_active_view_push_static_delegate == null) { - efl_ui_active_view_size_get_static_delegate = new efl_ui_active_view_size_get_delegate(active_view_size_get); + efl_ui_active_view_push_static_delegate = new efl_ui_active_view_push_delegate(push); } - if (methods.FirstOrDefault(m => m.Name == "GetActiveViewSize") != null) + if (methods.FirstOrDefault(m => m.Name == "Push") != null) { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_size_get_static_delegate) }); + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_push"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_push_static_delegate) }); } - if (efl_ui_active_view_size_set_static_delegate == null) + if (efl_ui_active_view_pop_static_delegate == null) { - efl_ui_active_view_size_set_static_delegate = new efl_ui_active_view_size_set_delegate(active_view_size_set); + efl_ui_active_view_pop_static_delegate = new efl_ui_active_view_pop_delegate(pop); } - if (methods.FirstOrDefault(m => m.Name == "SetActiveViewSize") != null) + if (methods.FirstOrDefault(m => m.Name == "Pop") != null) { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_size_set_static_delegate) }); + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_active_view_pop"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_active_view_pop_static_delegate) }); } if (efl_pack_clear_static_delegate == null) @@ -896,23 +900,23 @@ public class Container : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLinear private static efl_ui_active_view_active_index_set_delegate efl_ui_active_view_active_index_set_static_delegate; - private delegate Efl.Ui.ActiveView.ContainerGravity efl_ui_active_view_gravity_get_delegate(System.IntPtr obj, System.IntPtr pd); + private delegate Eina.Size2D.NativeStruct efl_ui_active_view_size_get_delegate(System.IntPtr obj, System.IntPtr pd); - public delegate Efl.Ui.ActiveView.ContainerGravity efl_ui_active_view_gravity_get_api_delegate(System.IntPtr obj); + public delegate Eina.Size2D.NativeStruct efl_ui_active_view_size_get_api_delegate(System.IntPtr obj); - public static Efl.Eo.FunctionWrapper efl_ui_active_view_gravity_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_active_view_gravity_get"); + public static Efl.Eo.FunctionWrapper efl_ui_active_view_size_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_active_view_size_get"); - private static Efl.Ui.ActiveView.ContainerGravity active_view_gravity_get(System.IntPtr obj, System.IntPtr pd) + private static Eina.Size2D.NativeStruct active_view_size_get(System.IntPtr obj, System.IntPtr pd) { - Eina.Log.Debug("function efl_ui_active_view_gravity_get was called"); + Eina.Log.Debug("function efl_ui_active_view_size_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { - Efl.Ui.ActiveView.ContainerGravity _ret_var = default(Efl.Ui.ActiveView.ContainerGravity); + Eina.Size2D _ret_var = default(Eina.Size2D); try { - _ret_var = ((Container)ws.Target).GetActiveViewGravity(); + _ret_var = ((Container)ws.Target).GetActiveViewSize(); } catch (Exception e) { @@ -925,30 +929,31 @@ public class Container : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLinear } else { - return efl_ui_active_view_gravity_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + return efl_ui_active_view_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); } } - private static efl_ui_active_view_gravity_get_delegate efl_ui_active_view_gravity_get_static_delegate; + private static efl_ui_active_view_size_get_delegate efl_ui_active_view_size_get_static_delegate; - private delegate void efl_ui_active_view_gravity_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ActiveView.ContainerGravity gravity); + private delegate void efl_ui_active_view_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size); - public delegate void efl_ui_active_view_gravity_set_api_delegate(System.IntPtr obj, Efl.Ui.ActiveView.ContainerGravity gravity); + public delegate void efl_ui_active_view_size_set_api_delegate(System.IntPtr obj, Eina.Size2D.NativeStruct size); - public static Efl.Eo.FunctionWrapper efl_ui_active_view_gravity_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_active_view_gravity_set"); + public static Efl.Eo.FunctionWrapper efl_ui_active_view_size_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_active_view_size_set"); - private static void active_view_gravity_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.ActiveView.ContainerGravity gravity) + private static void active_view_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size) { - Eina.Log.Debug("function efl_ui_active_view_gravity_set was called"); + Eina.Log.Debug("function efl_ui_active_view_size_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { - + Eina.Size2D _in_size = size; + try { - ((Container)ws.Target).SetActiveViewGravity(gravity); + ((Container)ws.Target).SetActiveViewSize(_in_size); } catch (Exception e) { @@ -960,30 +965,30 @@ public class Container : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLinear } else { - efl_ui_active_view_gravity_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), gravity); + efl_ui_active_view_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size); } } - private static efl_ui_active_view_gravity_set_delegate efl_ui_active_view_gravity_set_static_delegate; + private static efl_ui_active_view_size_set_delegate efl_ui_active_view_size_set_static_delegate; - private delegate Eina.Size2D.NativeStruct efl_ui_active_view_size_get_delegate(System.IntPtr obj, System.IntPtr pd); + private delegate void efl_ui_active_view_push_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity view); - public delegate Eina.Size2D.NativeStruct efl_ui_active_view_size_get_api_delegate(System.IntPtr obj); + public delegate void efl_ui_active_view_push_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity view); - public static Efl.Eo.FunctionWrapper efl_ui_active_view_size_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_active_view_size_get"); + public static Efl.Eo.FunctionWrapper efl_ui_active_view_push_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_active_view_push"); - private static Eina.Size2D.NativeStruct active_view_size_get(System.IntPtr obj, System.IntPtr pd) + private static void push(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity view) { - Eina.Log.Debug("function efl_ui_active_view_size_get was called"); + Eina.Log.Debug("function efl_ui_active_view_push was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { - Eina.Size2D _ret_var = default(Eina.Size2D); + try { - _ret_var = ((Container)ws.Target).GetActiveViewSize(); + ((Container)ws.Target).Push(view); } catch (Exception e) { @@ -991,36 +996,34 @@ public class Container : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLinear Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } - return _ret_var; - + } else { - return efl_ui_active_view_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + efl_ui_active_view_push_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), view); } } - private static efl_ui_active_view_size_get_delegate efl_ui_active_view_size_get_static_delegate; + private static efl_ui_active_view_push_delegate efl_ui_active_view_push_static_delegate; - - private delegate void efl_ui_active_view_size_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size); + [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))] + private delegate Eina.Future efl_ui_active_view_pop_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool deletion_on_transition_end); - - public delegate void efl_ui_active_view_size_set_api_delegate(System.IntPtr obj, Eina.Size2D.NativeStruct size); + [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))] + public delegate Eina.Future efl_ui_active_view_pop_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool deletion_on_transition_end); - public static Efl.Eo.FunctionWrapper efl_ui_active_view_size_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_active_view_size_set"); + public static Efl.Eo.FunctionWrapper efl_ui_active_view_pop_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_active_view_pop"); - private static void active_view_size_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size) + private static Eina.Future pop(System.IntPtr obj, System.IntPtr pd, bool deletion_on_transition_end) { - Eina.Log.Debug("function efl_ui_active_view_size_set was called"); + Eina.Log.Debug("function efl_ui_active_view_pop was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { - Eina.Size2D _in_size = size; - + Eina.Future _ret_var = default( Eina.Future); try { - ((Container)ws.Target).SetActiveViewSize(_in_size); + _ret_var = ((Container)ws.Target).Pop(deletion_on_transition_end); } catch (Exception e) { @@ -1028,15 +1031,16 @@ public class Container : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLinear Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } - + return _ret_var; + } else { - efl_ui_active_view_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size); + return efl_ui_active_view_pop_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), deletion_on_transition_end); } } - private static efl_ui_active_view_size_set_delegate efl_ui_active_view_size_set_static_delegate; + private static efl_ui_active_view_pop_delegate efl_ui_active_view_pop_static_delegate; [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_pack_clear_delegate(System.IntPtr obj, System.IntPtr pd); @@ -1486,27 +1490,6 @@ namespace Ui { namespace ActiveView { -/// This enum controls the behavior of when indices are shifted due to object addition or removal. -public enum ContainerGravity -{ -/// When a view is added or removed from the container, the will be adjusted as necessary so it points to the same view as before. -Content = 0, -/// When a view is added or removed from the container, the will remain the same, possibly pointing to a different view. -Index = 1, -} - -} - -} - -} - -namespace Efl { - -namespace Ui { - -namespace ActiveView { - /// Information regarding transition events. [StructLayout(LayoutKind.Sequential)] public struct TransitionEvent diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_active_view_util.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_active_view_util.eo.cs new file mode 100644 index 000000000..f00ea9945 --- /dev/null +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_active_view_util.eo.cs @@ -0,0 +1,133 @@ +#pragma warning disable CS1591 +using System; +using System.Runtime.InteropServices; +using System.Collections.Generic; +using System.Linq; +using System.Threading; +using System.ComponentModel; +namespace Efl { + +namespace Ui { + +namespace ActiveView { + +[Efl.Ui.ActiveView.Util.NativeMethods] +public class Util : Efl.Eo.EoWrapper +{ + ///Pointer to the native class description. + public override System.IntPtr NativeClass + { + get + { + if (((object)this).GetType() == typeof(Util)) + { + return GetEflClassStatic(); + } + else + { + return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()]; + } + } + } + + [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr + efl_ui_active_view_util_class_get(); + /// Initializes a new instance of the class. + /// Parent instance. + public Util(Efl.Object parent= null + ) : base(efl_ui_active_view_util_class_get(), typeof(Util), parent) + { + FinishInstantiation(); + } + + /// Initializes a new instance of the class. + /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly. + /// The native pointer to be wrapped. + protected Util(System.IntPtr raw) : base(raw) + { + } + + /// Initializes a new instance of the class. + /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly. + /// The pointer to the base native Eo class. + /// The managed type of the public constructor that originated this call. + /// The Efl.Object parent of this instance. + protected Util(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent) + { + } + + /// Get a preconfigured stack obejct + public static Efl.Ui.ActiveView.Container StackGen(Efl.Ui.Widget parent) { + var _ret_var = Efl.Ui.ActiveView.Util.NativeMethods.efl_ui_active_view_util_stack_gen_ptr.Value.Delegate(parent); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + private static IntPtr GetEflClassStatic() + { + return Efl.Ui.ActiveView.Util.efl_ui_active_view_util_class_get(); + } + /// Wrapper for native methods and virtual method delegates. + /// For internal use by generated code only. + public class NativeMethods : Efl.Eo.NativeClass + { + private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary); + /// Gets the list of Eo operations to override. + /// The list of Eo operations to be overload. + public override System.Collections.Generic.List GetEoOps(System.Type type) + { + var descs = new System.Collections.Generic.List(); + return descs; + } + /// Returns the Eo class for the native methods of this class. + /// The native class pointer. + public override IntPtr GetEflClass() + { + return Efl.Ui.ActiveView.Util.efl_ui_active_view_util_class_get(); + } + + #pragma warning disable CA1707, CS1591, SA1300, SA1600 + + [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] + private delegate Efl.Ui.ActiveView.Container efl_ui_active_view_util_stack_gen_delegate([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Widget parent); + + [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] + public delegate Efl.Ui.ActiveView.Container efl_ui_active_view_util_stack_gen_api_delegate([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Widget parent); + + public static Efl.Eo.FunctionWrapper efl_ui_active_view_util_stack_gen_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_active_view_util_stack_gen"); + + private static Efl.Ui.ActiveView.Container stack_gen(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Widget parent) + { + Eina.Log.Debug("function efl_ui_active_view_util_stack_gen was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + Efl.Ui.ActiveView.Container _ret_var = default(Efl.Ui.ActiveView.Container); + try + { + _ret_var = Util.StackGen(parent); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_ui_active_view_util_stack_gen_ptr.Value.Delegate(parent); + } + } + + #pragma warning restore CA1707, CS1591, SA1300, SA1600 + +} +} +} + +} + +} + diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_active_view_view_manager_plain.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_active_view_view_manager_plain.eo.cs deleted file mode 100644 index 8e8bbab08..000000000 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_active_view_view_manager_plain.eo.cs +++ /dev/null @@ -1,93 +0,0 @@ -#pragma warning disable CS1591 -using System; -using System.Runtime.InteropServices; -using System.Collections.Generic; -using System.Linq; -using System.Threading; -using System.ComponentModel; -namespace Efl { - -namespace Ui { - -namespace ActiveView { - -[Efl.Ui.ActiveView.ViewManagerPlain.NativeMethods] -public class ViewManagerPlain : Efl.Ui.ActiveView.ViewManager -{ - ///Pointer to the native class description. - public override System.IntPtr NativeClass - { - get - { - if (((object)this).GetType() == typeof(ViewManagerPlain)) - { - return GetEflClassStatic(); - } - else - { - return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()]; - } - } - } - - [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr - efl_ui_active_view_view_manager_plain_class_get(); - /// Initializes a new instance of the class. - /// Parent instance. - public ViewManagerPlain(Efl.Object parent= null - ) : base(efl_ui_active_view_view_manager_plain_class_get(), typeof(ViewManagerPlain), parent) - { - FinishInstantiation(); - } - - /// Initializes a new instance of the class. - /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly. - /// The native pointer to be wrapped. - protected ViewManagerPlain(System.IntPtr raw) : base(raw) - { - } - - /// Initializes a new instance of the class. - /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly. - /// The pointer to the base native Eo class. - /// The managed type of the public constructor that originated this call. - /// The Efl.Object parent of this instance. - protected ViewManagerPlain(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent) - { - } - - private static IntPtr GetEflClassStatic() - { - return Efl.Ui.ActiveView.ViewManagerPlain.efl_ui_active_view_view_manager_plain_class_get(); - } - /// Wrapper for native methods and virtual method delegates. - /// For internal use by generated code only. - public new class NativeMethods : Efl.Ui.ActiveView.ViewManager.NativeMethods - { - /// Gets the list of Eo operations to override. - /// The list of Eo operations to be overload. - public override System.Collections.Generic.List GetEoOps(System.Type type) - { - var descs = new System.Collections.Generic.List(); - descs.AddRange(base.GetEoOps(type)); - return descs; - } - /// Returns the Eo class for the native methods of this class. - /// The native class pointer. - public override IntPtr GetEflClass() - { - return Efl.Ui.ActiveView.ViewManagerPlain.efl_ui_active_view_view_manager_plain_class_get(); - } - - #pragma warning disable CA1707, CS1591, SA1300, SA1600 - - #pragma warning restore CA1707, CS1591, SA1300, SA1600 - -} -} -} - -} - -} - diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_autorepeat.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_autorepeat.eo.cs index fc5c1c6b3..f88ff1c2a 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_autorepeat.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_autorepeat.eo.cs @@ -98,7 +98,7 @@ sealed public class IAutorepeatConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_ui_autorepeat_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_bg.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_bg.eo.cs index 523847094..43a81fcfe 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_bg.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_bg.eo.cs @@ -87,7 +87,7 @@ public class Bg : Efl.Ui.LayoutBase, Efl.IFile, Efl.Gfx.IImage, Efl.Gfx.IImageLo }; string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -96,7 +96,7 @@ public class Bg : Efl.Ui.LayoutBase, Efl.IFile, Efl.Gfx.IImage, Efl.Gfx.IImageLo lock (eventLock) { string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -104,7 +104,7 @@ public class Bg : Efl.Ui.LayoutBase, Efl.IFile, Efl.Gfx.IImage, Efl.Gfx.IImageLo public void OnImagePreloadEvt(EventArgs e) { var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -139,7 +139,7 @@ public class Bg : Efl.Ui.LayoutBase, Efl.IFile, Efl.Gfx.IImage, Efl.Gfx.IImageLo }; string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -148,7 +148,7 @@ public class Bg : Efl.Ui.LayoutBase, Efl.IFile, Efl.Gfx.IImage, Efl.Gfx.IImageLo lock (eventLock) { string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -156,7 +156,7 @@ public class Bg : Efl.Ui.LayoutBase, Efl.IFile, Efl.Gfx.IImage, Efl.Gfx.IImageLo public void OnImageResizeEvt(EventArgs e) { var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -191,7 +191,7 @@ public class Bg : Efl.Ui.LayoutBase, Efl.IFile, Efl.Gfx.IImage, Efl.Gfx.IImageLo }; string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -200,7 +200,7 @@ public class Bg : Efl.Ui.LayoutBase, Efl.IFile, Efl.Gfx.IImage, Efl.Gfx.IImageLo lock (eventLock) { string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -208,7 +208,7 @@ public class Bg : Efl.Ui.LayoutBase, Efl.IFile, Efl.Gfx.IImage, Efl.Gfx.IImageLo public void OnImageUnloadEvt(EventArgs e) { var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -243,7 +243,7 @@ public class Bg : Efl.Ui.LayoutBase, Efl.IFile, Efl.Gfx.IImage, Efl.Gfx.IImageLo }; string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_DONE"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -252,7 +252,7 @@ public class Bg : Efl.Ui.LayoutBase, Efl.IFile, Efl.Gfx.IImage, Efl.Gfx.IImageLo lock (eventLock) { string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_DONE"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -260,7 +260,7 @@ public class Bg : Efl.Ui.LayoutBase, Efl.IFile, Efl.Gfx.IImage, Efl.Gfx.IImageLo public void OnLoadDoneEvt(EventArgs e) { var key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_DONE"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -296,7 +296,7 @@ public class Bg : Efl.Ui.LayoutBase, Efl.IFile, Efl.Gfx.IImage, Efl.Gfx.IImageLo }; string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_ERROR"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -305,7 +305,7 @@ public class Bg : Efl.Ui.LayoutBase, Efl.IFile, Efl.Gfx.IImage, Efl.Gfx.IImageLo lock (eventLock) { string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_ERROR"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -313,7 +313,7 @@ public class Bg : Efl.Ui.LayoutBase, Efl.IFile, Efl.Gfx.IImage, Efl.Gfx.IImageLo public void OnLoadErrorEvt(Efl.Gfx.IImageLoadControllerLoadErrorEvt_Args e) { var key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_ERROR"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_box.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_box.eo.cs index 3c6fdb4e1..dd262d1d5 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_box.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_box.eo.cs @@ -94,7 +94,7 @@ public class Box : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, Ef }; string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -103,7 +103,7 @@ public class Box : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, Ef lock (eventLock) { string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -111,7 +111,7 @@ public class Box : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, Ef public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -149,7 +149,7 @@ public class Box : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, Ef }; string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -158,7 +158,7 @@ public class Box : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, Ef lock (eventLock) { string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -166,7 +166,7 @@ public class Box : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, Ef public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -202,7 +202,7 @@ public class Box : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, Ef }; string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -211,7 +211,7 @@ public class Box : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, Ef lock (eventLock) { string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -219,7 +219,7 @@ public class Box : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, Ef public void OnLayoutUpdatedEvt(EventArgs e) { var key = "_EFL_PACK_EVENT_LAYOUT_UPDATED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_button.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_button.eo.cs index 3e756f928..6fbfcf71c 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_button.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_button.eo.cs @@ -90,7 +90,7 @@ public class Button : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.Ui.IAutore }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -99,7 +99,7 @@ public class Button : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.Ui.IAutore lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -107,7 +107,7 @@ public class Button : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.Ui.IAutore public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -143,7 +143,7 @@ public class Button : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.Ui.IAutore }; string key = "_EFL_UI_AUTOREPEAT_EVENT_REPEATED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -152,7 +152,7 @@ public class Button : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.Ui.IAutore lock (eventLock) { string key = "_EFL_UI_AUTOREPEAT_EVENT_REPEATED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -160,7 +160,7 @@ public class Button : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.Ui.IAutore public void OnRepeatedEvt(EventArgs e) { var key = "_EFL_UI_AUTOREPEAT_EVENT_REPEATED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_check.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_check.eo.cs index a323b2522..5fbf67099 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_check.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_check.eo.cs @@ -156,7 +156,7 @@ public class Check : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -165,7 +165,7 @@ public class Check : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -173,7 +173,7 @@ public class Check : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_clickable.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_clickable.eo.cs index 3424643e5..6b62f3ad2 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_clickable.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_clickable.eo.cs @@ -492,7 +492,7 @@ sealed public class IClickableConcrete : try { - ((IClickableConcrete)ws.Target).Press(button); + ((IClickable)ws.Target).Press(button); } catch (Exception e) { @@ -527,7 +527,7 @@ sealed public class IClickableConcrete : try { - ((IClickableConcrete)ws.Target).Unpress(button); + ((IClickable)ws.Target).Unpress(button); } catch (Exception e) { @@ -562,7 +562,7 @@ sealed public class IClickableConcrete : try { - ((IClickableConcrete)ws.Target).ResetButtonState(button); + ((IClickable)ws.Target).ResetButtonState(button); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_dnd.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_dnd.eo.cs index e5de274ef..57cc46526 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_dnd.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_dnd.eo.cs @@ -566,7 +566,7 @@ sealed public class IDndConcrete : try { - ((IDndConcrete)ws.Target).DragStart(format, data, action, icon_func_wrapper.ManagedCb, seat); + ((IDnd)ws.Target).DragStart(format, data, action, icon_func_wrapper.ManagedCb, seat); } catch (Exception e) { @@ -601,7 +601,7 @@ sealed public class IDndConcrete : try { - ((IDndConcrete)ws.Target).SetDragAction(action, seat); + ((IDnd)ws.Target).SetDragAction(action, seat); } catch (Exception e) { @@ -636,7 +636,7 @@ sealed public class IDndConcrete : try { - ((IDndConcrete)ws.Target).DragCancel(seat); + ((IDnd)ws.Target).DragCancel(seat); } catch (Exception e) { @@ -671,7 +671,7 @@ sealed public class IDndConcrete : try { - ((IDndConcrete)ws.Target).AddDropTarget(format, seat); + ((IDnd)ws.Target).AddDropTarget(format, seat); } catch (Exception e) { @@ -706,7 +706,7 @@ sealed public class IDndConcrete : try { - ((IDndConcrete)ws.Target).DelDropTarget(format, seat); + ((IDnd)ws.Target).DelDropTarget(format, seat); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_dnd_container.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_dnd_container.eo.cs index b51b1fdda..7ac0e1821 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_dnd_container.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_dnd_container.eo.cs @@ -227,7 +227,7 @@ sealed public class IDndContainerConcrete : double _ret_var = default(double); try { - _ret_var = ((IDndContainerConcrete)ws.Target).GetDragDelayTime(); + _ret_var = ((IDndContainer)ws.Target).GetDragDelayTime(); } catch (Exception e) { @@ -263,7 +263,7 @@ sealed public class IDndContainerConcrete : try { - ((IDndContainerConcrete)ws.Target).SetDragDelayTime(time); + ((IDndContainer)ws.Target).SetDragDelayTime(time); } catch (Exception e) { @@ -302,7 +302,7 @@ sealed public class IDndContainerConcrete : try { - ((IDndContainerConcrete)ws.Target).AddDragItem(data_func_wrapper.ManagedCb, item_func_wrapper.ManagedCb, icon_func_wrapper.ManagedCb, icon_list_func_wrapper.ManagedCb, seat); + ((IDndContainer)ws.Target).AddDragItem(data_func_wrapper.ManagedCb, item_func_wrapper.ManagedCb, icon_func_wrapper.ManagedCb, icon_list_func_wrapper.ManagedCb, seat); } catch (Exception e) { @@ -337,7 +337,7 @@ sealed public class IDndContainerConcrete : try { - ((IDndContainerConcrete)ws.Target).DelDragItem(seat); + ((IDndContainer)ws.Target).DelDragItem(seat); } catch (Exception e) { @@ -373,7 +373,7 @@ sealed public class IDndContainerConcrete : try { - ((IDndContainerConcrete)ws.Target).AddDropItem(format, item_func_wrapper.ManagedCb, seat); + ((IDndContainer)ws.Target).AddDropItem(format, item_func_wrapper.ManagedCb, seat); } catch (Exception e) { @@ -408,7 +408,7 @@ sealed public class IDndContainerConcrete : try { - ((IDndContainerConcrete)ws.Target).DelDropItem(seat); + ((IDndContainer)ws.Target).DelDropItem(seat); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_drag.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_drag.eo.cs index 480967a05..72761f6de 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_drag.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_drag.eo.cs @@ -105,7 +105,7 @@ sealed public class IDragConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_ui_drag_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_draggable.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_draggable.eo.cs index 6c93203ba..f5ffb6c54 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_draggable.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_draggable.eo.cs @@ -98,7 +98,7 @@ sealed public class IDraggableConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_ui_draggable_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_factory.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_factory.eo.cs index 19e22c144..b91c36175 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_factory.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_factory.eo.cs @@ -61,7 +61,7 @@ sealed public class IFactoryConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_ui_factory_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_factory_bind.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_factory_bind.eo.cs index 3618bbe55..629856542 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_factory_bind.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_factory_bind.eo.cs @@ -41,7 +41,7 @@ sealed public class IFactoryBindConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_ui_factory_bind_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_flip.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_flip.eo.cs index ec13e6f18..202752bcb 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_flip.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_flip.eo.cs @@ -193,7 +193,7 @@ public class Flip : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLinear }; string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -202,7 +202,7 @@ public class Flip : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLinear lock (eventLock) { string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -210,7 +210,7 @@ public class Flip : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLinear public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -248,7 +248,7 @@ public class Flip : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLinear }; string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -257,7 +257,7 @@ public class Flip : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLinear lock (eventLock) { string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -265,7 +265,7 @@ public class Flip : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLinear public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_flip_part.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_flip_part.eo.cs index 9222c75dc..efa23dcf9 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_flip_part.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_flip_part.eo.cs @@ -83,7 +83,7 @@ public class FlipPart : Efl.Ui.WidgetPart, Efl.IContent }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -92,7 +92,7 @@ public class FlipPart : Efl.Ui.WidgetPart, Efl.IContent lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -100,7 +100,7 @@ public class FlipPart : Efl.Ui.WidgetPart, Efl.IContent public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_focus_composition.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_focus_composition.eo.cs index 3773f97fe..ee79feeda 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_focus_composition.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_focus_composition.eo.cs @@ -275,7 +275,7 @@ logical_order.Own = false; Eina.List _ret_var = default(Eina.List); try { - _ret_var = ((ICompositionConcrete)ws.Target).GetCompositionElements(); + _ret_var = ((IComposition)ws.Target).GetCompositionElements(); } catch (Exception e) { @@ -312,7 +312,7 @@ logical_order.Own = false; try { - ((ICompositionConcrete)ws.Target).SetCompositionElements(_in_logical_order); + ((IComposition)ws.Target).SetCompositionElements(_in_logical_order); } catch (Exception e) { @@ -347,7 +347,7 @@ logical_order.Own = false; bool _ret_var = default(bool); try { - _ret_var = ((ICompositionConcrete)ws.Target).GetLogicalMode(); + _ret_var = ((IComposition)ws.Target).GetLogicalMode(); } catch (Exception e) { @@ -383,7 +383,7 @@ logical_order.Own = false; try { - ((ICompositionConcrete)ws.Target).SetLogicalMode(logical_mode); + ((IComposition)ws.Target).SetLogicalMode(logical_mode); } catch (Exception e) { @@ -418,7 +418,7 @@ logical_order.Own = false; try { - ((ICompositionConcrete)ws.Target).Dirty(); + ((IComposition)ws.Target).Dirty(); } catch (Exception e) { @@ -453,7 +453,7 @@ logical_order.Own = false; try { - ((ICompositionConcrete)ws.Target).Prepare(); + ((IComposition)ws.Target).Prepare(); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_focus_layer.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_focus_layer.eo.cs index db51cdd43..deda811e6 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_focus_layer.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_focus_layer.eo.cs @@ -862,7 +862,7 @@ sealed public class ILayerConcrete : bool _ret_var = default(bool); try { - _ret_var = ((ILayerConcrete)ws.Target).GetEnable(); + _ret_var = ((ILayer)ws.Target).GetEnable(); } catch (Exception e) { @@ -898,7 +898,7 @@ sealed public class ILayerConcrete : try { - ((ILayerConcrete)ws.Target).SetEnable(v); + ((ILayer)ws.Target).SetEnable(v); } catch (Exception e) { @@ -933,7 +933,7 @@ sealed public class ILayerConcrete : enable_on_visible = default(bool); cycle = default(bool); try { - ((ILayerConcrete)ws.Target).GetBehaviour(out enable_on_visible, out cycle); + ((ILayer)ws.Target).GetBehaviour(out enable_on_visible, out cycle); } catch (Exception e) { @@ -968,7 +968,7 @@ sealed public class ILayerConcrete : try { - ((ILayerConcrete)ws.Target).SetBehaviour(enable_on_visible, cycle); + ((ILayer)ws.Target).SetBehaviour(enable_on_visible, cycle); } catch (Exception e) { @@ -1003,7 +1003,7 @@ sealed public class ILayerConcrete : Efl.Ui.Focus.IManager _ret_var = default(Efl.Ui.Focus.IManager); try { - _ret_var = ((ILayerConcrete)ws.Target).FocusManagerCreate(root); + _ret_var = ((ILayer)ws.Target).FocusManagerCreate(root); } catch (Exception e) { @@ -1039,7 +1039,7 @@ sealed public class ILayerConcrete : Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { - _ret_var = ((ILayerConcrete)ws.Target).GetManagerFocus(); + _ret_var = ((ILayer)ws.Target).GetManagerFocus(); } catch (Exception e) { @@ -1075,7 +1075,7 @@ sealed public class ILayerConcrete : try { - ((ILayerConcrete)ws.Target).SetManagerFocus(focus); + ((ILayer)ws.Target).SetManagerFocus(focus); } catch (Exception e) { @@ -1110,7 +1110,7 @@ sealed public class ILayerConcrete : Efl.Ui.Focus.IManager _ret_var = default(Efl.Ui.Focus.IManager); try { - _ret_var = ((ILayerConcrete)ws.Target).GetRedirect(); + _ret_var = ((ILayer)ws.Target).GetRedirect(); } catch (Exception e) { @@ -1146,7 +1146,7 @@ sealed public class ILayerConcrete : try { - ((ILayerConcrete)ws.Target).SetRedirect(redirect); + ((ILayer)ws.Target).SetRedirect(redirect); } catch (Exception e) { @@ -1181,7 +1181,7 @@ sealed public class ILayerConcrete : Eina.Iterator _ret_var = default(Eina.Iterator); try { - _ret_var = ((ILayerConcrete)ws.Target).GetBorderElements(); + _ret_var = ((ILayer)ws.Target).GetBorderElements(); } catch (Exception e) { @@ -1218,7 +1218,7 @@ sealed public class ILayerConcrete : Eina.Iterator _ret_var = default(Eina.Iterator); try { - _ret_var = ((ILayerConcrete)ws.Target).GetViewportElements(_in_viewport); + _ret_var = ((ILayer)ws.Target).GetViewportElements(_in_viewport); } catch (Exception e) { @@ -1254,7 +1254,7 @@ sealed public class ILayerConcrete : Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { - _ret_var = ((ILayerConcrete)ws.Target).GetRoot(); + _ret_var = ((ILayer)ws.Target).GetRoot(); } catch (Exception e) { @@ -1290,7 +1290,7 @@ sealed public class ILayerConcrete : bool _ret_var = default(bool); try { - _ret_var = ((ILayerConcrete)ws.Target).SetRoot(root); + _ret_var = ((ILayer)ws.Target).SetRoot(root); } catch (Exception e) { @@ -1326,7 +1326,7 @@ sealed public class ILayerConcrete : Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { - _ret_var = ((ILayerConcrete)ws.Target).Move(direction); + _ret_var = ((ILayer)ws.Target).Move(direction); } catch (Exception e) { @@ -1362,7 +1362,7 @@ sealed public class ILayerConcrete : Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { - _ret_var = ((ILayerConcrete)ws.Target).MoveRequest(direction, child, logical); + _ret_var = ((ILayer)ws.Target).MoveRequest(direction, child, logical); } catch (Exception e) { @@ -1398,7 +1398,7 @@ sealed public class ILayerConcrete : Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { - _ret_var = ((ILayerConcrete)ws.Target).RequestSubchild(root); + _ret_var = ((ILayer)ws.Target).RequestSubchild(root); } catch (Exception e) { @@ -1434,7 +1434,7 @@ sealed public class ILayerConcrete : Efl.Ui.Focus.Relations _ret_var = default(Efl.Ui.Focus.Relations); try { - _ret_var = ((ILayerConcrete)ws.Target).Fetch(child); + _ret_var = ((ILayer)ws.Target).Fetch(child); } catch (Exception e) { @@ -1470,7 +1470,7 @@ sealed public class ILayerConcrete : Efl.Ui.Focus.ManagerLogicalEndDetail _ret_var = default(Efl.Ui.Focus.ManagerLogicalEndDetail); try { - _ret_var = ((ILayerConcrete)ws.Target).LogicalEnd(); + _ret_var = ((ILayer)ws.Target).LogicalEnd(); } catch (Exception e) { @@ -1506,7 +1506,7 @@ sealed public class ILayerConcrete : try { - ((ILayerConcrete)ws.Target).ResetHistory(); + ((ILayer)ws.Target).ResetHistory(); } catch (Exception e) { @@ -1541,7 +1541,7 @@ sealed public class ILayerConcrete : try { - ((ILayerConcrete)ws.Target).PopHistoryStack(); + ((ILayer)ws.Target).PopHistoryStack(); } catch (Exception e) { @@ -1576,7 +1576,7 @@ sealed public class ILayerConcrete : try { - ((ILayerConcrete)ws.Target).SetupOnFirstTouch(direction, entry); + ((ILayer)ws.Target).SetupOnFirstTouch(direction, entry); } catch (Exception e) { @@ -1611,7 +1611,7 @@ sealed public class ILayerConcrete : try { - ((ILayerConcrete)ws.Target).FreezeDirtyLogic(); + ((ILayer)ws.Target).FreezeDirtyLogic(); } catch (Exception e) { @@ -1646,7 +1646,7 @@ sealed public class ILayerConcrete : try { - ((ILayerConcrete)ws.Target).DirtyLogicUnfreeze(); + ((ILayer)ws.Target).DirtyLogicUnfreeze(); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_focus_manager_sub.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_focus_manager_sub.eo.cs index 77554ccf5..b6c9375e3 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_focus_manager_sub.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_focus_manager_sub.eo.cs @@ -753,7 +753,7 @@ sealed public class IManagerSubConcrete : Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { - _ret_var = ((IManagerSubConcrete)ws.Target).GetManagerFocus(); + _ret_var = ((IManagerSub)ws.Target).GetManagerFocus(); } catch (Exception e) { @@ -789,7 +789,7 @@ sealed public class IManagerSubConcrete : try { - ((IManagerSubConcrete)ws.Target).SetManagerFocus(focus); + ((IManagerSub)ws.Target).SetManagerFocus(focus); } catch (Exception e) { @@ -824,7 +824,7 @@ sealed public class IManagerSubConcrete : Efl.Ui.Focus.IManager _ret_var = default(Efl.Ui.Focus.IManager); try { - _ret_var = ((IManagerSubConcrete)ws.Target).GetRedirect(); + _ret_var = ((IManagerSub)ws.Target).GetRedirect(); } catch (Exception e) { @@ -860,7 +860,7 @@ sealed public class IManagerSubConcrete : try { - ((IManagerSubConcrete)ws.Target).SetRedirect(redirect); + ((IManagerSub)ws.Target).SetRedirect(redirect); } catch (Exception e) { @@ -895,7 +895,7 @@ sealed public class IManagerSubConcrete : Eina.Iterator _ret_var = default(Eina.Iterator); try { - _ret_var = ((IManagerSubConcrete)ws.Target).GetBorderElements(); + _ret_var = ((IManagerSub)ws.Target).GetBorderElements(); } catch (Exception e) { @@ -932,7 +932,7 @@ sealed public class IManagerSubConcrete : Eina.Iterator _ret_var = default(Eina.Iterator); try { - _ret_var = ((IManagerSubConcrete)ws.Target).GetViewportElements(_in_viewport); + _ret_var = ((IManagerSub)ws.Target).GetViewportElements(_in_viewport); } catch (Exception e) { @@ -968,7 +968,7 @@ sealed public class IManagerSubConcrete : Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { - _ret_var = ((IManagerSubConcrete)ws.Target).GetRoot(); + _ret_var = ((IManagerSub)ws.Target).GetRoot(); } catch (Exception e) { @@ -1004,7 +1004,7 @@ sealed public class IManagerSubConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IManagerSubConcrete)ws.Target).SetRoot(root); + _ret_var = ((IManagerSub)ws.Target).SetRoot(root); } catch (Exception e) { @@ -1040,7 +1040,7 @@ sealed public class IManagerSubConcrete : Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { - _ret_var = ((IManagerSubConcrete)ws.Target).Move(direction); + _ret_var = ((IManagerSub)ws.Target).Move(direction); } catch (Exception e) { @@ -1076,7 +1076,7 @@ sealed public class IManagerSubConcrete : Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { - _ret_var = ((IManagerSubConcrete)ws.Target).MoveRequest(direction, child, logical); + _ret_var = ((IManagerSub)ws.Target).MoveRequest(direction, child, logical); } catch (Exception e) { @@ -1112,7 +1112,7 @@ sealed public class IManagerSubConcrete : Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { - _ret_var = ((IManagerSubConcrete)ws.Target).RequestSubchild(root); + _ret_var = ((IManagerSub)ws.Target).RequestSubchild(root); } catch (Exception e) { @@ -1148,7 +1148,7 @@ sealed public class IManagerSubConcrete : Efl.Ui.Focus.Relations _ret_var = default(Efl.Ui.Focus.Relations); try { - _ret_var = ((IManagerSubConcrete)ws.Target).Fetch(child); + _ret_var = ((IManagerSub)ws.Target).Fetch(child); } catch (Exception e) { @@ -1184,7 +1184,7 @@ sealed public class IManagerSubConcrete : Efl.Ui.Focus.ManagerLogicalEndDetail _ret_var = default(Efl.Ui.Focus.ManagerLogicalEndDetail); try { - _ret_var = ((IManagerSubConcrete)ws.Target).LogicalEnd(); + _ret_var = ((IManagerSub)ws.Target).LogicalEnd(); } catch (Exception e) { @@ -1220,7 +1220,7 @@ sealed public class IManagerSubConcrete : try { - ((IManagerSubConcrete)ws.Target).ResetHistory(); + ((IManagerSub)ws.Target).ResetHistory(); } catch (Exception e) { @@ -1255,7 +1255,7 @@ sealed public class IManagerSubConcrete : try { - ((IManagerSubConcrete)ws.Target).PopHistoryStack(); + ((IManagerSub)ws.Target).PopHistoryStack(); } catch (Exception e) { @@ -1290,7 +1290,7 @@ sealed public class IManagerSubConcrete : try { - ((IManagerSubConcrete)ws.Target).SetupOnFirstTouch(direction, entry); + ((IManagerSub)ws.Target).SetupOnFirstTouch(direction, entry); } catch (Exception e) { @@ -1325,7 +1325,7 @@ sealed public class IManagerSubConcrete : try { - ((IManagerSubConcrete)ws.Target).FreezeDirtyLogic(); + ((IManagerSub)ws.Target).FreezeDirtyLogic(); } catch (Exception e) { @@ -1360,7 +1360,7 @@ sealed public class IManagerSubConcrete : try { - ((IManagerSubConcrete)ws.Target).DirtyLogicUnfreeze(); + ((IManagerSub)ws.Target).DirtyLogicUnfreeze(); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_focus_object.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_focus_object.eo.cs index 5da8c139d..9aec30d44 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_focus_object.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_focus_object.eo.cs @@ -708,7 +708,7 @@ sealed public class IObjectConcrete : Eina.Rect _ret_var = default(Eina.Rect); try { - _ret_var = ((IObjectConcrete)ws.Target).GetFocusGeometry(); + _ret_var = ((IObject)ws.Target).GetFocusGeometry(); } catch (Exception e) { @@ -744,7 +744,7 @@ sealed public class IObjectConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IObjectConcrete)ws.Target).GetFocus(); + _ret_var = ((IObject)ws.Target).GetFocus(); } catch (Exception e) { @@ -780,7 +780,7 @@ sealed public class IObjectConcrete : try { - ((IObjectConcrete)ws.Target).SetFocus(focus); + ((IObject)ws.Target).SetFocus(focus); } catch (Exception e) { @@ -815,7 +815,7 @@ sealed public class IObjectConcrete : Efl.Ui.Focus.IManager _ret_var = default(Efl.Ui.Focus.IManager); try { - _ret_var = ((IObjectConcrete)ws.Target).GetFocusManager(); + _ret_var = ((IObject)ws.Target).GetFocusManager(); } catch (Exception e) { @@ -851,7 +851,7 @@ sealed public class IObjectConcrete : Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { - _ret_var = ((IObjectConcrete)ws.Target).GetFocusParent(); + _ret_var = ((IObject)ws.Target).GetFocusParent(); } catch (Exception e) { @@ -887,7 +887,7 @@ sealed public class IObjectConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IObjectConcrete)ws.Target).GetChildFocus(); + _ret_var = ((IObject)ws.Target).GetChildFocus(); } catch (Exception e) { @@ -923,7 +923,7 @@ sealed public class IObjectConcrete : try { - ((IObjectConcrete)ws.Target).SetChildFocus(child_focus); + ((IObject)ws.Target).SetChildFocus(child_focus); } catch (Exception e) { @@ -958,7 +958,7 @@ sealed public class IObjectConcrete : try { - ((IObjectConcrete)ws.Target).SetupOrder(); + ((IObject)ws.Target).SetupOrder(); } catch (Exception e) { @@ -993,7 +993,7 @@ sealed public class IObjectConcrete : try { - ((IObjectConcrete)ws.Target).SetupOrderNonRecursive(); + ((IObject)ws.Target).SetupOrderNonRecursive(); } catch (Exception e) { @@ -1028,7 +1028,7 @@ sealed public class IObjectConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IObjectConcrete)ws.Target).UpdateOnFocus(); + _ret_var = ((IObject)ws.Target).UpdateOnFocus(); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_format.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_format.eo.cs index aad9ca9f2..599e1c8d8 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_format.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_format.eo.cs @@ -140,7 +140,7 @@ sealed public class IFormatConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_ui_format_mixin_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. @@ -263,7 +263,7 @@ sealed public class IFormatConcrete : try { - ((IFormatConcrete)ws.Target).SetFormatCb(func_wrapper.ManagedCb); + ((IFormat)ws.Target).SetFormatCb(func_wrapper.ManagedCb); } catch (Exception e) { @@ -298,7 +298,7 @@ sealed public class IFormatConcrete : System.String _ret_var = default(System.String); try { - _ret_var = ((IFormatConcrete)ws.Target).GetFormatString(); + _ret_var = ((IFormat)ws.Target).GetFormatString(); } catch (Exception e) { @@ -334,7 +334,7 @@ sealed public class IFormatConcrete : try { - ((IFormatConcrete)ws.Target).SetFormatString(units); + ((IFormat)ws.Target).SetFormatString(units); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_frame.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_frame.eo.cs index 92ee4386a..f58af0724 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_frame.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_frame.eo.cs @@ -90,7 +90,7 @@ public class Frame : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.ITextMarkup }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -99,7 +99,7 @@ public class Frame : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.ITextMarkup lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -107,7 +107,7 @@ public class Frame : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.ITextMarkup public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_grid.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_grid.eo.cs index 1a54541b7..cfba088d6 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_grid.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_grid.eo.cs @@ -87,7 +87,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -96,7 +96,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -104,7 +104,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnLayoutUpdatedEvt(EventArgs e) { var key = "_EFL_PACK_EVENT_LAYOUT_UPDATED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -139,7 +139,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SCROLL_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -148,7 +148,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -156,7 +156,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnScrollStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -191,7 +191,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SCROLL"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -200,7 +200,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -208,7 +208,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnScrollEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -243,7 +243,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SCROLL_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -252,7 +252,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -260,7 +260,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnScrollStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -295,7 +295,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SCROLL_UP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -304,7 +304,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_UP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -312,7 +312,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnScrollUpEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_UP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -347,7 +347,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SCROLL_DOWN"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -356,7 +356,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DOWN"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -364,7 +364,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnScrollDownEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DOWN"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -399,7 +399,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SCROLL_LEFT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -408,7 +408,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_LEFT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -416,7 +416,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnScrollLeftEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_LEFT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -451,7 +451,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -460,7 +460,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -468,7 +468,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnScrollRightEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -503,7 +503,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_EDGE_UP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -512,7 +512,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_UP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -520,7 +520,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnEdgeUpEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_UP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -555,7 +555,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_EDGE_DOWN"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -564,7 +564,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_DOWN"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -572,7 +572,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnEdgeDownEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_DOWN"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -607,7 +607,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_EDGE_LEFT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -616,7 +616,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_LEFT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -624,7 +624,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnEdgeLeftEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_LEFT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -659,7 +659,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_EDGE_RIGHT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -668,7 +668,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_RIGHT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -676,7 +676,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnEdgeRightEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_RIGHT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -711,7 +711,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -720,7 +720,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -728,7 +728,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnScrollAnimStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -763,7 +763,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -772,7 +772,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -780,7 +780,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnScrollAnimStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -815,7 +815,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -824,7 +824,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -832,7 +832,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnScrollDragStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -867,7 +867,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -876,7 +876,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -884,7 +884,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnScrollDragStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -920,7 +920,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -929,7 +929,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -937,7 +937,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnBarPressEvt(Efl.Ui.IScrollbarBarPressEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -981,7 +981,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -990,7 +990,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -998,7 +998,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnBarUnpressEvt(Efl.Ui.IScrollbarBarUnpressEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1042,7 +1042,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1051,7 +1051,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1059,7 +1059,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnBarDragEvt(Efl.Ui.IScrollbarBarDragEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1102,7 +1102,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1111,7 +1111,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1119,7 +1119,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnBarSizeChangedEvt(EventArgs e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1154,7 +1154,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1163,7 +1163,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1171,7 +1171,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnBarPosChangedEvt(EventArgs e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1207,7 +1207,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1216,7 +1216,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1224,7 +1224,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnBarShowEvt(Efl.Ui.IScrollbarBarShowEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1268,7 +1268,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1277,7 +1277,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1285,7 +1285,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnBarHideEvt(Efl.Ui.IScrollbarBarHideEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1329,7 +1329,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_ITEM_SELECTED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1338,7 +1338,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_ITEM_SELECTED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1346,7 +1346,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnItemSelectedEvt(Efl.Ui.ISelectableItemSelectedEvt_Args e) { var key = "_EFL_UI_EVENT_ITEM_SELECTED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1383,7 +1383,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_ITEM_UNSELECTED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1392,7 +1392,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_ITEM_UNSELECTED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1400,7 +1400,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnItemUnselectedEvt(Efl.Ui.ISelectableItemUnselectedEvt_Args e) { var key = "_EFL_UI_EVENT_ITEM_UNSELECTED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1436,7 +1436,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SELECTION_PASTE"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1445,7 +1445,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_PASTE"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1453,7 +1453,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnSelectionPasteEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_PASTE"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1488,7 +1488,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SELECTION_COPY"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1497,7 +1497,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_COPY"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1505,7 +1505,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnSelectionCopyEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_COPY"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1540,7 +1540,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SELECTION_CUT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1549,7 +1549,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_CUT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1557,7 +1557,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnSelectionCutEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_CUT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1592,7 +1592,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SELECTION_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1601,7 +1601,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1609,7 +1609,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnSelectionStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1644,7 +1644,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SELECTION_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1653,7 +1653,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1661,7 +1661,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnSelectionChangedEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1696,7 +1696,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SELECTION_CLEARED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1705,7 +1705,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_CLEARED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1713,7 +1713,7 @@ public class Grid : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnSelectionClearedEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_CLEARED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_grid_default_item.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_grid_default_item.eo.cs index 6607ee532..bd93429f1 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_grid_default_item.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_grid_default_item.eo.cs @@ -89,7 +89,7 @@ public class GridDefaultItem : Efl.Ui.GridItem, Efl.IContent, Efl.IText, Efl.ITe }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -98,7 +98,7 @@ public class GridDefaultItem : Efl.Ui.GridItem, Efl.IContent, Efl.IText, Efl.ITe lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -106,7 +106,7 @@ public class GridDefaultItem : Efl.Ui.GridItem, Efl.IContent, Efl.IText, Efl.ITe public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_i18n.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_i18n.eo.cs index 94acf5b6a..24c6074fd 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_i18n.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_i18n.eo.cs @@ -85,7 +85,7 @@ sealed public class II18nConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_ui_i18n_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_image.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_image.eo.cs index 1be167ef0..e1e03ad1f 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_image.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_image.eo.cs @@ -154,7 +154,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. }; string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -163,7 +163,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. lock (eventLock) { string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -171,7 +171,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. public void OnImagePreloadEvt(EventArgs e) { var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -206,7 +206,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. }; string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -215,7 +215,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. lock (eventLock) { string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -223,7 +223,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. public void OnImageResizeEvt(EventArgs e) { var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -258,7 +258,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. }; string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -267,7 +267,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. lock (eventLock) { string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -275,7 +275,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. public void OnImageUnloadEvt(EventArgs e) { var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -310,7 +310,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. }; string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_DONE"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -319,7 +319,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. lock (eventLock) { string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_DONE"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -327,7 +327,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. public void OnLoadDoneEvt(EventArgs e) { var key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_DONE"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -363,7 +363,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. }; string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_ERROR"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -372,7 +372,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. lock (eventLock) { string key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_ERROR"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -380,7 +380,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. public void OnLoadErrorEvt(Efl.Gfx.IImageLoadControllerLoadErrorEvt_Args e) { var key = "_EFL_GFX_IMAGE_LOAD_CONTROLLER_EVENT_LOAD_ERROR"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -424,7 +424,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. }; string key = "_EFL_LAYOUT_EVENT_RECALC"; - AddNativeEventHandler(efl.Libs.Edje, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -433,7 +433,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. lock (eventLock) { string key = "_EFL_LAYOUT_EVENT_RECALC"; - RemoveNativeEventHandler(efl.Libs.Edje, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -441,7 +441,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. public void OnRecalcEvt(EventArgs e) { var key = "_EFL_LAYOUT_EVENT_RECALC"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Edje, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -478,7 +478,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. }; string key = "_EFL_LAYOUT_EVENT_CIRCULAR_DEPENDENCY"; - AddNativeEventHandler(efl.Libs.Edje, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -487,7 +487,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. lock (eventLock) { string key = "_EFL_LAYOUT_EVENT_CIRCULAR_DEPENDENCY"; - RemoveNativeEventHandler(efl.Libs.Edje, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -495,7 +495,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. public void OnCircularDependencyEvt(Efl.Layout.ICalcCircularDependencyEvt_Args e) { var key = "_EFL_LAYOUT_EVENT_CIRCULAR_DEPENDENCY"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Edje, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -839,7 +839,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. }; string key = "_EFL_UI_EVENT_DRAG"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -848,7 +848,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. lock (eventLock) { string key = "_EFL_UI_EVENT_DRAG"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -856,7 +856,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. public void OnDragEvt(Efl.Ui.IDraggableDragEvt_Args e) { var key = "_EFL_UI_EVENT_DRAG"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -892,7 +892,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. }; string key = "_EFL_UI_EVENT_DRAG_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -901,7 +901,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. lock (eventLock) { string key = "_EFL_UI_EVENT_DRAG_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -909,7 +909,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. public void OnDragStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_DRAG_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -945,7 +945,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. }; string key = "_EFL_UI_EVENT_DRAG_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -954,7 +954,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. lock (eventLock) { string key = "_EFL_UI_EVENT_DRAG_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -962,7 +962,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. public void OnDragStopEvt(Efl.Ui.IDraggableDragStopEvt_Args e) { var key = "_EFL_UI_EVENT_DRAG_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -998,7 +998,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. }; string key = "_EFL_UI_EVENT_DRAG_END"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1007,7 +1007,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. lock (eventLock) { string key = "_EFL_UI_EVENT_DRAG_END"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1015,7 +1015,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. public void OnDragEndEvt(EventArgs e) { var key = "_EFL_UI_EVENT_DRAG_END"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1051,7 +1051,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. }; string key = "_EFL_UI_EVENT_DRAG_START_UP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1060,7 +1060,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. lock (eventLock) { string key = "_EFL_UI_EVENT_DRAG_START_UP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1068,7 +1068,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. public void OnDragStartUpEvt(Efl.Ui.IDraggableDragStartUpEvt_Args e) { var key = "_EFL_UI_EVENT_DRAG_START_UP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1105,7 +1105,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. }; string key = "_EFL_UI_EVENT_DRAG_START_DOWN"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1114,7 +1114,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. lock (eventLock) { string key = "_EFL_UI_EVENT_DRAG_START_DOWN"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1122,7 +1122,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. public void OnDragStartDownEvt(Efl.Ui.IDraggableDragStartDownEvt_Args e) { var key = "_EFL_UI_EVENT_DRAG_START_DOWN"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1159,7 +1159,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. }; string key = "_EFL_UI_EVENT_DRAG_START_RIGHT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1168,7 +1168,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. lock (eventLock) { string key = "_EFL_UI_EVENT_DRAG_START_RIGHT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1176,7 +1176,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. public void OnDragStartRightEvt(Efl.Ui.IDraggableDragStartRightEvt_Args e) { var key = "_EFL_UI_EVENT_DRAG_START_RIGHT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1213,7 +1213,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. }; string key = "_EFL_UI_EVENT_DRAG_START_LEFT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1222,7 +1222,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. lock (eventLock) { string key = "_EFL_UI_EVENT_DRAG_START_LEFT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1230,7 +1230,7 @@ public class Image : Efl.Ui.Widget, Efl.IFile, Efl.IPlayer, Efl.Gfx.IImage, Efl. public void OnDragStartLeftEvt(Efl.Ui.IDraggableDragStartLeftEvt_Args e) { var key = "_EFL_UI_EVENT_DRAG_START_LEFT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_image_zoomable.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_image_zoomable.eo.cs index 6400bdefc..25a1149bb 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_image_zoomable.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_image_zoomable.eo.cs @@ -583,7 +583,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_EVENT_SCROLL_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -592,7 +592,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -600,7 +600,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnScrollStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -635,7 +635,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_EVENT_SCROLL"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -644,7 +644,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -652,7 +652,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnScrollEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -687,7 +687,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_EVENT_SCROLL_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -696,7 +696,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -704,7 +704,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnScrollStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -739,7 +739,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_EVENT_SCROLL_UP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -748,7 +748,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_UP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -756,7 +756,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnScrollUpEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_UP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -791,7 +791,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_EVENT_SCROLL_DOWN"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -800,7 +800,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DOWN"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -808,7 +808,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnScrollDownEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DOWN"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -843,7 +843,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_EVENT_SCROLL_LEFT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -852,7 +852,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_LEFT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -860,7 +860,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnScrollLeftEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_LEFT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -895,7 +895,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -904,7 +904,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -912,7 +912,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnScrollRightEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -947,7 +947,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_EVENT_EDGE_UP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -956,7 +956,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_UP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -964,7 +964,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnEdgeUpEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_UP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -999,7 +999,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_EVENT_EDGE_DOWN"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1008,7 +1008,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_DOWN"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1016,7 +1016,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnEdgeDownEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_DOWN"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1051,7 +1051,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_EVENT_EDGE_LEFT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1060,7 +1060,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_LEFT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1068,7 +1068,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnEdgeLeftEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_LEFT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1103,7 +1103,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_EVENT_EDGE_RIGHT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1112,7 +1112,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_RIGHT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1120,7 +1120,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnEdgeRightEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_RIGHT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1155,7 +1155,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1164,7 +1164,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1172,7 +1172,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnScrollAnimStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1207,7 +1207,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1216,7 +1216,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1224,7 +1224,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnScrollAnimStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1259,7 +1259,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1268,7 +1268,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1276,7 +1276,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnScrollDragStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1311,7 +1311,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1320,7 +1320,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1328,7 +1328,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnScrollDragStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1364,7 +1364,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1373,7 +1373,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1381,7 +1381,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnBarPressEvt(Efl.Ui.IScrollbarBarPressEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1425,7 +1425,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1434,7 +1434,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1442,7 +1442,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnBarUnpressEvt(Efl.Ui.IScrollbarBarUnpressEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1486,7 +1486,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1495,7 +1495,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1503,7 +1503,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnBarDragEvt(Efl.Ui.IScrollbarBarDragEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1546,7 +1546,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1555,7 +1555,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1563,7 +1563,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnBarSizeChangedEvt(EventArgs e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1598,7 +1598,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1607,7 +1607,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1615,7 +1615,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnBarPosChangedEvt(EventArgs e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1651,7 +1651,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1660,7 +1660,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1668,7 +1668,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnBarShowEvt(Efl.Ui.IScrollbarBarShowEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1712,7 +1712,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1721,7 +1721,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1729,7 +1729,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnBarHideEvt(Efl.Ui.IScrollbarBarHideEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1772,7 +1772,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_EVENT_ZOOM_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1781,7 +1781,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_EVENT_ZOOM_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1789,7 +1789,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnZoomStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_ZOOM_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1824,7 +1824,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_EVENT_ZOOM_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1833,7 +1833,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_EVENT_ZOOM_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1841,7 +1841,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnZoomStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_ZOOM_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1876,7 +1876,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl }; string key = "_EFL_UI_EVENT_ZOOM_CHANGE"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1885,7 +1885,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl lock (eventLock) { string key = "_EFL_UI_EVENT_ZOOM_CHANGE"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1893,7 +1893,7 @@ public class ImageZoomable : Efl.Ui.Image, Efl.Ui.IScrollable, Efl.Ui.IScrollabl public void OnZoomChangeEvt(EventArgs e) { var key = "_EFL_UI_EVENT_ZOOM_CHANGE"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_item.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_item.eo.cs index 2d7018e58..03156d868 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_item.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_item.eo.cs @@ -402,7 +402,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec }; string key = "_EFL_UI_EVENT_ITEM_SELECTED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -411,7 +411,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec lock (eventLock) { string key = "_EFL_UI_EVENT_ITEM_SELECTED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -419,7 +419,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec public void OnItemSelectedEvt(Efl.Ui.ISelectableItemSelectedEvt_Args e) { var key = "_EFL_UI_EVENT_ITEM_SELECTED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -456,7 +456,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec }; string key = "_EFL_UI_EVENT_ITEM_UNSELECTED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -465,7 +465,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec lock (eventLock) { string key = "_EFL_UI_EVENT_ITEM_UNSELECTED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -473,7 +473,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec public void OnItemUnselectedEvt(Efl.Ui.ISelectableItemUnselectedEvt_Args e) { var key = "_EFL_UI_EVENT_ITEM_UNSELECTED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -509,7 +509,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec }; string key = "_EFL_UI_EVENT_SELECTION_PASTE"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -518,7 +518,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_PASTE"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -526,7 +526,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec public void OnSelectionPasteEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_PASTE"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -561,7 +561,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec }; string key = "_EFL_UI_EVENT_SELECTION_COPY"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -570,7 +570,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_COPY"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -578,7 +578,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec public void OnSelectionCopyEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_COPY"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -613,7 +613,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec }; string key = "_EFL_UI_EVENT_SELECTION_CUT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -622,7 +622,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_CUT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -630,7 +630,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec public void OnSelectionCutEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_CUT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -665,7 +665,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec }; string key = "_EFL_UI_EVENT_SELECTION_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -674,7 +674,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -682,7 +682,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec public void OnSelectionStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -717,7 +717,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec }; string key = "_EFL_UI_EVENT_SELECTION_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -726,7 +726,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -734,7 +734,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec public void OnSelectionChangedEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -769,7 +769,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec }; string key = "_EFL_UI_EVENT_SELECTION_CLEARED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -778,7 +778,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_CLEARED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -786,7 +786,7 @@ public abstract class Item : Efl.Ui.LayoutBase, Efl.Ui.IClickable, Efl.Ui.ISelec public void OnSelectionClearedEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_CLEARED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_item_part_content.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_item_part_content.eo.cs index 57f6334a4..b3602da32 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_item_part_content.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_item_part_content.eo.cs @@ -83,7 +83,7 @@ public class ItemPartContent : Efl.Ui.LayoutPart, Efl.IContent }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -92,7 +92,7 @@ public class ItemPartContent : Efl.Ui.LayoutPart, Efl.IContent lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -100,7 +100,7 @@ public class ItemPartContent : Efl.Ui.LayoutPart, Efl.IContent public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_item_part_extra.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_item_part_extra.eo.cs index 1b4487ca9..5ac64705f 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_item_part_extra.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_item_part_extra.eo.cs @@ -83,7 +83,7 @@ public class ItemPartExtra : Efl.Ui.LayoutPart, Efl.IContent }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -92,7 +92,7 @@ public class ItemPartExtra : Efl.Ui.LayoutPart, Efl.IContent lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -100,7 +100,7 @@ public class ItemPartExtra : Efl.Ui.LayoutPart, Efl.IContent public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_item_part_icon.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_item_part_icon.eo.cs index 8c12be9c7..9fc01106a 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_item_part_icon.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_item_part_icon.eo.cs @@ -83,7 +83,7 @@ public class ItemPartIcon : Efl.Ui.LayoutPart, Efl.IContent }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -92,7 +92,7 @@ public class ItemPartIcon : Efl.Ui.LayoutPart, Efl.IContent lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -100,7 +100,7 @@ public class ItemPartIcon : Efl.Ui.LayoutPart, Efl.IContent public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_base.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_base.eo.cs index 0a8d22529..8cb3d1818 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_base.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_base.eo.cs @@ -150,7 +150,7 @@ public abstract class LayoutBase : Efl.Ui.Widget, Efl.IContainer, Efl.Layout.ICa }; string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -159,7 +159,7 @@ public abstract class LayoutBase : Efl.Ui.Widget, Efl.IContainer, Efl.Layout.ICa lock (eventLock) { string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -167,7 +167,7 @@ public abstract class LayoutBase : Efl.Ui.Widget, Efl.IContainer, Efl.Layout.ICa public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -205,7 +205,7 @@ public abstract class LayoutBase : Efl.Ui.Widget, Efl.IContainer, Efl.Layout.ICa }; string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -214,7 +214,7 @@ public abstract class LayoutBase : Efl.Ui.Widget, Efl.IContainer, Efl.Layout.ICa lock (eventLock) { string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -222,7 +222,7 @@ public abstract class LayoutBase : Efl.Ui.Widget, Efl.IContainer, Efl.Layout.ICa public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -259,7 +259,7 @@ public abstract class LayoutBase : Efl.Ui.Widget, Efl.IContainer, Efl.Layout.ICa }; string key = "_EFL_LAYOUT_EVENT_RECALC"; - AddNativeEventHandler(efl.Libs.Edje, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -268,7 +268,7 @@ public abstract class LayoutBase : Efl.Ui.Widget, Efl.IContainer, Efl.Layout.ICa lock (eventLock) { string key = "_EFL_LAYOUT_EVENT_RECALC"; - RemoveNativeEventHandler(efl.Libs.Edje, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -276,7 +276,7 @@ public abstract class LayoutBase : Efl.Ui.Widget, Efl.IContainer, Efl.Layout.ICa public void OnRecalcEvt(EventArgs e) { var key = "_EFL_LAYOUT_EVENT_RECALC"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Edje, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -313,7 +313,7 @@ public abstract class LayoutBase : Efl.Ui.Widget, Efl.IContainer, Efl.Layout.ICa }; string key = "_EFL_LAYOUT_EVENT_CIRCULAR_DEPENDENCY"; - AddNativeEventHandler(efl.Libs.Edje, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -322,7 +322,7 @@ public abstract class LayoutBase : Efl.Ui.Widget, Efl.IContainer, Efl.Layout.ICa lock (eventLock) { string key = "_EFL_LAYOUT_EVENT_CIRCULAR_DEPENDENCY"; - RemoveNativeEventHandler(efl.Libs.Edje, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -330,7 +330,7 @@ public abstract class LayoutBase : Efl.Ui.Widget, Efl.IContainer, Efl.Layout.ICa public void OnCircularDependencyEvt(Efl.Layout.ICalcCircularDependencyEvt_Args e) { var key = "_EFL_LAYOUT_EVENT_CIRCULAR_DEPENDENCY"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Edje, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_orientable.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_orientable.eo.cs index 2bc834c3e..9b66b8ad8 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_orientable.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_orientable.eo.cs @@ -60,7 +60,7 @@ sealed public class ILayoutOrientableConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_ui_layout_orientable_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_orientable_readonly.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_orientable_readonly.eo.cs index 0557b7999..f464dc15b 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_orientable_readonly.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_orientable_readonly.eo.cs @@ -36,7 +36,7 @@ sealed public class ILayoutOrientableReadonlyConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_ui_layout_orientable_readonly_mixin_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. @@ -136,7 +136,7 @@ sealed public class ILayoutOrientableReadonlyConcrete : Efl.Ui.LayoutOrientation _ret_var = default(Efl.Ui.LayoutOrientation); try { - _ret_var = ((ILayoutOrientableReadonlyConcrete)ws.Target).GetOrientation(); + _ret_var = ((ILayoutOrientableReadonly)ws.Target).GetOrientation(); } catch (Exception e) { @@ -172,7 +172,7 @@ sealed public class ILayoutOrientableReadonlyConcrete : try { - ((ILayoutOrientableReadonlyConcrete)ws.Target).SetOrientation(dir); + ((ILayoutOrientableReadonly)ws.Target).SetOrientation(dir); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_part_box.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_part_box.eo.cs index d2b86cd50..0c22ba30e 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_part_box.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_part_box.eo.cs @@ -84,7 +84,7 @@ public class LayoutPartBox : Efl.Ui.LayoutPart, Efl.IContainer, Efl.IPack, Efl.I }; string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -93,7 +93,7 @@ public class LayoutPartBox : Efl.Ui.LayoutPart, Efl.IContainer, Efl.IPack, Efl.I lock (eventLock) { string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -101,7 +101,7 @@ public class LayoutPartBox : Efl.Ui.LayoutPart, Efl.IContainer, Efl.IPack, Efl.I public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -139,7 +139,7 @@ public class LayoutPartBox : Efl.Ui.LayoutPart, Efl.IContainer, Efl.IPack, Efl.I }; string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -148,7 +148,7 @@ public class LayoutPartBox : Efl.Ui.LayoutPart, Efl.IContainer, Efl.IPack, Efl.I lock (eventLock) { string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -156,7 +156,7 @@ public class LayoutPartBox : Efl.Ui.LayoutPart, Efl.IContainer, Efl.IPack, Efl.I public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -169,7 +169,7 @@ public class LayoutPartBox : Efl.Ui.LayoutPart, Efl.IContainer, Efl.IPack, Efl.I /// Real part property /// Real part object /// Real part name - virtual public void SetRealPart(Efl.Object layout, System.String part) { + virtual protected void SetRealPart(Efl.Object layout, System.String part) { Efl.Ui.LayoutPartBox.NativeMethods.efl_ui_layout_part_box_real_part_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),layout, part); Eina.Error.RaiseIfUnhandledException(); } diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_part_content.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_part_content.eo.cs index eadd22623..69b57236b 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_part_content.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_part_content.eo.cs @@ -83,7 +83,7 @@ public class LayoutPartContent : Efl.Ui.LayoutPart, Efl.IContent }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -92,7 +92,7 @@ public class LayoutPartContent : Efl.Ui.LayoutPart, Efl.IContent lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -100,7 +100,7 @@ public class LayoutPartContent : Efl.Ui.LayoutPart, Efl.IContent public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_part_legacy.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_part_legacy.eo.cs index f0d534524..72aef1398 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_part_legacy.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_part_legacy.eo.cs @@ -83,7 +83,7 @@ public class LayoutPartLegacy : Efl.Ui.LayoutPart, Efl.IContent, Efl.IText, Efl. }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -92,7 +92,7 @@ public class LayoutPartLegacy : Efl.Ui.LayoutPart, Efl.IContent, Efl.IText, Efl. lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -100,7 +100,7 @@ public class LayoutPartLegacy : Efl.Ui.LayoutPart, Efl.IContent, Efl.IText, Efl. public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_part_table.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_part_table.eo.cs index e51a49a9d..fe9f23e67 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_part_table.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_layout_part_table.eo.cs @@ -84,7 +84,7 @@ public class LayoutPartTable : Efl.Ui.LayoutPart, Efl.IContainer, Efl.IPack, Efl }; string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -93,7 +93,7 @@ public class LayoutPartTable : Efl.Ui.LayoutPart, Efl.IContainer, Efl.IPack, Efl lock (eventLock) { string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -101,7 +101,7 @@ public class LayoutPartTable : Efl.Ui.LayoutPart, Efl.IContainer, Efl.IPack, Efl public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -139,7 +139,7 @@ public class LayoutPartTable : Efl.Ui.LayoutPart, Efl.IContainer, Efl.IPack, Efl }; string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -148,7 +148,7 @@ public class LayoutPartTable : Efl.Ui.LayoutPart, Efl.IContainer, Efl.IPack, Efl lock (eventLock) { string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -156,7 +156,7 @@ public class LayoutPartTable : Efl.Ui.LayoutPart, Efl.IContainer, Efl.IPack, Efl public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -169,7 +169,7 @@ public class LayoutPartTable : Efl.Ui.LayoutPart, Efl.IContainer, Efl.IPack, Efl /// Real part property /// Real part object /// Real part name - virtual public void SetRealPart(Efl.Object layout, System.String part) { + virtual protected void SetRealPart(Efl.Object layout, System.String part) { Efl.Ui.LayoutPartTable.NativeMethods.efl_ui_layout_part_table_real_part_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),layout, part); Eina.Error.RaiseIfUnhandledException(); } diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_list.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_list.eo.cs index 7016aa377..99a524e9b 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_list.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_list.eo.cs @@ -87,7 +87,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -96,7 +96,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -104,7 +104,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnLayoutUpdatedEvt(EventArgs e) { var key = "_EFL_PACK_EVENT_LAYOUT_UPDATED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -139,7 +139,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SCROLL_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -148,7 +148,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -156,7 +156,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnScrollStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -191,7 +191,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SCROLL"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -200,7 +200,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -208,7 +208,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnScrollEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -243,7 +243,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SCROLL_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -252,7 +252,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -260,7 +260,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnScrollStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -295,7 +295,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SCROLL_UP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -304,7 +304,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_UP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -312,7 +312,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnScrollUpEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_UP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -347,7 +347,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SCROLL_DOWN"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -356,7 +356,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DOWN"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -364,7 +364,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnScrollDownEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DOWN"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -399,7 +399,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SCROLL_LEFT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -408,7 +408,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_LEFT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -416,7 +416,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnScrollLeftEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_LEFT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -451,7 +451,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -460,7 +460,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -468,7 +468,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnScrollRightEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -503,7 +503,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_EDGE_UP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -512,7 +512,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_UP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -520,7 +520,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnEdgeUpEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_UP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -555,7 +555,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_EDGE_DOWN"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -564,7 +564,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_DOWN"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -572,7 +572,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnEdgeDownEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_DOWN"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -607,7 +607,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_EDGE_LEFT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -616,7 +616,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_LEFT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -624,7 +624,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnEdgeLeftEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_LEFT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -659,7 +659,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_EDGE_RIGHT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -668,7 +668,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_RIGHT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -676,7 +676,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnEdgeRightEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_RIGHT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -711,7 +711,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -720,7 +720,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -728,7 +728,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnScrollAnimStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -763,7 +763,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -772,7 +772,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -780,7 +780,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnScrollAnimStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -815,7 +815,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -824,7 +824,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -832,7 +832,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnScrollDragStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -867,7 +867,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -876,7 +876,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -884,7 +884,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnScrollDragStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -920,7 +920,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -929,7 +929,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -937,7 +937,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnBarPressEvt(Efl.Ui.IScrollbarBarPressEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -981,7 +981,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -990,7 +990,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -998,7 +998,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnBarUnpressEvt(Efl.Ui.IScrollbarBarUnpressEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1042,7 +1042,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1051,7 +1051,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1059,7 +1059,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnBarDragEvt(Efl.Ui.IScrollbarBarDragEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1102,7 +1102,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1111,7 +1111,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1119,7 +1119,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnBarSizeChangedEvt(EventArgs e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1154,7 +1154,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1163,7 +1163,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1171,7 +1171,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnBarPosChangedEvt(EventArgs e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1207,7 +1207,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1216,7 +1216,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1224,7 +1224,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnBarShowEvt(Efl.Ui.IScrollbarBarShowEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1268,7 +1268,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1277,7 +1277,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1285,7 +1285,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnBarHideEvt(Efl.Ui.IScrollbarBarHideEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1329,7 +1329,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_ITEM_SELECTED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1338,7 +1338,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_ITEM_SELECTED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1346,7 +1346,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnItemSelectedEvt(Efl.Ui.ISelectableItemSelectedEvt_Args e) { var key = "_EFL_UI_EVENT_ITEM_SELECTED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1383,7 +1383,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_ITEM_UNSELECTED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1392,7 +1392,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_ITEM_UNSELECTED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1400,7 +1400,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnItemUnselectedEvt(Efl.Ui.ISelectableItemUnselectedEvt_Args e) { var key = "_EFL_UI_EVENT_ITEM_UNSELECTED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1436,7 +1436,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SELECTION_PASTE"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1445,7 +1445,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_PASTE"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1453,7 +1453,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnSelectionPasteEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_PASTE"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1488,7 +1488,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SELECTION_COPY"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1497,7 +1497,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_COPY"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1505,7 +1505,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnSelectionCopyEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_COPY"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1540,7 +1540,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SELECTION_CUT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1549,7 +1549,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_CUT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1557,7 +1557,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnSelectionCutEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_CUT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1592,7 +1592,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SELECTION_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1601,7 +1601,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1609,7 +1609,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnSelectionStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1644,7 +1644,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SELECTION_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1653,7 +1653,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1661,7 +1661,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnSelectionChangedEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1696,7 +1696,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine }; string key = "_EFL_UI_EVENT_SELECTION_CLEARED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1705,7 +1705,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_CLEARED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1713,7 +1713,7 @@ public class List : Efl.Ui.LayoutBase, Efl.IPack, Efl.IPackLayout, Efl.IPackLine public void OnSelectionClearedEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_CLEARED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_list_default_item.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_list_default_item.eo.cs index 82ec16657..83c819ec5 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_list_default_item.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_list_default_item.eo.cs @@ -89,7 +89,7 @@ public class ListDefaultItem : Efl.Ui.ListItem, Efl.IContent, Efl.IText, Efl.ITe }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -98,7 +98,7 @@ public class ListDefaultItem : Efl.Ui.ListItem, Efl.IContent, Efl.IText, Efl.ITe lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -106,7 +106,7 @@ public class ListDefaultItem : Efl.Ui.ListItem, Efl.IContent, Efl.IText, Efl.ITe public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_list_placeholder_item.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_list_placeholder_item.eo.cs index 307108003..28389f3e5 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_list_placeholder_item.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_list_placeholder_item.eo.cs @@ -89,7 +89,7 @@ public class ListPlaceholderItem : Efl.Ui.ListItem, Efl.IContent }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -98,7 +98,7 @@ public class ListPlaceholderItem : Efl.Ui.ListItem, Efl.IContent lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -106,7 +106,7 @@ public class ListPlaceholderItem : Efl.Ui.ListItem, Efl.IContent public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_list_view.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_list_view.eo.cs index cc2421caa..c3c48e62c 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_list_view.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_list_view.eo.cs @@ -534,7 +534,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_EVENT_SCROLL_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -543,7 +543,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -551,7 +551,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnScrollStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -586,7 +586,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_EVENT_SCROLL"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -595,7 +595,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -603,7 +603,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnScrollEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -638,7 +638,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_EVENT_SCROLL_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -647,7 +647,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -655,7 +655,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnScrollStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -690,7 +690,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_EVENT_SCROLL_UP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -699,7 +699,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_UP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -707,7 +707,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnScrollUpEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_UP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -742,7 +742,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_EVENT_SCROLL_DOWN"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -751,7 +751,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DOWN"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -759,7 +759,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnScrollDownEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DOWN"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -794,7 +794,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_EVENT_SCROLL_LEFT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -803,7 +803,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_LEFT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -811,7 +811,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnScrollLeftEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_LEFT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -846,7 +846,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -855,7 +855,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -863,7 +863,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnScrollRightEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -898,7 +898,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_EVENT_EDGE_UP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -907,7 +907,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_UP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -915,7 +915,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnEdgeUpEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_UP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -950,7 +950,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_EVENT_EDGE_DOWN"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -959,7 +959,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_DOWN"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -967,7 +967,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnEdgeDownEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_DOWN"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1002,7 +1002,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_EVENT_EDGE_LEFT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1011,7 +1011,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_LEFT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1019,7 +1019,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnEdgeLeftEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_LEFT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1054,7 +1054,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_EVENT_EDGE_RIGHT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1063,7 +1063,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_RIGHT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1071,7 +1071,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnEdgeRightEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_RIGHT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1106,7 +1106,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1115,7 +1115,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1123,7 +1123,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnScrollAnimStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1158,7 +1158,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1167,7 +1167,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1175,7 +1175,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnScrollAnimStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1210,7 +1210,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1219,7 +1219,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1227,7 +1227,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnScrollDragStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1262,7 +1262,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1271,7 +1271,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1279,7 +1279,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnScrollDragStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1315,7 +1315,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1324,7 +1324,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1332,7 +1332,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnBarPressEvt(Efl.Ui.IScrollbarBarPressEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1376,7 +1376,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1385,7 +1385,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1393,7 +1393,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnBarUnpressEvt(Efl.Ui.IScrollbarBarUnpressEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1437,7 +1437,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1446,7 +1446,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1454,7 +1454,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnBarDragEvt(Efl.Ui.IScrollbarBarDragEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1497,7 +1497,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1506,7 +1506,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1514,7 +1514,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnBarSizeChangedEvt(EventArgs e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1549,7 +1549,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1558,7 +1558,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1566,7 +1566,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnBarPosChangedEvt(EventArgs e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1602,7 +1602,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1611,7 +1611,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1619,7 +1619,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnBarShowEvt(Efl.Ui.IScrollbarBarShowEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1663,7 +1663,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1672,7 +1672,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1680,7 +1680,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnBarHideEvt(Efl.Ui.IScrollbarBarHideEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1724,7 +1724,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_EVENT_ITEM_SELECTED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1733,7 +1733,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_EVENT_ITEM_SELECTED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1741,7 +1741,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnItemSelectedEvt(Efl.Ui.ISelectableItemSelectedEvt_Args e) { var key = "_EFL_UI_EVENT_ITEM_SELECTED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1778,7 +1778,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_EVENT_ITEM_UNSELECTED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1787,7 +1787,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_EVENT_ITEM_UNSELECTED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1795,7 +1795,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnItemUnselectedEvt(Efl.Ui.ISelectableItemUnselectedEvt_Args e) { var key = "_EFL_UI_EVENT_ITEM_UNSELECTED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1831,7 +1831,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_EVENT_SELECTION_PASTE"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1840,7 +1840,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_PASTE"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1848,7 +1848,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnSelectionPasteEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_PASTE"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1883,7 +1883,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_EVENT_SELECTION_COPY"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1892,7 +1892,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_COPY"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1900,7 +1900,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnSelectionCopyEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_COPY"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1935,7 +1935,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_EVENT_SELECTION_CUT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1944,7 +1944,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_CUT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1952,7 +1952,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnSelectionCutEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_CUT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1987,7 +1987,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_EVENT_SELECTION_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1996,7 +1996,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -2004,7 +2004,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnSelectionStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -2039,7 +2039,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_EVENT_SELECTION_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -2048,7 +2048,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -2056,7 +2056,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnSelectionChangedEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -2091,7 +2091,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi }; string key = "_EFL_UI_EVENT_SELECTION_CLEARED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -2100,7 +2100,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_CLEARED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -2108,7 +2108,7 @@ public class ListView : Efl.Ui.LayoutBase, Efl.Access.ISelection, Efl.Ui.IListVi public void OnSelectionClearedEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_CLEARED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_multi_selectable.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_multi_selectable.eo.cs index 5870285b2..62deea2dc 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_multi_selectable.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_multi_selectable.eo.cs @@ -49,7 +49,7 @@ sealed public class IMultiSelectableConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_ui_multi_selectable_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_navigation_bar_part_back_button.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_navigation_bar_part_back_button.eo.cs index 8cf59e4d3..b67b63153 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_navigation_bar_part_back_button.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_navigation_bar_part_back_button.eo.cs @@ -83,7 +83,7 @@ public class NavigationBarPartBackButton : Efl.Ui.LayoutPart, Efl.IContent, Efl. }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -92,7 +92,7 @@ public class NavigationBarPartBackButton : Efl.Ui.LayoutPart, Efl.IContent, Efl. lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -100,7 +100,7 @@ public class NavigationBarPartBackButton : Efl.Ui.LayoutPart, Efl.IContent, Efl. public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -138,7 +138,7 @@ public class NavigationBarPartBackButton : Efl.Ui.LayoutPart, Efl.IContent, Efl. }; string key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -147,7 +147,7 @@ public class NavigationBarPartBackButton : Efl.Ui.LayoutPart, Efl.IContent, Efl. lock (eventLock) { string key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -155,7 +155,7 @@ public class NavigationBarPartBackButton : Efl.Ui.LayoutPart, Efl.IContent, Efl. public void OnVisibilityChangedEvt(Efl.Gfx.IEntityVisibilityChangedEvt_Args e) { var key = "_EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -200,7 +200,7 @@ public class NavigationBarPartBackButton : Efl.Ui.LayoutPart, Efl.IContent, Efl. }; string key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -209,7 +209,7 @@ public class NavigationBarPartBackButton : Efl.Ui.LayoutPart, Efl.IContent, Efl. lock (eventLock) { string key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -217,7 +217,7 @@ public class NavigationBarPartBackButton : Efl.Ui.LayoutPart, Efl.IContent, Efl. public void OnPositionChangedEvt(Efl.Gfx.IEntityPositionChangedEvt_Args e) { var key = "_EFL_GFX_ENTITY_EVENT_POSITION_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -263,7 +263,7 @@ public class NavigationBarPartBackButton : Efl.Ui.LayoutPart, Efl.IContent, Efl. }; string key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -272,7 +272,7 @@ public class NavigationBarPartBackButton : Efl.Ui.LayoutPart, Efl.IContent, Efl. lock (eventLock) { string key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -280,7 +280,7 @@ public class NavigationBarPartBackButton : Efl.Ui.LayoutPart, Efl.IContent, Efl. public void OnSizeChangedEvt(Efl.Gfx.IEntitySizeChangedEvt_Args e) { var key = "_EFL_GFX_ENTITY_EVENT_SIZE_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_navigation_layout.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_navigation_layout.eo.cs index d55fd6a84..a378e4dd7 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_navigation_layout.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_navigation_layout.eo.cs @@ -90,7 +90,7 @@ public class NavigationLayout : Efl.Ui.LayoutBase, Efl.IContent }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -99,7 +99,7 @@ public class NavigationLayout : Efl.Ui.LayoutBase, Efl.IContent lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -107,7 +107,7 @@ public class NavigationLayout : Efl.Ui.LayoutBase, Efl.IContent public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_nstate.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_nstate.eo.cs index 698362250..00aa2b36e 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_nstate.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_nstate.eo.cs @@ -140,7 +140,7 @@ public class Nstate : Efl.Ui.Button Eina.Error.RaiseIfUnhandledException(); } /// Activate widget - virtual public void Activate() { + virtual protected void Activate() { Efl.Ui.Nstate.NativeMethods.efl_ui_nstate_activate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); } diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_pan.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_pan.eo.cs index b4033b1a7..f581e36ff 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_pan.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_pan.eo.cs @@ -239,7 +239,7 @@ public class Pan : Efl.Canvas.Group, Efl.IContent }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -248,7 +248,7 @@ public class Pan : Efl.Canvas.Group, Efl.IContent lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -256,7 +256,7 @@ public class Pan : Efl.Canvas.Group, Efl.IContent public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_panel.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_panel.eo.cs index 156751e91..ac3af7a5e 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_panel.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_panel.eo.cs @@ -141,7 +141,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -150,7 +150,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -158,7 +158,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -194,7 +194,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui }; string key = "_EFL_UI_EVENT_SCROLL_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -203,7 +203,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -211,7 +211,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui public void OnScrollStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -246,7 +246,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui }; string key = "_EFL_UI_EVENT_SCROLL"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -255,7 +255,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -263,7 +263,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui public void OnScrollEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -298,7 +298,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui }; string key = "_EFL_UI_EVENT_SCROLL_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -307,7 +307,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -315,7 +315,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui public void OnScrollStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -350,7 +350,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui }; string key = "_EFL_UI_EVENT_SCROLL_UP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -359,7 +359,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_UP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -367,7 +367,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui public void OnScrollUpEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_UP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -402,7 +402,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui }; string key = "_EFL_UI_EVENT_SCROLL_DOWN"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -411,7 +411,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DOWN"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -419,7 +419,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui public void OnScrollDownEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DOWN"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -454,7 +454,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui }; string key = "_EFL_UI_EVENT_SCROLL_LEFT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -463,7 +463,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_LEFT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -471,7 +471,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui public void OnScrollLeftEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_LEFT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -506,7 +506,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui }; string key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -515,7 +515,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -523,7 +523,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui public void OnScrollRightEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -558,7 +558,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui }; string key = "_EFL_UI_EVENT_EDGE_UP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -567,7 +567,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_UP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -575,7 +575,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui public void OnEdgeUpEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_UP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -610,7 +610,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui }; string key = "_EFL_UI_EVENT_EDGE_DOWN"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -619,7 +619,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_DOWN"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -627,7 +627,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui public void OnEdgeDownEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_DOWN"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -662,7 +662,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui }; string key = "_EFL_UI_EVENT_EDGE_LEFT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -671,7 +671,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_LEFT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -679,7 +679,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui public void OnEdgeLeftEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_LEFT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -714,7 +714,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui }; string key = "_EFL_UI_EVENT_EDGE_RIGHT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -723,7 +723,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_RIGHT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -731,7 +731,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui public void OnEdgeRightEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_RIGHT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -766,7 +766,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui }; string key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -775,7 +775,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -783,7 +783,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui public void OnScrollAnimStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -818,7 +818,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui }; string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -827,7 +827,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -835,7 +835,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui public void OnScrollAnimStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -870,7 +870,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui }; string key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -879,7 +879,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -887,7 +887,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui public void OnScrollDragStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -922,7 +922,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui }; string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -931,7 +931,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -939,7 +939,7 @@ public class Panel : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl.Ui public void OnScrollDragStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_popup.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_popup.eo.cs index b36b8b71f..9030d1f52 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_popup.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_popup.eo.cs @@ -193,7 +193,7 @@ public class Popup : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IWidgetFocusManager }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -202,7 +202,7 @@ public class Popup : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IWidgetFocusManager lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -210,7 +210,7 @@ public class Popup : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IWidgetFocusManager public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_progressbar.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_progressbar.eo.cs index 7e371cdcb..8298a4796 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_progressbar.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_progressbar.eo.cs @@ -141,7 +141,7 @@ public class Progressbar : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.IText }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -150,7 +150,7 @@ public class Progressbar : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.IText lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -158,7 +158,7 @@ public class Progressbar : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.IText public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -355,8 +355,8 @@ public class Progressbar : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.IText /// Note: If only one value is needed, the other pointer can be passed as null. /// The minimum value. /// The maximum value. - virtual public void GetRangeMinMax(out double min, out double max) { - Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_min_max_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out min, out max); + virtual public void GetRangeLimits(out double min, out double max) { + Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out min, out max); Eina.Error.RaiseIfUnhandledException(); } /// Set the minimum and maximum values for given range widget. @@ -369,8 +369,8 @@ public class Progressbar : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.IText /// Warning: maximum must be greater than minimum, otherwise behavior is undefined. /// The minimum value. /// The maximum value. - virtual public void SetRangeMinMax(double min, double max) { - Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_min_max_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),min, max); + virtual public void SetRangeLimits(double min, double max) { + Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),min, max); Eina.Error.RaiseIfUnhandledException(); } /// Control whether a given progress bar widget is at "pulsing mode" or not. @@ -673,24 +673,24 @@ public class Progressbar : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.IText descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_value_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_value_set_static_delegate) }); } - if (efl_ui_range_min_max_get_static_delegate == null) + if (efl_ui_range_limits_get_static_delegate == null) { - efl_ui_range_min_max_get_static_delegate = new efl_ui_range_min_max_get_delegate(range_min_max_get); + efl_ui_range_limits_get_static_delegate = new efl_ui_range_limits_get_delegate(range_limits_get); } - if (methods.FirstOrDefault(m => m.Name == "GetRangeMinMax") != null) + if (methods.FirstOrDefault(m => m.Name == "GetRangeLimits") != null) { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_min_max_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_min_max_get_static_delegate) }); + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_limits_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_limits_get_static_delegate) }); } - if (efl_ui_range_min_max_set_static_delegate == null) + if (efl_ui_range_limits_set_static_delegate == null) { - efl_ui_range_min_max_set_static_delegate = new efl_ui_range_min_max_set_delegate(range_min_max_set); + efl_ui_range_limits_set_static_delegate = new efl_ui_range_limits_set_delegate(range_limits_set); } - if (methods.FirstOrDefault(m => m.Name == "SetRangeMinMax") != null) + if (methods.FirstOrDefault(m => m.Name == "SetRangeLimits") != null) { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_min_max_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_min_max_set_static_delegate) }); + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_limits_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_limits_set_static_delegate) }); } descs.AddRange(base.GetEoOps(type)); @@ -1493,23 +1493,23 @@ public class Progressbar : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.IText private static efl_ui_range_value_set_delegate efl_ui_range_value_set_static_delegate; - private delegate void efl_ui_range_min_max_get_delegate(System.IntPtr obj, System.IntPtr pd, out double min, out double max); + private delegate void efl_ui_range_limits_get_delegate(System.IntPtr obj, System.IntPtr pd, out double min, out double max); - public delegate void efl_ui_range_min_max_get_api_delegate(System.IntPtr obj, out double min, out double max); + public delegate void efl_ui_range_limits_get_api_delegate(System.IntPtr obj, out double min, out double max); - public static Efl.Eo.FunctionWrapper efl_ui_range_min_max_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_min_max_get"); + public static Efl.Eo.FunctionWrapper efl_ui_range_limits_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_limits_get"); - private static void range_min_max_get(System.IntPtr obj, System.IntPtr pd, out double min, out double max) + private static void range_limits_get(System.IntPtr obj, System.IntPtr pd, out double min, out double max) { - Eina.Log.Debug("function efl_ui_range_min_max_get was called"); + Eina.Log.Debug("function efl_ui_range_limits_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { min = default(double); max = default(double); try { - ((Progressbar)ws.Target).GetRangeMinMax(out min, out max); + ((Progressbar)ws.Target).GetRangeLimits(out min, out max); } catch (Exception e) { @@ -1521,30 +1521,30 @@ public class Progressbar : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.IText } else { - efl_ui_range_min_max_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out min, out max); + efl_ui_range_limits_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out min, out max); } } - private static efl_ui_range_min_max_get_delegate efl_ui_range_min_max_get_static_delegate; + private static efl_ui_range_limits_get_delegate efl_ui_range_limits_get_static_delegate; - private delegate void efl_ui_range_min_max_set_delegate(System.IntPtr obj, System.IntPtr pd, double min, double max); + private delegate void efl_ui_range_limits_set_delegate(System.IntPtr obj, System.IntPtr pd, double min, double max); - public delegate void efl_ui_range_min_max_set_api_delegate(System.IntPtr obj, double min, double max); + public delegate void efl_ui_range_limits_set_api_delegate(System.IntPtr obj, double min, double max); - public static Efl.Eo.FunctionWrapper efl_ui_range_min_max_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_min_max_set"); + public static Efl.Eo.FunctionWrapper efl_ui_range_limits_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_limits_set"); - private static void range_min_max_set(System.IntPtr obj, System.IntPtr pd, double min, double max) + private static void range_limits_set(System.IntPtr obj, System.IntPtr pd, double min, double max) { - Eina.Log.Debug("function efl_ui_range_min_max_set was called"); + Eina.Log.Debug("function efl_ui_range_limits_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { - ((Progressbar)ws.Target).SetRangeMinMax(min, max); + ((Progressbar)ws.Target).SetRangeLimits(min, max); } catch (Exception e) { @@ -1556,11 +1556,11 @@ public class Progressbar : Efl.Ui.LayoutBase, Efl.IContent, Efl.IText, Efl.IText } else { - efl_ui_range_min_max_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), min, max); + efl_ui_range_limits_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), min, max); } } - private static efl_ui_range_min_max_set_delegate efl_ui_range_min_max_set_static_delegate; + private static efl_ui_range_limits_set_delegate efl_ui_range_limits_set_static_delegate; #pragma warning restore CA1707, CS1591, SA1300, SA1600 diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_progressbar_part.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_progressbar_part.eo.cs index aa297a650..393839648 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_progressbar_part.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_progressbar_part.eo.cs @@ -78,8 +78,8 @@ public class ProgressbarPart : Efl.Ui.LayoutPart, Efl.Ui.IRangeDisplay /// Note: If only one value is needed, the other pointer can be passed as null. /// The minimum value. /// The maximum value. - virtual public void GetRangeMinMax(out double min, out double max) { - Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_min_max_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out min, out max); + virtual public void GetRangeLimits(out double min, out double max) { + Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out min, out max); Eina.Error.RaiseIfUnhandledException(); } /// Set the minimum and maximum values for given range widget. @@ -92,8 +92,8 @@ public class ProgressbarPart : Efl.Ui.LayoutPart, Efl.Ui.IRangeDisplay /// Warning: maximum must be greater than minimum, otherwise behavior is undefined. /// The minimum value. /// The maximum value. - virtual public void SetRangeMinMax(double min, double max) { - Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_min_max_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),min, max); + virtual public void SetRangeLimits(double min, double max) { + Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),min, max); Eina.Error.RaiseIfUnhandledException(); } /// Control the range value (in percentage) on a given range widget @@ -141,24 +141,24 @@ public class ProgressbarPart : Efl.Ui.LayoutPart, Efl.Ui.IRangeDisplay descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_value_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_value_set_static_delegate) }); } - if (efl_ui_range_min_max_get_static_delegate == null) + if (efl_ui_range_limits_get_static_delegate == null) { - efl_ui_range_min_max_get_static_delegate = new efl_ui_range_min_max_get_delegate(range_min_max_get); + efl_ui_range_limits_get_static_delegate = new efl_ui_range_limits_get_delegate(range_limits_get); } - if (methods.FirstOrDefault(m => m.Name == "GetRangeMinMax") != null) + if (methods.FirstOrDefault(m => m.Name == "GetRangeLimits") != null) { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_min_max_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_min_max_get_static_delegate) }); + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_limits_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_limits_get_static_delegate) }); } - if (efl_ui_range_min_max_set_static_delegate == null) + if (efl_ui_range_limits_set_static_delegate == null) { - efl_ui_range_min_max_set_static_delegate = new efl_ui_range_min_max_set_delegate(range_min_max_set); + efl_ui_range_limits_set_static_delegate = new efl_ui_range_limits_set_delegate(range_limits_set); } - if (methods.FirstOrDefault(m => m.Name == "SetRangeMinMax") != null) + if (methods.FirstOrDefault(m => m.Name == "SetRangeLimits") != null) { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_min_max_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_min_max_set_static_delegate) }); + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_limits_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_limits_set_static_delegate) }); } descs.AddRange(base.GetEoOps(type)); @@ -245,23 +245,23 @@ public class ProgressbarPart : Efl.Ui.LayoutPart, Efl.Ui.IRangeDisplay private static efl_ui_range_value_set_delegate efl_ui_range_value_set_static_delegate; - private delegate void efl_ui_range_min_max_get_delegate(System.IntPtr obj, System.IntPtr pd, out double min, out double max); + private delegate void efl_ui_range_limits_get_delegate(System.IntPtr obj, System.IntPtr pd, out double min, out double max); - public delegate void efl_ui_range_min_max_get_api_delegate(System.IntPtr obj, out double min, out double max); + public delegate void efl_ui_range_limits_get_api_delegate(System.IntPtr obj, out double min, out double max); - public static Efl.Eo.FunctionWrapper efl_ui_range_min_max_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_min_max_get"); + public static Efl.Eo.FunctionWrapper efl_ui_range_limits_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_limits_get"); - private static void range_min_max_get(System.IntPtr obj, System.IntPtr pd, out double min, out double max) + private static void range_limits_get(System.IntPtr obj, System.IntPtr pd, out double min, out double max) { - Eina.Log.Debug("function efl_ui_range_min_max_get was called"); + Eina.Log.Debug("function efl_ui_range_limits_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { min = default(double); max = default(double); try { - ((ProgressbarPart)ws.Target).GetRangeMinMax(out min, out max); + ((ProgressbarPart)ws.Target).GetRangeLimits(out min, out max); } catch (Exception e) { @@ -273,30 +273,30 @@ public class ProgressbarPart : Efl.Ui.LayoutPart, Efl.Ui.IRangeDisplay } else { - efl_ui_range_min_max_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out min, out max); + efl_ui_range_limits_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out min, out max); } } - private static efl_ui_range_min_max_get_delegate efl_ui_range_min_max_get_static_delegate; + private static efl_ui_range_limits_get_delegate efl_ui_range_limits_get_static_delegate; - private delegate void efl_ui_range_min_max_set_delegate(System.IntPtr obj, System.IntPtr pd, double min, double max); + private delegate void efl_ui_range_limits_set_delegate(System.IntPtr obj, System.IntPtr pd, double min, double max); - public delegate void efl_ui_range_min_max_set_api_delegate(System.IntPtr obj, double min, double max); + public delegate void efl_ui_range_limits_set_api_delegate(System.IntPtr obj, double min, double max); - public static Efl.Eo.FunctionWrapper efl_ui_range_min_max_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_min_max_set"); + public static Efl.Eo.FunctionWrapper efl_ui_range_limits_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_limits_set"); - private static void range_min_max_set(System.IntPtr obj, System.IntPtr pd, double min, double max) + private static void range_limits_set(System.IntPtr obj, System.IntPtr pd, double min, double max) { - Eina.Log.Debug("function efl_ui_range_min_max_set was called"); + Eina.Log.Debug("function efl_ui_range_limits_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { - ((ProgressbarPart)ws.Target).SetRangeMinMax(min, max); + ((ProgressbarPart)ws.Target).SetRangeLimits(min, max); } catch (Exception e) { @@ -308,11 +308,11 @@ public class ProgressbarPart : Efl.Ui.LayoutPart, Efl.Ui.IRangeDisplay } else { - efl_ui_range_min_max_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), min, max); + efl_ui_range_limits_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), min, max); } } - private static efl_ui_range_min_max_set_delegate efl_ui_range_min_max_set_static_delegate; + private static efl_ui_range_limits_set_delegate efl_ui_range_limits_set_static_delegate; #pragma warning restore CA1707, CS1591, SA1300, SA1600 diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_property_bind.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_property_bind.eo.cs index 64a3e8e81..cb8c1bb3d 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_property_bind.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_property_bind.eo.cs @@ -56,7 +56,7 @@ sealed public class IPropertyBindConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_ui_property_bind_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_radio.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_radio.eo.cs index 7bde1e694..229459e1f 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_radio.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_radio.eo.cs @@ -9,7 +9,12 @@ namespace Efl { namespace Ui { -/// Elementary radio class +/// Elementary radio button class. +/// Radio buttons are like check boxes in that they can be either checked or unchecked. However, radio buttons are always bunched together in groups, and only one button in each group can be checked at any given time. Pressing a different button in the group will automatically uncheck any previously checked button. +/// +/// They are a common way to allow a user to select one option among a list. +/// +/// To handle button grouping, you can either use an object or use more convenient widgets like . [Efl.Ui.Radio.NativeMethods] public class Radio : Efl.Ui.Check { @@ -61,83 +66,34 @@ public class Radio : Efl.Ui.Check { } - /// Get the integer value that this radio object represents. - /// This gets the value of the radio. - /// The value to use if this radio object is selected. + /// Integer value that this radio button represents. + /// Each radio button in a group must have a unique value. The selected button in a group can then be set or retrieved through the property. This value is also informed through the event. + /// + /// All non-negative values are legal but keep in mind that 0 is the starting value for all new groups: If no button in the group has this value, then no button in the group is initially selected. -1 is the value that returns when no button is selected and therefore cannot be used. + /// The value to use when this radio button is selected. Any value can be used but 0 and -1 have special meanings as described above. virtual public int GetStateValue() { var _ret_var = Efl.Ui.Radio.NativeMethods.efl_ui_radio_state_value_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; } - /// Set the integer value that this radio object represents. - /// This sets the value of the radio. - /// The value to use if this radio object is selected. + /// Integer value that this radio button represents. + /// Each radio button in a group must have a unique value. The selected button in a group can then be set or retrieved through the property. This value is also informed through the event. + /// + /// All non-negative values are legal but keep in mind that 0 is the starting value for all new groups: If no button in the group has this value, then no button in the group is initially selected. -1 is the value that returns when no button is selected and therefore cannot be used. + /// The value to use when this radio button is selected. Any value can be used but 0 and -1 have special meanings as described above. virtual public void SetStateValue(int value) { Efl.Ui.Radio.NativeMethods.efl_ui_radio_state_value_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value); Eina.Error.RaiseIfUnhandledException(); } - /// Set a convenience pointer to an integer, which changes when radio group value changes. - /// This sets a pointer to an integer that in addition to the radio object state will also be modified directly. To stop setting the object pointed to, simply use NULL as the valuep argument. If valuep is not NULL then when called, the radio object state will also be modified to reflect the value of the integer valuep points to, just like calling elm_radio_value_set(). - /// Pointer to the integer to modify - virtual public void SetValuePointer(int valuep) { - var _in_valuep = Eina.PrimitiveConversion.ManagedToPointerAlloc(valuep); - Efl.Ui.Radio.NativeMethods.efl_ui_radio_value_pointer_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_valuep); - Eina.Error.RaiseIfUnhandledException(); - } - /// Get the selected radio object. - /// The selected radio object - virtual public Efl.Canvas.Object GetSelectedObject() { - var _ret_var = Efl.Ui.Radio.NativeMethods.efl_ui_radio_selected_object_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// Change the value of the group. - /// This will enable the radio button in the group that is assosiated with this value. A value which is not assosiated with any radio button will result in every radio button beeing disabled. - /// The value of the radio button in the group which should be enabled. - virtual public int GetGroupValue() { - var _ret_var = Efl.Ui.Radio.NativeMethods.efl_ui_radio_group_value_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// Change the value of the group. - /// This will enable the radio button in the group that is assosiated with this value. A value which is not assosiated with any radio button will result in every radio button beeing disabled. - /// The value of the radio button in the group which should be enabled. - virtual public void SetGroupValue(int value) { - Efl.Ui.Radio.NativeMethods.efl_ui_radio_group_value_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),value); - Eina.Error.RaiseIfUnhandledException(); - } - /// Add this radio to a group of other radio objects - /// Radio objects work in groups. Each member should have a different integer value assigned. In order to have them work as a group, they need to know about each other. This adds the given radio object to the group of which the group object indicated is a member. - /// Any radio object whose group the obj is to join. - virtual public void AddGroup(Efl.Ui.Radio group) { - Efl.Ui.Radio.NativeMethods.efl_ui_radio_group_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),group); - Eina.Error.RaiseIfUnhandledException(); - } - /// Get the integer value that this radio object represents. - /// This gets the value of the radio. - /// The value to use if this radio object is selected. + /// Integer value that this radio button represents. + /// Each radio button in a group must have a unique value. The selected button in a group can then be set or retrieved through the property. This value is also informed through the event. + /// + /// All non-negative values are legal but keep in mind that 0 is the starting value for all new groups: If no button in the group has this value, then no button in the group is initially selected. -1 is the value that returns when no button is selected and therefore cannot be used. + /// The value to use when this radio button is selected. Any value can be used but 0 and -1 have special meanings as described above. public int StateValue { get { return GetStateValue(); } set { SetStateValue(value); } } - /// Set a convenience pointer to an integer, which changes when radio group value changes. - /// This sets a pointer to an integer that in addition to the radio object state will also be modified directly. To stop setting the object pointed to, simply use NULL as the valuep argument. If valuep is not NULL then when called, the radio object state will also be modified to reflect the value of the integer valuep points to, just like calling elm_radio_value_set(). - /// Pointer to the integer to modify - public int ValuePointer { - set { SetValuePointer(value); } - } - /// Get the selected radio object. - /// The selected radio object - public Efl.Canvas.Object SelectedObject { - get { return GetSelectedObject(); } - } - /// Change the value of the group. - /// This will enable the radio button in the group that is assosiated with this value. A value which is not assosiated with any radio button will result in every radio button beeing disabled. - /// The value of the radio button in the group which should be enabled. - public int GroupValue { - get { return GetGroupValue(); } - set { SetGroupValue(value); } - } private static IntPtr GetEflClassStatic() { return Efl.Ui.Radio.efl_ui_radio_class_get(); @@ -174,56 +130,6 @@ public class Radio : Efl.Ui.Check descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_state_value_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_state_value_set_static_delegate) }); } - if (efl_ui_radio_value_pointer_set_static_delegate == null) - { - efl_ui_radio_value_pointer_set_static_delegate = new efl_ui_radio_value_pointer_set_delegate(value_pointer_set); - } - - if (methods.FirstOrDefault(m => m.Name == "SetValuePointer") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_value_pointer_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_value_pointer_set_static_delegate) }); - } - - if (efl_ui_radio_selected_object_get_static_delegate == null) - { - efl_ui_radio_selected_object_get_static_delegate = new efl_ui_radio_selected_object_get_delegate(selected_object_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetSelectedObject") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_selected_object_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_selected_object_get_static_delegate) }); - } - - if (efl_ui_radio_group_value_get_static_delegate == null) - { - efl_ui_radio_group_value_get_static_delegate = new efl_ui_radio_group_value_get_delegate(group_value_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetGroupValue") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_group_value_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_group_value_get_static_delegate) }); - } - - if (efl_ui_radio_group_value_set_static_delegate == null) - { - efl_ui_radio_group_value_set_static_delegate = new efl_ui_radio_group_value_set_delegate(group_value_set); - } - - if (methods.FirstOrDefault(m => m.Name == "SetGroupValue") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_group_value_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_group_value_set_static_delegate) }); - } - - if (efl_ui_radio_group_add_static_delegate == null) - { - efl_ui_radio_group_add_static_delegate = new efl_ui_radio_group_add_delegate(group_add); - } - - if (methods.FirstOrDefault(m => m.Name == "AddGroup") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_group_add"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_group_add_static_delegate) }); - } - descs.AddRange(base.GetEoOps(type)); return descs; } @@ -307,184 +213,6 @@ public class Radio : Efl.Ui.Check private static efl_ui_radio_state_value_set_delegate efl_ui_radio_state_value_set_static_delegate; - - private delegate void efl_ui_radio_value_pointer_set_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr valuep); - - - public delegate void efl_ui_radio_value_pointer_set_api_delegate(System.IntPtr obj, System.IntPtr valuep); - - public static Efl.Eo.FunctionWrapper efl_ui_radio_value_pointer_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_radio_value_pointer_set"); - - private static void value_pointer_set(System.IntPtr obj, System.IntPtr pd, System.IntPtr valuep) - { - Eina.Log.Debug("function efl_ui_radio_value_pointer_set was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - var _in_valuep = Eina.PrimitiveConversion.PointerToManaged(valuep); - - try - { - ((Radio)ws.Target).SetValuePointer(_in_valuep); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_ui_radio_value_pointer_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), valuep); - } - } - - private static efl_ui_radio_value_pointer_set_delegate efl_ui_radio_value_pointer_set_static_delegate; - - [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] - private delegate Efl.Canvas.Object efl_ui_radio_selected_object_get_delegate(System.IntPtr obj, System.IntPtr pd); - - [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] - public delegate Efl.Canvas.Object efl_ui_radio_selected_object_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_ui_radio_selected_object_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_radio_selected_object_get"); - - private static Efl.Canvas.Object selected_object_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_ui_radio_selected_object_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - Efl.Canvas.Object _ret_var = default(Efl.Canvas.Object); - try - { - _ret_var = ((Radio)ws.Target).GetSelectedObject(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_ui_radio_selected_object_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_ui_radio_selected_object_get_delegate efl_ui_radio_selected_object_get_static_delegate; - - - private delegate int efl_ui_radio_group_value_get_delegate(System.IntPtr obj, System.IntPtr pd); - - - public delegate int efl_ui_radio_group_value_get_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_ui_radio_group_value_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_radio_group_value_get"); - - private static int group_value_get(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_ui_radio_group_value_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - int _ret_var = default(int); - try - { - _ret_var = ((Radio)ws.Target).GetGroupValue(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_ui_radio_group_value_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_ui_radio_group_value_get_delegate efl_ui_radio_group_value_get_static_delegate; - - - private delegate void efl_ui_radio_group_value_set_delegate(System.IntPtr obj, System.IntPtr pd, int value); - - - public delegate void efl_ui_radio_group_value_set_api_delegate(System.IntPtr obj, int value); - - public static Efl.Eo.FunctionWrapper efl_ui_radio_group_value_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_radio_group_value_set"); - - private static void group_value_set(System.IntPtr obj, System.IntPtr pd, int value) - { - Eina.Log.Debug("function efl_ui_radio_group_value_set was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Radio)ws.Target).SetGroupValue(value); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_ui_radio_group_value_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), value); - } - } - - private static efl_ui_radio_group_value_set_delegate efl_ui_radio_group_value_set_static_delegate; - - - private delegate void efl_ui_radio_group_add_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Radio group); - - - public delegate void efl_ui_radio_group_add_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Radio group); - - public static Efl.Eo.FunctionWrapper efl_ui_radio_group_add_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_radio_group_add"); - - private static void group_add(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Radio group) - { - Eina.Log.Debug("function efl_ui_radio_group_add was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Radio)ws.Target).AddGroup(group); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_ui_radio_group_add_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), group); - } - } - - private static efl_ui_radio_group_add_delegate efl_ui_radio_group_add_static_delegate; - #pragma warning restore CA1707, CS1591, SA1300, SA1600 } diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_radio_box.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_radio_box.eo.cs new file mode 100644 index 000000000..89c8940f0 --- /dev/null +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_radio_box.eo.cs @@ -0,0 +1,495 @@ +#pragma warning disable CS1591 +using System; +using System.Runtime.InteropServices; +using System.Collections.Generic; +using System.Linq; +using System.Threading; +using System.ComponentModel; +namespace Efl { + +namespace Ui { + +/// A standard container which automatically handles grouping of any widget added to it. +/// All widgets are added to the same internal group which you only indirectly access through this object. +[Efl.Ui.RadioBox.NativeMethods] +public class RadioBox : Efl.Ui.Box, Efl.Ui.IRadioGroup +{ + ///Pointer to the native class description. + public override System.IntPtr NativeClass + { + get + { + if (((object)this).GetType() == typeof(RadioBox)) + { + return GetEflClassStatic(); + } + else + { + return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()]; + } + } + } + + [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr + efl_ui_radio_box_class_get(); + /// Initializes a new instance of the class. + /// Parent instance. + /// The widget style to use. See + public RadioBox(Efl.Object parent + , System.String style = null) : base(efl_ui_radio_box_class_get(), typeof(RadioBox), parent) + { + if (Efl.Eo.Globals.ParamHelperCheck(style)) + { + SetStyle(Efl.Eo.Globals.GetParamHelper(style)); + } + + FinishInstantiation(); + } + + /// Initializes a new instance of the class. + /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly. + /// The native pointer to be wrapped. + protected RadioBox(System.IntPtr raw) : base(raw) + { + } + + /// Initializes a new instance of the class. + /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly. + /// The pointer to the base native Eo class. + /// The managed type of the public constructor that originated this call. + /// The Efl.Object parent of this instance. + protected RadioBox(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent) + { + } + + /// Emitted each time the selected_value changes. The event information contains the of the newly selected button or -1 if no button is now selected. + public event EventHandler ValueChangedEvt + { + add + { + lock (eventLock) + { + Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => + { + var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; + if (obj != null) + { + Efl.Ui.IRadioGroupValueChangedEvt_Args args = new Efl.Ui.IRadioGroupValueChangedEvt_Args(); + args.arg = Marshal.ReadInt32(evt.Info); + try + { + value?.Invoke(obj, args); + } + catch (Exception e) + { + Eina.Log.Error(e.ToString()); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + } + }; + + string key = "_EFL_UI_RADIO_GROUP_EVENT_VALUE_CHANGED"; + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); + } + } + + remove + { + lock (eventLock) + { + string key = "_EFL_UI_RADIO_GROUP_EVENT_VALUE_CHANGED"; + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); + } + } + } + ///Method to raise event ValueChangedEvt. + public void OnValueChangedEvt(Efl.Ui.IRadioGroupValueChangedEvt_Args e) + { + var key = "_EFL_UI_RADIO_GROUP_EVENT_VALUE_CHANGED"; + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); + if (desc == IntPtr.Zero) + { + Eina.Log.Error($"Failed to get native event {key}"); + return; + } + + IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg); + try + { + Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); + } + finally + { + Marshal.FreeHGlobal(info); + } + } + /// Currently selected button in a radio button group, or NULL if no button is selected. + /// See also . + /// The currently selected radio button in the group, or NULL. + virtual public Efl.Ui.Radio GetSelectedObject() { + var _ret_var = Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_object_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Currently selected button in a radio button group, or NULL if no button is selected. + /// See also . + /// The currently selected radio button in the group, or NULL. + virtual public void SetSelectedObject(Efl.Ui.Radio selected_object) { + Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_object_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),selected_object); + Eina.Error.RaiseIfUnhandledException(); + } + /// The value associated with the currently selected button in the group. Give each radio button in the group a different value using . + /// A value of -1 means that no button is selected. Only values associated with the buttons in the group (and -1) can be used. + /// The value of the currently selected radio button, or -1. + virtual public int GetSelectedValue() { + var _ret_var = Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_value_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// The value associated with the currently selected button in the group. Give each radio button in the group a different value using . + /// A value of -1 means that no button is selected. Only values associated with the buttons in the group (and -1) can be used. + /// The value of the currently selected radio button, or -1. + virtual public void SetSelectedValue(int selected_value) { + Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_value_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),selected_value); + Eina.Error.RaiseIfUnhandledException(); + } + /// Register a new button to this group. Keep in mind that registering to a group will only handle button grouping, you still need to add the button to a layout for it to be rendered. + /// If the of the new button is already used by a previous button in the group, the button will not be added. + /// + /// See also . + /// The radio button to add to the group. + virtual public void Register(Efl.Ui.Radio radio) { + Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_register_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),radio); + Eina.Error.RaiseIfUnhandledException(); + } + /// Unregister an button from this group. This will unlink the behavior of this button from the other buttons in the group, but if it still belongs to a layout, it will still be rendered. + /// If the button was not registered in the group the call is ignored. If the button was selected, no button will be selected in the group after this call. + /// + /// See also . + /// The radio button to remove from the group. + virtual public void Unregister(Efl.Ui.Radio radio) { + Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_unregister_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),radio); + Eina.Error.RaiseIfUnhandledException(); + } + /// Currently selected button in a radio button group, or NULL if no button is selected. + /// See also . + /// The currently selected radio button in the group, or NULL. + public Efl.Ui.Radio SelectedObject { + get { return GetSelectedObject(); } + set { SetSelectedObject(value); } + } + /// The value associated with the currently selected button in the group. Give each radio button in the group a different value using . + /// A value of -1 means that no button is selected. Only values associated with the buttons in the group (and -1) can be used. + /// The value of the currently selected radio button, or -1. + public int SelectedValue { + get { return GetSelectedValue(); } + set { SetSelectedValue(value); } + } + private static IntPtr GetEflClassStatic() + { + return Efl.Ui.RadioBox.efl_ui_radio_box_class_get(); + } + /// Wrapper for native methods and virtual method delegates. + /// For internal use by generated code only. + public new class NativeMethods : Efl.Ui.Box.NativeMethods + { + private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary); + /// Gets the list of Eo operations to override. + /// The list of Eo operations to be overload. + public override System.Collections.Generic.List GetEoOps(System.Type type) + { + var descs = new System.Collections.Generic.List(); + var methods = Efl.Eo.Globals.GetUserMethods(type); + + if (efl_ui_radio_group_selected_object_get_static_delegate == null) + { + efl_ui_radio_group_selected_object_get_static_delegate = new efl_ui_radio_group_selected_object_get_delegate(selected_object_get); + } + + if (methods.FirstOrDefault(m => m.Name == "GetSelectedObject") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_group_selected_object_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_group_selected_object_get_static_delegate) }); + } + + if (efl_ui_radio_group_selected_object_set_static_delegate == null) + { + efl_ui_radio_group_selected_object_set_static_delegate = new efl_ui_radio_group_selected_object_set_delegate(selected_object_set); + } + + if (methods.FirstOrDefault(m => m.Name == "SetSelectedObject") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_group_selected_object_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_group_selected_object_set_static_delegate) }); + } + + if (efl_ui_radio_group_selected_value_get_static_delegate == null) + { + efl_ui_radio_group_selected_value_get_static_delegate = new efl_ui_radio_group_selected_value_get_delegate(selected_value_get); + } + + if (methods.FirstOrDefault(m => m.Name == "GetSelectedValue") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_group_selected_value_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_group_selected_value_get_static_delegate) }); + } + + if (efl_ui_radio_group_selected_value_set_static_delegate == null) + { + efl_ui_radio_group_selected_value_set_static_delegate = new efl_ui_radio_group_selected_value_set_delegate(selected_value_set); + } + + if (methods.FirstOrDefault(m => m.Name == "SetSelectedValue") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_group_selected_value_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_group_selected_value_set_static_delegate) }); + } + + if (efl_ui_radio_group_register_static_delegate == null) + { + efl_ui_radio_group_register_static_delegate = new efl_ui_radio_group_register_delegate(register); + } + + if (methods.FirstOrDefault(m => m.Name == "Register") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_group_register"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_group_register_static_delegate) }); + } + + if (efl_ui_radio_group_unregister_static_delegate == null) + { + efl_ui_radio_group_unregister_static_delegate = new efl_ui_radio_group_unregister_delegate(unregister); + } + + if (methods.FirstOrDefault(m => m.Name == "Unregister") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_group_unregister"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_group_unregister_static_delegate) }); + } + + descs.AddRange(base.GetEoOps(type)); + return descs; + } + /// Returns the Eo class for the native methods of this class. + /// The native class pointer. + public override IntPtr GetEflClass() + { + return Efl.Ui.RadioBox.efl_ui_radio_box_class_get(); + } + + #pragma warning disable CA1707, CS1591, SA1300, SA1600 + + [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] + private delegate Efl.Ui.Radio efl_ui_radio_group_selected_object_get_delegate(System.IntPtr obj, System.IntPtr pd); + + [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] + public delegate Efl.Ui.Radio efl_ui_radio_group_selected_object_get_api_delegate(System.IntPtr obj); + + public static Efl.Eo.FunctionWrapper efl_ui_radio_group_selected_object_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_radio_group_selected_object_get"); + + private static Efl.Ui.Radio selected_object_get(System.IntPtr obj, System.IntPtr pd) + { + Eina.Log.Debug("function efl_ui_radio_group_selected_object_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + Efl.Ui.Radio _ret_var = default(Efl.Ui.Radio); + try + { + _ret_var = ((RadioBox)ws.Target).GetSelectedObject(); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_ui_radio_group_selected_object_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + } + } + + private static efl_ui_radio_group_selected_object_get_delegate efl_ui_radio_group_selected_object_get_static_delegate; + + + private delegate void efl_ui_radio_group_selected_object_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Radio selected_object); + + + public delegate void efl_ui_radio_group_selected_object_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Radio selected_object); + + public static Efl.Eo.FunctionWrapper efl_ui_radio_group_selected_object_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_radio_group_selected_object_set"); + + private static void selected_object_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Radio selected_object) + { + Eina.Log.Debug("function efl_ui_radio_group_selected_object_set was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((RadioBox)ws.Target).SetSelectedObject(selected_object); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_ui_radio_group_selected_object_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), selected_object); + } + } + + private static efl_ui_radio_group_selected_object_set_delegate efl_ui_radio_group_selected_object_set_static_delegate; + + + private delegate int efl_ui_radio_group_selected_value_get_delegate(System.IntPtr obj, System.IntPtr pd); + + + public delegate int efl_ui_radio_group_selected_value_get_api_delegate(System.IntPtr obj); + + public static Efl.Eo.FunctionWrapper efl_ui_radio_group_selected_value_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_radio_group_selected_value_get"); + + private static int selected_value_get(System.IntPtr obj, System.IntPtr pd) + { + Eina.Log.Debug("function efl_ui_radio_group_selected_value_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + int _ret_var = default(int); + try + { + _ret_var = ((RadioBox)ws.Target).GetSelectedValue(); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_ui_radio_group_selected_value_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + } + } + + private static efl_ui_radio_group_selected_value_get_delegate efl_ui_radio_group_selected_value_get_static_delegate; + + + private delegate void efl_ui_radio_group_selected_value_set_delegate(System.IntPtr obj, System.IntPtr pd, int selected_value); + + + public delegate void efl_ui_radio_group_selected_value_set_api_delegate(System.IntPtr obj, int selected_value); + + public static Efl.Eo.FunctionWrapper efl_ui_radio_group_selected_value_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_radio_group_selected_value_set"); + + private static void selected_value_set(System.IntPtr obj, System.IntPtr pd, int selected_value) + { + Eina.Log.Debug("function efl_ui_radio_group_selected_value_set was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((RadioBox)ws.Target).SetSelectedValue(selected_value); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_ui_radio_group_selected_value_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), selected_value); + } + } + + private static efl_ui_radio_group_selected_value_set_delegate efl_ui_radio_group_selected_value_set_static_delegate; + + + private delegate void efl_ui_radio_group_register_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Radio radio); + + + public delegate void efl_ui_radio_group_register_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Radio radio); + + public static Efl.Eo.FunctionWrapper efl_ui_radio_group_register_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_radio_group_register"); + + private static void register(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Radio radio) + { + Eina.Log.Debug("function efl_ui_radio_group_register was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((RadioBox)ws.Target).Register(radio); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_ui_radio_group_register_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), radio); + } + } + + private static efl_ui_radio_group_register_delegate efl_ui_radio_group_register_static_delegate; + + + private delegate void efl_ui_radio_group_unregister_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Radio radio); + + + public delegate void efl_ui_radio_group_unregister_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Radio radio); + + public static Efl.Eo.FunctionWrapper efl_ui_radio_group_unregister_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_radio_group_unregister"); + + private static void unregister(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Radio radio) + { + Eina.Log.Debug("function efl_ui_radio_group_unregister was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((RadioBox)ws.Target).Unregister(radio); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_ui_radio_group_unregister_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), radio); + } + } + + private static efl_ui_radio_group_unregister_delegate efl_ui_radio_group_unregister_static_delegate; + + #pragma warning restore CA1707, CS1591, SA1300, SA1600 + +} +} +} + +} + diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_radio_group.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_radio_group.eo.cs new file mode 100644 index 000000000..2852130b5 --- /dev/null +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_radio_group.eo.cs @@ -0,0 +1,528 @@ +#pragma warning disable CS1591 +using System; +using System.Runtime.InteropServices; +using System.Collections.Generic; +using System.Linq; +using System.Threading; +using System.ComponentModel; +namespace Efl { + +namespace Ui { + +/// Interface for manually handling a group of buttons. +/// See the documentation of for an explanation of radio button grouping. +[Efl.Ui.IRadioGroupConcrete.NativeMethods] +public interface IRadioGroup : + Efl.Eo.IWrapper, IDisposable +{ + /// Currently selected button in a radio button group, or NULL if no button is selected. +/// See also . +/// The currently selected radio button in the group, or NULL. +Efl.Ui.Radio GetSelectedObject(); + /// Currently selected button in a radio button group, or NULL if no button is selected. +/// See also . +/// The currently selected radio button in the group, or NULL. +void SetSelectedObject(Efl.Ui.Radio selected_object); + /// The value associated with the currently selected button in the group. Give each radio button in the group a different value using . +/// A value of -1 means that no button is selected. Only values associated with the buttons in the group (and -1) can be used. +/// The value of the currently selected radio button, or -1. +int GetSelectedValue(); + /// The value associated with the currently selected button in the group. Give each radio button in the group a different value using . +/// A value of -1 means that no button is selected. Only values associated with the buttons in the group (and -1) can be used. +/// The value of the currently selected radio button, or -1. +void SetSelectedValue(int selected_value); + /// Register a new button to this group. Keep in mind that registering to a group will only handle button grouping, you still need to add the button to a layout for it to be rendered. +/// If the of the new button is already used by a previous button in the group, the button will not be added. +/// +/// See also . +/// The radio button to add to the group. +void Register(Efl.Ui.Radio radio); + /// Unregister an button from this group. This will unlink the behavior of this button from the other buttons in the group, but if it still belongs to a layout, it will still be rendered. +/// If the button was not registered in the group the call is ignored. If the button was selected, no button will be selected in the group after this call. +/// +/// See also . +/// The radio button to remove from the group. +void Unregister(Efl.Ui.Radio radio); + /// Emitted each time the selected_value changes. The event information contains the of the newly selected button or -1 if no button is now selected. + event EventHandler ValueChangedEvt; + /// Currently selected button in a radio button group, or NULL if no button is selected. + /// See also . + /// The currently selected radio button in the group, or NULL. + Efl.Ui.Radio SelectedObject { + get ; + set ; + } + /// The value associated with the currently selected button in the group. Give each radio button in the group a different value using . + /// A value of -1 means that no button is selected. Only values associated with the buttons in the group (and -1) can be used. + /// The value of the currently selected radio button, or -1. + int SelectedValue { + get ; + set ; + } +} +///Event argument wrapper for event . +public class IRadioGroupValueChangedEvt_Args : EventArgs { + ///Actual event payload. + public int arg { get; set; } +} +/// Interface for manually handling a group of buttons. +/// See the documentation of for an explanation of radio button grouping. +sealed public class IRadioGroupConcrete : + Efl.Eo.EoWrapper + , IRadioGroup + +{ + ///Pointer to the native class description. + public override System.IntPtr NativeClass + { + get + { + if (((object)this).GetType() == typeof(IRadioGroupConcrete)) + { + return GetEflClassStatic(); + } + else + { + return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()]; + } + } + } + + [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr + efl_ui_radio_group_interface_get(); + /// Initializes a new instance of the class. + /// Internal usage: This is used when interacting with C code and should not be used directly. + private IRadioGroupConcrete(System.IntPtr raw) : base(raw) + { + } + + /// Emitted each time the selected_value changes. The event information contains the of the newly selected button or -1 if no button is now selected. + public event EventHandler ValueChangedEvt + { + add + { + lock (eventLock) + { + Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => + { + var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; + if (obj != null) + { + Efl.Ui.IRadioGroupValueChangedEvt_Args args = new Efl.Ui.IRadioGroupValueChangedEvt_Args(); + args.arg = Marshal.ReadInt32(evt.Info); + try + { + value?.Invoke(obj, args); + } + catch (Exception e) + { + Eina.Log.Error(e.ToString()); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + } + }; + + string key = "_EFL_UI_RADIO_GROUP_EVENT_VALUE_CHANGED"; + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); + } + } + + remove + { + lock (eventLock) + { + string key = "_EFL_UI_RADIO_GROUP_EVENT_VALUE_CHANGED"; + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); + } + } + } + ///Method to raise event ValueChangedEvt. + public void OnValueChangedEvt(Efl.Ui.IRadioGroupValueChangedEvt_Args e) + { + var key = "_EFL_UI_RADIO_GROUP_EVENT_VALUE_CHANGED"; + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); + if (desc == IntPtr.Zero) + { + Eina.Log.Error($"Failed to get native event {key}"); + return; + } + + IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg); + try + { + Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); + } + finally + { + Marshal.FreeHGlobal(info); + } + } + /// Currently selected button in a radio button group, or NULL if no button is selected. + /// See also . + /// The currently selected radio button in the group, or NULL. + public Efl.Ui.Radio GetSelectedObject() { + var _ret_var = Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_object_get_ptr.Value.Delegate(this.NativeHandle); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Currently selected button in a radio button group, or NULL if no button is selected. + /// See also . + /// The currently selected radio button in the group, or NULL. + public void SetSelectedObject(Efl.Ui.Radio selected_object) { + Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_object_set_ptr.Value.Delegate(this.NativeHandle,selected_object); + Eina.Error.RaiseIfUnhandledException(); + } + /// The value associated with the currently selected button in the group. Give each radio button in the group a different value using . + /// A value of -1 means that no button is selected. Only values associated with the buttons in the group (and -1) can be used. + /// The value of the currently selected radio button, or -1. + public int GetSelectedValue() { + var _ret_var = Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_value_get_ptr.Value.Delegate(this.NativeHandle); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// The value associated with the currently selected button in the group. Give each radio button in the group a different value using . + /// A value of -1 means that no button is selected. Only values associated with the buttons in the group (and -1) can be used. + /// The value of the currently selected radio button, or -1. + public void SetSelectedValue(int selected_value) { + Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_value_set_ptr.Value.Delegate(this.NativeHandle,selected_value); + Eina.Error.RaiseIfUnhandledException(); + } + /// Register a new button to this group. Keep in mind that registering to a group will only handle button grouping, you still need to add the button to a layout for it to be rendered. + /// If the of the new button is already used by a previous button in the group, the button will not be added. + /// + /// See also . + /// The radio button to add to the group. + public void Register(Efl.Ui.Radio radio) { + Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_register_ptr.Value.Delegate(this.NativeHandle,radio); + Eina.Error.RaiseIfUnhandledException(); + } + /// Unregister an button from this group. This will unlink the behavior of this button from the other buttons in the group, but if it still belongs to a layout, it will still be rendered. + /// If the button was not registered in the group the call is ignored. If the button was selected, no button will be selected in the group after this call. + /// + /// See also . + /// The radio button to remove from the group. + public void Unregister(Efl.Ui.Radio radio) { + Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_unregister_ptr.Value.Delegate(this.NativeHandle,radio); + Eina.Error.RaiseIfUnhandledException(); + } + /// Currently selected button in a radio button group, or NULL if no button is selected. + /// See also . + /// The currently selected radio button in the group, or NULL. + public Efl.Ui.Radio SelectedObject { + get { return GetSelectedObject(); } + set { SetSelectedObject(value); } + } + /// The value associated with the currently selected button in the group. Give each radio button in the group a different value using . + /// A value of -1 means that no button is selected. Only values associated with the buttons in the group (and -1) can be used. + /// The value of the currently selected radio button, or -1. + public int SelectedValue { + get { return GetSelectedValue(); } + set { SetSelectedValue(value); } + } + private static IntPtr GetEflClassStatic() + { + return Efl.Ui.IRadioGroupConcrete.efl_ui_radio_group_interface_get(); + } + /// Wrapper for native methods and virtual method delegates. + /// For internal use by generated code only. + public class NativeMethods : Efl.Eo.NativeClass + { + private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary); + /// Gets the list of Eo operations to override. + /// The list of Eo operations to be overload. + public override System.Collections.Generic.List GetEoOps(System.Type type) + { + var descs = new System.Collections.Generic.List(); + var methods = Efl.Eo.Globals.GetUserMethods(type); + + if (efl_ui_radio_group_selected_object_get_static_delegate == null) + { + efl_ui_radio_group_selected_object_get_static_delegate = new efl_ui_radio_group_selected_object_get_delegate(selected_object_get); + } + + if (methods.FirstOrDefault(m => m.Name == "GetSelectedObject") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_group_selected_object_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_group_selected_object_get_static_delegate) }); + } + + if (efl_ui_radio_group_selected_object_set_static_delegate == null) + { + efl_ui_radio_group_selected_object_set_static_delegate = new efl_ui_radio_group_selected_object_set_delegate(selected_object_set); + } + + if (methods.FirstOrDefault(m => m.Name == "SetSelectedObject") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_group_selected_object_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_group_selected_object_set_static_delegate) }); + } + + if (efl_ui_radio_group_selected_value_get_static_delegate == null) + { + efl_ui_radio_group_selected_value_get_static_delegate = new efl_ui_radio_group_selected_value_get_delegate(selected_value_get); + } + + if (methods.FirstOrDefault(m => m.Name == "GetSelectedValue") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_group_selected_value_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_group_selected_value_get_static_delegate) }); + } + + if (efl_ui_radio_group_selected_value_set_static_delegate == null) + { + efl_ui_radio_group_selected_value_set_static_delegate = new efl_ui_radio_group_selected_value_set_delegate(selected_value_set); + } + + if (methods.FirstOrDefault(m => m.Name == "SetSelectedValue") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_group_selected_value_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_group_selected_value_set_static_delegate) }); + } + + if (efl_ui_radio_group_register_static_delegate == null) + { + efl_ui_radio_group_register_static_delegate = new efl_ui_radio_group_register_delegate(register); + } + + if (methods.FirstOrDefault(m => m.Name == "Register") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_group_register"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_group_register_static_delegate) }); + } + + if (efl_ui_radio_group_unregister_static_delegate == null) + { + efl_ui_radio_group_unregister_static_delegate = new efl_ui_radio_group_unregister_delegate(unregister); + } + + if (methods.FirstOrDefault(m => m.Name == "Unregister") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_group_unregister"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_group_unregister_static_delegate) }); + } + + return descs; + } + /// Returns the Eo class for the native methods of this class. + /// The native class pointer. + public override IntPtr GetEflClass() + { + return Efl.Ui.IRadioGroupConcrete.efl_ui_radio_group_interface_get(); + } + + #pragma warning disable CA1707, CS1591, SA1300, SA1600 + + [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] + private delegate Efl.Ui.Radio efl_ui_radio_group_selected_object_get_delegate(System.IntPtr obj, System.IntPtr pd); + + [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] + public delegate Efl.Ui.Radio efl_ui_radio_group_selected_object_get_api_delegate(System.IntPtr obj); + + public static Efl.Eo.FunctionWrapper efl_ui_radio_group_selected_object_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_radio_group_selected_object_get"); + + private static Efl.Ui.Radio selected_object_get(System.IntPtr obj, System.IntPtr pd) + { + Eina.Log.Debug("function efl_ui_radio_group_selected_object_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + Efl.Ui.Radio _ret_var = default(Efl.Ui.Radio); + try + { + _ret_var = ((IRadioGroup)ws.Target).GetSelectedObject(); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_ui_radio_group_selected_object_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + } + } + + private static efl_ui_radio_group_selected_object_get_delegate efl_ui_radio_group_selected_object_get_static_delegate; + + + private delegate void efl_ui_radio_group_selected_object_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Radio selected_object); + + + public delegate void efl_ui_radio_group_selected_object_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Radio selected_object); + + public static Efl.Eo.FunctionWrapper efl_ui_radio_group_selected_object_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_radio_group_selected_object_set"); + + private static void selected_object_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Radio selected_object) + { + Eina.Log.Debug("function efl_ui_radio_group_selected_object_set was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((IRadioGroup)ws.Target).SetSelectedObject(selected_object); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_ui_radio_group_selected_object_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), selected_object); + } + } + + private static efl_ui_radio_group_selected_object_set_delegate efl_ui_radio_group_selected_object_set_static_delegate; + + + private delegate int efl_ui_radio_group_selected_value_get_delegate(System.IntPtr obj, System.IntPtr pd); + + + public delegate int efl_ui_radio_group_selected_value_get_api_delegate(System.IntPtr obj); + + public static Efl.Eo.FunctionWrapper efl_ui_radio_group_selected_value_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_radio_group_selected_value_get"); + + private static int selected_value_get(System.IntPtr obj, System.IntPtr pd) + { + Eina.Log.Debug("function efl_ui_radio_group_selected_value_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + int _ret_var = default(int); + try + { + _ret_var = ((IRadioGroup)ws.Target).GetSelectedValue(); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_ui_radio_group_selected_value_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + } + } + + private static efl_ui_radio_group_selected_value_get_delegate efl_ui_radio_group_selected_value_get_static_delegate; + + + private delegate void efl_ui_radio_group_selected_value_set_delegate(System.IntPtr obj, System.IntPtr pd, int selected_value); + + + public delegate void efl_ui_radio_group_selected_value_set_api_delegate(System.IntPtr obj, int selected_value); + + public static Efl.Eo.FunctionWrapper efl_ui_radio_group_selected_value_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_radio_group_selected_value_set"); + + private static void selected_value_set(System.IntPtr obj, System.IntPtr pd, int selected_value) + { + Eina.Log.Debug("function efl_ui_radio_group_selected_value_set was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((IRadioGroup)ws.Target).SetSelectedValue(selected_value); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_ui_radio_group_selected_value_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), selected_value); + } + } + + private static efl_ui_radio_group_selected_value_set_delegate efl_ui_radio_group_selected_value_set_static_delegate; + + + private delegate void efl_ui_radio_group_register_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Radio radio); + + + public delegate void efl_ui_radio_group_register_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Radio radio); + + public static Efl.Eo.FunctionWrapper efl_ui_radio_group_register_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_radio_group_register"); + + private static void register(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Radio radio) + { + Eina.Log.Debug("function efl_ui_radio_group_register was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((IRadioGroup)ws.Target).Register(radio); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_ui_radio_group_register_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), radio); + } + } + + private static efl_ui_radio_group_register_delegate efl_ui_radio_group_register_static_delegate; + + + private delegate void efl_ui_radio_group_unregister_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Radio radio); + + + public delegate void efl_ui_radio_group_unregister_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Radio radio); + + public static Efl.Eo.FunctionWrapper efl_ui_radio_group_unregister_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_radio_group_unregister"); + + private static void unregister(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Radio radio) + { + Eina.Log.Debug("function efl_ui_radio_group_unregister was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((IRadioGroup)ws.Target).Unregister(radio); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_ui_radio_group_unregister_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), radio); + } + } + + private static efl_ui_radio_group_unregister_delegate efl_ui_radio_group_unregister_static_delegate; + + #pragma warning restore CA1707, CS1591, SA1300, SA1600 + +} +} +} + +} + diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_radio_group_impl.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_radio_group_impl.eo.cs new file mode 100644 index 000000000..9571ddefd --- /dev/null +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_radio_group_impl.eo.cs @@ -0,0 +1,488 @@ +#pragma warning disable CS1591 +using System; +using System.Runtime.InteropServices; +using System.Collections.Generic; +using System.Linq; +using System.Threading; +using System.ComponentModel; +namespace Efl { + +namespace Ui { + +/// Object with the default implementation for . +[Efl.Ui.RadioGroupImpl.NativeMethods] +public class RadioGroupImpl : Efl.Object, Efl.Ui.IRadioGroup +{ + ///Pointer to the native class description. + public override System.IntPtr NativeClass + { + get + { + if (((object)this).GetType() == typeof(RadioGroupImpl)) + { + return GetEflClassStatic(); + } + else + { + return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()]; + } + } + } + + [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr + efl_ui_radio_group_impl_class_get(); + /// Initializes a new instance of the class. + /// Parent instance. + public RadioGroupImpl(Efl.Object parent= null + ) : base(efl_ui_radio_group_impl_class_get(), typeof(RadioGroupImpl), parent) + { + FinishInstantiation(); + } + + /// Initializes a new instance of the class. + /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly. + /// The native pointer to be wrapped. + protected RadioGroupImpl(System.IntPtr raw) : base(raw) + { + } + + /// Initializes a new instance of the class. + /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly. + /// The pointer to the base native Eo class. + /// The managed type of the public constructor that originated this call. + /// The Efl.Object parent of this instance. + protected RadioGroupImpl(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent) + { + } + + /// Emitted each time the selected_value changes. The event information contains the of the newly selected button or -1 if no button is now selected. + public event EventHandler ValueChangedEvt + { + add + { + lock (eventLock) + { + Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => + { + var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; + if (obj != null) + { + Efl.Ui.IRadioGroupValueChangedEvt_Args args = new Efl.Ui.IRadioGroupValueChangedEvt_Args(); + args.arg = Marshal.ReadInt32(evt.Info); + try + { + value?.Invoke(obj, args); + } + catch (Exception e) + { + Eina.Log.Error(e.ToString()); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + } + }; + + string key = "_EFL_UI_RADIO_GROUP_EVENT_VALUE_CHANGED"; + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); + } + } + + remove + { + lock (eventLock) + { + string key = "_EFL_UI_RADIO_GROUP_EVENT_VALUE_CHANGED"; + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); + } + } + } + ///Method to raise event ValueChangedEvt. + public void OnValueChangedEvt(Efl.Ui.IRadioGroupValueChangedEvt_Args e) + { + var key = "_EFL_UI_RADIO_GROUP_EVENT_VALUE_CHANGED"; + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); + if (desc == IntPtr.Zero) + { + Eina.Log.Error($"Failed to get native event {key}"); + return; + } + + IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg); + try + { + Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); + } + finally + { + Marshal.FreeHGlobal(info); + } + } + /// Currently selected button in a radio button group, or NULL if no button is selected. + /// See also . + /// The currently selected radio button in the group, or NULL. + virtual public Efl.Ui.Radio GetSelectedObject() { + var _ret_var = Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_object_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// Currently selected button in a radio button group, or NULL if no button is selected. + /// See also . + /// The currently selected radio button in the group, or NULL. + virtual public void SetSelectedObject(Efl.Ui.Radio selected_object) { + Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_object_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),selected_object); + Eina.Error.RaiseIfUnhandledException(); + } + /// The value associated with the currently selected button in the group. Give each radio button in the group a different value using . + /// A value of -1 means that no button is selected. Only values associated with the buttons in the group (and -1) can be used. + /// The value of the currently selected radio button, or -1. + virtual public int GetSelectedValue() { + var _ret_var = Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_value_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); + Eina.Error.RaiseIfUnhandledException(); + return _ret_var; + } + /// The value associated with the currently selected button in the group. Give each radio button in the group a different value using . + /// A value of -1 means that no button is selected. Only values associated with the buttons in the group (and -1) can be used. + /// The value of the currently selected radio button, or -1. + virtual public void SetSelectedValue(int selected_value) { + Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_selected_value_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),selected_value); + Eina.Error.RaiseIfUnhandledException(); + } + /// Register a new button to this group. Keep in mind that registering to a group will only handle button grouping, you still need to add the button to a layout for it to be rendered. + /// If the of the new button is already used by a previous button in the group, the button will not be added. + /// + /// See also . + /// The radio button to add to the group. + virtual public void Register(Efl.Ui.Radio radio) { + Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_register_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),radio); + Eina.Error.RaiseIfUnhandledException(); + } + /// Unregister an button from this group. This will unlink the behavior of this button from the other buttons in the group, but if it still belongs to a layout, it will still be rendered. + /// If the button was not registered in the group the call is ignored. If the button was selected, no button will be selected in the group after this call. + /// + /// See also . + /// The radio button to remove from the group. + virtual public void Unregister(Efl.Ui.Radio radio) { + Efl.Ui.IRadioGroupConcrete.NativeMethods.efl_ui_radio_group_unregister_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),radio); + Eina.Error.RaiseIfUnhandledException(); + } + /// Currently selected button in a radio button group, or NULL if no button is selected. + /// See also . + /// The currently selected radio button in the group, or NULL. + public Efl.Ui.Radio SelectedObject { + get { return GetSelectedObject(); } + set { SetSelectedObject(value); } + } + /// The value associated with the currently selected button in the group. Give each radio button in the group a different value using . + /// A value of -1 means that no button is selected. Only values associated with the buttons in the group (and -1) can be used. + /// The value of the currently selected radio button, or -1. + public int SelectedValue { + get { return GetSelectedValue(); } + set { SetSelectedValue(value); } + } + private static IntPtr GetEflClassStatic() + { + return Efl.Ui.RadioGroupImpl.efl_ui_radio_group_impl_class_get(); + } + /// Wrapper for native methods and virtual method delegates. + /// For internal use by generated code only. + public new class NativeMethods : Efl.Object.NativeMethods + { + private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary); + /// Gets the list of Eo operations to override. + /// The list of Eo operations to be overload. + public override System.Collections.Generic.List GetEoOps(System.Type type) + { + var descs = new System.Collections.Generic.List(); + var methods = Efl.Eo.Globals.GetUserMethods(type); + + if (efl_ui_radio_group_selected_object_get_static_delegate == null) + { + efl_ui_radio_group_selected_object_get_static_delegate = new efl_ui_radio_group_selected_object_get_delegate(selected_object_get); + } + + if (methods.FirstOrDefault(m => m.Name == "GetSelectedObject") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_group_selected_object_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_group_selected_object_get_static_delegate) }); + } + + if (efl_ui_radio_group_selected_object_set_static_delegate == null) + { + efl_ui_radio_group_selected_object_set_static_delegate = new efl_ui_radio_group_selected_object_set_delegate(selected_object_set); + } + + if (methods.FirstOrDefault(m => m.Name == "SetSelectedObject") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_group_selected_object_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_group_selected_object_set_static_delegate) }); + } + + if (efl_ui_radio_group_selected_value_get_static_delegate == null) + { + efl_ui_radio_group_selected_value_get_static_delegate = new efl_ui_radio_group_selected_value_get_delegate(selected_value_get); + } + + if (methods.FirstOrDefault(m => m.Name == "GetSelectedValue") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_group_selected_value_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_group_selected_value_get_static_delegate) }); + } + + if (efl_ui_radio_group_selected_value_set_static_delegate == null) + { + efl_ui_radio_group_selected_value_set_static_delegate = new efl_ui_radio_group_selected_value_set_delegate(selected_value_set); + } + + if (methods.FirstOrDefault(m => m.Name == "SetSelectedValue") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_group_selected_value_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_group_selected_value_set_static_delegate) }); + } + + if (efl_ui_radio_group_register_static_delegate == null) + { + efl_ui_radio_group_register_static_delegate = new efl_ui_radio_group_register_delegate(register); + } + + if (methods.FirstOrDefault(m => m.Name == "Register") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_group_register"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_group_register_static_delegate) }); + } + + if (efl_ui_radio_group_unregister_static_delegate == null) + { + efl_ui_radio_group_unregister_static_delegate = new efl_ui_radio_group_unregister_delegate(unregister); + } + + if (methods.FirstOrDefault(m => m.Name == "Unregister") != null) + { + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_radio_group_unregister"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_radio_group_unregister_static_delegate) }); + } + + descs.AddRange(base.GetEoOps(type)); + return descs; + } + /// Returns the Eo class for the native methods of this class. + /// The native class pointer. + public override IntPtr GetEflClass() + { + return Efl.Ui.RadioGroupImpl.efl_ui_radio_group_impl_class_get(); + } + + #pragma warning disable CA1707, CS1591, SA1300, SA1600 + + [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] + private delegate Efl.Ui.Radio efl_ui_radio_group_selected_object_get_delegate(System.IntPtr obj, System.IntPtr pd); + + [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] + public delegate Efl.Ui.Radio efl_ui_radio_group_selected_object_get_api_delegate(System.IntPtr obj); + + public static Efl.Eo.FunctionWrapper efl_ui_radio_group_selected_object_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_radio_group_selected_object_get"); + + private static Efl.Ui.Radio selected_object_get(System.IntPtr obj, System.IntPtr pd) + { + Eina.Log.Debug("function efl_ui_radio_group_selected_object_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + Efl.Ui.Radio _ret_var = default(Efl.Ui.Radio); + try + { + _ret_var = ((RadioGroupImpl)ws.Target).GetSelectedObject(); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_ui_radio_group_selected_object_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + } + } + + private static efl_ui_radio_group_selected_object_get_delegate efl_ui_radio_group_selected_object_get_static_delegate; + + + private delegate void efl_ui_radio_group_selected_object_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Radio selected_object); + + + public delegate void efl_ui_radio_group_selected_object_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Radio selected_object); + + public static Efl.Eo.FunctionWrapper efl_ui_radio_group_selected_object_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_radio_group_selected_object_set"); + + private static void selected_object_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Radio selected_object) + { + Eina.Log.Debug("function efl_ui_radio_group_selected_object_set was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((RadioGroupImpl)ws.Target).SetSelectedObject(selected_object); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_ui_radio_group_selected_object_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), selected_object); + } + } + + private static efl_ui_radio_group_selected_object_set_delegate efl_ui_radio_group_selected_object_set_static_delegate; + + + private delegate int efl_ui_radio_group_selected_value_get_delegate(System.IntPtr obj, System.IntPtr pd); + + + public delegate int efl_ui_radio_group_selected_value_get_api_delegate(System.IntPtr obj); + + public static Efl.Eo.FunctionWrapper efl_ui_radio_group_selected_value_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_radio_group_selected_value_get"); + + private static int selected_value_get(System.IntPtr obj, System.IntPtr pd) + { + Eina.Log.Debug("function efl_ui_radio_group_selected_value_get was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + int _ret_var = default(int); + try + { + _ret_var = ((RadioGroupImpl)ws.Target).GetSelectedValue(); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + return _ret_var; + + } + else + { + return efl_ui_radio_group_selected_value_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); + } + } + + private static efl_ui_radio_group_selected_value_get_delegate efl_ui_radio_group_selected_value_get_static_delegate; + + + private delegate void efl_ui_radio_group_selected_value_set_delegate(System.IntPtr obj, System.IntPtr pd, int selected_value); + + + public delegate void efl_ui_radio_group_selected_value_set_api_delegate(System.IntPtr obj, int selected_value); + + public static Efl.Eo.FunctionWrapper efl_ui_radio_group_selected_value_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_radio_group_selected_value_set"); + + private static void selected_value_set(System.IntPtr obj, System.IntPtr pd, int selected_value) + { + Eina.Log.Debug("function efl_ui_radio_group_selected_value_set was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((RadioGroupImpl)ws.Target).SetSelectedValue(selected_value); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_ui_radio_group_selected_value_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), selected_value); + } + } + + private static efl_ui_radio_group_selected_value_set_delegate efl_ui_radio_group_selected_value_set_static_delegate; + + + private delegate void efl_ui_radio_group_register_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Radio radio); + + + public delegate void efl_ui_radio_group_register_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Radio radio); + + public static Efl.Eo.FunctionWrapper efl_ui_radio_group_register_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_radio_group_register"); + + private static void register(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Radio radio) + { + Eina.Log.Debug("function efl_ui_radio_group_register was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((RadioGroupImpl)ws.Target).Register(radio); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_ui_radio_group_register_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), radio); + } + } + + private static efl_ui_radio_group_register_delegate efl_ui_radio_group_register_static_delegate; + + + private delegate void efl_ui_radio_group_unregister_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Radio radio); + + + public delegate void efl_ui_radio_group_unregister_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Ui.Radio radio); + + public static Efl.Eo.FunctionWrapper efl_ui_radio_group_unregister_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_radio_group_unregister"); + + private static void unregister(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Radio radio) + { + Eina.Log.Debug("function efl_ui_radio_group_unregister was called"); + var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); + if (ws != null) + { + + try + { + ((RadioGroupImpl)ws.Target).Unregister(radio); + } + catch (Exception e) + { + Eina.Log.Warning($"Callback error: {e.ToString()}"); + Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); + } + + + } + else + { + efl_ui_radio_group_unregister_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), radio); + } + } + + private static efl_ui_radio_group_unregister_delegate efl_ui_radio_group_unregister_static_delegate; + + #pragma warning restore CA1707, CS1591, SA1300, SA1600 + +} +} +} + +} + diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_range_display.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_range_display.eo.cs index 0f19b9af3..4751d50bf 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_range_display.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_range_display.eo.cs @@ -30,7 +30,7 @@ void SetRangeValue(double val); /// Note: If only one value is needed, the other pointer can be passed as null. /// The minimum value. /// The maximum value. -void GetRangeMinMax(out double min, out double max); +void GetRangeLimits(out double min, out double max); /// Set the minimum and maximum values for given range widget. /// Define the allowed range of values to be selected by the user. /// @@ -41,7 +41,7 @@ void GetRangeMinMax(out double min, out double max); /// Warning: maximum must be greater than minimum, otherwise behavior is undefined. /// The minimum value. /// The maximum value. -void SetRangeMinMax(double min, double max); +void SetRangeLimits(double min, double max); /// Control the range value (in percentage) on a given range widget /// Use this call to set range levels. /// @@ -74,7 +74,7 @@ sealed public class IRangeDisplayConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_ui_range_display_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. @@ -105,8 +105,8 @@ sealed public class IRangeDisplayConcrete : /// Note: If only one value is needed, the other pointer can be passed as null. /// The minimum value. /// The maximum value. - public void GetRangeMinMax(out double min, out double max) { - Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_min_max_get_ptr.Value.Delegate(this.NativeHandle,out min, out max); + public void GetRangeLimits(out double min, out double max) { + Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_get_ptr.Value.Delegate(this.NativeHandle,out min, out max); Eina.Error.RaiseIfUnhandledException(); } /// Set the minimum and maximum values for given range widget. @@ -119,8 +119,8 @@ sealed public class IRangeDisplayConcrete : /// Warning: maximum must be greater than minimum, otherwise behavior is undefined. /// The minimum value. /// The maximum value. - public void SetRangeMinMax(double min, double max) { - Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_min_max_set_ptr.Value.Delegate(this.NativeHandle,min, max); + public void SetRangeLimits(double min, double max) { + Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_set_ptr.Value.Delegate(this.NativeHandle,min, max); Eina.Error.RaiseIfUnhandledException(); } /// Control the range value (in percentage) on a given range widget @@ -168,24 +168,24 @@ sealed public class IRangeDisplayConcrete : descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_value_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_value_set_static_delegate) }); } - if (efl_ui_range_min_max_get_static_delegate == null) + if (efl_ui_range_limits_get_static_delegate == null) { - efl_ui_range_min_max_get_static_delegate = new efl_ui_range_min_max_get_delegate(range_min_max_get); + efl_ui_range_limits_get_static_delegate = new efl_ui_range_limits_get_delegate(range_limits_get); } - if (methods.FirstOrDefault(m => m.Name == "GetRangeMinMax") != null) + if (methods.FirstOrDefault(m => m.Name == "GetRangeLimits") != null) { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_min_max_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_min_max_get_static_delegate) }); + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_limits_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_limits_get_static_delegate) }); } - if (efl_ui_range_min_max_set_static_delegate == null) + if (efl_ui_range_limits_set_static_delegate == null) { - efl_ui_range_min_max_set_static_delegate = new efl_ui_range_min_max_set_delegate(range_min_max_set); + efl_ui_range_limits_set_static_delegate = new efl_ui_range_limits_set_delegate(range_limits_set); } - if (methods.FirstOrDefault(m => m.Name == "SetRangeMinMax") != null) + if (methods.FirstOrDefault(m => m.Name == "SetRangeLimits") != null) { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_min_max_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_min_max_set_static_delegate) }); + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_limits_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_limits_set_static_delegate) }); } return descs; @@ -271,23 +271,23 @@ sealed public class IRangeDisplayConcrete : private static efl_ui_range_value_set_delegate efl_ui_range_value_set_static_delegate; - private delegate void efl_ui_range_min_max_get_delegate(System.IntPtr obj, System.IntPtr pd, out double min, out double max); + private delegate void efl_ui_range_limits_get_delegate(System.IntPtr obj, System.IntPtr pd, out double min, out double max); - public delegate void efl_ui_range_min_max_get_api_delegate(System.IntPtr obj, out double min, out double max); + public delegate void efl_ui_range_limits_get_api_delegate(System.IntPtr obj, out double min, out double max); - public static Efl.Eo.FunctionWrapper efl_ui_range_min_max_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_min_max_get"); + public static Efl.Eo.FunctionWrapper efl_ui_range_limits_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_limits_get"); - private static void range_min_max_get(System.IntPtr obj, System.IntPtr pd, out double min, out double max) + private static void range_limits_get(System.IntPtr obj, System.IntPtr pd, out double min, out double max) { - Eina.Log.Debug("function efl_ui_range_min_max_get was called"); + Eina.Log.Debug("function efl_ui_range_limits_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { min = default(double); max = default(double); try { - ((IRangeDisplay)ws.Target).GetRangeMinMax(out min, out max); + ((IRangeDisplay)ws.Target).GetRangeLimits(out min, out max); } catch (Exception e) { @@ -299,30 +299,30 @@ sealed public class IRangeDisplayConcrete : } else { - efl_ui_range_min_max_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out min, out max); + efl_ui_range_limits_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out min, out max); } } - private static efl_ui_range_min_max_get_delegate efl_ui_range_min_max_get_static_delegate; + private static efl_ui_range_limits_get_delegate efl_ui_range_limits_get_static_delegate; - private delegate void efl_ui_range_min_max_set_delegate(System.IntPtr obj, System.IntPtr pd, double min, double max); + private delegate void efl_ui_range_limits_set_delegate(System.IntPtr obj, System.IntPtr pd, double min, double max); - public delegate void efl_ui_range_min_max_set_api_delegate(System.IntPtr obj, double min, double max); + public delegate void efl_ui_range_limits_set_api_delegate(System.IntPtr obj, double min, double max); - public static Efl.Eo.FunctionWrapper efl_ui_range_min_max_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_min_max_set"); + public static Efl.Eo.FunctionWrapper efl_ui_range_limits_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_limits_set"); - private static void range_min_max_set(System.IntPtr obj, System.IntPtr pd, double min, double max) + private static void range_limits_set(System.IntPtr obj, System.IntPtr pd, double min, double max) { - Eina.Log.Debug("function efl_ui_range_min_max_set was called"); + Eina.Log.Debug("function efl_ui_range_limits_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { - ((IRangeDisplay)ws.Target).SetRangeMinMax(min, max); + ((IRangeDisplay)ws.Target).SetRangeLimits(min, max); } catch (Exception e) { @@ -334,11 +334,11 @@ sealed public class IRangeDisplayConcrete : } else { - efl_ui_range_min_max_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), min, max); + efl_ui_range_limits_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), min, max); } } - private static efl_ui_range_min_max_set_delegate efl_ui_range_min_max_set_static_delegate; + private static efl_ui_range_limits_set_delegate efl_ui_range_limits_set_static_delegate; #pragma warning restore CA1707, CS1591, SA1300, SA1600 diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_range_interactive.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_range_interactive.eo.cs index 21a674681..382609418 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_range_interactive.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_range_interactive.eo.cs @@ -67,7 +67,7 @@ sealed public class IRangeInteractiveConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_ui_range_interactive_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. @@ -121,8 +121,8 @@ sealed public class IRangeInteractiveConcrete : /// Note: If only one value is needed, the other pointer can be passed as null. /// The minimum value. /// The maximum value. - public void GetRangeMinMax(out double min, out double max) { - Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_min_max_get_ptr.Value.Delegate(this.NativeHandle,out min, out max); + public void GetRangeLimits(out double min, out double max) { + Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_get_ptr.Value.Delegate(this.NativeHandle,out min, out max); Eina.Error.RaiseIfUnhandledException(); } /// Set the minimum and maximum values for given range widget. @@ -135,8 +135,8 @@ sealed public class IRangeInteractiveConcrete : /// Warning: maximum must be greater than minimum, otherwise behavior is undefined. /// The minimum value. /// The maximum value. - public void SetRangeMinMax(double min, double max) { - Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_min_max_set_ptr.Value.Delegate(this.NativeHandle,min, max); + public void SetRangeLimits(double min, double max) { + Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_set_ptr.Value.Delegate(this.NativeHandle,min, max); Eina.Error.RaiseIfUnhandledException(); } /// Control the step used to increment or decrement values for given widget. @@ -215,24 +215,24 @@ sealed public class IRangeInteractiveConcrete : descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_value_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_value_set_static_delegate) }); } - if (efl_ui_range_min_max_get_static_delegate == null) + if (efl_ui_range_limits_get_static_delegate == null) { - efl_ui_range_min_max_get_static_delegate = new efl_ui_range_min_max_get_delegate(range_min_max_get); + efl_ui_range_limits_get_static_delegate = new efl_ui_range_limits_get_delegate(range_limits_get); } - if (methods.FirstOrDefault(m => m.Name == "GetRangeMinMax") != null) + if (methods.FirstOrDefault(m => m.Name == "GetRangeLimits") != null) { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_min_max_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_min_max_get_static_delegate) }); + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_limits_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_limits_get_static_delegate) }); } - if (efl_ui_range_min_max_set_static_delegate == null) + if (efl_ui_range_limits_set_static_delegate == null) { - efl_ui_range_min_max_set_static_delegate = new efl_ui_range_min_max_set_delegate(range_min_max_set); + efl_ui_range_limits_set_static_delegate = new efl_ui_range_limits_set_delegate(range_limits_set); } - if (methods.FirstOrDefault(m => m.Name == "SetRangeMinMax") != null) + if (methods.FirstOrDefault(m => m.Name == "SetRangeLimits") != null) { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_min_max_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_min_max_set_static_delegate) }); + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_limits_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_limits_set_static_delegate) }); } return descs; @@ -389,23 +389,23 @@ sealed public class IRangeInteractiveConcrete : private static efl_ui_range_value_set_delegate efl_ui_range_value_set_static_delegate; - private delegate void efl_ui_range_min_max_get_delegate(System.IntPtr obj, System.IntPtr pd, out double min, out double max); + private delegate void efl_ui_range_limits_get_delegate(System.IntPtr obj, System.IntPtr pd, out double min, out double max); - public delegate void efl_ui_range_min_max_get_api_delegate(System.IntPtr obj, out double min, out double max); + public delegate void efl_ui_range_limits_get_api_delegate(System.IntPtr obj, out double min, out double max); - public static Efl.Eo.FunctionWrapper efl_ui_range_min_max_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_min_max_get"); + public static Efl.Eo.FunctionWrapper efl_ui_range_limits_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_limits_get"); - private static void range_min_max_get(System.IntPtr obj, System.IntPtr pd, out double min, out double max) + private static void range_limits_get(System.IntPtr obj, System.IntPtr pd, out double min, out double max) { - Eina.Log.Debug("function efl_ui_range_min_max_get was called"); + Eina.Log.Debug("function efl_ui_range_limits_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { min = default(double); max = default(double); try { - ((IRangeInteractive)ws.Target).GetRangeMinMax(out min, out max); + ((IRangeInteractive)ws.Target).GetRangeLimits(out min, out max); } catch (Exception e) { @@ -417,30 +417,30 @@ sealed public class IRangeInteractiveConcrete : } else { - efl_ui_range_min_max_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out min, out max); + efl_ui_range_limits_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out min, out max); } } - private static efl_ui_range_min_max_get_delegate efl_ui_range_min_max_get_static_delegate; + private static efl_ui_range_limits_get_delegate efl_ui_range_limits_get_static_delegate; - private delegate void efl_ui_range_min_max_set_delegate(System.IntPtr obj, System.IntPtr pd, double min, double max); + private delegate void efl_ui_range_limits_set_delegate(System.IntPtr obj, System.IntPtr pd, double min, double max); - public delegate void efl_ui_range_min_max_set_api_delegate(System.IntPtr obj, double min, double max); + public delegate void efl_ui_range_limits_set_api_delegate(System.IntPtr obj, double min, double max); - public static Efl.Eo.FunctionWrapper efl_ui_range_min_max_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_min_max_set"); + public static Efl.Eo.FunctionWrapper efl_ui_range_limits_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_limits_set"); - private static void range_min_max_set(System.IntPtr obj, System.IntPtr pd, double min, double max) + private static void range_limits_set(System.IntPtr obj, System.IntPtr pd, double min, double max) { - Eina.Log.Debug("function efl_ui_range_min_max_set was called"); + Eina.Log.Debug("function efl_ui_range_limits_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { - ((IRangeInteractive)ws.Target).SetRangeMinMax(min, max); + ((IRangeInteractive)ws.Target).SetRangeLimits(min, max); } catch (Exception e) { @@ -452,11 +452,11 @@ sealed public class IRangeInteractiveConcrete : } else { - efl_ui_range_min_max_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), min, max); + efl_ui_range_limits_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), min, max); } } - private static efl_ui_range_min_max_set_delegate efl_ui_range_min_max_set_static_delegate; + private static efl_ui_range_limits_set_delegate efl_ui_range_limits_set_static_delegate; #pragma warning restore CA1707, CS1591, SA1300, SA1600 diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_relative_layout.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_relative_layout.eo.cs index b950bf53e..9e30f13ac 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_relative_layout.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_relative_layout.eo.cs @@ -90,7 +90,7 @@ public class RelativeLayout : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPac }; string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -99,7 +99,7 @@ public class RelativeLayout : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPac lock (eventLock) { string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -107,7 +107,7 @@ public class RelativeLayout : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPac public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -145,7 +145,7 @@ public class RelativeLayout : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPac }; string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -154,7 +154,7 @@ public class RelativeLayout : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPac lock (eventLock) { string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -162,7 +162,7 @@ public class RelativeLayout : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPac public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -198,7 +198,7 @@ public class RelativeLayout : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPac }; string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -207,7 +207,7 @@ public class RelativeLayout : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPac lock (eventLock) { string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -215,7 +215,7 @@ public class RelativeLayout : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPac public void OnLayoutUpdatedEvt(EventArgs e) { var key = "_EFL_PACK_EVENT_LAYOUT_UPDATED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_scroll_alert_popup_part.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_scroll_alert_popup_part.eo.cs index b4fc7f9af..e2f6e989c 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_scroll_alert_popup_part.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_scroll_alert_popup_part.eo.cs @@ -83,7 +83,7 @@ public class ScrollAlertPopupPart : Efl.Ui.LayoutPart, Efl.IContent, Efl.IText }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -92,7 +92,7 @@ public class ScrollAlertPopupPart : Efl.Ui.LayoutPart, Efl.IContent, Efl.IText lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -100,7 +100,7 @@ public class ScrollAlertPopupPart : Efl.Ui.LayoutPart, Efl.IContent, Efl.IText public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_scroll_manager.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_scroll_manager.eo.cs index 37c1e3c41..1c04bf434 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_scroll_manager.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_scroll_manager.eo.cs @@ -83,7 +83,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr }; string key = "_EFL_UI_EVENT_SCROLL_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -92,7 +92,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -100,7 +100,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr public void OnScrollStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -135,7 +135,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr }; string key = "_EFL_UI_EVENT_SCROLL"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -144,7 +144,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -152,7 +152,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr public void OnScrollEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -187,7 +187,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr }; string key = "_EFL_UI_EVENT_SCROLL_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -196,7 +196,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -204,7 +204,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr public void OnScrollStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -239,7 +239,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr }; string key = "_EFL_UI_EVENT_SCROLL_UP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -248,7 +248,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_UP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -256,7 +256,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr public void OnScrollUpEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_UP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -291,7 +291,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr }; string key = "_EFL_UI_EVENT_SCROLL_DOWN"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -300,7 +300,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DOWN"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -308,7 +308,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr public void OnScrollDownEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DOWN"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -343,7 +343,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr }; string key = "_EFL_UI_EVENT_SCROLL_LEFT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -352,7 +352,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_LEFT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -360,7 +360,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr public void OnScrollLeftEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_LEFT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -395,7 +395,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr }; string key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -404,7 +404,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -412,7 +412,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr public void OnScrollRightEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -447,7 +447,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr }; string key = "_EFL_UI_EVENT_EDGE_UP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -456,7 +456,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_UP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -464,7 +464,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr public void OnEdgeUpEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_UP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -499,7 +499,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr }; string key = "_EFL_UI_EVENT_EDGE_DOWN"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -508,7 +508,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_DOWN"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -516,7 +516,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr public void OnEdgeDownEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_DOWN"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -551,7 +551,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr }; string key = "_EFL_UI_EVENT_EDGE_LEFT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -560,7 +560,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_LEFT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -568,7 +568,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr public void OnEdgeLeftEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_LEFT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -603,7 +603,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr }; string key = "_EFL_UI_EVENT_EDGE_RIGHT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -612,7 +612,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_RIGHT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -620,7 +620,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr public void OnEdgeRightEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_RIGHT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -655,7 +655,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr }; string key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -664,7 +664,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -672,7 +672,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr public void OnScrollAnimStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -707,7 +707,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr }; string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -716,7 +716,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -724,7 +724,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr public void OnScrollAnimStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -759,7 +759,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr }; string key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -768,7 +768,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -776,7 +776,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr public void OnScrollDragStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -811,7 +811,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr }; string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -820,7 +820,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -828,7 +828,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr public void OnScrollDragStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -864,7 +864,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -873,7 +873,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -881,7 +881,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr public void OnBarPressEvt(Efl.Ui.IScrollbarBarPressEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -925,7 +925,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -934,7 +934,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -942,7 +942,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr public void OnBarUnpressEvt(Efl.Ui.IScrollbarBarUnpressEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -986,7 +986,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -995,7 +995,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1003,7 +1003,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr public void OnBarDragEvt(Efl.Ui.IScrollbarBarDragEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1046,7 +1046,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1055,7 +1055,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1063,7 +1063,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr public void OnBarSizeChangedEvt(EventArgs e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1098,7 +1098,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1107,7 +1107,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1115,7 +1115,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr public void OnBarPosChangedEvt(EventArgs e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1151,7 +1151,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1160,7 +1160,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1168,7 +1168,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr public void OnBarShowEvt(Efl.Ui.IScrollbarBarShowEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1212,7 +1212,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1221,7 +1221,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1229,7 +1229,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr public void OnBarHideEvt(Efl.Ui.IScrollbarBarHideEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1249,7 +1249,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr /// This is the internal pan object managed by scroll manager. /// This property is protected as it is meant for scrollable object implementations only, to set and access the internal pan object. If pan is set to NULL, scrolling does not work. /// Pan object - virtual public void SetPan(Efl.Ui.Pan pan) { + virtual protected void SetPan(Efl.Ui.Pan pan) { Efl.Ui.Scroll.Manager.NativeMethods.efl_ui_scroll_manager_pan_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),pan); Eina.Error.RaiseIfUnhandledException(); } @@ -1504,7 +1504,7 @@ public class Manager : Efl.Object, Efl.Ui.II18n, Efl.Ui.IScrollable, Efl.Ui.IScr /// This is the internal pan object managed by scroll manager. /// This property is protected as it is meant for scrollable object implementations only, to set and access the internal pan object. If pan is set to NULL, scrolling does not work. /// Pan object - public Efl.Ui.Pan Pan { + protected Efl.Ui.Pan Pan { set { SetPan(value); } } /// Whether this object should be mirrored. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_scrollable.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_scrollable.eo.cs index cf905e983..03d696a33 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_scrollable.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_scrollable.eo.cs @@ -67,7 +67,7 @@ sealed public class IScrollableConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_ui_scrollable_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_scrollable_interactive.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_scrollable_interactive.eo.cs index 8b6ebfbdf..e0d4aa499 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_scrollable_interactive.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_scrollable_interactive.eo.cs @@ -168,7 +168,7 @@ sealed public class IScrollableInteractiveConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_ui_scrollable_interactive_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_scrollbar.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_scrollbar.eo.cs index eeaa590da..77cbec09e 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_scrollbar.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_scrollbar.eo.cs @@ -97,7 +97,7 @@ sealed public class IScrollbarConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_ui_scrollbar_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_scroller.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_scroller.eo.cs index 0b5bb1fd5..8173ac50a 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_scroller.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_scroller.eo.cs @@ -89,7 +89,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -98,7 +98,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -106,7 +106,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -142,7 +142,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl }; string key = "_EFL_UI_EVENT_SCROLL_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -151,7 +151,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -159,7 +159,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl public void OnScrollStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -194,7 +194,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl }; string key = "_EFL_UI_EVENT_SCROLL"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -203,7 +203,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -211,7 +211,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl public void OnScrollEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -246,7 +246,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl }; string key = "_EFL_UI_EVENT_SCROLL_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -255,7 +255,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -263,7 +263,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl public void OnScrollStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -298,7 +298,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl }; string key = "_EFL_UI_EVENT_SCROLL_UP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -307,7 +307,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_UP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -315,7 +315,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl public void OnScrollUpEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_UP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -350,7 +350,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl }; string key = "_EFL_UI_EVENT_SCROLL_DOWN"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -359,7 +359,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DOWN"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -367,7 +367,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl public void OnScrollDownEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DOWN"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -402,7 +402,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl }; string key = "_EFL_UI_EVENT_SCROLL_LEFT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -411,7 +411,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_LEFT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -419,7 +419,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl public void OnScrollLeftEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_LEFT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -454,7 +454,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl }; string key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -463,7 +463,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -471,7 +471,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl public void OnScrollRightEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -506,7 +506,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl }; string key = "_EFL_UI_EVENT_EDGE_UP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -515,7 +515,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_UP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -523,7 +523,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl public void OnEdgeUpEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_UP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -558,7 +558,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl }; string key = "_EFL_UI_EVENT_EDGE_DOWN"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -567,7 +567,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_DOWN"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -575,7 +575,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl public void OnEdgeDownEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_DOWN"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -610,7 +610,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl }; string key = "_EFL_UI_EVENT_EDGE_LEFT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -619,7 +619,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_LEFT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -627,7 +627,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl public void OnEdgeLeftEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_LEFT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -662,7 +662,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl }; string key = "_EFL_UI_EVENT_EDGE_RIGHT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -671,7 +671,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_RIGHT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -679,7 +679,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl public void OnEdgeRightEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_RIGHT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -714,7 +714,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl }; string key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -723,7 +723,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -731,7 +731,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl public void OnScrollAnimStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -766,7 +766,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl }; string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -775,7 +775,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -783,7 +783,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl public void OnScrollAnimStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -818,7 +818,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl }; string key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -827,7 +827,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -835,7 +835,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl public void OnScrollDragStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -870,7 +870,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl }; string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -879,7 +879,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -887,7 +887,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl public void OnScrollDragStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -923,7 +923,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -932,7 +932,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -940,7 +940,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl public void OnBarPressEvt(Efl.Ui.IScrollbarBarPressEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_PRESS"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -984,7 +984,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -993,7 +993,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1001,7 +1001,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl public void OnBarUnpressEvt(Efl.Ui.IScrollbarBarUnpressEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_UNPRESS"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1045,7 +1045,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1054,7 +1054,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1062,7 +1062,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl public void OnBarDragEvt(Efl.Ui.IScrollbarBarDragEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_DRAG"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1105,7 +1105,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1114,7 +1114,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1122,7 +1122,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl public void OnBarSizeChangedEvt(EventArgs e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SIZE_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1157,7 +1157,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1166,7 +1166,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1174,7 +1174,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl public void OnBarPosChangedEvt(EventArgs e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_POS_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1210,7 +1210,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1219,7 +1219,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1227,7 +1227,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl public void OnBarShowEvt(Efl.Ui.IScrollbarBarShowEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_SHOW"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1271,7 +1271,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl }; string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1280,7 +1280,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl lock (eventLock) { string key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1288,7 +1288,7 @@ public class Scroller : Efl.Ui.LayoutBase, Efl.IContent, Efl.Ui.IScrollable, Efl public void OnBarHideEvt(Efl.Ui.IScrollbarBarHideEvt_Args e) { var key = "_EFL_UI_SCROLLBAR_EVENT_BAR_HIDE"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_selectable.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_selectable.eo.cs index d406c5596..c7dbabebb 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_selectable.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_selectable.eo.cs @@ -63,7 +63,7 @@ sealed public class ISelectableConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_ui_selectable_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_selection.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_selection.eo.cs index 1b782ab7f..d98c59e5b 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_selection.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_selection.eo.cs @@ -279,7 +279,7 @@ sealed public class ISelectionConcrete : Eina.Future _ret_var = default( Eina.Future); try { - _ret_var = ((ISelectionConcrete)ws.Target).SetSelection(type, format, data, seat); + _ret_var = ((ISelection)ws.Target).SetSelection(type, format, data, seat); } catch (Exception e) { @@ -316,7 +316,7 @@ sealed public class ISelectionConcrete : try { - ((ISelectionConcrete)ws.Target).GetSelection(type, format, data_func_wrapper.ManagedCb, seat); + ((ISelection)ws.Target).GetSelection(type, format, data_func_wrapper.ManagedCb, seat); } catch (Exception e) { @@ -351,7 +351,7 @@ sealed public class ISelectionConcrete : try { - ((ISelectionConcrete)ws.Target).ClearSelection(type, seat); + ((ISelection)ws.Target).ClearSelection(type, seat); } catch (Exception e) { @@ -386,7 +386,7 @@ sealed public class ISelectionConcrete : bool _ret_var = default(bool); try { - _ret_var = ((ISelectionConcrete)ws.Target).HasOwner(type, seat); + _ret_var = ((ISelection)ws.Target).HasOwner(type, seat); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_slider.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_slider.eo.cs index d39e9cf28..bfb3982a5 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_slider.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_slider.eo.cs @@ -342,8 +342,8 @@ public class Slider : Efl.Ui.LayoutBase, Efl.Access.IValue, Efl.Ui.ILayoutOrient /// Note: If only one value is needed, the other pointer can be passed as null. /// The minimum value. /// The maximum value. - virtual public void GetRangeMinMax(out double min, out double max) { - Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_min_max_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out min, out max); + virtual public void GetRangeLimits(out double min, out double max) { + Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out min, out max); Eina.Error.RaiseIfUnhandledException(); } /// Set the minimum and maximum values for given range widget. @@ -356,8 +356,8 @@ public class Slider : Efl.Ui.LayoutBase, Efl.Access.IValue, Efl.Ui.ILayoutOrient /// Warning: maximum must be greater than minimum, otherwise behavior is undefined. /// The minimum value. /// The maximum value. - virtual public void SetRangeMinMax(double min, double max) { - Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_min_max_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),min, max); + virtual public void SetRangeLimits(double min, double max) { + Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),min, max); Eina.Error.RaiseIfUnhandledException(); } /// Control the step used to increment or decrement values for given widget. @@ -513,24 +513,24 @@ public class Slider : Efl.Ui.LayoutBase, Efl.Access.IValue, Efl.Ui.ILayoutOrient descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_value_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_value_set_static_delegate) }); } - if (efl_ui_range_min_max_get_static_delegate == null) + if (efl_ui_range_limits_get_static_delegate == null) { - efl_ui_range_min_max_get_static_delegate = new efl_ui_range_min_max_get_delegate(range_min_max_get); + efl_ui_range_limits_get_static_delegate = new efl_ui_range_limits_get_delegate(range_limits_get); } - if (methods.FirstOrDefault(m => m.Name == "GetRangeMinMax") != null) + if (methods.FirstOrDefault(m => m.Name == "GetRangeLimits") != null) { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_min_max_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_min_max_get_static_delegate) }); + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_limits_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_limits_get_static_delegate) }); } - if (efl_ui_range_min_max_set_static_delegate == null) + if (efl_ui_range_limits_set_static_delegate == null) { - efl_ui_range_min_max_set_static_delegate = new efl_ui_range_min_max_set_delegate(range_min_max_set); + efl_ui_range_limits_set_static_delegate = new efl_ui_range_limits_set_delegate(range_limits_set); } - if (methods.FirstOrDefault(m => m.Name == "SetRangeMinMax") != null) + if (methods.FirstOrDefault(m => m.Name == "SetRangeLimits") != null) { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_min_max_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_min_max_set_static_delegate) }); + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_limits_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_limits_set_static_delegate) }); } if (efl_ui_range_step_get_static_delegate == null) @@ -854,23 +854,23 @@ public class Slider : Efl.Ui.LayoutBase, Efl.Access.IValue, Efl.Ui.ILayoutOrient private static efl_ui_range_value_set_delegate efl_ui_range_value_set_static_delegate; - private delegate void efl_ui_range_min_max_get_delegate(System.IntPtr obj, System.IntPtr pd, out double min, out double max); + private delegate void efl_ui_range_limits_get_delegate(System.IntPtr obj, System.IntPtr pd, out double min, out double max); - public delegate void efl_ui_range_min_max_get_api_delegate(System.IntPtr obj, out double min, out double max); + public delegate void efl_ui_range_limits_get_api_delegate(System.IntPtr obj, out double min, out double max); - public static Efl.Eo.FunctionWrapper efl_ui_range_min_max_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_min_max_get"); + public static Efl.Eo.FunctionWrapper efl_ui_range_limits_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_limits_get"); - private static void range_min_max_get(System.IntPtr obj, System.IntPtr pd, out double min, out double max) + private static void range_limits_get(System.IntPtr obj, System.IntPtr pd, out double min, out double max) { - Eina.Log.Debug("function efl_ui_range_min_max_get was called"); + Eina.Log.Debug("function efl_ui_range_limits_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { min = default(double); max = default(double); try { - ((Slider)ws.Target).GetRangeMinMax(out min, out max); + ((Slider)ws.Target).GetRangeLimits(out min, out max); } catch (Exception e) { @@ -882,30 +882,30 @@ public class Slider : Efl.Ui.LayoutBase, Efl.Access.IValue, Efl.Ui.ILayoutOrient } else { - efl_ui_range_min_max_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out min, out max); + efl_ui_range_limits_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out min, out max); } } - private static efl_ui_range_min_max_get_delegate efl_ui_range_min_max_get_static_delegate; + private static efl_ui_range_limits_get_delegate efl_ui_range_limits_get_static_delegate; - private delegate void efl_ui_range_min_max_set_delegate(System.IntPtr obj, System.IntPtr pd, double min, double max); + private delegate void efl_ui_range_limits_set_delegate(System.IntPtr obj, System.IntPtr pd, double min, double max); - public delegate void efl_ui_range_min_max_set_api_delegate(System.IntPtr obj, double min, double max); + public delegate void efl_ui_range_limits_set_api_delegate(System.IntPtr obj, double min, double max); - public static Efl.Eo.FunctionWrapper efl_ui_range_min_max_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_min_max_set"); + public static Efl.Eo.FunctionWrapper efl_ui_range_limits_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_limits_set"); - private static void range_min_max_set(System.IntPtr obj, System.IntPtr pd, double min, double max) + private static void range_limits_set(System.IntPtr obj, System.IntPtr pd, double min, double max) { - Eina.Log.Debug("function efl_ui_range_min_max_set was called"); + Eina.Log.Debug("function efl_ui_range_limits_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { - ((Slider)ws.Target).SetRangeMinMax(min, max); + ((Slider)ws.Target).SetRangeLimits(min, max); } catch (Exception e) { @@ -917,11 +917,11 @@ public class Slider : Efl.Ui.LayoutBase, Efl.Access.IValue, Efl.Ui.ILayoutOrient } else { - efl_ui_range_min_max_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), min, max); + efl_ui_range_limits_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), min, max); } } - private static efl_ui_range_min_max_set_delegate efl_ui_range_min_max_set_static_delegate; + private static efl_ui_range_limits_set_delegate efl_ui_range_limits_set_static_delegate; private delegate double efl_ui_range_step_get_delegate(System.IntPtr obj, System.IntPtr pd); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_spin.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_spin.eo.cs index 80b5b986f..3dbddde96 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_spin.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_spin.eo.cs @@ -318,8 +318,8 @@ public class Spin : Efl.Ui.LayoutBase, Efl.Access.IValue, Efl.Ui.IFormat, Efl.Ui /// Note: If only one value is needed, the other pointer can be passed as null. /// The minimum value. /// The maximum value. - virtual public void GetRangeMinMax(out double min, out double max) { - Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_min_max_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out min, out max); + virtual public void GetRangeLimits(out double min, out double max) { + Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out min, out max); Eina.Error.RaiseIfUnhandledException(); } /// Set the minimum and maximum values for given range widget. @@ -332,8 +332,8 @@ public class Spin : Efl.Ui.LayoutBase, Efl.Access.IValue, Efl.Ui.IFormat, Efl.Ui /// Warning: maximum must be greater than minimum, otherwise behavior is undefined. /// The minimum value. /// The maximum value. - virtual public void SetRangeMinMax(double min, double max) { - Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_min_max_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),min, max); + virtual public void SetRangeLimits(double min, double max) { + Efl.Ui.IRangeDisplayConcrete.NativeMethods.efl_ui_range_limits_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),min, max); Eina.Error.RaiseIfUnhandledException(); } /// Control the step used to increment or decrement values for given widget. @@ -533,24 +533,24 @@ public class Spin : Efl.Ui.LayoutBase, Efl.Access.IValue, Efl.Ui.IFormat, Efl.Ui descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_value_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_value_set_static_delegate) }); } - if (efl_ui_range_min_max_get_static_delegate == null) + if (efl_ui_range_limits_get_static_delegate == null) { - efl_ui_range_min_max_get_static_delegate = new efl_ui_range_min_max_get_delegate(range_min_max_get); + efl_ui_range_limits_get_static_delegate = new efl_ui_range_limits_get_delegate(range_limits_get); } - if (methods.FirstOrDefault(m => m.Name == "GetRangeMinMax") != null) + if (methods.FirstOrDefault(m => m.Name == "GetRangeLimits") != null) { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_min_max_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_min_max_get_static_delegate) }); + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_limits_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_limits_get_static_delegate) }); } - if (efl_ui_range_min_max_set_static_delegate == null) + if (efl_ui_range_limits_set_static_delegate == null) { - efl_ui_range_min_max_set_static_delegate = new efl_ui_range_min_max_set_delegate(range_min_max_set); + efl_ui_range_limits_set_static_delegate = new efl_ui_range_limits_set_delegate(range_limits_set); } - if (methods.FirstOrDefault(m => m.Name == "SetRangeMinMax") != null) + if (methods.FirstOrDefault(m => m.Name == "SetRangeLimits") != null) { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_min_max_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_min_max_set_static_delegate) }); + descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_range_limits_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_range_limits_set_static_delegate) }); } if (efl_ui_range_step_get_static_delegate == null) @@ -982,23 +982,23 @@ public class Spin : Efl.Ui.LayoutBase, Efl.Access.IValue, Efl.Ui.IFormat, Efl.Ui private static efl_ui_range_value_set_delegate efl_ui_range_value_set_static_delegate; - private delegate void efl_ui_range_min_max_get_delegate(System.IntPtr obj, System.IntPtr pd, out double min, out double max); + private delegate void efl_ui_range_limits_get_delegate(System.IntPtr obj, System.IntPtr pd, out double min, out double max); - public delegate void efl_ui_range_min_max_get_api_delegate(System.IntPtr obj, out double min, out double max); + public delegate void efl_ui_range_limits_get_api_delegate(System.IntPtr obj, out double min, out double max); - public static Efl.Eo.FunctionWrapper efl_ui_range_min_max_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_min_max_get"); + public static Efl.Eo.FunctionWrapper efl_ui_range_limits_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_limits_get"); - private static void range_min_max_get(System.IntPtr obj, System.IntPtr pd, out double min, out double max) + private static void range_limits_get(System.IntPtr obj, System.IntPtr pd, out double min, out double max) { - Eina.Log.Debug("function efl_ui_range_min_max_get was called"); + Eina.Log.Debug("function efl_ui_range_limits_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { min = default(double); max = default(double); try { - ((Spin)ws.Target).GetRangeMinMax(out min, out max); + ((Spin)ws.Target).GetRangeLimits(out min, out max); } catch (Exception e) { @@ -1010,30 +1010,30 @@ public class Spin : Efl.Ui.LayoutBase, Efl.Access.IValue, Efl.Ui.IFormat, Efl.Ui } else { - efl_ui_range_min_max_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out min, out max); + efl_ui_range_limits_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out min, out max); } } - private static efl_ui_range_min_max_get_delegate efl_ui_range_min_max_get_static_delegate; + private static efl_ui_range_limits_get_delegate efl_ui_range_limits_get_static_delegate; - private delegate void efl_ui_range_min_max_set_delegate(System.IntPtr obj, System.IntPtr pd, double min, double max); + private delegate void efl_ui_range_limits_set_delegate(System.IntPtr obj, System.IntPtr pd, double min, double max); - public delegate void efl_ui_range_min_max_set_api_delegate(System.IntPtr obj, double min, double max); + public delegate void efl_ui_range_limits_set_api_delegate(System.IntPtr obj, double min, double max); - public static Efl.Eo.FunctionWrapper efl_ui_range_min_max_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_min_max_set"); + public static Efl.Eo.FunctionWrapper efl_ui_range_limits_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_range_limits_set"); - private static void range_min_max_set(System.IntPtr obj, System.IntPtr pd, double min, double max) + private static void range_limits_set(System.IntPtr obj, System.IntPtr pd, double min, double max) { - Eina.Log.Debug("function efl_ui_range_min_max_set was called"); + Eina.Log.Debug("function efl_ui_range_limits_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { try { - ((Spin)ws.Target).SetRangeMinMax(min, max); + ((Spin)ws.Target).SetRangeLimits(min, max); } catch (Exception e) { @@ -1045,11 +1045,11 @@ public class Spin : Efl.Ui.LayoutBase, Efl.Access.IValue, Efl.Ui.IFormat, Efl.Ui } else { - efl_ui_range_min_max_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), min, max); + efl_ui_range_limits_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), min, max); } } - private static efl_ui_range_min_max_set_delegate efl_ui_range_min_max_set_static_delegate; + private static efl_ui_range_limits_set_delegate efl_ui_range_limits_set_static_delegate; private delegate double efl_ui_range_step_get_delegate(System.IntPtr obj, System.IntPtr pd); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_stack.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_stack.eo.cs deleted file mode 100644 index d300408b5..000000000 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_stack.eo.cs +++ /dev/null @@ -1,1131 +0,0 @@ -#pragma warning disable CS1591 -using System; -using System.Runtime.InteropServices; -using System.Collections.Generic; -using System.Linq; -using System.Threading; -using System.ComponentModel; -namespace Efl { - -namespace Ui { - -///Event argument wrapper for event . -public class StackLoadedEvt_Args : EventArgs { - ///Actual event payload. - public Efl.Ui.StackEventLoaded arg { get; set; } -} -///Event argument wrapper for event . -public class StackUnloadedEvt_Args : EventArgs { - ///Actual event payload. - public Efl.Ui.StackEventUnloaded arg { get; set; } -} -///Event argument wrapper for event . -public class StackActivatedEvt_Args : EventArgs { - ///Actual event payload. - public Efl.Ui.StackEventActivated arg { get; set; } -} -///Event argument wrapper for event . -public class StackDeactivatedEvt_Args : EventArgs { - ///Actual event payload. - public Efl.Ui.StackEventDeactivated arg { get; set; } -} -/// Stack widget. -/// Stack widget arranges objects in stack structure by pushing and poping them. -[Efl.Ui.Stack.NativeMethods] -public class Stack : Efl.Ui.LayoutBase -{ - ///Pointer to the native class description. - public override System.IntPtr NativeClass - { - get - { - if (((object)this).GetType() == typeof(Stack)) - { - return GetEflClassStatic(); - } - else - { - return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()]; - } - } - } - - [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr - efl_ui_stack_class_get(); - /// Initializes a new instance of the class. - /// Parent instance. - /// The widget style to use. See - public Stack(Efl.Object parent - , System.String style = null) : base(efl_ui_stack_class_get(), typeof(Stack), parent) - { - if (Efl.Eo.Globals.ParamHelperCheck(style)) - { - SetStyle(Efl.Eo.Globals.GetParamHelper(style)); - } - - FinishInstantiation(); - } - - /// Initializes a new instance of the class. - /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly. - /// The native pointer to be wrapped. - protected Stack(System.IntPtr raw) : base(raw) - { - } - - /// Initializes a new instance of the class. - /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly. - /// The pointer to the base native Eo class. - /// The managed type of the public constructor that originated this call. - /// The Efl.Object parent of this instance. - protected Stack(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent) - { - } - - /// Called when content is loaded right before transition. - public event EventHandler LoadedEvt - { - add - { - lock (eventLock) - { - Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => - { - var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; - if (obj != null) - { - Efl.Ui.StackLoadedEvt_Args args = new Efl.Ui.StackLoadedEvt_Args(); - args.arg = evt.Info; - try - { - value?.Invoke(obj, args); - } - catch (Exception e) - { - Eina.Log.Error(e.ToString()); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - } - }; - - string key = "_EFL_UI_STACK_EVENT_LOADED"; - AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); - } - } - - remove - { - lock (eventLock) - { - string key = "_EFL_UI_STACK_EVENT_LOADED"; - RemoveNativeEventHandler(efl.Libs.Elementary, key, value); - } - } - } - ///Method to raise event LoadedEvt. - public void OnLoadedEvt(Efl.Ui.StackLoadedEvt_Args e) - { - var key = "_EFL_UI_STACK_EVENT_LOADED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); - if (desc == IntPtr.Zero) - { - Eina.Log.Error($"Failed to get native event {key}"); - return; - } - - IntPtr info = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg)); - try - { - Marshal.StructureToPtr(e.arg, info, false); - Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); - } - finally - { - Marshal.FreeHGlobal(info); - } - } - /// Called when content is unloaded right after being deactivated. - public event EventHandler UnloadedEvt - { - add - { - lock (eventLock) - { - Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => - { - var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; - if (obj != null) - { - Efl.Ui.StackUnloadedEvt_Args args = new Efl.Ui.StackUnloadedEvt_Args(); - args.arg = evt.Info; - try - { - value?.Invoke(obj, args); - } - catch (Exception e) - { - Eina.Log.Error(e.ToString()); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - } - }; - - string key = "_EFL_UI_STACK_EVENT_UNLOADED"; - AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); - } - } - - remove - { - lock (eventLock) - { - string key = "_EFL_UI_STACK_EVENT_UNLOADED"; - RemoveNativeEventHandler(efl.Libs.Elementary, key, value); - } - } - } - ///Method to raise event UnloadedEvt. - public void OnUnloadedEvt(Efl.Ui.StackUnloadedEvt_Args e) - { - var key = "_EFL_UI_STACK_EVENT_UNLOADED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); - if (desc == IntPtr.Zero) - { - Eina.Log.Error($"Failed to get native event {key}"); - return; - } - - IntPtr info = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg)); - try - { - Marshal.StructureToPtr(e.arg, info, false); - Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); - } - finally - { - Marshal.FreeHGlobal(info); - } - } - /// Called when content is activated right after transition. - public event EventHandler ActivatedEvt - { - add - { - lock (eventLock) - { - Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => - { - var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; - if (obj != null) - { - Efl.Ui.StackActivatedEvt_Args args = new Efl.Ui.StackActivatedEvt_Args(); - args.arg = evt.Info; - try - { - value?.Invoke(obj, args); - } - catch (Exception e) - { - Eina.Log.Error(e.ToString()); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - } - }; - - string key = "_EFL_UI_STACK_EVENT_ACTIVATED"; - AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); - } - } - - remove - { - lock (eventLock) - { - string key = "_EFL_UI_STACK_EVENT_ACTIVATED"; - RemoveNativeEventHandler(efl.Libs.Elementary, key, value); - } - } - } - ///Method to raise event ActivatedEvt. - public void OnActivatedEvt(Efl.Ui.StackActivatedEvt_Args e) - { - var key = "_EFL_UI_STACK_EVENT_ACTIVATED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); - if (desc == IntPtr.Zero) - { - Eina.Log.Error($"Failed to get native event {key}"); - return; - } - - IntPtr info = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg)); - try - { - Marshal.StructureToPtr(e.arg, info, false); - Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); - } - finally - { - Marshal.FreeHGlobal(info); - } - } - /// Called when content is deactivated right after transition. - public event EventHandler DeactivatedEvt - { - add - { - lock (eventLock) - { - Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) => - { - var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; - if (obj != null) - { - Efl.Ui.StackDeactivatedEvt_Args args = new Efl.Ui.StackDeactivatedEvt_Args(); - args.arg = evt.Info; - try - { - value?.Invoke(obj, args); - } - catch (Exception e) - { - Eina.Log.Error(e.ToString()); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - } - }; - - string key = "_EFL_UI_STACK_EVENT_DEACTIVATED"; - AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); - } - } - - remove - { - lock (eventLock) - { - string key = "_EFL_UI_STACK_EVENT_DEACTIVATED"; - RemoveNativeEventHandler(efl.Libs.Elementary, key, value); - } - } - } - ///Method to raise event DeactivatedEvt. - public void OnDeactivatedEvt(Efl.Ui.StackDeactivatedEvt_Args e) - { - var key = "_EFL_UI_STACK_EVENT_DEACTIVATED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); - if (desc == IntPtr.Zero) - { - Eina.Log.Error($"Failed to get native event {key}"); - return; - } - - IntPtr info = Marshal.AllocHGlobal(Marshal.SizeOf(e.arg)); - try - { - Marshal.StructureToPtr(e.arg, info, false); - Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); - } - finally - { - Marshal.FreeHGlobal(info); - } - } - /// Pushes a new object to the top of the stack and shows it. - /// The pushed object which becomes the top content of the stack. - virtual public void Push(Efl.Canvas.Object content) { - Efl.Ui.Stack.NativeMethods.efl_ui_stack_push_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content); - Eina.Error.RaiseIfUnhandledException(); - } - /// Pops the top content from the stack and deletes it. - /// The top content which is removed from the stack. - virtual public Efl.Canvas.Object Pop() { - var _ret_var = Efl.Ui.Stack.NativeMethods.efl_ui_stack_pop_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// Inserts an object before the given base content in the stack. - /// content is inserted before this base_content. - /// The inserted object in the stack. - virtual public void InsertBefore(Efl.Canvas.Object base_content, Efl.Canvas.Object content) { - Efl.Ui.Stack.NativeMethods.efl_ui_stack_insert_before_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),base_content, content); - Eina.Error.RaiseIfUnhandledException(); - } - /// Inserts an object after the given base content in the stack. - /// content is inserted after this base_content. - /// The inserted object in the stack. - virtual public void InsertAfter(Efl.Canvas.Object base_content, Efl.Canvas.Object content) { - Efl.Ui.Stack.NativeMethods.efl_ui_stack_insert_after_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),base_content, content); - Eina.Error.RaiseIfUnhandledException(); - } - /// Inserts an object at the given place in the stack. - /// The index of the inserted object in the stack. index begins from bottom to top of the stack. index of the bottom content is 0. - /// The inserted object in the stack. - virtual public void InsertAt(int index, Efl.Canvas.Object content) { - Efl.Ui.Stack.NativeMethods.efl_ui_stack_insert_at_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index, content); - Eina.Error.RaiseIfUnhandledException(); - } - /// Removes the given content in the stack. - /// The removed content from the stack. - virtual public void Remove(Efl.Canvas.Object content) { - Efl.Ui.Stack.NativeMethods.efl_ui_stack_remove_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content); - Eina.Error.RaiseIfUnhandledException(); - } - /// Removes a content matched to the given index in the stack. - /// The index of the removed object in the stack. index begins from bottom to top of the stack. index of the bottom content is 0. - virtual public void RemoveAt(int index) { - Efl.Ui.Stack.NativeMethods.efl_ui_stack_remove_at_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index); - Eina.Error.RaiseIfUnhandledException(); - } - /// Gets the index of the given content in the stack. The index begins from bottom to top of the stack. The index of the bottom content is 0. - /// The content matched to the index to be returned in the stack. - /// The index of content in the stack. - virtual public int GetIndex(Efl.Canvas.Object content) { - var _ret_var = Efl.Ui.Stack.NativeMethods.efl_ui_stack_index_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// Gets the content matched to the given index in the stack. - /// The index of the content to be returned in the stack. - /// The content matched to index in the stack. - virtual public Efl.Canvas.Object GetContent(int index) { - var _ret_var = Efl.Ui.Stack.NativeMethods.efl_ui_stack_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),index); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - /// Gets the top content in the stack. - /// The top content in the stack. - virtual public Efl.Canvas.Object Top() { - var _ret_var = Efl.Ui.Stack.NativeMethods.efl_ui_stack_top_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); - Eina.Error.RaiseIfUnhandledException(); - return _ret_var; - } - private static IntPtr GetEflClassStatic() - { - return Efl.Ui.Stack.efl_ui_stack_class_get(); - } - /// Wrapper for native methods and virtual method delegates. - /// For internal use by generated code only. - public new class NativeMethods : Efl.Ui.LayoutBase.NativeMethods - { - private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary); - /// Gets the list of Eo operations to override. - /// The list of Eo operations to be overload. - public override System.Collections.Generic.List GetEoOps(System.Type type) - { - var descs = new System.Collections.Generic.List(); - var methods = Efl.Eo.Globals.GetUserMethods(type); - - if (efl_ui_stack_push_static_delegate == null) - { - efl_ui_stack_push_static_delegate = new efl_ui_stack_push_delegate(push); - } - - if (methods.FirstOrDefault(m => m.Name == "Push") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_stack_push"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_stack_push_static_delegate) }); - } - - if (efl_ui_stack_pop_static_delegate == null) - { - efl_ui_stack_pop_static_delegate = new efl_ui_stack_pop_delegate(pop); - } - - if (methods.FirstOrDefault(m => m.Name == "Pop") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_stack_pop"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_stack_pop_static_delegate) }); - } - - if (efl_ui_stack_insert_before_static_delegate == null) - { - efl_ui_stack_insert_before_static_delegate = new efl_ui_stack_insert_before_delegate(insert_before); - } - - if (methods.FirstOrDefault(m => m.Name == "InsertBefore") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_stack_insert_before"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_stack_insert_before_static_delegate) }); - } - - if (efl_ui_stack_insert_after_static_delegate == null) - { - efl_ui_stack_insert_after_static_delegate = new efl_ui_stack_insert_after_delegate(insert_after); - } - - if (methods.FirstOrDefault(m => m.Name == "InsertAfter") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_stack_insert_after"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_stack_insert_after_static_delegate) }); - } - - if (efl_ui_stack_insert_at_static_delegate == null) - { - efl_ui_stack_insert_at_static_delegate = new efl_ui_stack_insert_at_delegate(insert_at); - } - - if (methods.FirstOrDefault(m => m.Name == "InsertAt") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_stack_insert_at"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_stack_insert_at_static_delegate) }); - } - - if (efl_ui_stack_remove_static_delegate == null) - { - efl_ui_stack_remove_static_delegate = new efl_ui_stack_remove_delegate(remove); - } - - if (methods.FirstOrDefault(m => m.Name == "Remove") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_stack_remove"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_stack_remove_static_delegate) }); - } - - if (efl_ui_stack_remove_at_static_delegate == null) - { - efl_ui_stack_remove_at_static_delegate = new efl_ui_stack_remove_at_delegate(remove_at); - } - - if (methods.FirstOrDefault(m => m.Name == "RemoveAt") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_stack_remove_at"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_stack_remove_at_static_delegate) }); - } - - if (efl_ui_stack_index_get_static_delegate == null) - { - efl_ui_stack_index_get_static_delegate = new efl_ui_stack_index_get_delegate(index_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetIndex") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_stack_index_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_stack_index_get_static_delegate) }); - } - - if (efl_ui_stack_content_get_static_delegate == null) - { - efl_ui_stack_content_get_static_delegate = new efl_ui_stack_content_get_delegate(content_get); - } - - if (methods.FirstOrDefault(m => m.Name == "GetContent") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_stack_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_stack_content_get_static_delegate) }); - } - - if (efl_ui_stack_top_static_delegate == null) - { - efl_ui_stack_top_static_delegate = new efl_ui_stack_top_delegate(top); - } - - if (methods.FirstOrDefault(m => m.Name == "Top") != null) - { - descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_stack_top"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_stack_top_static_delegate) }); - } - - descs.AddRange(base.GetEoOps(type)); - return descs; - } - /// Returns the Eo class for the native methods of this class. - /// The native class pointer. - public override IntPtr GetEflClass() - { - return Efl.Ui.Stack.efl_ui_stack_class_get(); - } - - #pragma warning disable CA1707, CS1591, SA1300, SA1600 - - - private delegate void efl_ui_stack_push_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object content); - - - public delegate void efl_ui_stack_push_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object content); - - public static Efl.Eo.FunctionWrapper efl_ui_stack_push_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_stack_push"); - - private static void push(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Object content) - { - Eina.Log.Debug("function efl_ui_stack_push was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Stack)ws.Target).Push(content); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_ui_stack_push_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content); - } - } - - private static efl_ui_stack_push_delegate efl_ui_stack_push_static_delegate; - - [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] - private delegate Efl.Canvas.Object efl_ui_stack_pop_delegate(System.IntPtr obj, System.IntPtr pd); - - [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] - public delegate Efl.Canvas.Object efl_ui_stack_pop_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_ui_stack_pop_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_stack_pop"); - - private static Efl.Canvas.Object pop(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_ui_stack_pop was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - Efl.Canvas.Object _ret_var = default(Efl.Canvas.Object); - try - { - _ret_var = ((Stack)ws.Target).Pop(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_ui_stack_pop_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_ui_stack_pop_delegate efl_ui_stack_pop_static_delegate; - - - private delegate void efl_ui_stack_insert_before_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object base_content, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object content); - - - public delegate void efl_ui_stack_insert_before_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object base_content, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object content); - - public static Efl.Eo.FunctionWrapper efl_ui_stack_insert_before_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_stack_insert_before"); - - private static void insert_before(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Object base_content, Efl.Canvas.Object content) - { - Eina.Log.Debug("function efl_ui_stack_insert_before was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Stack)ws.Target).InsertBefore(base_content, content); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_ui_stack_insert_before_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), base_content, content); - } - } - - private static efl_ui_stack_insert_before_delegate efl_ui_stack_insert_before_static_delegate; - - - private delegate void efl_ui_stack_insert_after_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object base_content, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object content); - - - public delegate void efl_ui_stack_insert_after_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object base_content, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object content); - - public static Efl.Eo.FunctionWrapper efl_ui_stack_insert_after_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_stack_insert_after"); - - private static void insert_after(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Object base_content, Efl.Canvas.Object content) - { - Eina.Log.Debug("function efl_ui_stack_insert_after was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Stack)ws.Target).InsertAfter(base_content, content); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_ui_stack_insert_after_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), base_content, content); - } - } - - private static efl_ui_stack_insert_after_delegate efl_ui_stack_insert_after_static_delegate; - - - private delegate void efl_ui_stack_insert_at_delegate(System.IntPtr obj, System.IntPtr pd, int index, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object content); - - - public delegate void efl_ui_stack_insert_at_api_delegate(System.IntPtr obj, int index, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object content); - - public static Efl.Eo.FunctionWrapper efl_ui_stack_insert_at_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_stack_insert_at"); - - private static void insert_at(System.IntPtr obj, System.IntPtr pd, int index, Efl.Canvas.Object content) - { - Eina.Log.Debug("function efl_ui_stack_insert_at was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Stack)ws.Target).InsertAt(index, content); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_ui_stack_insert_at_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index, content); - } - } - - private static efl_ui_stack_insert_at_delegate efl_ui_stack_insert_at_static_delegate; - - - private delegate void efl_ui_stack_remove_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object content); - - - public delegate void efl_ui_stack_remove_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object content); - - public static Efl.Eo.FunctionWrapper efl_ui_stack_remove_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_stack_remove"); - - private static void remove(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Object content) - { - Eina.Log.Debug("function efl_ui_stack_remove was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Stack)ws.Target).Remove(content); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_ui_stack_remove_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content); - } - } - - private static efl_ui_stack_remove_delegate efl_ui_stack_remove_static_delegate; - - - private delegate void efl_ui_stack_remove_at_delegate(System.IntPtr obj, System.IntPtr pd, int index); - - - public delegate void efl_ui_stack_remove_at_api_delegate(System.IntPtr obj, int index); - - public static Efl.Eo.FunctionWrapper efl_ui_stack_remove_at_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_stack_remove_at"); - - private static void remove_at(System.IntPtr obj, System.IntPtr pd, int index) - { - Eina.Log.Debug("function efl_ui_stack_remove_at was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - - try - { - ((Stack)ws.Target).RemoveAt(index); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - - } - else - { - efl_ui_stack_remove_at_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index); - } - } - - private static efl_ui_stack_remove_at_delegate efl_ui_stack_remove_at_static_delegate; - - - private delegate int efl_ui_stack_index_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object content); - - - public delegate int efl_ui_stack_index_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Canvas.Object content); - - public static Efl.Eo.FunctionWrapper efl_ui_stack_index_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_stack_index_get"); - - private static int index_get(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Object content) - { - Eina.Log.Debug("function efl_ui_stack_index_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - int _ret_var = default(int); - try - { - _ret_var = ((Stack)ws.Target).GetIndex(content); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_ui_stack_index_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content); - } - } - - private static efl_ui_stack_index_get_delegate efl_ui_stack_index_get_static_delegate; - - [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] - private delegate Efl.Canvas.Object efl_ui_stack_content_get_delegate(System.IntPtr obj, System.IntPtr pd, int index); - - [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] - public delegate Efl.Canvas.Object efl_ui_stack_content_get_api_delegate(System.IntPtr obj, int index); - - public static Efl.Eo.FunctionWrapper efl_ui_stack_content_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_stack_content_get"); - - private static Efl.Canvas.Object content_get(System.IntPtr obj, System.IntPtr pd, int index) - { - Eina.Log.Debug("function efl_ui_stack_content_get was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - Efl.Canvas.Object _ret_var = default(Efl.Canvas.Object); - try - { - _ret_var = ((Stack)ws.Target).GetContent(index); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_ui_stack_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), index); - } - } - - private static efl_ui_stack_content_get_delegate efl_ui_stack_content_get_static_delegate; - - [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] - private delegate Efl.Canvas.Object efl_ui_stack_top_delegate(System.IntPtr obj, System.IntPtr pd); - - [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] - public delegate Efl.Canvas.Object efl_ui_stack_top_api_delegate(System.IntPtr obj); - - public static Efl.Eo.FunctionWrapper efl_ui_stack_top_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_ui_stack_top"); - - private static Efl.Canvas.Object top(System.IntPtr obj, System.IntPtr pd) - { - Eina.Log.Debug("function efl_ui_stack_top was called"); - var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); - if (ws != null) - { - Efl.Canvas.Object _ret_var = default(Efl.Canvas.Object); - try - { - _ret_var = ((Stack)ws.Target).Top(); - } - catch (Exception e) - { - Eina.Log.Warning($"Callback error: {e.ToString()}"); - Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); - } - - return _ret_var; - - } - else - { - return efl_ui_stack_top_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj))); - } - } - - private static efl_ui_stack_top_delegate efl_ui_stack_top_static_delegate; - - #pragma warning restore CA1707, CS1591, SA1300, SA1600 - -} -} -} - -} - -namespace Efl { - -namespace Ui { - -/// Information of loaded event. -[StructLayout(LayoutKind.Sequential)] -public struct StackEventLoaded -{ - /// Loaded content. - public Efl.Canvas.Object Content; - ///Constructor for StackEventLoaded. - public StackEventLoaded( - Efl.Canvas.Object Content = default(Efl.Canvas.Object) ) - { - this.Content = Content; - } - - ///Implicit conversion to the managed representation from a native pointer. - ///Native pointer to be converted. - public static implicit operator StackEventLoaded(IntPtr ptr) - { - var tmp = (StackEventLoaded.NativeStruct)Marshal.PtrToStructure(ptr, typeof(StackEventLoaded.NativeStruct)); - return tmp; - } - - #pragma warning disable CS1591 - - ///Internal wrapper for struct StackEventLoaded. - [StructLayout(LayoutKind.Sequential)] - public struct NativeStruct - { - ///Internal wrapper for field Content - public System.IntPtr Content; - ///Implicit conversion to the internal/marshalling representation. - public static implicit operator StackEventLoaded.NativeStruct(StackEventLoaded _external_struct) - { - var _internal_struct = new StackEventLoaded.NativeStruct(); - _internal_struct.Content = _external_struct.Content?.NativeHandle ?? System.IntPtr.Zero; - return _internal_struct; - } - - ///Implicit conversion to the managed representation. - public static implicit operator StackEventLoaded(StackEventLoaded.NativeStruct _internal_struct) - { - var _external_struct = new StackEventLoaded(); - - _external_struct.Content = (Efl.Canvas.Object) Efl.Eo.Globals.CreateWrapperFor(_internal_struct.Content); - return _external_struct; - } - - } - - #pragma warning restore CS1591 - -} - -} - -} - -namespace Efl { - -namespace Ui { - -/// Information of unloaded event. -[StructLayout(LayoutKind.Sequential)] -public struct StackEventUnloaded -{ - /// Unloaded content. - public Efl.Canvas.Object Content; - ///Constructor for StackEventUnloaded. - public StackEventUnloaded( - Efl.Canvas.Object Content = default(Efl.Canvas.Object) ) - { - this.Content = Content; - } - - ///Implicit conversion to the managed representation from a native pointer. - ///Native pointer to be converted. - public static implicit operator StackEventUnloaded(IntPtr ptr) - { - var tmp = (StackEventUnloaded.NativeStruct)Marshal.PtrToStructure(ptr, typeof(StackEventUnloaded.NativeStruct)); - return tmp; - } - - #pragma warning disable CS1591 - - ///Internal wrapper for struct StackEventUnloaded. - [StructLayout(LayoutKind.Sequential)] - public struct NativeStruct - { - ///Internal wrapper for field Content - public System.IntPtr Content; - ///Implicit conversion to the internal/marshalling representation. - public static implicit operator StackEventUnloaded.NativeStruct(StackEventUnloaded _external_struct) - { - var _internal_struct = new StackEventUnloaded.NativeStruct(); - _internal_struct.Content = _external_struct.Content?.NativeHandle ?? System.IntPtr.Zero; - return _internal_struct; - } - - ///Implicit conversion to the managed representation. - public static implicit operator StackEventUnloaded(StackEventUnloaded.NativeStruct _internal_struct) - { - var _external_struct = new StackEventUnloaded(); - - _external_struct.Content = (Efl.Canvas.Object) Efl.Eo.Globals.CreateWrapperFor(_internal_struct.Content); - return _external_struct; - } - - } - - #pragma warning restore CS1591 - -} - -} - -} - -namespace Efl { - -namespace Ui { - -/// Information of activated event. -[StructLayout(LayoutKind.Sequential)] -public struct StackEventActivated -{ - /// Activated content. - public Efl.Canvas.Object Content; - ///Constructor for StackEventActivated. - public StackEventActivated( - Efl.Canvas.Object Content = default(Efl.Canvas.Object) ) - { - this.Content = Content; - } - - ///Implicit conversion to the managed representation from a native pointer. - ///Native pointer to be converted. - public static implicit operator StackEventActivated(IntPtr ptr) - { - var tmp = (StackEventActivated.NativeStruct)Marshal.PtrToStructure(ptr, typeof(StackEventActivated.NativeStruct)); - return tmp; - } - - #pragma warning disable CS1591 - - ///Internal wrapper for struct StackEventActivated. - [StructLayout(LayoutKind.Sequential)] - public struct NativeStruct - { - ///Internal wrapper for field Content - public System.IntPtr Content; - ///Implicit conversion to the internal/marshalling representation. - public static implicit operator StackEventActivated.NativeStruct(StackEventActivated _external_struct) - { - var _internal_struct = new StackEventActivated.NativeStruct(); - _internal_struct.Content = _external_struct.Content?.NativeHandle ?? System.IntPtr.Zero; - return _internal_struct; - } - - ///Implicit conversion to the managed representation. - public static implicit operator StackEventActivated(StackEventActivated.NativeStruct _internal_struct) - { - var _external_struct = new StackEventActivated(); - - _external_struct.Content = (Efl.Canvas.Object) Efl.Eo.Globals.CreateWrapperFor(_internal_struct.Content); - return _external_struct; - } - - } - - #pragma warning restore CS1591 - -} - -} - -} - -namespace Efl { - -namespace Ui { - -/// Information of deactivated event. -[StructLayout(LayoutKind.Sequential)] -public struct StackEventDeactivated -{ - /// Deactivated content. - public Efl.Canvas.Object Content; - ///Constructor for StackEventDeactivated. - public StackEventDeactivated( - Efl.Canvas.Object Content = default(Efl.Canvas.Object) ) - { - this.Content = Content; - } - - ///Implicit conversion to the managed representation from a native pointer. - ///Native pointer to be converted. - public static implicit operator StackEventDeactivated(IntPtr ptr) - { - var tmp = (StackEventDeactivated.NativeStruct)Marshal.PtrToStructure(ptr, typeof(StackEventDeactivated.NativeStruct)); - return tmp; - } - - #pragma warning disable CS1591 - - ///Internal wrapper for struct StackEventDeactivated. - [StructLayout(LayoutKind.Sequential)] - public struct NativeStruct - { - ///Internal wrapper for field Content - public System.IntPtr Content; - ///Implicit conversion to the internal/marshalling representation. - public static implicit operator StackEventDeactivated.NativeStruct(StackEventDeactivated _external_struct) - { - var _internal_struct = new StackEventDeactivated.NativeStruct(); - _internal_struct.Content = _external_struct.Content?.NativeHandle ?? System.IntPtr.Zero; - return _internal_struct; - } - - ///Implicit conversion to the managed representation. - public static implicit operator StackEventDeactivated(StackEventDeactivated.NativeStruct _internal_struct) - { - var _external_struct = new StackEventDeactivated(); - - _external_struct.Content = (Efl.Canvas.Object) Efl.Eo.Globals.CreateWrapperFor(_internal_struct.Content); - return _external_struct; - } - - } - - #pragma warning restore CS1591 - -} - -} - -} - diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_tab_page.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_tab_page.eo.cs index d3a2268ce..e1d2090a8 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_tab_page.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_tab_page.eo.cs @@ -156,7 +156,7 @@ public class TabPage : Efl.Ui.LayoutBase, Efl.IContent }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -165,7 +165,7 @@ public class TabPage : Efl.Ui.LayoutBase, Efl.IContent lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -173,7 +173,7 @@ public class TabPage : Efl.Ui.LayoutBase, Efl.IContent public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_table.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_table.eo.cs index 0b80f4cb4..2f31c7f5d 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_table.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_table.eo.cs @@ -90,7 +90,7 @@ public class Table : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, }; string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -99,7 +99,7 @@ public class Table : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, lock (eventLock) { string key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -107,7 +107,7 @@ public class Table : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -145,7 +145,7 @@ public class Table : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, }; string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -154,7 +154,7 @@ public class Table : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, lock (eventLock) { string key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -162,7 +162,7 @@ public class Table : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -198,7 +198,7 @@ public class Table : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, }; string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -207,7 +207,7 @@ public class Table : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, lock (eventLock) { string key = "_EFL_PACK_EVENT_LAYOUT_UPDATED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -215,7 +215,7 @@ public class Table : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, public void OnLayoutUpdatedEvt(EventArgs e) { var key = "_EFL_PACK_EVENT_LAYOUT_UPDATED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_text.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_text.eo.cs index 0c842232b..8f43cfd0a 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_text.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_text.eo.cs @@ -1554,7 +1554,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. }; string key = "_EFL_UI_EVENT_ITEM_SELECTED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1563,7 +1563,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. lock (eventLock) { string key = "_EFL_UI_EVENT_ITEM_SELECTED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1571,7 +1571,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. public void OnItemSelectedEvt(Efl.Ui.ISelectableItemSelectedEvt_Args e) { var key = "_EFL_UI_EVENT_ITEM_SELECTED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1608,7 +1608,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. }; string key = "_EFL_UI_EVENT_ITEM_UNSELECTED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1617,7 +1617,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. lock (eventLock) { string key = "_EFL_UI_EVENT_ITEM_UNSELECTED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1625,7 +1625,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. public void OnItemUnselectedEvt(Efl.Ui.ISelectableItemUnselectedEvt_Args e) { var key = "_EFL_UI_EVENT_ITEM_UNSELECTED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1661,7 +1661,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. }; string key = "_EFL_UI_EVENT_SELECTION_PASTE"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1670,7 +1670,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_PASTE"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1678,7 +1678,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. public void OnSelectionPasteEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_PASTE"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1713,7 +1713,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. }; string key = "_EFL_UI_EVENT_SELECTION_COPY"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1722,7 +1722,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_COPY"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1730,7 +1730,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. public void OnSelectionCopyEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_COPY"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1765,7 +1765,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. }; string key = "_EFL_UI_EVENT_SELECTION_CUT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1774,7 +1774,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_CUT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1782,7 +1782,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. public void OnSelectionCutEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_CUT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1817,7 +1817,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. }; string key = "_EFL_UI_EVENT_SELECTION_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1826,7 +1826,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1834,7 +1834,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. public void OnSelectionStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1869,7 +1869,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. }; string key = "_EFL_UI_EVENT_SELECTION_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1878,7 +1878,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1886,7 +1886,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. public void OnSelectionChangedEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1921,7 +1921,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. }; string key = "_EFL_UI_EVENT_SELECTION_CLEARED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1930,7 +1930,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. lock (eventLock) { string key = "_EFL_UI_EVENT_SELECTION_CLEARED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1938,7 +1938,7 @@ public class Text : Efl.Ui.LayoutBase, Efl.IFile, Efl.IText, Efl.ITextFont, Efl. public void OnSelectionClearedEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SELECTION_CLEARED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_text_alert_popup_part.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_text_alert_popup_part.eo.cs index 15b151ce2..0ffaa85db 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_text_alert_popup_part.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_text_alert_popup_part.eo.cs @@ -83,7 +83,7 @@ public class TextAlertPopupPart : Efl.Ui.LayoutPart, Efl.IContent, Efl.IText }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -92,7 +92,7 @@ public class TextAlertPopupPart : Efl.Ui.LayoutPart, Efl.IContent, Efl.IText lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -100,7 +100,7 @@ public class TextAlertPopupPart : Efl.Ui.LayoutPart, Efl.IContent, Efl.IText public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_view.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_view.eo.cs index 79421774a..415a4c5ad 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_view.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_view.eo.cs @@ -49,7 +49,7 @@ sealed public class IViewConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_ui_view_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_widget.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_widget.eo.cs index a0d67376e..c98a3e5ff 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_widget.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_widget.eo.cs @@ -1280,7 +1280,7 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, }; string key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTIES_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1289,7 +1289,7 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, lock (eventLock) { string key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTIES_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1297,7 +1297,7 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, public void OnPropertiesChangedEvt(Efl.Ui.IPropertyBindPropertiesChangedEvt_Args e) { var key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTIES_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1342,7 +1342,7 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, }; string key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTY_BOUND"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1351,7 +1351,7 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, lock (eventLock) { string key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTY_BOUND"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1359,7 +1359,7 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, public void OnPropertyBoundEvt(Efl.Ui.IPropertyBindPropertyBoundEvt_Args e) { var key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTY_BOUND"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1804,7 +1804,7 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, /// Sets the new resize object for this widget. /// (Since EFL 1.22) /// A canvas object (often a object). - virtual public void SetResizeObject(Efl.Canvas.Object sobj) { + virtual protected void SetResizeObject(Efl.Canvas.Object sobj) { Efl.Ui.Widget.NativeMethods.efl_ui_widget_resize_object_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),sobj); Eina.Error.RaiseIfUnhandledException(); } @@ -1837,7 +1837,7 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, /// (Since EFL 1.22) /// Name of the style to use. Refer to each widget's documentation for the available style names, or to the themes in use. /// Whether the style was successfully applied or not, see the Efl.Ui.Theme.Apply_Error subset of for more information. - virtual public Eina.Error SetStyle(System.String style) { + virtual protected Eina.Error SetStyle(System.String style) { var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_style_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),style); Eina.Error.RaiseIfUnhandledException(); return _ret_var; @@ -1871,7 +1871,7 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, /// objects have a parent hierarchy that may differ slightly from their or hierarchy. This is meant for internal handling. /// (Since EFL 1.22) /// Widget parent object - virtual public Efl.Ui.Widget GetWidgetParent() { + virtual protected Efl.Ui.Widget GetWidgetParent() { var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_parent_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; @@ -1880,7 +1880,7 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, /// objects have a parent hierarchy that may differ slightly from their or hierarchy. This is meant for internal handling. /// (Since EFL 1.22) /// Widget parent object - virtual public void SetWidgetParent(Efl.Ui.Widget parent) { + virtual protected void SetWidgetParent(Efl.Ui.Widget parent) { Efl.Ui.Widget.NativeMethods.efl_ui_widget_parent_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),parent); Eina.Error.RaiseIfUnhandledException(); } @@ -1907,7 +1907,7 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, /// Note: The region is relative to the top-left corner of the widget, i.e. X,Y start from 0,0 to indicate the top-left corner of the widget. W,H must be greater or equal to 1 for this region to be taken into account, otherwise it is ignored. /// (Since EFL 1.22) /// The relative region to show. If width or height is <= 0 it will be ignored, and no action will be taken. - virtual public Eina.Rect GetInterestRegion() { + virtual protected Eina.Rect GetInterestRegion() { var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_interest_region_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; @@ -1915,7 +1915,7 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, /// This is a read-only property. /// (Since EFL 1.22) /// The rectangle area. - virtual public Eina.Rect GetFocusHighlightGeometry() { + virtual protected Eina.Rect GetFocusHighlightGeometry() { var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_highlight_geometry_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; @@ -1991,7 +1991,7 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, /// EO event struct with an Efl.Input.Event as info. /// Source object where the event originated. Often same as this. /// true on success, false otherwise - virtual public bool WidgetInputEventHandler(ref Efl.Event eo_event, Efl.Canvas.Object source) { + virtual protected bool WidgetInputEventHandler(ref Efl.Event eo_event, Efl.Canvas.Object source) { Efl.Event.NativeStruct _in_eo_event = eo_event; var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_input_event_handler_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),ref _in_eo_event, source); Eina.Error.RaiseIfUnhandledException(); @@ -2003,7 +2003,7 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, /// (Since EFL 1.22) /// Type of activation. /// true on success, false otherwise - virtual public bool OnAccessActivate(Efl.Ui.Activate act) { + virtual protected bool OnAccessActivate(Efl.Ui.Activate act) { var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_on_access_activate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),act); Eina.Error.RaiseIfUnhandledException(); return _ret_var; @@ -2012,7 +2012,7 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, /// This meant to be overridden by subclasses to support accessibility. This is an unstable API. /// (Since EFL 1.22) /// true if accessibility is enabled. - virtual public void UpdateOnAccess(bool enable) { + virtual protected void UpdateOnAccess(bool enable) { Efl.Ui.Widget.NativeMethods.efl_ui_widget_on_access_update_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),enable); Eina.Error.RaiseIfUnhandledException(); } @@ -2037,7 +2037,7 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, /// (Since EFL 1.22) /// Sub object to be added. Not necessarily a widget itself. /// Indicates if the operation succeeded. - virtual public bool AddWidgetSubObject(Efl.Canvas.Object sub_obj) { + virtual protected bool AddWidgetSubObject(Efl.Canvas.Object sub_obj) { var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_sub_object_add_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),sub_obj); Eina.Error.RaiseIfUnhandledException(); return _ret_var; @@ -2051,7 +2051,7 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, /// (Since EFL 1.22) /// Sub object to be removed. Should be a child of this widget. /// Indicates if the operation succeeded. - virtual public bool DelWidgetSubObject(Efl.Canvas.Object sub_obj) { + virtual protected bool DelWidgetSubObject(Efl.Canvas.Object sub_obj) { var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_sub_object_del_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),sub_obj); Eina.Error.RaiseIfUnhandledException(); return _ret_var; @@ -2062,7 +2062,7 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, /// Note: even widgets not based on layouts may override this method to handle widget updates (scale, mirrored mode, etc...). /// (Since EFL 1.22) /// Indicates success, and if the current theme or default theme was used. - virtual public Eina.Error ThemeApply() { + virtual protected Eina.Error ThemeApply() { var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_theme_apply_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; @@ -2327,7 +2327,7 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, /// Virtual function which checks if this widget can handle passing focus to sub-object, in a given direction. /// (Since EFL 1.22) /// true on success, false otherwise - virtual public bool IsFocusDirectionManager() { + virtual protected bool IsFocusDirectionManager() { var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_direction_manager_is_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle)); Eina.Error.RaiseIfUnhandledException(); return _ret_var; @@ -2341,7 +2341,7 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, /// The new configuration being set on the widget. /// A redirect object if there is any /// Returns true if the widget is registered in the focus manager, false if not. - virtual public bool FocusStateApply(Efl.Ui.WidgetFocusState current_state, ref Efl.Ui.WidgetFocusState configured_state, Efl.Ui.Widget redirect) { + virtual protected bool FocusStateApply(Efl.Ui.WidgetFocusState current_state, ref Efl.Ui.WidgetFocusState configured_state, Efl.Ui.Widget redirect) { Efl.Ui.WidgetFocusState.NativeStruct _in_current_state = current_state; var _out_configured_state = new Efl.Ui.WidgetFocusState.NativeStruct(); var _ret_var = Efl.Ui.Widget.NativeMethods.efl_ui_widget_focus_state_apply_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),_in_current_state, ref _out_configured_state, redirect); @@ -3006,7 +3006,7 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, /// This property is protected as it is meant for widget implementations only, to set and access the internal canvas object. Do use this function unless you're implementing a widget. /// (Since EFL 1.22) /// A canvas object (often a object). - public Efl.Canvas.Object ResizeObject { + protected Efl.Canvas.Object ResizeObject { set { SetResizeObject(value); } } /// Whether the widget is enabled (accepts and reacts to user inputs). @@ -3027,7 +3027,7 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, /// Name of the style to use. Refer to each widget's documentation for the available style names, or to the themes in use. public System.String Style { get { return GetStyle(); } - set { SetStyle(value); } + protected set { SetStyle(value); } } /// The ability for a widget to be focused. /// Unfocusable objects do nothing when programmatically focused. The nearest focusable parent object the one really getting focus. Also, when they receive mouse input, they will get the event, but not take away the focus from where it was previously. @@ -3045,7 +3045,7 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, /// objects have a parent hierarchy that may differ slightly from their or hierarchy. This is meant for internal handling. /// (Since EFL 1.22) /// Widget parent object - public Efl.Ui.Widget WidgetParent { + protected Efl.Ui.Widget WidgetParent { get { return GetWidgetParent(); } set { SetWidgetParent(value); } } @@ -3063,14 +3063,14 @@ public abstract class Widget : Efl.Canvas.Group, Efl.IPart, Efl.Access.IAction, /// Note: The region is relative to the top-left corner of the widget, i.e. X,Y start from 0,0 to indicate the top-left corner of the widget. W,H must be greater or equal to 1 for this region to be taken into account, otherwise it is ignored. /// (Since EFL 1.22) /// The relative region to show. If width or height is <= 0 it will be ignored, and no action will be taken. - public Eina.Rect InterestRegion { + protected Eina.Rect InterestRegion { get { return GetInterestRegion(); } } /// The rectangle region to be highlighted on focus. /// This is a rectangle region where the focus highlight should be displayed. /// (Since EFL 1.22) /// The rectangle area. - public Eina.Rect FocusHighlightGeometry { + protected Eina.Rect FocusHighlightGeometry { get { return GetFocusHighlightGeometry(); } } /// Focus order property diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_widget_factory.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_widget_factory.eo.cs index 0b2322ca6..29f43a03f 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_widget_factory.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_widget_factory.eo.cs @@ -89,7 +89,7 @@ public class WidgetFactory : Efl.LoopConsumer, Efl.Ui.IFactory, Efl.Ui.IFactoryB }; string key = "_EFL_UI_FACTORY_EVENT_CREATED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -98,7 +98,7 @@ public class WidgetFactory : Efl.LoopConsumer, Efl.Ui.IFactory, Efl.Ui.IFactoryB lock (eventLock) { string key = "_EFL_UI_FACTORY_EVENT_CREATED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -106,7 +106,7 @@ public class WidgetFactory : Efl.LoopConsumer, Efl.Ui.IFactory, Efl.Ui.IFactoryB public void OnCreatedEvt(Efl.Ui.IFactoryCreatedEvt_Args e) { var key = "_EFL_UI_FACTORY_EVENT_CREATED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -151,7 +151,7 @@ public class WidgetFactory : Efl.LoopConsumer, Efl.Ui.IFactory, Efl.Ui.IFactoryB }; string key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTIES_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -160,7 +160,7 @@ public class WidgetFactory : Efl.LoopConsumer, Efl.Ui.IFactory, Efl.Ui.IFactoryB lock (eventLock) { string key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTIES_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -168,7 +168,7 @@ public class WidgetFactory : Efl.LoopConsumer, Efl.Ui.IFactory, Efl.Ui.IFactoryB public void OnPropertiesChangedEvt(Efl.Ui.IPropertyBindPropertiesChangedEvt_Args e) { var key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTIES_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -213,7 +213,7 @@ public class WidgetFactory : Efl.LoopConsumer, Efl.Ui.IFactory, Efl.Ui.IFactoryB }; string key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTY_BOUND"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -222,7 +222,7 @@ public class WidgetFactory : Efl.LoopConsumer, Efl.Ui.IFactory, Efl.Ui.IFactoryB lock (eventLock) { string key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTY_BOUND"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -230,7 +230,7 @@ public class WidgetFactory : Efl.LoopConsumer, Efl.Ui.IFactory, Efl.Ui.IFactoryB public void OnPropertyBoundEvt(Efl.Ui.IPropertyBindPropertyBoundEvt_Args e) { var key = "_EFL_UI_PROPERTY_BIND_EVENT_PROPERTY_BOUND"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_widget_focus_manager.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_widget_focus_manager.eo.cs index 32759158f..8a1ef408f 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_widget_focus_manager.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_widget_focus_manager.eo.cs @@ -769,7 +769,7 @@ sealed public class IWidgetFocusManagerConcrete : Efl.Ui.Focus.IManager _ret_var = default(Efl.Ui.Focus.IManager); try { - _ret_var = ((IWidgetFocusManagerConcrete)ws.Target).FocusManagerCreate(root); + _ret_var = ((IWidgetFocusManager)ws.Target).FocusManagerCreate(root); } catch (Exception e) { @@ -805,7 +805,7 @@ sealed public class IWidgetFocusManagerConcrete : Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { - _ret_var = ((IWidgetFocusManagerConcrete)ws.Target).GetManagerFocus(); + _ret_var = ((IWidgetFocusManager)ws.Target).GetManagerFocus(); } catch (Exception e) { @@ -841,7 +841,7 @@ sealed public class IWidgetFocusManagerConcrete : try { - ((IWidgetFocusManagerConcrete)ws.Target).SetManagerFocus(focus); + ((IWidgetFocusManager)ws.Target).SetManagerFocus(focus); } catch (Exception e) { @@ -876,7 +876,7 @@ sealed public class IWidgetFocusManagerConcrete : Efl.Ui.Focus.IManager _ret_var = default(Efl.Ui.Focus.IManager); try { - _ret_var = ((IWidgetFocusManagerConcrete)ws.Target).GetRedirect(); + _ret_var = ((IWidgetFocusManager)ws.Target).GetRedirect(); } catch (Exception e) { @@ -912,7 +912,7 @@ sealed public class IWidgetFocusManagerConcrete : try { - ((IWidgetFocusManagerConcrete)ws.Target).SetRedirect(redirect); + ((IWidgetFocusManager)ws.Target).SetRedirect(redirect); } catch (Exception e) { @@ -947,7 +947,7 @@ sealed public class IWidgetFocusManagerConcrete : Eina.Iterator _ret_var = default(Eina.Iterator); try { - _ret_var = ((IWidgetFocusManagerConcrete)ws.Target).GetBorderElements(); + _ret_var = ((IWidgetFocusManager)ws.Target).GetBorderElements(); } catch (Exception e) { @@ -984,7 +984,7 @@ sealed public class IWidgetFocusManagerConcrete : Eina.Iterator _ret_var = default(Eina.Iterator); try { - _ret_var = ((IWidgetFocusManagerConcrete)ws.Target).GetViewportElements(_in_viewport); + _ret_var = ((IWidgetFocusManager)ws.Target).GetViewportElements(_in_viewport); } catch (Exception e) { @@ -1020,7 +1020,7 @@ sealed public class IWidgetFocusManagerConcrete : Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { - _ret_var = ((IWidgetFocusManagerConcrete)ws.Target).GetRoot(); + _ret_var = ((IWidgetFocusManager)ws.Target).GetRoot(); } catch (Exception e) { @@ -1056,7 +1056,7 @@ sealed public class IWidgetFocusManagerConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IWidgetFocusManagerConcrete)ws.Target).SetRoot(root); + _ret_var = ((IWidgetFocusManager)ws.Target).SetRoot(root); } catch (Exception e) { @@ -1092,7 +1092,7 @@ sealed public class IWidgetFocusManagerConcrete : Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { - _ret_var = ((IWidgetFocusManagerConcrete)ws.Target).Move(direction); + _ret_var = ((IWidgetFocusManager)ws.Target).Move(direction); } catch (Exception e) { @@ -1128,7 +1128,7 @@ sealed public class IWidgetFocusManagerConcrete : Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { - _ret_var = ((IWidgetFocusManagerConcrete)ws.Target).MoveRequest(direction, child, logical); + _ret_var = ((IWidgetFocusManager)ws.Target).MoveRequest(direction, child, logical); } catch (Exception e) { @@ -1164,7 +1164,7 @@ sealed public class IWidgetFocusManagerConcrete : Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { - _ret_var = ((IWidgetFocusManagerConcrete)ws.Target).RequestSubchild(root); + _ret_var = ((IWidgetFocusManager)ws.Target).RequestSubchild(root); } catch (Exception e) { @@ -1200,7 +1200,7 @@ sealed public class IWidgetFocusManagerConcrete : Efl.Ui.Focus.Relations _ret_var = default(Efl.Ui.Focus.Relations); try { - _ret_var = ((IWidgetFocusManagerConcrete)ws.Target).Fetch(child); + _ret_var = ((IWidgetFocusManager)ws.Target).Fetch(child); } catch (Exception e) { @@ -1236,7 +1236,7 @@ sealed public class IWidgetFocusManagerConcrete : Efl.Ui.Focus.ManagerLogicalEndDetail _ret_var = default(Efl.Ui.Focus.ManagerLogicalEndDetail); try { - _ret_var = ((IWidgetFocusManagerConcrete)ws.Target).LogicalEnd(); + _ret_var = ((IWidgetFocusManager)ws.Target).LogicalEnd(); } catch (Exception e) { @@ -1272,7 +1272,7 @@ sealed public class IWidgetFocusManagerConcrete : try { - ((IWidgetFocusManagerConcrete)ws.Target).ResetHistory(); + ((IWidgetFocusManager)ws.Target).ResetHistory(); } catch (Exception e) { @@ -1307,7 +1307,7 @@ sealed public class IWidgetFocusManagerConcrete : try { - ((IWidgetFocusManagerConcrete)ws.Target).PopHistoryStack(); + ((IWidgetFocusManager)ws.Target).PopHistoryStack(); } catch (Exception e) { @@ -1342,7 +1342,7 @@ sealed public class IWidgetFocusManagerConcrete : try { - ((IWidgetFocusManagerConcrete)ws.Target).SetupOnFirstTouch(direction, entry); + ((IWidgetFocusManager)ws.Target).SetupOnFirstTouch(direction, entry); } catch (Exception e) { @@ -1377,7 +1377,7 @@ sealed public class IWidgetFocusManagerConcrete : try { - ((IWidgetFocusManagerConcrete)ws.Target).FreezeDirtyLogic(); + ((IWidgetFocusManager)ws.Target).FreezeDirtyLogic(); } catch (Exception e) { @@ -1412,7 +1412,7 @@ sealed public class IWidgetFocusManagerConcrete : try { - ((IWidgetFocusManagerConcrete)ws.Target).DirtyLogicUnfreeze(); + ((IWidgetFocusManager)ws.Target).DirtyLogicUnfreeze(); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_widget_part_bg.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_widget_part_bg.eo.cs index 5e45e5da9..4525892e7 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_widget_part_bg.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_widget_part_bg.eo.cs @@ -81,7 +81,7 @@ public class WidgetPartBg : Efl.Ui.WidgetPart, Efl.IFile, Efl.Gfx.IColor, Efl.Gf }; string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -90,7 +90,7 @@ public class WidgetPartBg : Efl.Ui.WidgetPart, Efl.IFile, Efl.Gfx.IColor, Efl.Gf lock (eventLock) { string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -98,7 +98,7 @@ public class WidgetPartBg : Efl.Ui.WidgetPart, Efl.IFile, Efl.Gfx.IColor, Efl.Gf public void OnImagePreloadEvt(EventArgs e) { var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -133,7 +133,7 @@ public class WidgetPartBg : Efl.Ui.WidgetPart, Efl.IFile, Efl.Gfx.IColor, Efl.Gf }; string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -142,7 +142,7 @@ public class WidgetPartBg : Efl.Ui.WidgetPart, Efl.IFile, Efl.Gfx.IColor, Efl.Gf lock (eventLock) { string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -150,7 +150,7 @@ public class WidgetPartBg : Efl.Ui.WidgetPart, Efl.IFile, Efl.Gfx.IColor, Efl.Gf public void OnImageResizeEvt(EventArgs e) { var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -185,7 +185,7 @@ public class WidgetPartBg : Efl.Ui.WidgetPart, Efl.IFile, Efl.Gfx.IColor, Efl.Gf }; string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -194,7 +194,7 @@ public class WidgetPartBg : Efl.Ui.WidgetPart, Efl.IFile, Efl.Gfx.IColor, Efl.Gf lock (eventLock) { string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -202,7 +202,7 @@ public class WidgetPartBg : Efl.Ui.WidgetPart, Efl.IFile, Efl.Gfx.IColor, Efl.Gf public void OnImageUnloadEvt(EventArgs e) { var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_win.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_win.eo.cs index 9a059fb34..f1480a6d3 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_win.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_win.eo.cs @@ -998,7 +998,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1007,7 +1007,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1015,7 +1015,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1391,7 +1391,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT } /// Called when scene got focus /// (Since EFL 1.22) - public event EventHandler SceneFocusInEvt + public event EventHandler SceneFocusInEvt { add { @@ -1402,8 +1402,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { - Efl.Canvas.ISceneSceneFocusInEvt_Args args = new Efl.Canvas.ISceneSceneFocusInEvt_Args(); - args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Input.Focus); + EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); @@ -1417,7 +1416,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT }; string key = "_EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_IN"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1426,27 +1425,26 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT lock (eventLock) { string key = "_EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_IN"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event SceneFocusInEvt. - public void OnSceneFocusInEvt(Efl.Canvas.ISceneSceneFocusInEvt_Args e) + public void OnSceneFocusInEvt(EventArgs e) { var key = "_EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_IN"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } - IntPtr info = e.arg.NativeHandle; - Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); + Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Called when scene lost focus /// (Since EFL 1.22) - public event EventHandler SceneFocusOutEvt + public event EventHandler SceneFocusOutEvt { add { @@ -1457,8 +1455,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target; if (obj != null) { - Efl.Canvas.ISceneSceneFocusOutEvt_Args args = new Efl.Canvas.ISceneSceneFocusOutEvt_Args(); - args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Input.Focus); + EventArgs args = EventArgs.Empty; try { value?.Invoke(obj, args); @@ -1472,7 +1469,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT }; string key = "_EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_OUT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1481,23 +1478,22 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT lock (eventLock) { string key = "_EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_OUT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } ///Method to raise event SceneFocusOutEvt. - public void OnSceneFocusOutEvt(Efl.Canvas.ISceneSceneFocusOutEvt_Args e) + public void OnSceneFocusOutEvt(EventArgs e) { var key = "_EFL_CANVAS_SCENE_EVENT_SCENE_FOCUS_OUT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); return; } - IntPtr info = e.arg.NativeHandle; - Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info); + Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero); } /// Called when object got focus /// (Since EFL 1.22) @@ -1527,7 +1523,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT }; string key = "_EFL_CANVAS_SCENE_EVENT_OBJECT_FOCUS_IN"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1536,7 +1532,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT lock (eventLock) { string key = "_EFL_CANVAS_SCENE_EVENT_OBJECT_FOCUS_IN"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1544,7 +1540,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT public void OnObjectFocusInEvt(Efl.Canvas.ISceneObjectFocusInEvt_Args e) { var key = "_EFL_CANVAS_SCENE_EVENT_OBJECT_FOCUS_IN"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1582,7 +1578,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT }; string key = "_EFL_CANVAS_SCENE_EVENT_OBJECT_FOCUS_OUT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1591,7 +1587,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT lock (eventLock) { string key = "_EFL_CANVAS_SCENE_EVENT_OBJECT_FOCUS_OUT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1599,7 +1595,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT public void OnObjectFocusOutEvt(Efl.Canvas.ISceneObjectFocusOutEvt_Args e) { var key = "_EFL_CANVAS_SCENE_EVENT_OBJECT_FOCUS_OUT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1636,7 +1632,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT }; string key = "_EFL_CANVAS_SCENE_EVENT_RENDER_PRE"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1645,7 +1641,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT lock (eventLock) { string key = "_EFL_CANVAS_SCENE_EVENT_RENDER_PRE"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1653,7 +1649,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT public void OnRenderPreEvt(EventArgs e) { var key = "_EFL_CANVAS_SCENE_EVENT_RENDER_PRE"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1690,7 +1686,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT }; string key = "_EFL_CANVAS_SCENE_EVENT_RENDER_POST"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1699,7 +1695,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT lock (eventLock) { string key = "_EFL_CANVAS_SCENE_EVENT_RENDER_POST"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1707,7 +1703,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT public void OnRenderPostEvt(Efl.Canvas.ISceneRenderPostEvt_Args e) { var key = "_EFL_CANVAS_SCENE_EVENT_RENDER_POST"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1753,7 +1749,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT }; string key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1762,7 +1758,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT lock (eventLock) { string key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1770,7 +1766,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT public void OnDeviceChangedEvt(Efl.Canvas.ISceneDeviceChangedEvt_Args e) { var key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1808,7 +1804,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT }; string key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_ADDED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1817,7 +1813,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT lock (eventLock) { string key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_ADDED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1825,7 +1821,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT public void OnDeviceAddedEvt(Efl.Canvas.ISceneDeviceAddedEvt_Args e) { var key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_ADDED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1863,7 +1859,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT }; string key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_REMOVED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1872,7 +1868,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT lock (eventLock) { string key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_REMOVED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1880,7 +1876,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT public void OnDeviceRemovedEvt(Efl.Canvas.ISceneDeviceRemovedEvt_Args e) { var key = "_EFL_CANVAS_SCENE_EVENT_DEVICE_REMOVED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -2797,7 +2793,7 @@ public class Win : Efl.Ui.Widget, Efl.IConfig, Efl.IContent, Efl.IScreen, Efl.IT /// Returns an iterator over the current known pointer positions. /// This is used to iterate over the current known multi-touch positions, including the first finger. Each pointer position is represented by an object of type . /// - /// Each finger in a multi touch environment can then be identified by the property. The order of the pointers in this iterator is not defined. + /// Each finger in a multi touch environment can then be identified by the property. The order of the pointers in this iterator is not defined. /// /// Note: If the input surface supports hovering input, some pointers may not be in a "down" state. To retrieve the list of such pointers, set the hover value to true. Remember though that most devices currently don't support this. /// (Since EFL 1.22) diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_win_part.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_win_part.eo.cs index 90ed1cf4d..fba65cd73 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_win_part.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_win_part.eo.cs @@ -83,7 +83,7 @@ public class WinPart : Efl.Ui.WidgetPart, Efl.IContent, Efl.IFile, Efl.Gfx.IColo }; string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -92,7 +92,7 @@ public class WinPart : Efl.Ui.WidgetPart, Efl.IContent, Efl.IFile, Efl.Gfx.IColo lock (eventLock) { string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -100,7 +100,7 @@ public class WinPart : Efl.Ui.WidgetPart, Efl.IContent, Efl.IFile, Efl.Gfx.IColo public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e) { var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_zoom.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_zoom.eo.cs index 9455b4147..2a84deb70 100644 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_zoom.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_zoom.eo.cs @@ -87,7 +87,7 @@ sealed public class IZoomConcrete : } } - [System.Runtime.InteropServices.DllImport(efl.Libs.Efl)] internal static extern System.IntPtr + [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr efl_ui_zoom_interface_get(); /// Initializes a new instance of the class. /// Internal usage: This is used when interacting with C code and should not be used directly. diff --git a/internals/src/EflSharp/EflSharp/efl/eina_value.cs b/internals/src/EflSharp/EflSharp/efl/eina_value.cs index 627c7cb34..99cf09757 100644 --- a/internals/src/EflSharp/EflSharp/efl/eina_value.cs +++ b/internals/src/EflSharp/EflSharp/efl/eina_value.cs @@ -182,6 +182,10 @@ static internal class UnsafeNativeMethods [return: MarshalAsAttribute(UnmanagedType.U1)] internal static extern bool eina_value_container_append_wrapper_string(IntPtr handle, string data); + [DllImport(efl.Libs.CustomExports)] + [return: MarshalAsAttribute(UnmanagedType.U1)] + internal static extern bool eina_value_container_append_wrapper_ptr(IntPtr handle, IntPtr data); + [DllImport(efl.Libs.CustomExports)] [return: MarshalAsAttribute(UnmanagedType.U1)] internal static extern bool eina_value_container_append_wrapper_char(IntPtr handle, sbyte data); @@ -278,6 +282,10 @@ static internal class UnsafeNativeMethods [return: MarshalAsAttribute(UnmanagedType.U1)] internal static extern bool eina_value_container_set_wrapper_string(IntPtr handle, int index, string value); + [DllImport(efl.Libs.CustomExports)] + [return: MarshalAsAttribute(UnmanagedType.U1)] + internal static extern bool eina_value_container_set_wrapper_ptr(IntPtr handle, int index, IntPtr value); + [DllImport(efl.Libs.CustomExports)] [return: MarshalAsAttribute(UnmanagedType.U1)] internal static extern bool eina_value_container_set_wrapper_uchar(IntPtr handle, int index, byte value); @@ -378,6 +386,10 @@ static internal class UnsafeNativeMethods [return: MarshalAsAttribute(UnmanagedType.U1)] internal static extern bool eina_value_optional_pset(IntPtr handle, IntPtr subtype, ref string value); + [DllImport(efl.Libs.Eina)] + [return: MarshalAsAttribute(UnmanagedType.U1)] + internal static extern bool eina_value_optional_pset(IntPtr handle, IntPtr subtype, ref IntPtr value); + [DllImport(efl.Libs.Eina)] [return: MarshalAsAttribute(UnmanagedType.U1)] internal static extern bool eina_value_optional_pset(IntPtr handle, IntPtr subtype, IntPtr value); @@ -507,6 +519,10 @@ static internal class UnsafeNativeMethods // Error [DllImport(efl.Libs.CustomExports)] internal static extern IntPtr type_error(); + + // Error + [DllImport(efl.Libs.CustomExports)] + internal static extern IntPtr type_object(); } } @@ -613,6 +629,7 @@ public enum ValueType Optional, /// Error values. Error, + Object, /// Empty values. Empty, } @@ -675,6 +692,11 @@ static class ValueTypeMethods return val == ValueType.Error; } + public static bool IsObject(this ValueType val) + { + return val == ValueType.Object; + } + /// Returns the Marshal.SizeOf for the given ValueType native structure. public static int MarshalSizeOf(this ValueType val) { @@ -771,6 +793,9 @@ static class ValueTypeBridge ManagedToNative.Add(ValueType.Error, type_error()); NativeToManaged.Add(type_error(), ValueType.Error); + ManagedToNative.Add(ValueType.Object, type_object()); + NativeToManaged.Add(type_object(), ValueType.Object); + ManagedToNative.Add(ValueType.Empty, IntPtr.Zero); NativeToManaged.Add(IntPtr.Zero, ValueType.Empty); @@ -1354,6 +1379,32 @@ public class Value : IDisposable, IComparable, IEquatable return b; } + // Efl.Object conversions are made explicit to avoid ambiguity between + // Set(Efl.Object) and Set(Value) when dealing with classes derived from + // Efl.Object. + /// Explicit conversion from EFL objects. + public static explicit operator Value(Efl.Object obj) + { + var v = new Eina.Value(ValueType.Object); + if (!v.Set(obj)) + { + throw new InvalidOperationException("Couldn't set value."); + } + return v; + } + + /// Explicit conversion from Value to Efl.Objects. + public static explicit operator Efl.Object(Value v) + { + Efl.Object obj; + if (!v.Get(out obj)) + { + throw new InvalidOperationException("Couldn't get value."); + } + + return obj; + } + /// Creates an Value instance from a given array description. private static Value FromArrayDesc(Eina.EinaNative.Value_Array arrayDesc) { @@ -1789,6 +1840,22 @@ public class Value : IDisposable, IComparable, IEquatable return eina_value_set_wrapper_int(this.Handle, error_code); } + /// Stores the given object. + public bool Set(Efl.Object value) + { + // FIXME Implement me + SanityChecks(); + + if (this.Optional) + { + IntPtr ptr = value.NativeHandle; + return eina_value_optional_pset(this.Handle, + ValueTypeBridge.GetNative(ValueType.Object), + ref ptr); + } + return eina_value_set_wrapper_ptr(this.Handle, value.NativeHandle); + } + /// Stores the given value into this value. The target value must be an optional. public bool Set(Value value) { @@ -2017,6 +2084,36 @@ public class Value : IDisposable, IComparable, IEquatable return ret; } + /// Gets the currently stored value as an . + public bool Get(out Efl.Object obj) + { + // FIXME Implement me + SanityChecks(); + IntPtr ptr; + bool ret; + + if (this.Optional) + { + ret = eina_value_optional_pget(this.Handle, out ptr); + } + else + { + ret = eina_value_get_wrapper(this.Handle, out ptr); + } + + if (ret) + { + obj = (Efl.Object) Efl.Eo.Globals.CreateWrapperFor(ptr); + } + else + { + obj = null; + } + + return ret; + } + + /// Gets the currently stored value as an complex (e.g. container) Eina.Value. public bool Get(out Value value) { @@ -2281,6 +2378,11 @@ public class Value : IDisposable, IComparable, IEquatable string x = Convert.ToString(o); return eina_value_container_append_wrapper_string(this.Handle, x); } + case ValueType.Object: + { + var x = (Efl.Object) o; + return eina_value_container_append_wrapper_ptr(this.Handle, x.NativeHandle); + } } return false; @@ -2374,6 +2476,12 @@ public class Value : IDisposable, IComparable, IEquatable eina_value_container_get_wrapper(this.Handle, i, out ptr); return Eina.StringConversion.NativeUtf8ToManagedString(ptr); } + case ValueType.Object: + { + IntPtr ptr = IntPtr.Zero; + eina_value_container_get_wrapper(this.Handle, i, out ptr); + return Efl.Eo.Globals.CreateWrapperFor(ptr); + } default: throw new InvalidOperationException("Subtype not supported."); @@ -2463,6 +2571,12 @@ public class Value : IDisposable, IComparable, IEquatable eina_value_container_set_wrapper_string(this.Handle, i, x); break; } + case ValueType.Object: + { + Efl.Object x = (Efl.Object)value; + eina_value_container_set_wrapper_ptr(this.Handle, i, x.NativeHandle); + break; + } } } } diff --git a/internals/src/EflSharp/EflSharp/efl/elm_interface_scrollable.eo.cs b/internals/src/EflSharp/EflSharp/efl/elm_interface_scrollable.eo.cs index 3c13baae4..0e7852bd7 100644 --- a/internals/src/EflSharp/EflSharp/efl/elm_interface_scrollable.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/elm_interface_scrollable.eo.cs @@ -655,7 +655,7 @@ sealed public class IInterfaceScrollableConcrete : }; string key = "_EFL_UI_EVENT_SCROLL_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -664,7 +664,7 @@ sealed public class IInterfaceScrollableConcrete : lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -672,7 +672,7 @@ sealed public class IInterfaceScrollableConcrete : public void OnScrollStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -707,7 +707,7 @@ sealed public class IInterfaceScrollableConcrete : }; string key = "_EFL_UI_EVENT_SCROLL"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -716,7 +716,7 @@ sealed public class IInterfaceScrollableConcrete : lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -724,7 +724,7 @@ sealed public class IInterfaceScrollableConcrete : public void OnScrollEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -759,7 +759,7 @@ sealed public class IInterfaceScrollableConcrete : }; string key = "_EFL_UI_EVENT_SCROLL_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -768,7 +768,7 @@ sealed public class IInterfaceScrollableConcrete : lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -776,7 +776,7 @@ sealed public class IInterfaceScrollableConcrete : public void OnScrollStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -811,7 +811,7 @@ sealed public class IInterfaceScrollableConcrete : }; string key = "_EFL_UI_EVENT_SCROLL_UP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -820,7 +820,7 @@ sealed public class IInterfaceScrollableConcrete : lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_UP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -828,7 +828,7 @@ sealed public class IInterfaceScrollableConcrete : public void OnScrollUpEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_UP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -863,7 +863,7 @@ sealed public class IInterfaceScrollableConcrete : }; string key = "_EFL_UI_EVENT_SCROLL_DOWN"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -872,7 +872,7 @@ sealed public class IInterfaceScrollableConcrete : lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DOWN"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -880,7 +880,7 @@ sealed public class IInterfaceScrollableConcrete : public void OnScrollDownEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DOWN"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -915,7 +915,7 @@ sealed public class IInterfaceScrollableConcrete : }; string key = "_EFL_UI_EVENT_SCROLL_LEFT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -924,7 +924,7 @@ sealed public class IInterfaceScrollableConcrete : lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_LEFT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -932,7 +932,7 @@ sealed public class IInterfaceScrollableConcrete : public void OnScrollLeftEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_LEFT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -967,7 +967,7 @@ sealed public class IInterfaceScrollableConcrete : }; string key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -976,7 +976,7 @@ sealed public class IInterfaceScrollableConcrete : lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -984,7 +984,7 @@ sealed public class IInterfaceScrollableConcrete : public void OnScrollRightEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_RIGHT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1019,7 +1019,7 @@ sealed public class IInterfaceScrollableConcrete : }; string key = "_EFL_UI_EVENT_EDGE_UP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1028,7 +1028,7 @@ sealed public class IInterfaceScrollableConcrete : lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_UP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1036,7 +1036,7 @@ sealed public class IInterfaceScrollableConcrete : public void OnEdgeUpEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_UP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1071,7 +1071,7 @@ sealed public class IInterfaceScrollableConcrete : }; string key = "_EFL_UI_EVENT_EDGE_DOWN"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1080,7 +1080,7 @@ sealed public class IInterfaceScrollableConcrete : lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_DOWN"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1088,7 +1088,7 @@ sealed public class IInterfaceScrollableConcrete : public void OnEdgeDownEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_DOWN"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1123,7 +1123,7 @@ sealed public class IInterfaceScrollableConcrete : }; string key = "_EFL_UI_EVENT_EDGE_LEFT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1132,7 +1132,7 @@ sealed public class IInterfaceScrollableConcrete : lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_LEFT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1140,7 +1140,7 @@ sealed public class IInterfaceScrollableConcrete : public void OnEdgeLeftEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_LEFT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1175,7 +1175,7 @@ sealed public class IInterfaceScrollableConcrete : }; string key = "_EFL_UI_EVENT_EDGE_RIGHT"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1184,7 +1184,7 @@ sealed public class IInterfaceScrollableConcrete : lock (eventLock) { string key = "_EFL_UI_EVENT_EDGE_RIGHT"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1192,7 +1192,7 @@ sealed public class IInterfaceScrollableConcrete : public void OnEdgeRightEvt(EventArgs e) { var key = "_EFL_UI_EVENT_EDGE_RIGHT"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1227,7 +1227,7 @@ sealed public class IInterfaceScrollableConcrete : }; string key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1236,7 +1236,7 @@ sealed public class IInterfaceScrollableConcrete : lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1244,7 +1244,7 @@ sealed public class IInterfaceScrollableConcrete : public void OnScrollAnimStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_ANIM_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1279,7 +1279,7 @@ sealed public class IInterfaceScrollableConcrete : }; string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1288,7 +1288,7 @@ sealed public class IInterfaceScrollableConcrete : lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1296,7 +1296,7 @@ sealed public class IInterfaceScrollableConcrete : public void OnScrollAnimStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_ANIM_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1331,7 +1331,7 @@ sealed public class IInterfaceScrollableConcrete : }; string key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1340,7 +1340,7 @@ sealed public class IInterfaceScrollableConcrete : lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1348,7 +1348,7 @@ sealed public class IInterfaceScrollableConcrete : public void OnScrollDragStartEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DRAG_START"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -1383,7 +1383,7 @@ sealed public class IInterfaceScrollableConcrete : }; string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value); + AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value); } } @@ -1392,7 +1392,7 @@ sealed public class IInterfaceScrollableConcrete : lock (eventLock) { string key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - RemoveNativeEventHandler(efl.Libs.Efl, key, value); + RemoveNativeEventHandler(efl.Libs.Elementary, key, value); } } } @@ -1400,7 +1400,7 @@ sealed public class IInterfaceScrollableConcrete : public void OnScrollDragStopEvt(EventArgs e) { var key = "_EFL_UI_EVENT_SCROLL_DRAG_STOP"; - IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key); + IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key); if (desc == IntPtr.Zero) { Eina.Log.Error($"Failed to get native event {key}"); @@ -3663,7 +3663,7 @@ sealed public class IInterfaceScrollableConcrete : x = default(double); y = default(double); try { - ((IInterfaceScrollableConcrete)ws.Target).GetGravity(out x, out y); + ((IInterfaceScrollable)ws.Target).GetGravity(out x, out y); } catch (Exception e) { @@ -3698,7 +3698,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetGravity(x, y); + ((IInterfaceScrollable)ws.Target).SetGravity(x, y); } catch (Exception e) { @@ -3733,7 +3733,7 @@ sealed public class IInterfaceScrollableConcrete : horiz = default(bool); vert = default(bool); try { - ((IInterfaceScrollableConcrete)ws.Target).GetBounceAllow(out horiz, out vert); + ((IInterfaceScrollable)ws.Target).GetBounceAllow(out horiz, out vert); } catch (Exception e) { @@ -3768,7 +3768,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetBounceAllow(horiz, vert); + ((IInterfaceScrollable)ws.Target).SetBounceAllow(horiz, vert); } catch (Exception e) { @@ -3803,7 +3803,7 @@ sealed public class IInterfaceScrollableConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IInterfaceScrollableConcrete)ws.Target).GetWheelDisabled(); + _ret_var = ((IInterfaceScrollable)ws.Target).GetWheelDisabled(); } catch (Exception e) { @@ -3839,7 +3839,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetWheelDisabled(disabled); + ((IInterfaceScrollable)ws.Target).SetWheelDisabled(disabled); } catch (Exception e) { @@ -3874,7 +3874,7 @@ sealed public class IInterfaceScrollableConcrete : Efl.Ui.ScrollBlock _ret_var = default(Efl.Ui.ScrollBlock); try { - _ret_var = ((IInterfaceScrollableConcrete)ws.Target).GetMovementBlock(); + _ret_var = ((IInterfaceScrollable)ws.Target).GetMovementBlock(); } catch (Exception e) { @@ -3910,7 +3910,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetMovementBlock(block); + ((IInterfaceScrollable)ws.Target).SetMovementBlock(block); } catch (Exception e) { @@ -3945,7 +3945,7 @@ sealed public class IInterfaceScrollableConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IInterfaceScrollableConcrete)ws.Target).GetMomentumAnimatorDisabled(); + _ret_var = ((IInterfaceScrollable)ws.Target).GetMomentumAnimatorDisabled(); } catch (Exception e) { @@ -3981,7 +3981,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetMomentumAnimatorDisabled(disabled); + ((IInterfaceScrollable)ws.Target).SetMomentumAnimatorDisabled(disabled); } catch (Exception e) { @@ -4016,7 +4016,7 @@ sealed public class IInterfaceScrollableConcrete : hbar = default(Elm.Scroller.Policy); vbar = default(Elm.Scroller.Policy); try { - ((IInterfaceScrollableConcrete)ws.Target).GetPolicy(out hbar, out vbar); + ((IInterfaceScrollable)ws.Target).GetPolicy(out hbar, out vbar); } catch (Exception e) { @@ -4051,7 +4051,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetPolicy(hbar, vbar); + ((IInterfaceScrollable)ws.Target).SetPolicy(hbar, vbar); } catch (Exception e) { @@ -4086,7 +4086,7 @@ sealed public class IInterfaceScrollableConcrete : x = default(int); y = default(int); w = default(int); h = default(int); try { - ((IInterfaceScrollableConcrete)ws.Target).GetContentRegion(out x, out y, out w, out h); + ((IInterfaceScrollable)ws.Target).GetContentRegion(out x, out y, out w, out h); } catch (Exception e) { @@ -4121,7 +4121,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetContentRegion(x, y, w, h); + ((IInterfaceScrollable)ws.Target).SetContentRegion(x, y, w, h); } catch (Exception e) { @@ -4156,7 +4156,7 @@ sealed public class IInterfaceScrollableConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IInterfaceScrollableConcrete)ws.Target).GetContentEvents(); + _ret_var = ((IInterfaceScrollable)ws.Target).GetContentEvents(); } catch (Exception e) { @@ -4192,7 +4192,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetContentEvents(repeat_events); + ((IInterfaceScrollable)ws.Target).SetContentEvents(repeat_events); } catch (Exception e) { @@ -4227,7 +4227,7 @@ sealed public class IInterfaceScrollableConcrete : x = default(int); y = default(int); try { - ((IInterfaceScrollableConcrete)ws.Target).GetPageSize(out x, out y); + ((IInterfaceScrollable)ws.Target).GetPageSize(out x, out y); } catch (Exception e) { @@ -4262,7 +4262,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetPageSize(x, y); + ((IInterfaceScrollable)ws.Target).SetPageSize(x, y); } catch (Exception e) { @@ -4297,7 +4297,7 @@ sealed public class IInterfaceScrollableConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IInterfaceScrollableConcrete)ws.Target).GetBounceAnimatorDisabled(); + _ret_var = ((IInterfaceScrollable)ws.Target).GetBounceAnimatorDisabled(); } catch (Exception e) { @@ -4333,7 +4333,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetBounceAnimatorDisabled(disabled); + ((IInterfaceScrollable)ws.Target).SetBounceAnimatorDisabled(disabled); } catch (Exception e) { @@ -4368,7 +4368,7 @@ sealed public class IInterfaceScrollableConcrete : page_limit_h = default(int); page_limit_v = default(int); try { - ((IInterfaceScrollableConcrete)ws.Target).GetPageScrollLimit(out page_limit_h, out page_limit_v); + ((IInterfaceScrollable)ws.Target).GetPageScrollLimit(out page_limit_h, out page_limit_v); } catch (Exception e) { @@ -4403,7 +4403,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetPageScrollLimit(page_limit_h, page_limit_v); + ((IInterfaceScrollable)ws.Target).SetPageScrollLimit(page_limit_h, page_limit_v); } catch (Exception e) { @@ -4438,7 +4438,7 @@ sealed public class IInterfaceScrollableConcrete : horiz = default(bool); vert = default(bool); try { - ((IInterfaceScrollableConcrete)ws.Target).GetPageSnapAllow(out horiz, out vert); + ((IInterfaceScrollable)ws.Target).GetPageSnapAllow(out horiz, out vert); } catch (Exception e) { @@ -4473,7 +4473,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetPageSnapAllow(horiz, vert); + ((IInterfaceScrollable)ws.Target).SetPageSnapAllow(horiz, vert); } catch (Exception e) { @@ -4508,7 +4508,7 @@ sealed public class IInterfaceScrollableConcrete : pagerel_h = default(double); pagerel_v = default(double); pagesize_h = default(int); pagesize_v = default(int); try { - ((IInterfaceScrollableConcrete)ws.Target).GetPaging(out pagerel_h, out pagerel_v, out pagesize_h, out pagesize_v); + ((IInterfaceScrollable)ws.Target).GetPaging(out pagerel_h, out pagerel_v, out pagesize_h, out pagesize_v); } catch (Exception e) { @@ -4543,7 +4543,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetPaging(pagerel_h, pagerel_v, pagesize_h, pagesize_v); + ((IInterfaceScrollable)ws.Target).SetPaging(pagerel_h, pagerel_v, pagesize_h, pagesize_v); } catch (Exception e) { @@ -4578,7 +4578,7 @@ sealed public class IInterfaceScrollableConcrete : Elm.Scroller.SingleDirection _ret_var = default(Elm.Scroller.SingleDirection); try { - _ret_var = ((IInterfaceScrollableConcrete)ws.Target).GetSingleDirection(); + _ret_var = ((IInterfaceScrollable)ws.Target).GetSingleDirection(); } catch (Exception e) { @@ -4614,7 +4614,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetSingleDirection(single_dir); + ((IInterfaceScrollable)ws.Target).SetSingleDirection(single_dir); } catch (Exception e) { @@ -4649,7 +4649,7 @@ sealed public class IInterfaceScrollableConcrete : x = default(int); y = default(int); try { - ((IInterfaceScrollableConcrete)ws.Target).GetStepSize(out x, out y); + ((IInterfaceScrollable)ws.Target).GetStepSize(out x, out y); } catch (Exception e) { @@ -4684,7 +4684,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetStepSize(x, y); + ((IInterfaceScrollable)ws.Target).SetStepSize(x, y); } catch (Exception e) { @@ -4719,7 +4719,7 @@ sealed public class IInterfaceScrollableConcrete : loop_h = default(bool); loop_v = default(bool); try { - ((IInterfaceScrollableConcrete)ws.Target).GetContentLoop(out loop_h, out loop_v); + ((IInterfaceScrollable)ws.Target).GetContentLoop(out loop_h, out loop_v); } catch (Exception e) { @@ -4754,7 +4754,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetContentLoop(loop_h, loop_v); + ((IInterfaceScrollable)ws.Target).SetContentLoop(loop_h, loop_v); } catch (Exception e) { @@ -4789,7 +4789,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetScrollUpCb(scroll_up_cb); + ((IInterfaceScrollable)ws.Target).SetScrollUpCb(scroll_up_cb); } catch (Exception e) { @@ -4824,7 +4824,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetHbarDragCb(hbar_drag_cb); + ((IInterfaceScrollable)ws.Target).SetHbarDragCb(hbar_drag_cb); } catch (Exception e) { @@ -4859,7 +4859,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetDragStartCb(drag_start_cb); + ((IInterfaceScrollable)ws.Target).SetDragStartCb(drag_start_cb); } catch (Exception e) { @@ -4894,7 +4894,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetScrollStartCb(scroll_start_cb); + ((IInterfaceScrollable)ws.Target).SetScrollStartCb(scroll_start_cb); } catch (Exception e) { @@ -4929,7 +4929,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetFreeze(freeze); + ((IInterfaceScrollable)ws.Target).SetFreeze(freeze); } catch (Exception e) { @@ -4964,7 +4964,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetContentViewportResizeCb(viewport_resize_cb); + ((IInterfaceScrollable)ws.Target).SetContentViewportResizeCb(viewport_resize_cb); } catch (Exception e) { @@ -4999,7 +4999,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetScrollLeftCb(scroll_left_cb); + ((IInterfaceScrollable)ws.Target).SetScrollLeftCb(scroll_left_cb); } catch (Exception e) { @@ -5034,7 +5034,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetVbarPressCb(vbar_press_cb); + ((IInterfaceScrollable)ws.Target).SetVbarPressCb(vbar_press_cb); } catch (Exception e) { @@ -5069,7 +5069,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetHbarPressCb(hbar_press_cb); + ((IInterfaceScrollable)ws.Target).SetHbarPressCb(hbar_press_cb); } catch (Exception e) { @@ -5104,7 +5104,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetHbarUnpressCb(hbar_unpress_cb); + ((IInterfaceScrollable)ws.Target).SetHbarUnpressCb(hbar_unpress_cb); } catch (Exception e) { @@ -5139,7 +5139,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetDragStopCb(drag_stop_cb); + ((IInterfaceScrollable)ws.Target).SetDragStopCb(drag_stop_cb); } catch (Exception e) { @@ -5174,7 +5174,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetScrollStopCb(scroll_stop_cb); + ((IInterfaceScrollable)ws.Target).SetScrollStopCb(scroll_stop_cb); } catch (Exception e) { @@ -5209,7 +5209,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetExternPan(pan); + ((IInterfaceScrollable)ws.Target).SetExternPan(pan); } catch (Exception e) { @@ -5244,7 +5244,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetPageChangeCb(page_change_cb); + ((IInterfaceScrollable)ws.Target).SetPageChangeCb(page_change_cb); } catch (Exception e) { @@ -5279,7 +5279,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetHold(hold); + ((IInterfaceScrollable)ws.Target).SetHold(hold); } catch (Exception e) { @@ -5314,7 +5314,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetAnimateStartCb(animate_start_cb); + ((IInterfaceScrollable)ws.Target).SetAnimateStartCb(animate_start_cb); } catch (Exception e) { @@ -5349,7 +5349,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetScrollDownCb(scroll_down_cb); + ((IInterfaceScrollable)ws.Target).SetScrollDownCb(scroll_down_cb); } catch (Exception e) { @@ -5384,7 +5384,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetPageRelative(h_pagerel, v_pagerel); + ((IInterfaceScrollable)ws.Target).SetPageRelative(h_pagerel, v_pagerel); } catch (Exception e) { @@ -5419,7 +5419,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetScrollCb(scroll_cb); + ((IInterfaceScrollable)ws.Target).SetScrollCb(scroll_cb); } catch (Exception e) { @@ -5454,7 +5454,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetAnimateStopCb(animate_stop_cb); + ((IInterfaceScrollable)ws.Target).SetAnimateStopCb(animate_stop_cb); } catch (Exception e) { @@ -5489,7 +5489,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetContentMinLimitCb(min_limit_cb); + ((IInterfaceScrollable)ws.Target).SetContentMinLimitCb(min_limit_cb); } catch (Exception e) { @@ -5524,7 +5524,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetScrollRightCb(scroll_right_cb); + ((IInterfaceScrollable)ws.Target).SetScrollRightCb(scroll_right_cb); } catch (Exception e) { @@ -5559,7 +5559,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetScrollableContent(content); + ((IInterfaceScrollable)ws.Target).SetScrollableContent(content); } catch (Exception e) { @@ -5594,7 +5594,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetEdgeLeftCb(edge_left_cb); + ((IInterfaceScrollable)ws.Target).SetEdgeLeftCb(edge_left_cb); } catch (Exception e) { @@ -5629,7 +5629,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetVbarDragCb(vbar_drag_cb); + ((IInterfaceScrollable)ws.Target).SetVbarDragCb(vbar_drag_cb); } catch (Exception e) { @@ -5664,7 +5664,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetVbarUnpressCb(vbar_unpress_cb); + ((IInterfaceScrollable)ws.Target).SetVbarUnpressCb(vbar_unpress_cb); } catch (Exception e) { @@ -5699,7 +5699,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetEdgeBottomCb(edge_bottom_cb); + ((IInterfaceScrollable)ws.Target).SetEdgeBottomCb(edge_bottom_cb); } catch (Exception e) { @@ -5734,7 +5734,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetEdgeRightCb(edge_right_cb); + ((IInterfaceScrollable)ws.Target).SetEdgeRightCb(edge_right_cb); } catch (Exception e) { @@ -5769,7 +5769,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetEdgeTopCb(edge_top_cb); + ((IInterfaceScrollable)ws.Target).SetEdgeTopCb(edge_top_cb); } catch (Exception e) { @@ -5804,7 +5804,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetObjects(edje_object, hit_rectangle); + ((IInterfaceScrollable)ws.Target).SetObjects(edje_object, hit_rectangle); } catch (Exception e) { @@ -5839,7 +5839,7 @@ sealed public class IInterfaceScrollableConcrete : pagenumber_h = default(int); pagenumber_v = default(int); try { - ((IInterfaceScrollableConcrete)ws.Target).GetLastPage(out pagenumber_h, out pagenumber_v); + ((IInterfaceScrollable)ws.Target).GetLastPage(out pagenumber_h, out pagenumber_v); } catch (Exception e) { @@ -5874,7 +5874,7 @@ sealed public class IInterfaceScrollableConcrete : pagenumber_h = default(int); pagenumber_v = default(int); try { - ((IInterfaceScrollableConcrete)ws.Target).GetCurrentPage(out pagenumber_h, out pagenumber_v); + ((IInterfaceScrollable)ws.Target).GetCurrentPage(out pagenumber_h, out pagenumber_v); } catch (Exception e) { @@ -5909,7 +5909,7 @@ sealed public class IInterfaceScrollableConcrete : x = default(int); y = default(int); w = default(int); h = default(int); try { - ((IInterfaceScrollableConcrete)ws.Target).GetContentViewportGeometry(out x, out y, out w, out h); + ((IInterfaceScrollable)ws.Target).GetContentViewportGeometry(out x, out y, out w, out h); } catch (Exception e) { @@ -5944,7 +5944,7 @@ sealed public class IInterfaceScrollableConcrete : w = default(int); h = default(int); try { - ((IInterfaceScrollableConcrete)ws.Target).GetContentSize(out w, out h); + ((IInterfaceScrollable)ws.Target).GetContentSize(out w, out h); } catch (Exception e) { @@ -5979,7 +5979,7 @@ sealed public class IInterfaceScrollableConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IInterfaceScrollableConcrete)ws.Target).GetItemLoopEnabled(); + _ret_var = ((IInterfaceScrollable)ws.Target).GetItemLoopEnabled(); } catch (Exception e) { @@ -6015,7 +6015,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetItemLoopEnabled(enable); + ((IInterfaceScrollable)ws.Target).SetItemLoopEnabled(enable); } catch (Exception e) { @@ -6050,7 +6050,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetContentPos(x, y, sig); + ((IInterfaceScrollable)ws.Target).SetContentPos(x, y, sig); } catch (Exception e) { @@ -6085,7 +6085,7 @@ sealed public class IInterfaceScrollableConcrete : x = default(int); y = default(int); try { - ((IInterfaceScrollableConcrete)ws.Target).GetContentPos(out x, out y); + ((IInterfaceScrollable)ws.Target).GetContentPos(out x, out y); } catch (Exception e) { @@ -6120,7 +6120,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).ShowPage(pagenumber_h, pagenumber_v); + ((IInterfaceScrollable)ws.Target).ShowPage(pagenumber_h, pagenumber_v); } catch (Exception e) { @@ -6155,7 +6155,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).RegionBringIn(x, y, w, h); + ((IInterfaceScrollable)ws.Target).RegionBringIn(x, y, w, h); } catch (Exception e) { @@ -6190,7 +6190,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).PageBringIn(pagenumber_h, pagenumber_v); + ((IInterfaceScrollable)ws.Target).PageBringIn(pagenumber_h, pagenumber_v); } catch (Exception e) { @@ -6225,7 +6225,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).ShowContentRegion(x, y, w, h); + ((IInterfaceScrollable)ws.Target).ShowContentRegion(x, y, w, h); } catch (Exception e) { @@ -6260,7 +6260,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).ContentMinLimit(w, h); + ((IInterfaceScrollable)ws.Target).ContentMinLimit(w, h); } catch (Exception e) { @@ -6295,7 +6295,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetWantedRegion(x, y); + ((IInterfaceScrollable)ws.Target).SetWantedRegion(x, y); } catch (Exception e) { @@ -6332,7 +6332,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).CustomPanPosAdjust(_in_x, _in_y); + ((IInterfaceScrollable)ws.Target).CustomPanPosAdjust(_in_x, _in_y); } catch (Exception e) { @@ -6367,7 +6367,7 @@ sealed public class IInterfaceScrollableConcrete : Efl.Ui.Focus.IManager _ret_var = default(Efl.Ui.Focus.IManager); try { - _ret_var = ((IInterfaceScrollableConcrete)ws.Target).FocusManagerCreate(root); + _ret_var = ((IInterfaceScrollable)ws.Target).FocusManagerCreate(root); } catch (Exception e) { @@ -6403,7 +6403,7 @@ sealed public class IInterfaceScrollableConcrete : Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { - _ret_var = ((IInterfaceScrollableConcrete)ws.Target).GetManagerFocus(); + _ret_var = ((IInterfaceScrollable)ws.Target).GetManagerFocus(); } catch (Exception e) { @@ -6439,7 +6439,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetManagerFocus(focus); + ((IInterfaceScrollable)ws.Target).SetManagerFocus(focus); } catch (Exception e) { @@ -6474,7 +6474,7 @@ sealed public class IInterfaceScrollableConcrete : Efl.Ui.Focus.IManager _ret_var = default(Efl.Ui.Focus.IManager); try { - _ret_var = ((IInterfaceScrollableConcrete)ws.Target).GetRedirect(); + _ret_var = ((IInterfaceScrollable)ws.Target).GetRedirect(); } catch (Exception e) { @@ -6510,7 +6510,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetRedirect(redirect); + ((IInterfaceScrollable)ws.Target).SetRedirect(redirect); } catch (Exception e) { @@ -6545,7 +6545,7 @@ sealed public class IInterfaceScrollableConcrete : Eina.Iterator _ret_var = default(Eina.Iterator); try { - _ret_var = ((IInterfaceScrollableConcrete)ws.Target).GetBorderElements(); + _ret_var = ((IInterfaceScrollable)ws.Target).GetBorderElements(); } catch (Exception e) { @@ -6582,7 +6582,7 @@ sealed public class IInterfaceScrollableConcrete : Eina.Iterator _ret_var = default(Eina.Iterator); try { - _ret_var = ((IInterfaceScrollableConcrete)ws.Target).GetViewportElements(_in_viewport); + _ret_var = ((IInterfaceScrollable)ws.Target).GetViewportElements(_in_viewport); } catch (Exception e) { @@ -6618,7 +6618,7 @@ sealed public class IInterfaceScrollableConcrete : Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { - _ret_var = ((IInterfaceScrollableConcrete)ws.Target).GetRoot(); + _ret_var = ((IInterfaceScrollable)ws.Target).GetRoot(); } catch (Exception e) { @@ -6654,7 +6654,7 @@ sealed public class IInterfaceScrollableConcrete : bool _ret_var = default(bool); try { - _ret_var = ((IInterfaceScrollableConcrete)ws.Target).SetRoot(root); + _ret_var = ((IInterfaceScrollable)ws.Target).SetRoot(root); } catch (Exception e) { @@ -6690,7 +6690,7 @@ sealed public class IInterfaceScrollableConcrete : Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { - _ret_var = ((IInterfaceScrollableConcrete)ws.Target).Move(direction); + _ret_var = ((IInterfaceScrollable)ws.Target).Move(direction); } catch (Exception e) { @@ -6726,7 +6726,7 @@ sealed public class IInterfaceScrollableConcrete : Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { - _ret_var = ((IInterfaceScrollableConcrete)ws.Target).MoveRequest(direction, child, logical); + _ret_var = ((IInterfaceScrollable)ws.Target).MoveRequest(direction, child, logical); } catch (Exception e) { @@ -6762,7 +6762,7 @@ sealed public class IInterfaceScrollableConcrete : Efl.Ui.Focus.IObject _ret_var = default(Efl.Ui.Focus.IObject); try { - _ret_var = ((IInterfaceScrollableConcrete)ws.Target).RequestSubchild(root); + _ret_var = ((IInterfaceScrollable)ws.Target).RequestSubchild(root); } catch (Exception e) { @@ -6798,7 +6798,7 @@ sealed public class IInterfaceScrollableConcrete : Efl.Ui.Focus.Relations _ret_var = default(Efl.Ui.Focus.Relations); try { - _ret_var = ((IInterfaceScrollableConcrete)ws.Target).Fetch(child); + _ret_var = ((IInterfaceScrollable)ws.Target).Fetch(child); } catch (Exception e) { @@ -6834,7 +6834,7 @@ sealed public class IInterfaceScrollableConcrete : Efl.Ui.Focus.ManagerLogicalEndDetail _ret_var = default(Efl.Ui.Focus.ManagerLogicalEndDetail); try { - _ret_var = ((IInterfaceScrollableConcrete)ws.Target).LogicalEnd(); + _ret_var = ((IInterfaceScrollable)ws.Target).LogicalEnd(); } catch (Exception e) { @@ -6870,7 +6870,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).ResetHistory(); + ((IInterfaceScrollable)ws.Target).ResetHistory(); } catch (Exception e) { @@ -6905,7 +6905,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).PopHistoryStack(); + ((IInterfaceScrollable)ws.Target).PopHistoryStack(); } catch (Exception e) { @@ -6940,7 +6940,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).SetupOnFirstTouch(direction, entry); + ((IInterfaceScrollable)ws.Target).SetupOnFirstTouch(direction, entry); } catch (Exception e) { @@ -6975,7 +6975,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).FreezeDirtyLogic(); + ((IInterfaceScrollable)ws.Target).FreezeDirtyLogic(); } catch (Exception e) { @@ -7010,7 +7010,7 @@ sealed public class IInterfaceScrollableConcrete : try { - ((IInterfaceScrollableConcrete)ws.Target).DirtyLogicUnfreeze(); + ((IInterfaceScrollable)ws.Target).DirtyLogicUnfreeze(); } catch (Exception e) { diff --git a/internals/src/EflSharp/EflSharp/efl/iwrapper.cs b/internals/src/EflSharp/EflSharp/efl/iwrapper.cs index 9e73ca468..5fe1daae9 100644 --- a/internals/src/EflSharp/EflSharp/efl/iwrapper.cs +++ b/internals/src/EflSharp/EflSharp/efl/iwrapper.cs @@ -334,7 +334,16 @@ public class Globals public static byte class_initializer_call(IntPtr klass, System.Type type) { Eina.Log.Debug($"called with 0x{klass.ToInt64():x} {type}"); - Efl.Eo.NativeClass nativeClass = GetNativeClass(type.BaseType); + var derived = type.BaseType; + Efl.Eo.NativeClass nativeClass = GetNativeClass(derived); + + while (nativeClass == null) + { + derived = derived.BaseType; + if (derived == null) + break; + nativeClass = GetNativeClass(derived); + } if (nativeClass != null) { -- 2.34.1