[EflSharp] Update Circle and efl cs files (#819)
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / efl / efl_canvas_proxy.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 Canvas {
11
12 /// <summary>Low-level proxy image object.
13 /// A proxy is a special kind of image containing the pixels from a source object attached to it. It can be used to apply some sort of image transformation to any object (eg. filters, map or zoom).</summary>
14 [Efl.Canvas.Proxy.NativeMethods]
15 public class Proxy : Efl.Canvas.ImageInternal, Efl.Eo.IWrapper
16 {
17     ///<summary>Pointer to the native class description.</summary>
18     public override System.IntPtr NativeClass
19     {
20         get
21         {
22             if (((object)this).GetType() == typeof(Proxy))
23             {
24                 return GetEflClassStatic();
25             }
26             else
27             {
28                 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
29             }
30         }
31     }
32
33     [System.Runtime.InteropServices.DllImport(efl.Libs.Evas)] internal static extern System.IntPtr
34         efl_canvas_proxy_class_get();
35     /// <summary>Initializes a new instance of the <see cref="Proxy"/> class.</summary>
36     /// <param name="parent">Parent instance.</param>
37     public Proxy(Efl.Object parent= null
38             ) : base(efl_canvas_proxy_class_get(), typeof(Proxy), parent)
39     {
40         FinishInstantiation();
41     }
42
43     /// <summary>Initializes a new instance of the <see cref="Proxy"/> class.
44     /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
45     /// <param name="raw">The native pointer to be wrapped.</param>
46     protected Proxy(System.IntPtr raw) : base(raw)
47     {
48             }
49
50     /// <summary>Initializes a new instance of the <see cref="Proxy"/> class.
51     /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
52     /// <param name="baseKlass">The pointer to the base native Eo class.</param>
53     /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
54     /// <param name="parent">The Efl.Object parent of this instance.</param>
55     protected Proxy(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
56     {
57     }
58
59     /// <summary>Verifies if the given object is equal to this one.</summary>
60     /// <param name="instance">The object to compare to.</param>
61     /// <returns>True if both objects point to the same native object.</returns>
62     public override bool Equals(object instance)
63     {
64         var other = instance as Efl.Object;
65         if (other == null)
66         {
67             return false;
68         }
69         return this.NativeHandle == other.NativeHandle;
70     }
71
72     /// <summary>Gets the hash code for this object based on the native pointer it points to.</summary>
73     /// <returns>The value of the pointer, to be used as the hash code of this object.</returns>
74     public override int GetHashCode()
75     {
76         return this.NativeHandle.ToInt32();
77     }
78
79     /// <summary>Turns the native pointer into a string representation.</summary>
80     /// <returns>A string with the type and the native pointer for this object.</returns>
81     public override String ToString()
82     {
83         return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
84     }
85
86     /// <summary>The source object for this proxy.
87     /// The proxy object will mirror the rendering contents of a given source object in its drawing region, without affecting that source in any way. The source must be another valid <see cref="Efl.Canvas.Object"/>. Other effects may be applied to the proxy, such as a map (see <see cref="Efl.Gfx.IMapping"/>) to create a reflection of the original object (for example).
88     /// 
89     /// Any existing source object will be removed after this call.
90     /// 
91     /// Note: This property should be set as soon as creating a proxy object, otherwise the proxy will do nothing.
92     /// 
93     /// Warning: You cannot set a proxy as another proxy&apos;s source.</summary>
94     /// <returns>Source object to use for the proxy.</returns>
95     virtual public Efl.Canvas.Object GetSource() {
96          var _ret_var = Efl.Canvas.Proxy.NativeMethods.efl_canvas_proxy_source_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
97         Eina.Error.RaiseIfUnhandledException();
98         return _ret_var;
99  }
100     /// <summary>The source object for this proxy.
101     /// The proxy object will mirror the rendering contents of a given source object in its drawing region, without affecting that source in any way. The source must be another valid <see cref="Efl.Canvas.Object"/>. Other effects may be applied to the proxy, such as a map (see <see cref="Efl.Gfx.IMapping"/>) to create a reflection of the original object (for example).
102     /// 
103     /// Any existing source object will be removed after this call.
104     /// 
105     /// Note: This property should be set as soon as creating a proxy object, otherwise the proxy will do nothing.
106     /// 
107     /// Warning: You cannot set a proxy as another proxy&apos;s source.</summary>
108     /// <param name="src">Source object to use for the proxy.</param>
109     /// <returns>Returns <c>true</c> in case of success.</returns>
110     virtual public bool SetSource(Efl.Canvas.Object src) {
111                                  var _ret_var = Efl.Canvas.Proxy.NativeMethods.efl_canvas_proxy_source_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),src);
112         Eina.Error.RaiseIfUnhandledException();
113                         return _ret_var;
114  }
115     /// <summary>Clip this proxy object with the source object&apos;s clipper.
116     /// Use this if you want to overlay an existing object with its proxy, and apply some sort of transformation on it.
117     /// 
118     /// <c>true</c> means both objects will share the same clip.</summary>
119     /// <returns>Whether <c>obj</c> is clipped by the source clipper (<c>true</c>) or not (<c>false</c>).</returns>
120     virtual public bool GetSourceClip() {
121          var _ret_var = Efl.Canvas.Proxy.NativeMethods.efl_canvas_proxy_source_clip_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
122         Eina.Error.RaiseIfUnhandledException();
123         return _ret_var;
124  }
125     /// <summary>Clip this proxy object with the source object&apos;s clipper.
126     /// Use this if you want to overlay an existing object with its proxy, and apply some sort of transformation on it.
127     /// 
128     /// <c>true</c> means both objects will share the same clip.</summary>
129     /// <param name="source_clip">Whether <c>obj</c> is clipped by the source clipper (<c>true</c>) or not (<c>false</c>).</param>
130     virtual public void SetSourceClip(bool source_clip) {
131                                  Efl.Canvas.Proxy.NativeMethods.efl_canvas_proxy_source_clip_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),source_clip);
132         Eina.Error.RaiseIfUnhandledException();
133                          }
134     /// <summary>Defines whether the events on this object are repeated to the source.
135     /// If <c>source</c> is <c>true</c>, it will make events on <c>obj</c> to also be repeated for the source object (see <see cref="Efl.Canvas.Proxy.SetSource"/>). Even the <c>obj</c> and source geometries are different, the event position will be transformed to the source object&apos;s space.
136     /// 
137     /// If <c>source</c> is <c>false</c>, events occurring on <c>obj</c> will be processed only on it.</summary>
138     /// <returns>Whether this object should pass events (<c>true</c>) or not (<c>false</c>) to its source.</returns>
139     virtual public bool GetSourceEvents() {
140          var _ret_var = Efl.Canvas.Proxy.NativeMethods.efl_canvas_proxy_source_events_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
141         Eina.Error.RaiseIfUnhandledException();
142         return _ret_var;
143  }
144     /// <summary>Defines whether the events on this object are repeated to the source.
145     /// If <c>source</c> is <c>true</c>, it will make events on <c>obj</c> to also be repeated for the source object (see <see cref="Efl.Canvas.Proxy.SetSource"/>). Even the <c>obj</c> and source geometries are different, the event position will be transformed to the source object&apos;s space.
146     /// 
147     /// If <c>source</c> is <c>false</c>, events occurring on <c>obj</c> will be processed only on it.</summary>
148     /// <param name="repeat">Whether this object should pass events (<c>true</c>) or not (<c>false</c>) to its source.</param>
149     virtual public void SetSourceEvents(bool repeat) {
150                                  Efl.Canvas.Proxy.NativeMethods.efl_canvas_proxy_source_events_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),repeat);
151         Eina.Error.RaiseIfUnhandledException();
152                          }
153     /// <summary>The source object for this proxy.
154 /// The proxy object will mirror the rendering contents of a given source object in its drawing region, without affecting that source in any way. The source must be another valid <see cref="Efl.Canvas.Object"/>. Other effects may be applied to the proxy, such as a map (see <see cref="Efl.Gfx.IMapping"/>) to create a reflection of the original object (for example).
155 /// 
156 /// Any existing source object will be removed after this call.
157 /// 
158 /// Note: This property should be set as soon as creating a proxy object, otherwise the proxy will do nothing.
159 /// 
160 /// Warning: You cannot set a proxy as another proxy&apos;s source.</summary>
161 /// <value>Source object to use for the proxy.</value>
162     public Efl.Canvas.Object Source {
163         get { return GetSource(); }
164         set { SetSource(value); }
165     }
166     /// <summary>Clip this proxy object with the source object&apos;s clipper.
167 /// Use this if you want to overlay an existing object with its proxy, and apply some sort of transformation on it.
168 /// 
169 /// <c>true</c> means both objects will share the same clip.</summary>
170 /// <value>Whether <c>obj</c> is clipped by the source clipper (<c>true</c>) or not (<c>false</c>).</value>
171     public bool SourceClip {
172         get { return GetSourceClip(); }
173         set { SetSourceClip(value); }
174     }
175     /// <summary>Defines whether the events on this object are repeated to the source.
176 /// If <c>source</c> is <c>true</c>, it will make events on <c>obj</c> to also be repeated for the source object (see <see cref="Efl.Canvas.Proxy.SetSource"/>). Even the <c>obj</c> and source geometries are different, the event position will be transformed to the source object&apos;s space.
177 /// 
178 /// If <c>source</c> is <c>false</c>, events occurring on <c>obj</c> will be processed only on it.</summary>
179 /// <value>Whether this object should pass events (<c>true</c>) or not (<c>false</c>) to its source.</value>
180     public bool SourceEvents {
181         get { return GetSourceEvents(); }
182         set { SetSourceEvents(value); }
183     }
184     private static IntPtr GetEflClassStatic()
185     {
186         return Efl.Canvas.Proxy.efl_canvas_proxy_class_get();
187     }
188     /// <summary>Wrapper for native methods and virtual method delegates.
189     /// For internal use by generated code only.</summary>
190     public new class NativeMethods : Efl.Canvas.ImageInternal.NativeMethods
191     {
192         private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule(    efl.Libs.Evas);
193         /// <summary>Gets the list of Eo operations to override.</summary>
194         /// <returns>The list of Eo operations to be overload.</returns>
195         public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
196         {
197             var descs = new System.Collections.Generic.List<Efl_Op_Description>();
198             var methods = Efl.Eo.Globals.GetUserMethods(type);
199
200             if (efl_canvas_proxy_source_get_static_delegate == null)
201             {
202                 efl_canvas_proxy_source_get_static_delegate = new efl_canvas_proxy_source_get_delegate(source_get);
203             }
204
205             if (methods.FirstOrDefault(m => m.Name == "GetSource") != null)
206             {
207                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_proxy_source_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_proxy_source_get_static_delegate) });
208             }
209
210             if (efl_canvas_proxy_source_set_static_delegate == null)
211             {
212                 efl_canvas_proxy_source_set_static_delegate = new efl_canvas_proxy_source_set_delegate(source_set);
213             }
214
215             if (methods.FirstOrDefault(m => m.Name == "SetSource") != null)
216             {
217                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_proxy_source_set"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_proxy_source_set_static_delegate) });
218             }
219
220             if (efl_canvas_proxy_source_clip_get_static_delegate == null)
221             {
222                 efl_canvas_proxy_source_clip_get_static_delegate = new efl_canvas_proxy_source_clip_get_delegate(source_clip_get);
223             }
224
225             if (methods.FirstOrDefault(m => m.Name == "GetSourceClip") != null)
226             {
227                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_proxy_source_clip_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_proxy_source_clip_get_static_delegate) });
228             }
229
230             if (efl_canvas_proxy_source_clip_set_static_delegate == null)
231             {
232                 efl_canvas_proxy_source_clip_set_static_delegate = new efl_canvas_proxy_source_clip_set_delegate(source_clip_set);
233             }
234
235             if (methods.FirstOrDefault(m => m.Name == "SetSourceClip") != null)
236             {
237                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_proxy_source_clip_set"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_proxy_source_clip_set_static_delegate) });
238             }
239
240             if (efl_canvas_proxy_source_events_get_static_delegate == null)
241             {
242                 efl_canvas_proxy_source_events_get_static_delegate = new efl_canvas_proxy_source_events_get_delegate(source_events_get);
243             }
244
245             if (methods.FirstOrDefault(m => m.Name == "GetSourceEvents") != null)
246             {
247                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_proxy_source_events_get"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_proxy_source_events_get_static_delegate) });
248             }
249
250             if (efl_canvas_proxy_source_events_set_static_delegate == null)
251             {
252                 efl_canvas_proxy_source_events_set_static_delegate = new efl_canvas_proxy_source_events_set_delegate(source_events_set);
253             }
254
255             if (methods.FirstOrDefault(m => m.Name == "SetSourceEvents") != null)
256             {
257                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_canvas_proxy_source_events_set"), func = Marshal.GetFunctionPointerForDelegate(efl_canvas_proxy_source_events_set_static_delegate) });
258             }
259
260             descs.AddRange(base.GetEoOps(type));
261             return descs;
262         }
263         /// <summary>Returns the Eo class for the native methods of this class.</summary>
264         /// <returns>The native class pointer.</returns>
265         public override IntPtr GetEflClass()
266         {
267             return Efl.Canvas.Proxy.efl_canvas_proxy_class_get();
268         }
269
270         #pragma warning disable CA1707, SA1300, SA1600
271
272         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
273         private delegate Efl.Canvas.Object efl_canvas_proxy_source_get_delegate(System.IntPtr obj, System.IntPtr pd);
274
275         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
276         public delegate Efl.Canvas.Object efl_canvas_proxy_source_get_api_delegate(System.IntPtr obj);
277
278         public static Efl.Eo.FunctionWrapper<efl_canvas_proxy_source_get_api_delegate> efl_canvas_proxy_source_get_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_proxy_source_get_api_delegate>(Module, "efl_canvas_proxy_source_get");
279
280         private static Efl.Canvas.Object source_get(System.IntPtr obj, System.IntPtr pd)
281         {
282             Eina.Log.Debug("function efl_canvas_proxy_source_get was called");
283             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
284             if (wrapper != null)
285             {
286             Efl.Canvas.Object _ret_var = default(Efl.Canvas.Object);
287                 try
288                 {
289                     _ret_var = ((Proxy)wrapper).GetSource();
290                 }
291                 catch (Exception e)
292                 {
293                     Eina.Log.Warning($"Callback error: {e.ToString()}");
294                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
295                 }
296
297         return _ret_var;
298
299             }
300             else
301             {
302                 return efl_canvas_proxy_source_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
303             }
304         }
305
306         private static efl_canvas_proxy_source_get_delegate efl_canvas_proxy_source_get_static_delegate;
307
308         [return: MarshalAs(UnmanagedType.U1)]
309         private delegate bool efl_canvas_proxy_source_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object src);
310
311         [return: MarshalAs(UnmanagedType.U1)]
312         public delegate bool efl_canvas_proxy_source_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Canvas.Object src);
313
314         public static Efl.Eo.FunctionWrapper<efl_canvas_proxy_source_set_api_delegate> efl_canvas_proxy_source_set_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_proxy_source_set_api_delegate>(Module, "efl_canvas_proxy_source_set");
315
316         private static bool source_set(System.IntPtr obj, System.IntPtr pd, Efl.Canvas.Object src)
317         {
318             Eina.Log.Debug("function efl_canvas_proxy_source_set was called");
319             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
320             if (wrapper != null)
321             {
322                                     bool _ret_var = default(bool);
323                 try
324                 {
325                     _ret_var = ((Proxy)wrapper).SetSource(src);
326                 }
327                 catch (Exception e)
328                 {
329                     Eina.Log.Warning($"Callback error: {e.ToString()}");
330                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
331                 }
332
333                         return _ret_var;
334
335             }
336             else
337             {
338                 return efl_canvas_proxy_source_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), src);
339             }
340         }
341
342         private static efl_canvas_proxy_source_set_delegate efl_canvas_proxy_source_set_static_delegate;
343
344         [return: MarshalAs(UnmanagedType.U1)]
345         private delegate bool efl_canvas_proxy_source_clip_get_delegate(System.IntPtr obj, System.IntPtr pd);
346
347         [return: MarshalAs(UnmanagedType.U1)]
348         public delegate bool efl_canvas_proxy_source_clip_get_api_delegate(System.IntPtr obj);
349
350         public static Efl.Eo.FunctionWrapper<efl_canvas_proxy_source_clip_get_api_delegate> efl_canvas_proxy_source_clip_get_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_proxy_source_clip_get_api_delegate>(Module, "efl_canvas_proxy_source_clip_get");
351
352         private static bool source_clip_get(System.IntPtr obj, System.IntPtr pd)
353         {
354             Eina.Log.Debug("function efl_canvas_proxy_source_clip_get was called");
355             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
356             if (wrapper != null)
357             {
358             bool _ret_var = default(bool);
359                 try
360                 {
361                     _ret_var = ((Proxy)wrapper).GetSourceClip();
362                 }
363                 catch (Exception e)
364                 {
365                     Eina.Log.Warning($"Callback error: {e.ToString()}");
366                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
367                 }
368
369         return _ret_var;
370
371             }
372             else
373             {
374                 return efl_canvas_proxy_source_clip_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
375             }
376         }
377
378         private static efl_canvas_proxy_source_clip_get_delegate efl_canvas_proxy_source_clip_get_static_delegate;
379
380         
381         private delegate void efl_canvas_proxy_source_clip_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool source_clip);
382
383         
384         public delegate void efl_canvas_proxy_source_clip_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool source_clip);
385
386         public static Efl.Eo.FunctionWrapper<efl_canvas_proxy_source_clip_set_api_delegate> efl_canvas_proxy_source_clip_set_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_proxy_source_clip_set_api_delegate>(Module, "efl_canvas_proxy_source_clip_set");
387
388         private static void source_clip_set(System.IntPtr obj, System.IntPtr pd, bool source_clip)
389         {
390             Eina.Log.Debug("function efl_canvas_proxy_source_clip_set was called");
391             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
392             if (wrapper != null)
393             {
394                                     
395                 try
396                 {
397                     ((Proxy)wrapper).SetSourceClip(source_clip);
398                 }
399                 catch (Exception e)
400                 {
401                     Eina.Log.Warning($"Callback error: {e.ToString()}");
402                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
403                 }
404
405                         
406             }
407             else
408             {
409                 efl_canvas_proxy_source_clip_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), source_clip);
410             }
411         }
412
413         private static efl_canvas_proxy_source_clip_set_delegate efl_canvas_proxy_source_clip_set_static_delegate;
414
415         [return: MarshalAs(UnmanagedType.U1)]
416         private delegate bool efl_canvas_proxy_source_events_get_delegate(System.IntPtr obj, System.IntPtr pd);
417
418         [return: MarshalAs(UnmanagedType.U1)]
419         public delegate bool efl_canvas_proxy_source_events_get_api_delegate(System.IntPtr obj);
420
421         public static Efl.Eo.FunctionWrapper<efl_canvas_proxy_source_events_get_api_delegate> efl_canvas_proxy_source_events_get_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_proxy_source_events_get_api_delegate>(Module, "efl_canvas_proxy_source_events_get");
422
423         private static bool source_events_get(System.IntPtr obj, System.IntPtr pd)
424         {
425             Eina.Log.Debug("function efl_canvas_proxy_source_events_get was called");
426             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
427             if (wrapper != null)
428             {
429             bool _ret_var = default(bool);
430                 try
431                 {
432                     _ret_var = ((Proxy)wrapper).GetSourceEvents();
433                 }
434                 catch (Exception e)
435                 {
436                     Eina.Log.Warning($"Callback error: {e.ToString()}");
437                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
438                 }
439
440         return _ret_var;
441
442             }
443             else
444             {
445                 return efl_canvas_proxy_source_events_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
446             }
447         }
448
449         private static efl_canvas_proxy_source_events_get_delegate efl_canvas_proxy_source_events_get_static_delegate;
450
451         
452         private delegate void efl_canvas_proxy_source_events_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool repeat);
453
454         
455         public delegate void efl_canvas_proxy_source_events_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool repeat);
456
457         public static Efl.Eo.FunctionWrapper<efl_canvas_proxy_source_events_set_api_delegate> efl_canvas_proxy_source_events_set_ptr = new Efl.Eo.FunctionWrapper<efl_canvas_proxy_source_events_set_api_delegate>(Module, "efl_canvas_proxy_source_events_set");
458
459         private static void source_events_set(System.IntPtr obj, System.IntPtr pd, bool repeat)
460         {
461             Eina.Log.Debug("function efl_canvas_proxy_source_events_set was called");
462             Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
463             if (wrapper != null)
464             {
465                                     
466                 try
467                 {
468                     ((Proxy)wrapper).SetSourceEvents(repeat);
469                 }
470                 catch (Exception e)
471                 {
472                     Eina.Log.Warning($"Callback error: {e.ToString()}");
473                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
474                 }
475
476                         
477             }
478             else
479             {
480                 efl_canvas_proxy_source_events_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), repeat);
481             }
482         }
483
484         private static efl_canvas_proxy_source_events_set_delegate efl_canvas_proxy_source_events_set_static_delegate;
485
486         #pragma warning restore CA1707, SA1300, SA1600
487
488 }
489 }
490 }
491
492 }
493