[Security] Fix PrivacyPrivilegeManager.RequestPermissions crash issue (#1651)
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / efl / efl_ui_dnd_container.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 /// <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>
14 [Efl.Ui.IDndContainerConcrete.NativeMethods]
15 [Efl.Eo.BindingEntity]
16 public interface IDndContainer : 
17     Efl.Eo.IWrapper, IDisposable
18 {
19     /// <summary>The time since mouse down happens to drag starts.</summary>
20 /// <returns>The drag delay time</returns>
21 double GetDragDelayTime();
22     /// <summary>The time since mouse down happens to drag starts.</summary>
23 /// <param name="time">The drag delay time</param>
24 void SetDragDelayTime(double time);
25     /// <summary>This registers a drag for items in a container. Many items can be dragged at a time. During dragging, there are three events emitted: EFL_DND_EVENT_DRAG_POS, EFL_DND_EVENT_DRAG_ACCEPT, EFL_DND_EVENT_DRAG_DONE.</summary>
26 /// <param name="data_func">Data and its format</param>
27 /// <param name="item_func">Item to determine drag start</param>
28 /// <param name="icon_func">Icon used during drag</param>
29 /// <param name="icon_list_func">Icons used for animations CHECKING</param>
30 /// <param name="seat">Specified seat for multiple seats case.</param>
31 void AddDragItem(Efl.Dnd.DragDataGet data_func, Efl.Dnd.ItemGet item_func, Efl.Dnd.DragIconCreate icon_func, Efl.Dnd.DragIconListCreate icon_list_func, uint seat);
32     /// <summary>Remove drag function of items in the container object.</summary>
33 /// <param name="seat">Specified seat for multiple seats case.</param>
34 void DelDragItem(uint seat);
35     /// <param name="format">Accepted data formats</param>
36 /// <param name="item_func">Get item at specific position</param>
37 /// <param name="seat">Specified seat for multiple seats case.</param>
38 void AddDropItem(Efl.Ui.SelectionFormat format, Efl.Dnd.ItemGet item_func, uint seat);
39     /// <param name="seat">Specified seat for multiple seats case.</param>
40 void DelDropItem(uint seat);
41                             /// <summary>The time since mouse down happens to drag starts.</summary>
42     /// <value>The drag delay time</value>
43     double DragDelayTime {
44         get;
45         set;
46     }
47 }
48 /// <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>
49 sealed public  class IDndContainerConcrete :
50     Efl.Eo.EoWrapper
51     , IDndContainer
52     
53 {
54     /// <summary>Pointer to the native class description.</summary>
55     public override System.IntPtr NativeClass
56     {
57         get
58         {
59             if (((object)this).GetType() == typeof(IDndContainerConcrete))
60             {
61                 return GetEflClassStatic();
62             }
63             else
64             {
65                 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
66             }
67         }
68     }
69
70     /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
71     /// Do not call this constructor directly.</summary>
72     /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
73     private IDndContainerConcrete(ConstructingHandle ch) : base(ch)
74     {
75     }
76
77     [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
78         efl_ui_dnd_container_mixin_get();
79     /// <summary>Initializes a new instance of the <see cref="IDndContainer"/> class.
80     /// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
81     /// <param name="wh">The native pointer to be wrapped.</param>
82     private IDndContainerConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
83     {
84     }
85
86     /// <summary>The time since mouse down happens to drag starts.</summary>
87     /// <returns>The drag delay time</returns>
88     public double GetDragDelayTime() {
89          var _ret_var = Efl.Ui.IDndContainerConcrete.NativeMethods.efl_ui_dnd_container_drag_delay_time_get_ptr.Value.Delegate(this.NativeHandle);
90         Eina.Error.RaiseIfUnhandledException();
91         return _ret_var;
92  }
93     /// <summary>The time since mouse down happens to drag starts.</summary>
94     /// <param name="time">The drag delay time</param>
95     public void SetDragDelayTime(double time) {
96                                  Efl.Ui.IDndContainerConcrete.NativeMethods.efl_ui_dnd_container_drag_delay_time_set_ptr.Value.Delegate(this.NativeHandle,time);
97         Eina.Error.RaiseIfUnhandledException();
98                          }
99     /// <summary>This registers a drag for items in a container. Many items can be dragged at a time. During dragging, there are three events emitted: EFL_DND_EVENT_DRAG_POS, EFL_DND_EVENT_DRAG_ACCEPT, EFL_DND_EVENT_DRAG_DONE.</summary>
100     /// <param name="data_func">Data and its format</param>
101     /// <param name="item_func">Item to determine drag start</param>
102     /// <param name="icon_func">Icon used during drag</param>
103     /// <param name="icon_list_func">Icons used for animations CHECKING</param>
104     /// <param name="seat">Specified seat for multiple seats case.</param>
105     public void AddDragItem(Efl.Dnd.DragDataGet data_func, Efl.Dnd.ItemGet item_func, Efl.Dnd.DragIconCreate icon_func, Efl.Dnd.DragIconListCreate icon_list_func, uint seat) {
106                                                                                          GCHandle data_func_handle = GCHandle.Alloc(data_func);
107         GCHandle item_func_handle = GCHandle.Alloc(item_func);
108         GCHandle icon_func_handle = GCHandle.Alloc(icon_func);
109         GCHandle icon_list_func_handle = GCHandle.Alloc(icon_list_func);
110                 Efl.Ui.IDndContainerConcrete.NativeMethods.efl_ui_dnd_container_drag_item_add_ptr.Value.Delegate(this.NativeHandle,GCHandle.ToIntPtr(data_func_handle), Efl.Dnd.DragDataGetWrapper.Cb, Efl.Eo.Globals.free_gchandle, GCHandle.ToIntPtr(item_func_handle), Efl.Dnd.ItemGetWrapper.Cb, Efl.Eo.Globals.free_gchandle, GCHandle.ToIntPtr(icon_func_handle), Efl.Dnd.DragIconCreateWrapper.Cb, Efl.Eo.Globals.free_gchandle, GCHandle.ToIntPtr(icon_list_func_handle), Efl.Dnd.DragIconListCreateWrapper.Cb, Efl.Eo.Globals.free_gchandle, seat);
111         Eina.Error.RaiseIfUnhandledException();
112                                                                                          }
113     /// <summary>Remove drag function of items in the container object.</summary>
114     /// <param name="seat">Specified seat for multiple seats case.</param>
115     public void DelDragItem(uint seat) {
116                                  Efl.Ui.IDndContainerConcrete.NativeMethods.efl_ui_dnd_container_drag_item_del_ptr.Value.Delegate(this.NativeHandle,seat);
117         Eina.Error.RaiseIfUnhandledException();
118                          }
119     /// <param name="format">Accepted data formats</param>
120     /// <param name="item_func">Get item at specific position</param>
121     /// <param name="seat">Specified seat for multiple seats case.</param>
122     public void AddDropItem(Efl.Ui.SelectionFormat format, Efl.Dnd.ItemGet item_func, uint seat) {
123                                                                  GCHandle item_func_handle = GCHandle.Alloc(item_func);
124                 Efl.Ui.IDndContainerConcrete.NativeMethods.efl_ui_dnd_container_drop_item_add_ptr.Value.Delegate(this.NativeHandle,format, GCHandle.ToIntPtr(item_func_handle), Efl.Dnd.ItemGetWrapper.Cb, Efl.Eo.Globals.free_gchandle, seat);
125         Eina.Error.RaiseIfUnhandledException();
126                                                          }
127     /// <param name="seat">Specified seat for multiple seats case.</param>
128     public void DelDropItem(uint seat) {
129                                  Efl.Ui.IDndContainerConcrete.NativeMethods.efl_ui_dnd_container_drop_item_del_ptr.Value.Delegate(this.NativeHandle,seat);
130         Eina.Error.RaiseIfUnhandledException();
131                          }
132     /// <summary>The time since mouse down happens to drag starts.</summary>
133     /// <value>The drag delay time</value>
134     public double DragDelayTime {
135         get { return GetDragDelayTime(); }
136         set { SetDragDelayTime(value); }
137     }
138     private static IntPtr GetEflClassStatic()
139     {
140         return Efl.Ui.IDndContainerConcrete.efl_ui_dnd_container_mixin_get();
141     }
142     /// <summary>Wrapper for native methods and virtual method delegates.
143     /// For internal use by generated code only.</summary>
144     public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
145     {
146         private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule(    efl.Libs.Elementary);
147         /// <summary>Gets the list of Eo operations to override.</summary>
148         /// <returns>The list of Eo operations to be overload.</returns>
149         public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
150         {
151             var descs = new System.Collections.Generic.List<Efl_Op_Description>();
152             var methods = Efl.Eo.Globals.GetUserMethods(type);
153
154             if (efl_ui_dnd_container_drag_delay_time_get_static_delegate == null)
155             {
156                 efl_ui_dnd_container_drag_delay_time_get_static_delegate = new efl_ui_dnd_container_drag_delay_time_get_delegate(drag_delay_time_get);
157             }
158
159             if (methods.FirstOrDefault(m => m.Name == "GetDragDelayTime") != null)
160             {
161                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_dnd_container_drag_delay_time_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_dnd_container_drag_delay_time_get_static_delegate) });
162             }
163
164             if (efl_ui_dnd_container_drag_delay_time_set_static_delegate == null)
165             {
166                 efl_ui_dnd_container_drag_delay_time_set_static_delegate = new efl_ui_dnd_container_drag_delay_time_set_delegate(drag_delay_time_set);
167             }
168
169             if (methods.FirstOrDefault(m => m.Name == "SetDragDelayTime") != null)
170             {
171                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_dnd_container_drag_delay_time_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_dnd_container_drag_delay_time_set_static_delegate) });
172             }
173
174             if (efl_ui_dnd_container_drag_item_add_static_delegate == null)
175             {
176                 efl_ui_dnd_container_drag_item_add_static_delegate = new efl_ui_dnd_container_drag_item_add_delegate(drag_item_add);
177             }
178
179             if (methods.FirstOrDefault(m => m.Name == "AddDragItem") != null)
180             {
181                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_dnd_container_drag_item_add"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_dnd_container_drag_item_add_static_delegate) });
182             }
183
184             if (efl_ui_dnd_container_drag_item_del_static_delegate == null)
185             {
186                 efl_ui_dnd_container_drag_item_del_static_delegate = new efl_ui_dnd_container_drag_item_del_delegate(drag_item_del);
187             }
188
189             if (methods.FirstOrDefault(m => m.Name == "DelDragItem") != null)
190             {
191                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_dnd_container_drag_item_del"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_dnd_container_drag_item_del_static_delegate) });
192             }
193
194             if (efl_ui_dnd_container_drop_item_add_static_delegate == null)
195             {
196                 efl_ui_dnd_container_drop_item_add_static_delegate = new efl_ui_dnd_container_drop_item_add_delegate(drop_item_add);
197             }
198
199             if (methods.FirstOrDefault(m => m.Name == "AddDropItem") != null)
200             {
201                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_dnd_container_drop_item_add"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_dnd_container_drop_item_add_static_delegate) });
202             }
203
204             if (efl_ui_dnd_container_drop_item_del_static_delegate == null)
205             {
206                 efl_ui_dnd_container_drop_item_del_static_delegate = new efl_ui_dnd_container_drop_item_del_delegate(drop_item_del);
207             }
208
209             if (methods.FirstOrDefault(m => m.Name == "DelDropItem") != null)
210             {
211                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_dnd_container_drop_item_del"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_dnd_container_drop_item_del_static_delegate) });
212             }
213
214             return descs;
215         }
216         /// <summary>Returns the Eo class for the native methods of this class.</summary>
217         /// <returns>The native class pointer.</returns>
218         public override IntPtr GetEflClass()
219         {
220             return Efl.Ui.IDndContainerConcrete.efl_ui_dnd_container_mixin_get();
221         }
222
223         #pragma warning disable CA1707, CS1591, SA1300, SA1600
224
225         
226         private delegate double efl_ui_dnd_container_drag_delay_time_get_delegate(System.IntPtr obj, System.IntPtr pd);
227
228         
229         public delegate double efl_ui_dnd_container_drag_delay_time_get_api_delegate(System.IntPtr obj);
230
231         public static Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drag_delay_time_get_api_delegate> efl_ui_dnd_container_drag_delay_time_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drag_delay_time_get_api_delegate>(Module, "efl_ui_dnd_container_drag_delay_time_get");
232
233         private static double drag_delay_time_get(System.IntPtr obj, System.IntPtr pd)
234         {
235             Eina.Log.Debug("function efl_ui_dnd_container_drag_delay_time_get was called");
236             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
237             if (ws != null)
238             {
239             double _ret_var = default(double);
240                 try
241                 {
242                     _ret_var = ((IDndContainer)ws.Target).GetDragDelayTime();
243                 }
244                 catch (Exception e)
245                 {
246                     Eina.Log.Warning($"Callback error: {e.ToString()}");
247                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
248                 }
249
250         return _ret_var;
251
252             }
253             else
254             {
255                 return efl_ui_dnd_container_drag_delay_time_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
256             }
257         }
258
259         private static efl_ui_dnd_container_drag_delay_time_get_delegate efl_ui_dnd_container_drag_delay_time_get_static_delegate;
260
261         
262         private delegate void efl_ui_dnd_container_drag_delay_time_set_delegate(System.IntPtr obj, System.IntPtr pd,  double time);
263
264         
265         public delegate void efl_ui_dnd_container_drag_delay_time_set_api_delegate(System.IntPtr obj,  double time);
266
267         public static Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drag_delay_time_set_api_delegate> efl_ui_dnd_container_drag_delay_time_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drag_delay_time_set_api_delegate>(Module, "efl_ui_dnd_container_drag_delay_time_set");
268
269         private static void drag_delay_time_set(System.IntPtr obj, System.IntPtr pd, double time)
270         {
271             Eina.Log.Debug("function efl_ui_dnd_container_drag_delay_time_set was called");
272             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
273             if (ws != null)
274             {
275                                     
276                 try
277                 {
278                     ((IDndContainer)ws.Target).SetDragDelayTime(time);
279                 }
280                 catch (Exception e)
281                 {
282                     Eina.Log.Warning($"Callback error: {e.ToString()}");
283                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
284                 }
285
286                         
287             }
288             else
289             {
290                 efl_ui_dnd_container_drag_delay_time_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), time);
291             }
292         }
293
294         private static efl_ui_dnd_container_drag_delay_time_set_delegate efl_ui_dnd_container_drag_delay_time_set_static_delegate;
295
296         
297         private delegate void efl_ui_dnd_container_drag_item_add_delegate(System.IntPtr obj, System.IntPtr pd,  IntPtr data_func_data, Efl.Dnd.DragDataGetInternal data_func, EinaFreeCb data_func_free_cb,  IntPtr item_func_data, Efl.Dnd.ItemGetInternal item_func, EinaFreeCb item_func_free_cb,  IntPtr icon_func_data, Efl.Dnd.DragIconCreateInternal icon_func, EinaFreeCb icon_func_free_cb,  IntPtr icon_list_func_data, Efl.Dnd.DragIconListCreateInternal icon_list_func, EinaFreeCb icon_list_func_free_cb,  uint seat);
298
299         
300         public delegate void efl_ui_dnd_container_drag_item_add_api_delegate(System.IntPtr obj,  IntPtr data_func_data, Efl.Dnd.DragDataGetInternal data_func, EinaFreeCb data_func_free_cb,  IntPtr item_func_data, Efl.Dnd.ItemGetInternal item_func, EinaFreeCb item_func_free_cb,  IntPtr icon_func_data, Efl.Dnd.DragIconCreateInternal icon_func, EinaFreeCb icon_func_free_cb,  IntPtr icon_list_func_data, Efl.Dnd.DragIconListCreateInternal icon_list_func, EinaFreeCb icon_list_func_free_cb,  uint seat);
301
302         public static Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drag_item_add_api_delegate> efl_ui_dnd_container_drag_item_add_ptr = new Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drag_item_add_api_delegate>(Module, "efl_ui_dnd_container_drag_item_add");
303
304         private static void drag_item_add(System.IntPtr obj, System.IntPtr pd, IntPtr data_func_data, Efl.Dnd.DragDataGetInternal data_func, EinaFreeCb data_func_free_cb, IntPtr item_func_data, Efl.Dnd.ItemGetInternal item_func, EinaFreeCb item_func_free_cb, IntPtr icon_func_data, Efl.Dnd.DragIconCreateInternal icon_func, EinaFreeCb icon_func_free_cb, IntPtr icon_list_func_data, Efl.Dnd.DragIconListCreateInternal icon_list_func, EinaFreeCb icon_list_func_free_cb, uint seat)
305         {
306             Eina.Log.Debug("function efl_ui_dnd_container_drag_item_add was called");
307             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
308             if (ws != null)
309             {
310                                                                                             Efl.Dnd.DragDataGetWrapper data_func_wrapper = new Efl.Dnd.DragDataGetWrapper(data_func, data_func_data, data_func_free_cb);
311             Efl.Dnd.ItemGetWrapper item_func_wrapper = new Efl.Dnd.ItemGetWrapper(item_func, item_func_data, item_func_free_cb);
312             Efl.Dnd.DragIconCreateWrapper icon_func_wrapper = new Efl.Dnd.DragIconCreateWrapper(icon_func, icon_func_data, icon_func_free_cb);
313             Efl.Dnd.DragIconListCreateWrapper icon_list_func_wrapper = new Efl.Dnd.DragIconListCreateWrapper(icon_list_func, icon_list_func_data, icon_list_func_free_cb);
314                     
315                 try
316                 {
317                     ((IDndContainer)ws.Target).AddDragItem(data_func_wrapper.ManagedCb, item_func_wrapper.ManagedCb, icon_func_wrapper.ManagedCb, icon_list_func_wrapper.ManagedCb, seat);
318                 }
319                 catch (Exception e)
320                 {
321                     Eina.Log.Warning($"Callback error: {e.ToString()}");
322                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
323                 }
324
325                                                                                         
326             }
327             else
328             {
329                 efl_ui_dnd_container_drag_item_add_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), data_func_data, data_func, data_func_free_cb, item_func_data, item_func, item_func_free_cb, icon_func_data, icon_func, icon_func_free_cb, icon_list_func_data, icon_list_func, icon_list_func_free_cb, seat);
330             }
331         }
332
333         private static efl_ui_dnd_container_drag_item_add_delegate efl_ui_dnd_container_drag_item_add_static_delegate;
334
335         
336         private delegate void efl_ui_dnd_container_drag_item_del_delegate(System.IntPtr obj, System.IntPtr pd,  uint seat);
337
338         
339         public delegate void efl_ui_dnd_container_drag_item_del_api_delegate(System.IntPtr obj,  uint seat);
340
341         public static Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drag_item_del_api_delegate> efl_ui_dnd_container_drag_item_del_ptr = new Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drag_item_del_api_delegate>(Module, "efl_ui_dnd_container_drag_item_del");
342
343         private static void drag_item_del(System.IntPtr obj, System.IntPtr pd, uint seat)
344         {
345             Eina.Log.Debug("function efl_ui_dnd_container_drag_item_del was called");
346             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
347             if (ws != null)
348             {
349                                     
350                 try
351                 {
352                     ((IDndContainer)ws.Target).DelDragItem(seat);
353                 }
354                 catch (Exception e)
355                 {
356                     Eina.Log.Warning($"Callback error: {e.ToString()}");
357                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
358                 }
359
360                         
361             }
362             else
363             {
364                 efl_ui_dnd_container_drag_item_del_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), seat);
365             }
366         }
367
368         private static efl_ui_dnd_container_drag_item_del_delegate efl_ui_dnd_container_drag_item_del_static_delegate;
369
370         
371         private delegate void efl_ui_dnd_container_drop_item_add_delegate(System.IntPtr obj, System.IntPtr pd,  Efl.Ui.SelectionFormat format,  IntPtr item_func_data, Efl.Dnd.ItemGetInternal item_func, EinaFreeCb item_func_free_cb,  uint seat);
372
373         
374         public delegate void efl_ui_dnd_container_drop_item_add_api_delegate(System.IntPtr obj,  Efl.Ui.SelectionFormat format,  IntPtr item_func_data, Efl.Dnd.ItemGetInternal item_func, EinaFreeCb item_func_free_cb,  uint seat);
375
376         public static Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drop_item_add_api_delegate> efl_ui_dnd_container_drop_item_add_ptr = new Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drop_item_add_api_delegate>(Module, "efl_ui_dnd_container_drop_item_add");
377
378         private static void drop_item_add(System.IntPtr obj, System.IntPtr pd, Efl.Ui.SelectionFormat format, IntPtr item_func_data, Efl.Dnd.ItemGetInternal item_func, EinaFreeCb item_func_free_cb, uint seat)
379         {
380             Eina.Log.Debug("function efl_ui_dnd_container_drop_item_add was called");
381             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
382             if (ws != null)
383             {
384                                                                     Efl.Dnd.ItemGetWrapper item_func_wrapper = new Efl.Dnd.ItemGetWrapper(item_func, item_func_data, item_func_free_cb);
385                     
386                 try
387                 {
388                     ((IDndContainer)ws.Target).AddDropItem(format, item_func_wrapper.ManagedCb, seat);
389                 }
390                 catch (Exception e)
391                 {
392                     Eina.Log.Warning($"Callback error: {e.ToString()}");
393                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
394                 }
395
396                                                         
397             }
398             else
399             {
400                 efl_ui_dnd_container_drop_item_add_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), format, item_func_data, item_func, item_func_free_cb, seat);
401             }
402         }
403
404         private static efl_ui_dnd_container_drop_item_add_delegate efl_ui_dnd_container_drop_item_add_static_delegate;
405
406         
407         private delegate void efl_ui_dnd_container_drop_item_del_delegate(System.IntPtr obj, System.IntPtr pd,  uint seat);
408
409         
410         public delegate void efl_ui_dnd_container_drop_item_del_api_delegate(System.IntPtr obj,  uint seat);
411
412         public static Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drop_item_del_api_delegate> efl_ui_dnd_container_drop_item_del_ptr = new Efl.Eo.FunctionWrapper<efl_ui_dnd_container_drop_item_del_api_delegate>(Module, "efl_ui_dnd_container_drop_item_del");
413
414         private static void drop_item_del(System.IntPtr obj, System.IntPtr pd, uint seat)
415         {
416             Eina.Log.Debug("function efl_ui_dnd_container_drop_item_del was called");
417             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
418             if (ws != null)
419             {
420                                     
421                 try
422                 {
423                     ((IDndContainer)ws.Target).DelDropItem(seat);
424                 }
425                 catch (Exception e)
426                 {
427                     Eina.Log.Warning($"Callback error: {e.ToString()}");
428                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
429                 }
430
431                         
432             }
433             else
434             {
435                 efl_ui_dnd_container_drop_item_del_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), seat);
436             }
437         }
438
439         private static efl_ui_dnd_container_drop_item_del_delegate efl_ui_dnd_container_drop_item_del_static_delegate;
440
441         #pragma warning restore CA1707, CS1591, SA1300, SA1600
442
443 }
444 }
445 }
446
447 }
448
449 #if EFL_BETA
450 #pragma warning disable CS1591
451 public static class Efl_UiIDndContainerConcrete_ExtensionMethods {
452     public static Efl.BindableProperty<double> DragDelayTime<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.IDndContainer, T>magic = null) where T : Efl.Ui.IDndContainer {
453         return new Efl.BindableProperty<double>("drag_delay_time", fac);
454     }
455
456 }
457 #pragma warning restore CS1591
458 #endif