Esempio n. 1
0
        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_access_editable_text_content_set_static_delegate == null)
            {
                efl_access_editable_text_content_set_static_delegate = new efl_access_editable_text_content_set_delegate(text_content_set);
            }
            descs.Add(new Efl_Op_Description()
                    {
                        api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_access_editable_text_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_access_editable_text_content_set_static_delegate)
                    });
            if (efl_access_editable_text_insert_static_delegate == null)
            {
                efl_access_editable_text_insert_static_delegate = new efl_access_editable_text_insert_delegate(insert);
            }
            descs.Add(new Efl_Op_Description()
                    {
                        api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_access_editable_text_insert"), func = Marshal.GetFunctionPointerForDelegate(efl_access_editable_text_insert_static_delegate)
                    });
            if (efl_access_editable_text_copy_static_delegate == null)
            {
                efl_access_editable_text_copy_static_delegate = new efl_access_editable_text_copy_delegate(copy);
            }
            descs.Add(new Efl_Op_Description()
                    {
                        api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_access_editable_text_copy"), func = Marshal.GetFunctionPointerForDelegate(efl_access_editable_text_copy_static_delegate)
                    });
            if (efl_access_editable_text_cut_static_delegate == null)
            {
                efl_access_editable_text_cut_static_delegate = new efl_access_editable_text_cut_delegate(cut);
            }
            descs.Add(new Efl_Op_Description()
                    {
                        api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_access_editable_text_cut"), func = Marshal.GetFunctionPointerForDelegate(efl_access_editable_text_cut_static_delegate)
                    });
            if (efl_access_editable_text_delete_static_delegate == null)
            {
                efl_access_editable_text_delete_static_delegate = new efl_access_editable_text_delete_delegate(kw_delete);
            }
            descs.Add(new Efl_Op_Description()
                    {
                        api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_access_editable_text_delete"), func = Marshal.GetFunctionPointerForDelegate(efl_access_editable_text_delete_static_delegate)
                    });
            if (efl_access_editable_text_paste_static_delegate == null)
            {
                efl_access_editable_text_paste_static_delegate = new efl_access_editable_text_paste_delegate(paste);
            }
            descs.Add(new Efl_Op_Description()
                    {
                        api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_access_editable_text_paste"), func = Marshal.GetFunctionPointerForDelegate(efl_access_editable_text_paste_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>();
            var methods = Efl.Eo.Globals.GetUserMethods(type);

            if (efl_access_editable_text_content_set_static_delegate == null)
            {
                efl_access_editable_text_content_set_static_delegate = new efl_access_editable_text_content_set_delegate(text_content_set);
            }
            if (methods.FirstOrDefault(m => m.Name == "SetTextContent") != null)
            {
                descs.Add(new Efl_Op_Description()
                        {
                            api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_access_editable_text_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_access_editable_text_content_set_static_delegate)
                        });
            }
            if (efl_access_editable_text_insert_static_delegate == null)
            {
                efl_access_editable_text_insert_static_delegate = new efl_access_editable_text_insert_delegate(insert);
            }
            if (methods.FirstOrDefault(m => m.Name == "Insert") != null)
            {
                descs.Add(new Efl_Op_Description()
                        {
                            api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_access_editable_text_insert"), func = Marshal.GetFunctionPointerForDelegate(efl_access_editable_text_insert_static_delegate)
                        });
            }
            if (efl_access_editable_text_copy_static_delegate == null)
            {
                efl_access_editable_text_copy_static_delegate = new efl_access_editable_text_copy_delegate(copy);
            }
            if (methods.FirstOrDefault(m => m.Name == "Copy") != null)
            {
                descs.Add(new Efl_Op_Description()
                        {
                            api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_access_editable_text_copy"), func = Marshal.GetFunctionPointerForDelegate(efl_access_editable_text_copy_static_delegate)
                        });
            }
            if (efl_access_editable_text_cut_static_delegate == null)
            {
                efl_access_editable_text_cut_static_delegate = new efl_access_editable_text_cut_delegate(cut);
            }
            if (methods.FirstOrDefault(m => m.Name == "Cut") != null)
            {
                descs.Add(new Efl_Op_Description()
                        {
                            api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_access_editable_text_cut"), func = Marshal.GetFunctionPointerForDelegate(efl_access_editable_text_cut_static_delegate)
                        });
            }
            if (efl_access_editable_text_delete_static_delegate == null)
            {
                efl_access_editable_text_delete_static_delegate = new efl_access_editable_text_delete_delegate(kw_delete);
            }
            if (methods.FirstOrDefault(m => m.Name == "Delete") != null)
            {
                descs.Add(new Efl_Op_Description()
                        {
                            api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_access_editable_text_delete"), func = Marshal.GetFunctionPointerForDelegate(efl_access_editable_text_delete_static_delegate)
                        });
            }
            if (efl_access_editable_text_paste_static_delegate == null)
            {
                efl_access_editable_text_paste_static_delegate = new efl_access_editable_text_paste_delegate(paste);
            }
            if (methods.FirstOrDefault(m => m.Name == "Paste") != null)
            {
                descs.Add(new Efl_Op_Description()
                        {
                            api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_access_editable_text_paste"), func = Marshal.GetFunctionPointerForDelegate(efl_access_editable_text_paste_static_delegate)
                        });
            }
            return(descs);
        }