/// <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_layout_calc_auto_update_hints_get_static_delegate == null) { efl_layout_calc_auto_update_hints_get_static_delegate = new efl_layout_calc_auto_update_hints_get_delegate(calc_auto_update_hints_get); } if (methods.FirstOrDefault(m => m.Name == "GetCalcAutoUpdateHints") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_layout_calc_auto_update_hints_get"), func = Marshal.GetFunctionPointerForDelegate(efl_layout_calc_auto_update_hints_get_static_delegate) }); } if (efl_layout_calc_auto_update_hints_set_static_delegate == null) { efl_layout_calc_auto_update_hints_set_static_delegate = new efl_layout_calc_auto_update_hints_set_delegate(calc_auto_update_hints_set); } if (methods.FirstOrDefault(m => m.Name == "SetCalcAutoUpdateHints") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_layout_calc_auto_update_hints_set"), func = Marshal.GetFunctionPointerForDelegate(efl_layout_calc_auto_update_hints_set_static_delegate) }); } if (efl_layout_calc_size_min_static_delegate == null) { efl_layout_calc_size_min_static_delegate = new efl_layout_calc_size_min_delegate(calc_size_min); } if (methods.FirstOrDefault(m => m.Name == "CalcSizeMin") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_layout_calc_size_min"), func = Marshal.GetFunctionPointerForDelegate(efl_layout_calc_size_min_static_delegate) }); } if (efl_layout_calc_parts_extends_static_delegate == null) { efl_layout_calc_parts_extends_static_delegate = new efl_layout_calc_parts_extends_delegate(calc_parts_extends); } if (methods.FirstOrDefault(m => m.Name == "CalcPartsExtends") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_layout_calc_parts_extends"), func = Marshal.GetFunctionPointerForDelegate(efl_layout_calc_parts_extends_static_delegate) }); } if (efl_layout_calc_freeze_static_delegate == null) { efl_layout_calc_freeze_static_delegate = new efl_layout_calc_freeze_delegate(calc_freeze); } if (methods.FirstOrDefault(m => m.Name == "FreezeCalc") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_layout_calc_freeze"), func = Marshal.GetFunctionPointerForDelegate(efl_layout_calc_freeze_static_delegate) }); } if (efl_layout_calc_thaw_static_delegate == null) { efl_layout_calc_thaw_static_delegate = new efl_layout_calc_thaw_delegate(calc_thaw); } if (methods.FirstOrDefault(m => m.Name == "ThawCalc") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_layout_calc_thaw"), func = Marshal.GetFunctionPointerForDelegate(efl_layout_calc_thaw_static_delegate) }); } if (efl_layout_calc_force_static_delegate == null) { efl_layout_calc_force_static_delegate = new efl_layout_calc_force_delegate(calc_force); } if (methods.FirstOrDefault(m => m.Name == "CalcForce") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_layout_calc_force"), func = Marshal.GetFunctionPointerForDelegate(efl_layout_calc_force_static_delegate) }); } return(descs); }
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_layout_calc_auto_update_hints_get_static_delegate == null) { efl_layout_calc_auto_update_hints_get_static_delegate = new efl_layout_calc_auto_update_hints_get_delegate(calc_auto_update_hints_get); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_layout_calc_auto_update_hints_get"), func = Marshal.GetFunctionPointerForDelegate(efl_layout_calc_auto_update_hints_get_static_delegate) }); if (efl_layout_calc_auto_update_hints_set_static_delegate == null) { efl_layout_calc_auto_update_hints_set_static_delegate = new efl_layout_calc_auto_update_hints_set_delegate(calc_auto_update_hints_set); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_layout_calc_auto_update_hints_set"), func = Marshal.GetFunctionPointerForDelegate(efl_layout_calc_auto_update_hints_set_static_delegate) }); if (efl_layout_calc_size_min_static_delegate == null) { efl_layout_calc_size_min_static_delegate = new efl_layout_calc_size_min_delegate(calc_size_min); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_layout_calc_size_min"), func = Marshal.GetFunctionPointerForDelegate(efl_layout_calc_size_min_static_delegate) }); if (efl_layout_calc_parts_extends_static_delegate == null) { efl_layout_calc_parts_extends_static_delegate = new efl_layout_calc_parts_extends_delegate(calc_parts_extends); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_layout_calc_parts_extends"), func = Marshal.GetFunctionPointerForDelegate(efl_layout_calc_parts_extends_static_delegate) }); if (efl_layout_calc_freeze_static_delegate == null) { efl_layout_calc_freeze_static_delegate = new efl_layout_calc_freeze_delegate(calc_freeze); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_layout_calc_freeze"), func = Marshal.GetFunctionPointerForDelegate(efl_layout_calc_freeze_static_delegate) }); if (efl_layout_calc_thaw_static_delegate == null) { efl_layout_calc_thaw_static_delegate = new efl_layout_calc_thaw_delegate(calc_thaw); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_layout_calc_thaw"), func = Marshal.GetFunctionPointerForDelegate(efl_layout_calc_thaw_static_delegate) }); if (efl_layout_calc_force_static_delegate == null) { efl_layout_calc_force_static_delegate = new efl_layout_calc_force_delegate(calc_force); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_layout_calc_force"), func = Marshal.GetFunctionPointerForDelegate(efl_layout_calc_force_static_delegate) }); return(descs); }