/// <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_gfx_stack_layer_get_static_delegate == null) { efl_gfx_stack_layer_get_static_delegate = new efl_gfx_stack_layer_get_delegate(layer_get); } if (methods.FirstOrDefault(m => m.Name == "GetLayer") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_layer_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_layer_get_static_delegate) }); } if (efl_gfx_stack_layer_set_static_delegate == null) { efl_gfx_stack_layer_set_static_delegate = new efl_gfx_stack_layer_set_delegate(layer_set); } if (methods.FirstOrDefault(m => m.Name == "SetLayer") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_layer_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_layer_set_static_delegate) }); } if (efl_gfx_stack_below_get_static_delegate == null) { efl_gfx_stack_below_get_static_delegate = new efl_gfx_stack_below_get_delegate(below_get); } if (methods.FirstOrDefault(m => m.Name == "GetBelow") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_below_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_below_get_static_delegate) }); } if (efl_gfx_stack_above_get_static_delegate == null) { efl_gfx_stack_above_get_static_delegate = new efl_gfx_stack_above_get_delegate(above_get); } if (methods.FirstOrDefault(m => m.Name == "GetAbove") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_above_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_above_get_static_delegate) }); } if (efl_gfx_stack_below_static_delegate == null) { efl_gfx_stack_below_static_delegate = new efl_gfx_stack_below_delegate(stack_below); } if (methods.FirstOrDefault(m => m.Name == "StackBelow") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_below"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_below_static_delegate) }); } if (efl_gfx_stack_raise_to_top_static_delegate == null) { efl_gfx_stack_raise_to_top_static_delegate = new efl_gfx_stack_raise_to_top_delegate(raise_to_top); } if (methods.FirstOrDefault(m => m.Name == "RaiseToTop") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_raise_to_top"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_raise_to_top_static_delegate) }); } if (efl_gfx_stack_above_static_delegate == null) { efl_gfx_stack_above_static_delegate = new efl_gfx_stack_above_delegate(stack_above); } if (methods.FirstOrDefault(m => m.Name == "StackAbove") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_above"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_above_static_delegate) }); } if (efl_gfx_stack_lower_to_bottom_static_delegate == null) { efl_gfx_stack_lower_to_bottom_static_delegate = new efl_gfx_stack_lower_to_bottom_delegate(lower_to_bottom); } if (methods.FirstOrDefault(m => m.Name == "LowerToBottom") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_stack_lower_to_bottom"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_lower_to_bottom_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_gfx_stack_layer_get_static_delegate == null) { efl_gfx_stack_layer_get_static_delegate = new efl_gfx_stack_layer_get_delegate(layer_get); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_stack_layer_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_layer_get_static_delegate) }); if (efl_gfx_stack_layer_set_static_delegate == null) { efl_gfx_stack_layer_set_static_delegate = new efl_gfx_stack_layer_set_delegate(layer_set); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_stack_layer_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_layer_set_static_delegate) }); if (efl_gfx_stack_below_get_static_delegate == null) { efl_gfx_stack_below_get_static_delegate = new efl_gfx_stack_below_get_delegate(below_get); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_stack_below_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_below_get_static_delegate) }); if (efl_gfx_stack_above_get_static_delegate == null) { efl_gfx_stack_above_get_static_delegate = new efl_gfx_stack_above_get_delegate(above_get); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_stack_above_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_above_get_static_delegate) }); if (efl_gfx_stack_below_static_delegate == null) { efl_gfx_stack_below_static_delegate = new efl_gfx_stack_below_delegate(stack_below); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_stack_below"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_below_static_delegate) }); if (efl_gfx_stack_raise_to_top_static_delegate == null) { efl_gfx_stack_raise_to_top_static_delegate = new efl_gfx_stack_raise_to_top_delegate(raise_to_top); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_stack_raise_to_top"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_raise_to_top_static_delegate) }); if (efl_gfx_stack_above_static_delegate == null) { efl_gfx_stack_above_static_delegate = new efl_gfx_stack_above_delegate(stack_above); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_stack_above"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_above_static_delegate) }); if (efl_gfx_stack_lower_to_bottom_static_delegate == null) { efl_gfx_stack_lower_to_bottom_static_delegate = new efl_gfx_stack_lower_to_bottom_delegate(lower_to_bottom); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_gfx_stack_lower_to_bottom"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_stack_lower_to_bottom_static_delegate) }); return(descs); }