e9e65297779a31778ade93b8fe00946ddcb270c1
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / efl / efl_ui_dnd_container.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.ComponentModel;
7 namespace Efl { namespace Ui { 
8 /// <summary></summary>
9 [IDndContainerNativeInherit]
10 public interface IDndContainer : 
11     Efl.Eo.IWrapper, IDisposable
12 {
13     /// <summary>The time since mouse down happens to drag starts.</summary>
14 /// <returns>The drag delay time</returns>
15 double GetDragDelayTime();
16     /// <summary>The time since mouse down happens to drag starts.</summary>
17 /// <param name="time">The drag delay time</param>
18 /// <returns></returns>
19 void SetDragDelayTime( double time);
20     /// <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>
21 /// <param name="data_func">Data and its format</param>
22 /// <param name="item_func">Item to determine drag start</param>
23 /// <param name="icon_func">Icon used during drag</param>
24 /// <param name="icon_list_func">Icons used for animations CHECKING</param>
25 /// <param name="seat">Specified seat for multiple seats case.</param>
26 /// <returns></returns>
27 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);
28     /// <summary>Remove drag function of items in the container object.</summary>
29 /// <param name="seat">Specified seat for multiple seats case.</param>
30 /// <returns></returns>
31 void DelDragItem( uint seat);
32     /// <summary></summary>
33 /// <param name="format">Accepted data formats</param>
34 /// <param name="item_func">Get item at specific position</param>
35 /// <param name="seat">Specified seat for multiple seats case.</param>
36 /// <returns></returns>
37 void AddDropItem( Efl.Ui.SelectionFormat format,  Efl.Dnd.ItemGet item_func,  uint seat);
38     /// <summary></summary>
39 /// <param name="seat">Specified seat for multiple seats case.</param>
40 /// <returns></returns>
41 void DelDropItem( uint seat);
42                             /// <summary>The time since mouse down happens to drag starts.</summary>
43 /// <value>The drag delay time</value>
44     double DragDelayTime {
45         get ;
46         set ;
47     }
48 }
49 /// <summary></summary>
50 sealed public class IDndContainerConcrete : 
51
52 IDndContainer
53     
54 {
55     ///<summary>Pointer to the native class description.</summary>
56     public System.IntPtr NativeClass {
57         get {
58             if (((object)this).GetType() == typeof (IDndContainerConcrete))
59                 return Efl.Ui.IDndContainerNativeInherit.GetEflClassStatic();
60             else
61                 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
62         }
63     }
64     private  System.IntPtr handle;
65     ///<summary>Pointer to the native instance.</summary>
66     public System.IntPtr NativeHandle {
67         get { return handle; }
68     }
69     [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
70         efl_ui_dnd_container_mixin_get();
71     ///<summary>Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
72     private IDndContainerConcrete(System.IntPtr raw)
73     {
74         handle = raw;
75         RegisterEventProxies();
76     }
77     ///<summary>Destructor.</summary>
78     ~IDndContainerConcrete()
79     {
80         Dispose(false);
81     }
82     ///<summary>Releases the underlying native instance.</summary>
83     void Dispose(bool disposing)
84     {
85         if (handle != System.IntPtr.Zero) {
86             Efl.Eo.Globals.efl_unref(handle);
87             handle = System.IntPtr.Zero;
88         }
89     }
90     ///<summary>Releases the underlying native instance.</summary>
91     public void Dispose()
92     {
93         Dispose(true);
94         GC.SuppressFinalize(this);
95     }
96     ///<summary>Verifies if the given object is equal to this one.</summary>
97     public override bool Equals(object obj)
98     {
99         var other = obj as Efl.Object;
100         if (other == null)
101             return false;
102         return this.NativeHandle == other.NativeHandle;
103     }
104     ///<summary>Gets the hash code for this object based on the native pointer it points to.</summary>
105     public override int GetHashCode()
106     {
107         return this.NativeHandle.ToInt32();
108     }
109     ///<summary>Turns the native pointer into a string representation.</summary>
110     public override String ToString()
111     {
112         return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
113     }
114     ///<summary>Register the Eo event wrappers making the bridge to C# events. Internal usage only.</summary>
115      void RegisterEventProxies()
116     {
117     }
118     /// <summary>The time since mouse down happens to drag starts.</summary>
119     /// <returns>The drag delay time</returns>
120     public double GetDragDelayTime() {
121          var _ret_var = Efl.Ui.IDndContainerNativeInherit.efl_ui_dnd_container_drag_delay_time_get_ptr.Value.Delegate(this.NativeHandle);
122         Eina.Error.RaiseIfUnhandledException();
123         return _ret_var;
124  }
125     /// <summary>The time since mouse down happens to drag starts.</summary>
126     /// <param name="time">The drag delay time</param>
127     /// <returns></returns>
128     public void SetDragDelayTime( double time) {
129                                  Efl.Ui.IDndContainerNativeInherit.efl_ui_dnd_container_drag_delay_time_set_ptr.Value.Delegate(this.NativeHandle, time);
130         Eina.Error.RaiseIfUnhandledException();
131                          }
132     /// <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>
133     /// <param name="data_func">Data and its format</param>
134     /// <param name="item_func">Item to determine drag start</param>
135     /// <param name="icon_func">Icon used during drag</param>
136     /// <param name="icon_list_func">Icons used for animations CHECKING</param>
137     /// <param name="seat">Specified seat for multiple seats case.</param>
138     /// <returns></returns>
139     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) {
140                                                                                          GCHandle data_func_handle = GCHandle.Alloc(data_func);
141         GCHandle item_func_handle = GCHandle.Alloc(item_func);
142         GCHandle icon_func_handle = GCHandle.Alloc(icon_func);
143         GCHandle icon_list_func_handle = GCHandle.Alloc(icon_list_func);
144                 Efl.Ui.IDndContainerNativeInherit.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);
145         Eina.Error.RaiseIfUnhandledException();
146                                                                                          }
147     /// <summary>Remove drag function of items in the container object.</summary>
148     /// <param name="seat">Specified seat for multiple seats case.</param>
149     /// <returns></returns>
150     public void DelDragItem( uint seat) {
151                                  Efl.Ui.IDndContainerNativeInherit.efl_ui_dnd_container_drag_item_del_ptr.Value.Delegate(this.NativeHandle, seat);
152         Eina.Error.RaiseIfUnhandledException();
153                          }
154     /// <summary></summary>
155     /// <param name="format">Accepted data formats</param>
156     /// <param name="item_func">Get item at specific position</param>
157     /// <param name="seat">Specified seat for multiple seats case.</param>
158     /// <returns></returns>
159     public void AddDropItem( Efl.Ui.SelectionFormat format,  Efl.Dnd.ItemGet item_func,  uint seat) {
160                                                                  GCHandle item_func_handle = GCHandle.Alloc(item_func);
161                 Efl.Ui.IDndContainerNativeInherit.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);
162         Eina.Error.RaiseIfUnhandledException();
163                                                          }
164     /// <summary></summary>
165     /// <param name="seat">Specified seat for multiple seats case.</param>
166     /// <returns></returns>
167     public void DelDropItem( uint seat) {
168                                  Efl.Ui.IDndContainerNativeInherit.efl_ui_dnd_container_drop_item_del_ptr.Value.Delegate(this.NativeHandle, seat);
169         Eina.Error.RaiseIfUnhandledException();
170                          }
171     /// <summary>The time since mouse down happens to drag starts.</summary>
172 /// <value>The drag delay time</value>
173     public double DragDelayTime {
174         get { return GetDragDelayTime(); }
175         set { SetDragDelayTime( value); }
176     }
177     private static IntPtr GetEflClassStatic()
178     {
179         return Efl.Ui.IDndContainerConcrete.efl_ui_dnd_container_mixin_get();
180     }
181 }
182 public class IDndContainerNativeInherit  : Efl.Eo.NativeClass{
183     public  static Efl.Eo.NativeModule _Module = new Efl.Eo.NativeModule(efl.Libs.Elementary);
184     public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
185     {
186         var descs = new System.Collections.Generic.List<Efl_Op_Description>();
187         var methods = Efl.Eo.Globals.GetUserMethods(type);
188         if (efl_ui_dnd_container_drag_delay_time_get_static_delegate == null)
189             efl_ui_dnd_container_drag_delay_time_get_static_delegate = new efl_ui_dnd_container_drag_delay_time_get_delegate(drag_delay_time_get);
190         if (methods.FirstOrDefault(m => m.Name == "GetDragDelayTime") != null)
191             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)});
192         if (efl_ui_dnd_container_drag_delay_time_set_static_delegate == null)
193             efl_ui_dnd_container_drag_delay_time_set_static_delegate = new efl_ui_dnd_container_drag_delay_time_set_delegate(drag_delay_time_set);
194         if (methods.FirstOrDefault(m => m.Name == "SetDragDelayTime") != null)
195             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)});
196         if (efl_ui_dnd_container_drag_item_add_static_delegate == null)
197             efl_ui_dnd_container_drag_item_add_static_delegate = new efl_ui_dnd_container_drag_item_add_delegate(drag_item_add);
198         if (methods.FirstOrDefault(m => m.Name == "AddDragItem") != null)
199             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)});
200         if (efl_ui_dnd_container_drag_item_del_static_delegate == null)
201             efl_ui_dnd_container_drag_item_del_static_delegate = new efl_ui_dnd_container_drag_item_del_delegate(drag_item_del);
202         if (methods.FirstOrDefault(m => m.Name == "DelDragItem") != null)
203             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)});
204         if (efl_ui_dnd_container_drop_item_add_static_delegate == null)
205             efl_ui_dnd_container_drop_item_add_static_delegate = new efl_ui_dnd_container_drop_item_add_delegate(drop_item_add);
206         if (methods.FirstOrDefault(m => m.Name == "AddDropItem") != null)
207             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)});
208         if (efl_ui_dnd_container_drop_item_del_static_delegate == null)
209             efl_ui_dnd_container_drop_item_del_static_delegate = new efl_ui_dnd_container_drop_item_del_delegate(drop_item_del);
210         if (methods.FirstOrDefault(m => m.Name == "DelDropItem") != null)
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         return descs;
213     }
214     public override IntPtr GetEflClass()
215     {
216         return Efl.Ui.IDndContainerConcrete.efl_ui_dnd_container_mixin_get();
217     }
218     public static  IntPtr GetEflClassStatic()
219     {
220         return Efl.Ui.IDndContainerConcrete.efl_ui_dnd_container_mixin_get();
221     }
222
223
224      private delegate double efl_ui_dnd_container_drag_delay_time_get_delegate(System.IntPtr obj, System.IntPtr pd);
225
226
227      public delegate double efl_ui_dnd_container_drag_delay_time_get_api_delegate(System.IntPtr obj);
228      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");
229      private static double drag_delay_time_get(System.IntPtr obj, System.IntPtr pd)
230     {
231         Eina.Log.Debug("function efl_ui_dnd_container_drag_delay_time_get was called");
232         Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
233         if(wrapper != null) {
234                         double _ret_var = default(double);
235             try {
236                 _ret_var = ((IDndContainerConcrete)wrapper).GetDragDelayTime();
237             } catch (Exception e) {
238                 Eina.Log.Warning($"Callback error: {e.ToString()}");
239                 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
240             }
241         return _ret_var;
242         } else {
243             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)));
244         }
245     }
246     private static efl_ui_dnd_container_drag_delay_time_get_delegate efl_ui_dnd_container_drag_delay_time_get_static_delegate;
247
248
249      private delegate void efl_ui_dnd_container_drag_delay_time_set_delegate(System.IntPtr obj, System.IntPtr pd,   double time);
250
251
252      public delegate void efl_ui_dnd_container_drag_delay_time_set_api_delegate(System.IntPtr obj,   double time);
253      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");
254      private static void drag_delay_time_set(System.IntPtr obj, System.IntPtr pd,  double time)
255     {
256         Eina.Log.Debug("function efl_ui_dnd_container_drag_delay_time_set was called");
257         Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
258         if(wrapper != null) {
259                                                 
260             try {
261                 ((IDndContainerConcrete)wrapper).SetDragDelayTime( time);
262             } catch (Exception e) {
263                 Eina.Log.Warning($"Callback error: {e.ToString()}");
264                 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
265             }
266                                 } else {
267             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);
268         }
269     }
270     private static efl_ui_dnd_container_drag_delay_time_set_delegate efl_ui_dnd_container_drag_delay_time_set_static_delegate;
271
272
273      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);
274
275
276      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);
277      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");
278      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)
279     {
280         Eina.Log.Debug("function efl_ui_dnd_container_drag_item_add was called");
281         Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
282         if(wrapper != null) {
283                                                                                                         Efl.Dnd.DragDataGetWrapper data_func_wrapper = new Efl.Dnd.DragDataGetWrapper(data_func, data_func_data, data_func_free_cb);
284             Efl.Dnd.ItemGetWrapper item_func_wrapper = new Efl.Dnd.ItemGetWrapper(item_func, item_func_data, item_func_free_cb);
285             Efl.Dnd.DragIconCreateWrapper icon_func_wrapper = new Efl.Dnd.DragIconCreateWrapper(icon_func, icon_func_data, icon_func_free_cb);
286             Efl.Dnd.DragIconListCreateWrapper icon_list_func_wrapper = new Efl.Dnd.DragIconListCreateWrapper(icon_list_func, icon_list_func_data, icon_list_func_free_cb);
287                     
288             try {
289                 ((IDndContainerConcrete)wrapper).AddDragItem( data_func_wrapper.ManagedCb,  item_func_wrapper.ManagedCb,  icon_func_wrapper.ManagedCb,  icon_list_func_wrapper.ManagedCb,  seat);
290             } catch (Exception e) {
291                 Eina.Log.Warning($"Callback error: {e.ToString()}");
292                 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
293             }
294                                                                                                 } else {
295             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);
296         }
297     }
298     private static efl_ui_dnd_container_drag_item_add_delegate efl_ui_dnd_container_drag_item_add_static_delegate;
299
300
301      private delegate void efl_ui_dnd_container_drag_item_del_delegate(System.IntPtr obj, System.IntPtr pd,   uint seat);
302
303
304      public delegate void efl_ui_dnd_container_drag_item_del_api_delegate(System.IntPtr obj,   uint seat);
305      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");
306      private static void drag_item_del(System.IntPtr obj, System.IntPtr pd,  uint seat)
307     {
308         Eina.Log.Debug("function efl_ui_dnd_container_drag_item_del was called");
309         Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
310         if(wrapper != null) {
311                                                 
312             try {
313                 ((IDndContainerConcrete)wrapper).DelDragItem( seat);
314             } catch (Exception e) {
315                 Eina.Log.Warning($"Callback error: {e.ToString()}");
316                 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
317             }
318                                 } else {
319             efl_ui_dnd_container_drag_item_del_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)),  seat);
320         }
321     }
322     private static efl_ui_dnd_container_drag_item_del_delegate efl_ui_dnd_container_drag_item_del_static_delegate;
323
324
325      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);
326
327
328      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);
329      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");
330      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)
331     {
332         Eina.Log.Debug("function efl_ui_dnd_container_drop_item_add was called");
333         Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
334         if(wrapper != null) {
335                                                                                 Efl.Dnd.ItemGetWrapper item_func_wrapper = new Efl.Dnd.ItemGetWrapper(item_func, item_func_data, item_func_free_cb);
336                     
337             try {
338                 ((IDndContainerConcrete)wrapper).AddDropItem( format,  item_func_wrapper.ManagedCb,  seat);
339             } catch (Exception e) {
340                 Eina.Log.Warning($"Callback error: {e.ToString()}");
341                 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
342             }
343                                                                 } else {
344             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);
345         }
346     }
347     private static efl_ui_dnd_container_drop_item_add_delegate efl_ui_dnd_container_drop_item_add_static_delegate;
348
349
350      private delegate void efl_ui_dnd_container_drop_item_del_delegate(System.IntPtr obj, System.IntPtr pd,   uint seat);
351
352
353      public delegate void efl_ui_dnd_container_drop_item_del_api_delegate(System.IntPtr obj,   uint seat);
354      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");
355      private static void drop_item_del(System.IntPtr obj, System.IntPtr pd,  uint seat)
356     {
357         Eina.Log.Debug("function efl_ui_dnd_container_drop_item_del was called");
358         Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
359         if(wrapper != null) {
360                                                 
361             try {
362                 ((IDndContainerConcrete)wrapper).DelDropItem( seat);
363             } catch (Exception e) {
364                 Eina.Log.Warning($"Callback error: {e.ToString()}");
365                 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
366             }
367                                 } else {
368             efl_ui_dnd_container_drop_item_del_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)),  seat);
369         }
370     }
371     private static efl_ui_dnd_container_drop_item_del_delegate efl_ui_dnd_container_drop_item_del_static_delegate;
372 }
373 } }