[EflSharp] Update Circle and efl cs files (#945)
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / efl / efl_ui_spotlight_manager.eo.cs
1 #pragma warning disable CS1591
2 using System;
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
5 using System.Linq;
6 using System.Threading;
7 using System.ComponentModel;
8 namespace Efl {
9
10 namespace Ui {
11
12 namespace Spotlight {
13
14 ///<summary>Event argument wrapper for event <see cref="Efl.Ui.Spotlight.Manager.PosUpdateEvt"/>.</summary>
15 [Efl.Eo.BindingEntity]
16 public class ManagerPosUpdateEvt_Args : EventArgs {
17     ///<summary>Actual event payload.</summary>
18     public double arg { get; set; }
19 }
20 /// <summary>Manager object used by <see cref="Efl.Ui.Spotlight.Container"/> to handle rendering and animation of its sub-widgets, and user interaction.
21 /// For instance, changes to the current sub-widget in the spotlight (<see cref="Efl.Ui.Spotlight.Container.ActiveIndex"/>) can be animated with a transition. This object can also handle user interaction. For example, dragging the sub-widget to one side to get to a different sub-widget (like an smartphone home screen). Such user interactions should end up setting a new <see cref="Efl.Ui.Spotlight.Container.ActiveIndex"/>. During a transition, the evolution of the current position should be exposed by emitting <c>pos_update</c> events.</summary>
22 [Efl.Ui.Spotlight.Manager.NativeMethods]
23 [Efl.Eo.BindingEntity]
24 public abstract class Manager : Efl.Object
25 {
26     ///<summary>Pointer to the native class description.</summary>
27     public override System.IntPtr NativeClass
28     {
29         get
30         {
31             if (((object)this).GetType() == typeof(Manager))
32             {
33                 return GetEflClassStatic();
34             }
35             else
36             {
37                 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
38             }
39         }
40     }
41
42     [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
43         efl_ui_spotlight_manager_class_get();
44     /// <summary>Initializes a new instance of the <see cref="Manager"/> class.</summary>
45     /// <param name="parent">Parent instance.</param>
46     public Manager(Efl.Object parent= null
47             ) : base(efl_ui_spotlight_manager_class_get(), parent)
48     {
49         FinishInstantiation();
50     }
51
52     /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
53     /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
54     protected Manager(ConstructingHandle ch) : base(ch)
55     {
56     }
57
58     /// <summary>Initializes a new instance of the <see cref="Manager"/> class.
59     /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
60     /// <param name="wh">The native pointer to be wrapped.</param>
61     protected Manager(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
62     {
63     }
64
65     [Efl.Eo.PrivateNativeClass]
66     private class ManagerRealized : Manager
67     {
68         private ManagerRealized(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
69         {
70         }
71     }
72     /// <summary>Initializes a new instance of the <see cref="Manager"/> class.
73     /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
74     /// <param name="baseKlass">The pointer to the base native Eo class.</param>
75     /// <param name="parent">The Efl.Object parent of this instance.</param>
76     protected Manager(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
77     {
78     }
79
80     /// <summary>Index of the sub-widget currently being displayed. Fractional values indicate a position in-between sub-widgets. For instance, when transitioning from sub-widget 2 to sub-widget 3, this event should be emitted with monotonically increasing values ranging from 2.0 to 3.0. Animations can perform any movement they want, but the reported <c>pos_update</c> must move in the same direction.</summary>
81     public event EventHandler<Efl.Ui.Spotlight.ManagerPosUpdateEvt_Args> PosUpdateEvt
82     {
83         add
84         {
85             lock (eflBindingEventLock)
86             {
87                 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
88                 {
89                     var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
90                     if (obj != null)
91                     {
92                         Efl.Ui.Spotlight.ManagerPosUpdateEvt_Args args = new Efl.Ui.Spotlight.ManagerPosUpdateEvt_Args();
93                         args.arg = Eina.PrimitiveConversion.PointerToManaged<double>(evt.Info);
94                         try
95                         {
96                             value?.Invoke(obj, args);
97                         }
98                         catch (Exception e)
99                         {
100                             Eina.Log.Error(e.ToString());
101                             Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
102                         }
103                     }
104                 };
105
106                 string key = "_EFL_UI_SPOTLIGHT_MANAGER_EVENT_POS_UPDATE";
107                 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
108             }
109         }
110
111         remove
112         {
113             lock (eflBindingEventLock)
114             {
115                 string key = "_EFL_UI_SPOTLIGHT_MANAGER_EVENT_POS_UPDATE";
116                 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
117             }
118         }
119     }
120     ///<summary>Method to raise event PosUpdateEvt.</summary>
121     public void OnPosUpdateEvt(Efl.Ui.Spotlight.ManagerPosUpdateEvt_Args e)
122     {
123         var key = "_EFL_UI_SPOTLIGHT_MANAGER_EVENT_POS_UPDATE";
124         IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
125         if (desc == IntPtr.Zero)
126         {
127             Eina.Log.Error($"Failed to get native event {key}");
128             return;
129         }
130
131         IntPtr info = Eina.PrimitiveConversion.ManagedToPointerAlloc(e.arg);
132         try
133         {
134             Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
135         }
136         finally
137         {
138             Marshal.FreeHGlobal(info);
139         }
140     }
141     /// <summary>Will be called whenever the <see cref="Efl.Ui.Spotlight.Container.SpotlightSize"/> changes so the <see cref="Efl.Ui.Spotlight.Manager"/> can update itself.</summary>
142     /// <param name="size">The new size of the sub-widgets.</param>
143     virtual public void SetSize(Eina.Size2D size) {
144          Eina.Size2D.NativeStruct _in_size = size;
145                         Efl.Ui.Spotlight.Manager.NativeMethods.efl_ui_spotlight_manager_size_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_size);
146         Eina.Error.RaiseIfUnhandledException();
147                          }
148     /// <summary>This flag can be used to disable animations.</summary>
149     /// <returns><c>true</c> if you want animations to happen, <c>false</c> otherwise.</returns>
150     virtual public bool GetAnimationEnabled() {
151          var _ret_var = Efl.Ui.Spotlight.Manager.NativeMethods.efl_ui_spotlight_manager_animation_enabled_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
152         Eina.Error.RaiseIfUnhandledException();
153         return _ret_var;
154  }
155     /// <summary>This flag can be used to disable animations.</summary>
156     /// <param name="enable"><c>true</c> if you want animations to happen, <c>false</c> otherwise.</param>
157     virtual public void SetAnimationEnabled(bool enable) {
158                                  Efl.Ui.Spotlight.Manager.NativeMethods.efl_ui_spotlight_manager_animation_enabled_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),enable);
159         Eina.Error.RaiseIfUnhandledException();
160                          }
161     /// <summary>This method is called the first time an <see cref="Efl.Ui.Spotlight.Manager"/> is assigned to an <see cref="Efl.Ui.Spotlight.Container"/>, binding them together. The manager can read the current content of the container, subscribe to events, or do any initialization it requires.</summary>
162     /// <param name="spotlight">The container to bind the manager to.</param>
163     /// <param name="group">The graphical group where the views should be added with <see cref="Efl.Canvas.Group.AddGroupMember"/> and removed with <see cref="Efl.Canvas.Group.GroupMemberRemove"/>.</param>
164     virtual public void Bind(Efl.Ui.Spotlight.Container spotlight, Efl.Canvas.Group group) {
165                                                          Efl.Ui.Spotlight.Manager.NativeMethods.efl_ui_spotlight_manager_bind_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),spotlight, group);
166         Eina.Error.RaiseIfUnhandledException();
167                                          }
168     /// <summary>A <c>subobj</c> has been added at position <c>index</c> in the bound container.
169     /// The manager should check the container&apos;s <see cref="Efl.Ui.Spotlight.Container.ActiveIndex"/> since indices might have shifted due to the insertion of the new object.</summary>
170     /// <param name="subobj">The new object that has been added to the container.</param>
171     /// <param name="index">The index of the new object in the container&apos;s list.</param>
172     virtual public void AddContent(Efl.Gfx.IEntity subobj, int index) {
173                                                          Efl.Ui.Spotlight.Manager.NativeMethods.efl_ui_spotlight_manager_content_add_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, index);
174         Eina.Error.RaiseIfUnhandledException();
175                                          }
176     /// <summary>The <c>subobj</c> at position <c>index</c> in the bound container has been removed.
177     /// The manager should check the container&apos;s <see cref="Efl.Ui.Spotlight.Container.ActiveIndex"/> since indices might have shifted due to the removal of the object.</summary>
178     /// <param name="subobj">The object being removed from the container.</param>
179     /// <param name="index">The index this object had in the container&apos;s list.</param>
180     virtual public void DelContent(Efl.Gfx.IEntity subobj, int index) {
181                                                          Efl.Ui.Spotlight.Manager.NativeMethods.efl_ui_spotlight_manager_content_del_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),subobj, index);
182         Eina.Error.RaiseIfUnhandledException();
183                                          }
184     /// <summary>Switch from one sub-widget to another. If there was no previous sub-widget, <c>from</c> might be -1. This function should display an animation if the <see cref="Efl.Ui.Spotlight.Manager"/> supports them.</summary>
185     /// <param name="from">Index of the starting sub-widget in the container&apos;s list. Might be -1 if unknown.</param>
186     /// <param name="to">Index of the target sub-widget in the container&apos;s list.</param>
187     virtual public void SwitchTo(int from, int to) {
188                                                          Efl.Ui.Spotlight.Manager.NativeMethods.efl_ui_spotlight_manager_switch_to_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),from, to);
189         Eina.Error.RaiseIfUnhandledException();
190                                          }
191     /// <summary>Will be called whenever the <see cref="Efl.Ui.Spotlight.Container.SpotlightSize"/> changes so the <see cref="Efl.Ui.Spotlight.Manager"/> can update itself.</summary>
192     /// <value>The new size of the sub-widgets.</value>
193     public Eina.Size2D Size {
194         set { SetSize(value); }
195     }
196     /// <summary>This flag can be used to disable animations.</summary>
197     /// <value><c>true</c> if you want animations to happen, <c>false</c> otherwise.</value>
198     public bool AnimationEnabled {
199         get { return GetAnimationEnabled(); }
200         set { SetAnimationEnabled(value); }
201     }
202     private static IntPtr GetEflClassStatic()
203     {
204         return Efl.Ui.Spotlight.Manager.efl_ui_spotlight_manager_class_get();
205     }
206     /// <summary>Wrapper for native methods and virtual method delegates.
207     /// For internal use by generated code only.</summary>
208     public new class NativeMethods : Efl.Object.NativeMethods
209     {
210         private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule(    efl.Libs.Elementary);
211         /// <summary>Gets the list of Eo operations to override.</summary>
212         /// <returns>The list of Eo operations to be overload.</returns>
213         public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
214         {
215             var descs = new System.Collections.Generic.List<Efl_Op_Description>();
216             var methods = Efl.Eo.Globals.GetUserMethods(type);
217
218             if (efl_ui_spotlight_manager_size_set_static_delegate == null)
219             {
220                 efl_ui_spotlight_manager_size_set_static_delegate = new efl_ui_spotlight_manager_size_set_delegate(size_set);
221             }
222
223             if (methods.FirstOrDefault(m => m.Name == "SetSize") != null)
224             {
225                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_manager_size_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_manager_size_set_static_delegate) });
226             }
227
228             if (efl_ui_spotlight_manager_animation_enabled_get_static_delegate == null)
229             {
230                 efl_ui_spotlight_manager_animation_enabled_get_static_delegate = new efl_ui_spotlight_manager_animation_enabled_get_delegate(animation_enabled_get);
231             }
232
233             if (methods.FirstOrDefault(m => m.Name == "GetAnimationEnabled") != null)
234             {
235                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_manager_animation_enabled_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_manager_animation_enabled_get_static_delegate) });
236             }
237
238             if (efl_ui_spotlight_manager_animation_enabled_set_static_delegate == null)
239             {
240                 efl_ui_spotlight_manager_animation_enabled_set_static_delegate = new efl_ui_spotlight_manager_animation_enabled_set_delegate(animation_enabled_set);
241             }
242
243             if (methods.FirstOrDefault(m => m.Name == "SetAnimationEnabled") != null)
244             {
245                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_manager_animation_enabled_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_manager_animation_enabled_set_static_delegate) });
246             }
247
248             if (efl_ui_spotlight_manager_bind_static_delegate == null)
249             {
250                 efl_ui_spotlight_manager_bind_static_delegate = new efl_ui_spotlight_manager_bind_delegate(bind);
251             }
252
253             if (methods.FirstOrDefault(m => m.Name == "Bind") != null)
254             {
255                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_manager_bind"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_manager_bind_static_delegate) });
256             }
257
258             if (efl_ui_spotlight_manager_content_add_static_delegate == null)
259             {
260                 efl_ui_spotlight_manager_content_add_static_delegate = new efl_ui_spotlight_manager_content_add_delegate(content_add);
261             }
262
263             if (methods.FirstOrDefault(m => m.Name == "AddContent") != null)
264             {
265                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_manager_content_add"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_manager_content_add_static_delegate) });
266             }
267
268             if (efl_ui_spotlight_manager_content_del_static_delegate == null)
269             {
270                 efl_ui_spotlight_manager_content_del_static_delegate = new efl_ui_spotlight_manager_content_del_delegate(content_del);
271             }
272
273             if (methods.FirstOrDefault(m => m.Name == "DelContent") != null)
274             {
275                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_manager_content_del"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_manager_content_del_static_delegate) });
276             }
277
278             if (efl_ui_spotlight_manager_switch_to_static_delegate == null)
279             {
280                 efl_ui_spotlight_manager_switch_to_static_delegate = new efl_ui_spotlight_manager_switch_to_delegate(switch_to);
281             }
282
283             if (methods.FirstOrDefault(m => m.Name == "SwitchTo") != null)
284             {
285                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_spotlight_manager_switch_to"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_spotlight_manager_switch_to_static_delegate) });
286             }
287
288             descs.AddRange(base.GetEoOps(type));
289             return descs;
290         }
291         /// <summary>Returns the Eo class for the native methods of this class.</summary>
292         /// <returns>The native class pointer.</returns>
293         public override IntPtr GetEflClass()
294         {
295             return Efl.Ui.Spotlight.Manager.efl_ui_spotlight_manager_class_get();
296         }
297
298         #pragma warning disable CA1707, CS1591, SA1300, SA1600
299
300         
301         private delegate void efl_ui_spotlight_manager_size_set_delegate(System.IntPtr obj, System.IntPtr pd,  Eina.Size2D.NativeStruct size);
302
303         
304         public delegate void efl_ui_spotlight_manager_size_set_api_delegate(System.IntPtr obj,  Eina.Size2D.NativeStruct size);
305
306         public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_size_set_api_delegate> efl_ui_spotlight_manager_size_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_size_set_api_delegate>(Module, "efl_ui_spotlight_manager_size_set");
307
308         private static void size_set(System.IntPtr obj, System.IntPtr pd, Eina.Size2D.NativeStruct size)
309         {
310             Eina.Log.Debug("function efl_ui_spotlight_manager_size_set was called");
311             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
312             if (ws != null)
313             {
314         Eina.Size2D _in_size = size;
315                             
316                 try
317                 {
318                     ((Manager)ws.Target).SetSize(_in_size);
319                 }
320                 catch (Exception e)
321                 {
322                     Eina.Log.Warning($"Callback error: {e.ToString()}");
323                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
324                 }
325
326                         
327             }
328             else
329             {
330                 efl_ui_spotlight_manager_size_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), size);
331             }
332         }
333
334         private static efl_ui_spotlight_manager_size_set_delegate efl_ui_spotlight_manager_size_set_static_delegate;
335
336         [return: MarshalAs(UnmanagedType.U1)]
337         private delegate bool efl_ui_spotlight_manager_animation_enabled_get_delegate(System.IntPtr obj, System.IntPtr pd);
338
339         [return: MarshalAs(UnmanagedType.U1)]
340         public delegate bool efl_ui_spotlight_manager_animation_enabled_get_api_delegate(System.IntPtr obj);
341
342         public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_animation_enabled_get_api_delegate> efl_ui_spotlight_manager_animation_enabled_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_animation_enabled_get_api_delegate>(Module, "efl_ui_spotlight_manager_animation_enabled_get");
343
344         private static bool animation_enabled_get(System.IntPtr obj, System.IntPtr pd)
345         {
346             Eina.Log.Debug("function efl_ui_spotlight_manager_animation_enabled_get was called");
347             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
348             if (ws != null)
349             {
350             bool _ret_var = default(bool);
351                 try
352                 {
353                     _ret_var = ((Manager)ws.Target).GetAnimationEnabled();
354                 }
355                 catch (Exception e)
356                 {
357                     Eina.Log.Warning($"Callback error: {e.ToString()}");
358                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
359                 }
360
361         return _ret_var;
362
363             }
364             else
365             {
366                 return efl_ui_spotlight_manager_animation_enabled_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
367             }
368         }
369
370         private static efl_ui_spotlight_manager_animation_enabled_get_delegate efl_ui_spotlight_manager_animation_enabled_get_static_delegate;
371
372         
373         private delegate void efl_ui_spotlight_manager_animation_enabled_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool enable);
374
375         
376         public delegate void efl_ui_spotlight_manager_animation_enabled_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool enable);
377
378         public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_animation_enabled_set_api_delegate> efl_ui_spotlight_manager_animation_enabled_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_animation_enabled_set_api_delegate>(Module, "efl_ui_spotlight_manager_animation_enabled_set");
379
380         private static void animation_enabled_set(System.IntPtr obj, System.IntPtr pd, bool enable)
381         {
382             Eina.Log.Debug("function efl_ui_spotlight_manager_animation_enabled_set was called");
383             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
384             if (ws != null)
385             {
386                                     
387                 try
388                 {
389                     ((Manager)ws.Target).SetAnimationEnabled(enable);
390                 }
391                 catch (Exception e)
392                 {
393                     Eina.Log.Warning($"Callback error: {e.ToString()}");
394                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
395                 }
396
397                         
398             }
399             else
400             {
401                 efl_ui_spotlight_manager_animation_enabled_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), enable);
402             }
403         }
404
405         private static efl_ui_spotlight_manager_animation_enabled_set_delegate efl_ui_spotlight_manager_animation_enabled_set_static_delegate;
406
407         
408         private delegate void efl_ui_spotlight_manager_bind_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Spotlight.Container spotlight, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Group group);
409
410         
411         public delegate void efl_ui_spotlight_manager_bind_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Ui.Spotlight.Container spotlight, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Group group);
412
413         public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_bind_api_delegate> efl_ui_spotlight_manager_bind_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_bind_api_delegate>(Module, "efl_ui_spotlight_manager_bind");
414
415         private static void bind(System.IntPtr obj, System.IntPtr pd, Efl.Ui.Spotlight.Container spotlight, Efl.Canvas.Group group)
416         {
417             Eina.Log.Debug("function efl_ui_spotlight_manager_bind was called");
418             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
419             if (ws != null)
420             {
421                                                             
422                 try
423                 {
424                     ((Manager)ws.Target).Bind(spotlight, group);
425                 }
426                 catch (Exception e)
427                 {
428                     Eina.Log.Warning($"Callback error: {e.ToString()}");
429                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
430                 }
431
432                                         
433             }
434             else
435             {
436                 efl_ui_spotlight_manager_bind_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), spotlight, group);
437             }
438         }
439
440         private static efl_ui_spotlight_manager_bind_delegate efl_ui_spotlight_manager_bind_static_delegate;
441
442         
443         private delegate void efl_ui_spotlight_manager_content_add_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj,  int index);
444
445         
446         public delegate void efl_ui_spotlight_manager_content_add_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj,  int index);
447
448         public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_content_add_api_delegate> efl_ui_spotlight_manager_content_add_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_content_add_api_delegate>(Module, "efl_ui_spotlight_manager_content_add");
449
450         private static void content_add(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int index)
451         {
452             Eina.Log.Debug("function efl_ui_spotlight_manager_content_add was called");
453             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
454             if (ws != null)
455             {
456                                                             
457                 try
458                 {
459                     ((Manager)ws.Target).AddContent(subobj, index);
460                 }
461                 catch (Exception e)
462                 {
463                     Eina.Log.Warning($"Callback error: {e.ToString()}");
464                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
465                 }
466
467                                         
468             }
469             else
470             {
471                 efl_ui_spotlight_manager_content_add_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, index);
472             }
473         }
474
475         private static efl_ui_spotlight_manager_content_add_delegate efl_ui_spotlight_manager_content_add_static_delegate;
476
477         
478         private delegate void efl_ui_spotlight_manager_content_del_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj,  int index);
479
480         
481         public delegate void efl_ui_spotlight_manager_content_del_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity subobj,  int index);
482
483         public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_content_del_api_delegate> efl_ui_spotlight_manager_content_del_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_content_del_api_delegate>(Module, "efl_ui_spotlight_manager_content_del");
484
485         private static void content_del(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity subobj, int index)
486         {
487             Eina.Log.Debug("function efl_ui_spotlight_manager_content_del was called");
488             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
489             if (ws != null)
490             {
491                                                             
492                 try
493                 {
494                     ((Manager)ws.Target).DelContent(subobj, index);
495                 }
496                 catch (Exception e)
497                 {
498                     Eina.Log.Warning($"Callback error: {e.ToString()}");
499                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
500                 }
501
502                                         
503             }
504             else
505             {
506                 efl_ui_spotlight_manager_content_del_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), subobj, index);
507             }
508         }
509
510         private static efl_ui_spotlight_manager_content_del_delegate efl_ui_spotlight_manager_content_del_static_delegate;
511
512         
513         private delegate void efl_ui_spotlight_manager_switch_to_delegate(System.IntPtr obj, System.IntPtr pd,  int from,  int to);
514
515         
516         public delegate void efl_ui_spotlight_manager_switch_to_api_delegate(System.IntPtr obj,  int from,  int to);
517
518         public static Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_switch_to_api_delegate> efl_ui_spotlight_manager_switch_to_ptr = new Efl.Eo.FunctionWrapper<efl_ui_spotlight_manager_switch_to_api_delegate>(Module, "efl_ui_spotlight_manager_switch_to");
519
520         private static void switch_to(System.IntPtr obj, System.IntPtr pd, int from, int to)
521         {
522             Eina.Log.Debug("function efl_ui_spotlight_manager_switch_to was called");
523             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
524             if (ws != null)
525             {
526                                                             
527                 try
528                 {
529                     ((Manager)ws.Target).SwitchTo(from, to);
530                 }
531                 catch (Exception e)
532                 {
533                     Eina.Log.Warning($"Callback error: {e.ToString()}");
534                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
535                 }
536
537                                         
538             }
539             else
540             {
541                 efl_ui_spotlight_manager_switch_to_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), from, to);
542             }
543         }
544
545         private static efl_ui_spotlight_manager_switch_to_delegate efl_ui_spotlight_manager_switch_to_static_delegate;
546
547         #pragma warning restore CA1707, CS1591, SA1300, SA1600
548
549 }
550 }
551 }
552
553 }
554
555 }
556