/// <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_loop_handler_active_get_static_delegate == null) { efl_loop_handler_active_get_static_delegate = new efl_loop_handler_active_get_delegate(active_get); } if (methods.FirstOrDefault(m => m.Name == "GetActive") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_loop_handler_active_get"), func = Marshal.GetFunctionPointerForDelegate(efl_loop_handler_active_get_static_delegate) }); } if (efl_loop_handler_active_set_static_delegate == null) { efl_loop_handler_active_set_static_delegate = new efl_loop_handler_active_set_delegate(active_set); } if (methods.FirstOrDefault(m => m.Name == "SetActive") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_loop_handler_active_set"), func = Marshal.GetFunctionPointerForDelegate(efl_loop_handler_active_set_static_delegate) }); } if (efl_loop_handler_fd_get_static_delegate == null) { efl_loop_handler_fd_get_static_delegate = new efl_loop_handler_fd_get_delegate(fd_get); } if (methods.FirstOrDefault(m => m.Name == "GetFd") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_loop_handler_fd_get"), func = Marshal.GetFunctionPointerForDelegate(efl_loop_handler_fd_get_static_delegate) }); } if (efl_loop_handler_fd_set_static_delegate == null) { efl_loop_handler_fd_set_static_delegate = new efl_loop_handler_fd_set_delegate(fd_set); } if (methods.FirstOrDefault(m => m.Name == "SetFd") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_loop_handler_fd_set"), func = Marshal.GetFunctionPointerForDelegate(efl_loop_handler_fd_set_static_delegate) }); } if (efl_loop_handler_fd_file_get_static_delegate == null) { efl_loop_handler_fd_file_get_static_delegate = new efl_loop_handler_fd_file_get_delegate(fd_file_get); } if (methods.FirstOrDefault(m => m.Name == "GetFdFile") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_loop_handler_fd_file_get"), func = Marshal.GetFunctionPointerForDelegate(efl_loop_handler_fd_file_get_static_delegate) }); } if (efl_loop_handler_fd_file_set_static_delegate == null) { efl_loop_handler_fd_file_set_static_delegate = new efl_loop_handler_fd_file_set_delegate(fd_file_set); } if (methods.FirstOrDefault(m => m.Name == "SetFdFile") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_loop_handler_fd_file_set"), func = Marshal.GetFunctionPointerForDelegate(efl_loop_handler_fd_file_set_static_delegate) }); } if (efl_loop_handler_win32_get_static_delegate == null) { efl_loop_handler_win32_get_static_delegate = new efl_loop_handler_win32_get_delegate(win32_get); } if (methods.FirstOrDefault(m => m.Name == "GetWin32") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_loop_handler_win32_get"), func = Marshal.GetFunctionPointerForDelegate(efl_loop_handler_win32_get_static_delegate) }); } if (efl_loop_handler_win32_set_static_delegate == null) { efl_loop_handler_win32_set_static_delegate = new efl_loop_handler_win32_set_delegate(win32_set); } if (methods.FirstOrDefault(m => m.Name == "SetWin32") != null) { descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_loop_handler_win32_set"), func = Marshal.GetFunctionPointerForDelegate(efl_loop_handler_win32_set_static_delegate) }); } descs.AddRange(base.GetEoOps(type)); 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_loop_handler_active_get_static_delegate == null) { efl_loop_handler_active_get_static_delegate = new efl_loop_handler_active_get_delegate(active_get); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_loop_handler_active_get"), func = Marshal.GetFunctionPointerForDelegate(efl_loop_handler_active_get_static_delegate) }); if (efl_loop_handler_active_set_static_delegate == null) { efl_loop_handler_active_set_static_delegate = new efl_loop_handler_active_set_delegate(active_set); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_loop_handler_active_set"), func = Marshal.GetFunctionPointerForDelegate(efl_loop_handler_active_set_static_delegate) }); if (efl_loop_handler_fd_get_static_delegate == null) { efl_loop_handler_fd_get_static_delegate = new efl_loop_handler_fd_get_delegate(fd_get); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_loop_handler_fd_get"), func = Marshal.GetFunctionPointerForDelegate(efl_loop_handler_fd_get_static_delegate) }); if (efl_loop_handler_fd_set_static_delegate == null) { efl_loop_handler_fd_set_static_delegate = new efl_loop_handler_fd_set_delegate(fd_set); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_loop_handler_fd_set"), func = Marshal.GetFunctionPointerForDelegate(efl_loop_handler_fd_set_static_delegate) }); if (efl_loop_handler_fd_file_get_static_delegate == null) { efl_loop_handler_fd_file_get_static_delegate = new efl_loop_handler_fd_file_get_delegate(fd_file_get); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_loop_handler_fd_file_get"), func = Marshal.GetFunctionPointerForDelegate(efl_loop_handler_fd_file_get_static_delegate) }); if (efl_loop_handler_fd_file_set_static_delegate == null) { efl_loop_handler_fd_file_set_static_delegate = new efl_loop_handler_fd_file_set_delegate(fd_file_set); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_loop_handler_fd_file_set"), func = Marshal.GetFunctionPointerForDelegate(efl_loop_handler_fd_file_set_static_delegate) }); if (efl_loop_handler_win32_get_static_delegate == null) { efl_loop_handler_win32_get_static_delegate = new efl_loop_handler_win32_get_delegate(win32_get); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_loop_handler_win32_get"), func = Marshal.GetFunctionPointerForDelegate(efl_loop_handler_win32_get_static_delegate) }); if (efl_loop_handler_win32_set_static_delegate == null) { efl_loop_handler_win32_set_static_delegate = new efl_loop_handler_win32_set_delegate(win32_set); } descs.Add(new Efl_Op_Description() { api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_loop_handler_win32_set"), func = Marshal.GetFunctionPointerForDelegate(efl_loop_handler_win32_set_static_delegate) }); descs.AddRange(base.GetEoOps(type)); return(descs); }