[EflSharp] Update Circle and efl cs files (#995)
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / efl / efl_ui_spotlight_util.eo.cs
1 #define EFL_BETA
2 #pragma warning disable CS1591
3 using System;
4 using System.Runtime.InteropServices;
5 using System.Collections.Generic;
6 using System.Linq;
7 using System.Threading;
8 using System.ComponentModel;
9 namespace Efl {
10
11 namespace Ui {
12
13 namespace Spotlight {
14
15 /// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
16 [Efl.Ui.Spotlight.Util.NativeMethods]
17 [Efl.Eo.BindingEntity]
18 public class Util : Efl.Eo.EoWrapper
19 {
20     /// <summary>Pointer to the native class description.</summary>
21     public override System.IntPtr NativeClass
22     {
23         get
24         {
25             if (((object)this).GetType() == typeof(Util))
26             {
27                 return GetEflClassStatic();
28             }
29             else
30             {
31                 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
32             }
33         }
34     }
35
36     [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
37         efl_ui_spotlight_util_class_get();
38     /// <summary>Initializes a new instance of the <see cref="Util"/> class.</summary>
39     /// <param name="parent">Parent instance.</param>
40     public Util(Efl.Object parent= null
41             ) : base(efl_ui_spotlight_util_class_get(), parent)
42     {
43         FinishInstantiation();
44     }
45
46     /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
47     /// Do not call this constructor directly.</summary>
48     /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
49     protected Util(ConstructingHandle ch) : base(ch)
50     {
51     }
52
53     /// <summary>Initializes a new instance of the <see cref="Util"/> class.
54     /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
55     /// <param name="wh">The native pointer to be wrapped.</param>
56     protected Util(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
57     {
58     }
59
60     /// <summary>Initializes a new instance of the <see cref="Util"/> class.
61     /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
62     /// <param name="baseKlass">The pointer to the base native Eo class.</param>
63     /// <param name="parent">The Efl.Object parent of this instance.</param>
64     protected Util(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
65     {
66     }
67
68     /// <summary>Get a preconfigured stack obejct</summary>
69     public static Efl.Ui.Spotlight.Container StackGen(Efl.Ui.Widget parent) {
70                                  var _ret_var = Efl.Ui.Spotlight.Util.NativeMethods.efl_ui_spotlight_util_stack_gen_ptr.Value.Delegate(parent);
71         Eina.Error.RaiseIfUnhandledException();
72                         return _ret_var;
73  }
74     private static IntPtr GetEflClassStatic()
75     {
76         return Efl.Ui.Spotlight.Util.efl_ui_spotlight_util_class_get();
77     }
78     /// <summary>Wrapper for native methods and virtual method delegates.
79     /// For internal use by generated code only.</summary>
80     public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
81     {
82         private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule(    efl.Libs.Elementary);
83         /// <summary>Gets the list of Eo operations to override.</summary>
84         /// <returns>The list of Eo operations to be overload.</returns>
85         public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
86         {
87             var descs = new System.Collections.Generic.List<Efl_Op_Description>();
88             descs.AddRange(base.GetEoOps(type));
89             return descs;
90         }
91         /// <summary>Returns the Eo class for the native methods of this class.</summary>
92         /// <returns>The native class pointer.</returns>
93         public override IntPtr GetEflClass()
94         {
95             return Efl.Ui.Spotlight.Util.efl_ui_spotlight_util_class_get();
96         }
97
98         #pragma warning disable CA1707, CS1591, SA1300, SA1600
99
100         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
101         private delegate Efl.Ui.Spotlight.Container efl_ui_spotlight_util_stack_gen_delegate([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Widget parent);
102
103         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
104         public delegate Efl.Ui.Spotlight.Container efl_ui_spotlight_util_stack_gen_api_delegate([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Widget parent);
105
106         public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_util_stack_gen_api_delegate> efl_ui_spotlight_util_stack_gen_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_util_stack_gen_api_delegate>(Module, "efl_ui_spotlight_util_stack_gen");
107
108         private static Efl.Ui.Spotlight.Container stack_gen(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Widget parent)
109         {
110             Eina.Log.Debug("function efl_ui_spotlight_util_stack_gen was called");
111             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
112             if (ws != null)
113             {
114                                     Efl.Ui.Spotlight.Container _ret_var = default(Efl.Ui.Spotlight.Container);
115                 try
116                 {
117                     _ret_var = Util.StackGen(parent);
118                 }
119                 catch (Exception e)
120                 {
121                     Eina.Log.Warning($"Callback error: {e.ToString()}");
122                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
123                 }
124
125                         return _ret_var;
126
127             }
128             else
129             {
130                 return efl_ui_spotlight_util_stack_gen_ptr.Value.Delegate(parent);
131             }
132         }
133
134         #pragma warning restore CA1707, CS1591, SA1300, SA1600
135
136 }
137 }
138 }
139
140 }
141
142 }
143
144 #if EFL_BETA
145 #pragma warning disable CS1591
146 public static class Efl_Ui_SpotlightUtil_ExtensionMethods {
147 }
148 #pragma warning restore CS1591
149 #endif