public override System.Collections.Generic.List <Efl_Op_Description> GetEoOps(System.Type type) { var descs = new System.Collections.Generic.List <Efl_Op_Description>(); if (efl_ui_tab_bar_current_tab_get_static_delegate == null) { efl_ui_tab_bar_current_tab_get_static_delegate = new efl_ui_tab_bar_current_tab_get_delegate(current_tab_get); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_tab_bar_current_tab_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_tab_bar_current_tab_get_static_delegate) }); if (efl_ui_tab_bar_current_tab_set_static_delegate == null) { efl_ui_tab_bar_current_tab_set_static_delegate = new efl_ui_tab_bar_current_tab_set_delegate(current_tab_set); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_tab_bar_current_tab_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_tab_bar_current_tab_set_static_delegate) }); if (efl_ui_tab_bar_tab_count_static_delegate == null) { efl_ui_tab_bar_tab_count_static_delegate = new efl_ui_tab_bar_tab_count_delegate(tab_count); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_tab_bar_tab_count"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_tab_bar_tab_count_static_delegate) }); if (efl_ui_tab_bar_tab_add_static_delegate == null) { efl_ui_tab_bar_tab_add_static_delegate = new efl_ui_tab_bar_tab_add_delegate(tab_add); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_tab_bar_tab_add"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_tab_bar_tab_add_static_delegate) }); if (efl_ui_tab_bar_tab_remove_static_delegate == null) { efl_ui_tab_bar_tab_remove_static_delegate = new efl_ui_tab_bar_tab_remove_delegate(tab_remove); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_tab_bar_tab_remove"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_tab_bar_tab_remove_static_delegate) }); if (efl_ui_tab_bar_tab_label_set_static_delegate == null) { efl_ui_tab_bar_tab_label_set_static_delegate = new efl_ui_tab_bar_tab_label_set_delegate(tab_label_set); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_tab_bar_tab_label_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_tab_bar_tab_label_set_static_delegate) }); if (efl_ui_tab_bar_tab_icon_set_static_delegate == null) { efl_ui_tab_bar_tab_icon_set_static_delegate = new efl_ui_tab_bar_tab_icon_set_delegate(tab_icon_set); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_tab_bar_tab_icon_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_tab_bar_tab_icon_set_static_delegate) }); descs.AddRange(base.GetEoOps(type)); return(descs); }
/// <summary>Gets the list of Eo operations to override.</summary> /// <returns>The list of Eo operations to be overload.</returns> public override System.Collections.Generic.List <Efl_Op_Description> GetEoOps(System.Type type) { var descs = new System.Collections.Generic.List <Efl_Op_Description>(); var methods = Efl.Eo.Globals.GetUserMethods(type); if (efl_ui_tab_bar_current_tab_get_static_delegate == null) { efl_ui_tab_bar_current_tab_get_static_delegate = new efl_ui_tab_bar_current_tab_get_delegate(current_tab_get); } if (methods.FirstOrDefault(m => m.Name == "GetCurrentTab") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_tab_bar_current_tab_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_tab_bar_current_tab_get_static_delegate) }); } if (efl_ui_tab_bar_current_tab_set_static_delegate == null) { efl_ui_tab_bar_current_tab_set_static_delegate = new efl_ui_tab_bar_current_tab_set_delegate(current_tab_set); } if (methods.FirstOrDefault(m => m.Name == "SetCurrentTab") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_tab_bar_current_tab_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_tab_bar_current_tab_set_static_delegate) }); } if (efl_ui_tab_bar_tab_count_static_delegate == null) { efl_ui_tab_bar_tab_count_static_delegate = new efl_ui_tab_bar_tab_count_delegate(tab_count); } if (methods.FirstOrDefault(m => m.Name == "TabCount") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_tab_bar_tab_count"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_tab_bar_tab_count_static_delegate) }); } if (efl_ui_tab_bar_tab_add_static_delegate == null) { efl_ui_tab_bar_tab_add_static_delegate = new efl_ui_tab_bar_tab_add_delegate(tab_add); } if (methods.FirstOrDefault(m => m.Name == "AddTab") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_tab_bar_tab_add"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_tab_bar_tab_add_static_delegate) }); } if (efl_ui_tab_bar_tab_remove_static_delegate == null) { efl_ui_tab_bar_tab_remove_static_delegate = new efl_ui_tab_bar_tab_remove_delegate(tab_remove); } if (methods.FirstOrDefault(m => m.Name == "TabRemove") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_tab_bar_tab_remove"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_tab_bar_tab_remove_static_delegate) }); } if (efl_ui_tab_bar_tab_label_set_static_delegate == null) { efl_ui_tab_bar_tab_label_set_static_delegate = new efl_ui_tab_bar_tab_label_set_delegate(tab_label_set); } if (methods.FirstOrDefault(m => m.Name == "SetTabLabel") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_tab_bar_tab_label_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_tab_bar_tab_label_set_static_delegate) }); } if (efl_ui_tab_bar_tab_icon_set_static_delegate == null) { efl_ui_tab_bar_tab_icon_set_static_delegate = new efl_ui_tab_bar_tab_icon_set_delegate(tab_icon_set); } if (methods.FirstOrDefault(m => m.Name == "SetTabIcon") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_tab_bar_tab_icon_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_tab_bar_tab_icon_set_static_delegate) }); } descs.AddRange(base.GetEoOps(type)); return(descs); }