- var descs = new System.Collections.Generic.List<Efl_Op_Description>();
- var methods = Efl.Eo.Globals.GetUserMethods(type);
- if (efl_ui_tab_page_part_tab_icon_get_static_delegate == null)
- efl_ui_tab_page_part_tab_icon_get_static_delegate = new efl_ui_tab_page_part_tab_icon_get_delegate(icon_get);
- if (methods.FirstOrDefault(m => m.Name == "GetIcon") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_tab_page_part_tab_icon_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_tab_page_part_tab_icon_get_static_delegate)});
- if (efl_ui_tab_page_part_tab_icon_set_static_delegate == null)
- efl_ui_tab_page_part_tab_icon_set_static_delegate = new efl_ui_tab_page_part_tab_icon_set_delegate(icon_set);
- if (methods.FirstOrDefault(m => m.Name == "SetIcon") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_ui_tab_page_part_tab_icon_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_tab_page_part_tab_icon_set_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)});
- descs.AddRange(base.GetEoOps(type));
- return descs;
- }
- public override IntPtr GetEflClass()
- {
- return Efl.Ui.TabPagePartTab.efl_ui_tab_page_part_tab_class_get();
- }
- public static new IntPtr GetEflClassStatic()
- {
- return Efl.Ui.TabPagePartTab.efl_ui_tab_page_part_tab_class_get();
- }
+ private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
+ /// <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);