[EflSharp] Update Circle and efl cs files (#945)
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / efl / efl_ui_win_part.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 /// <summary>Efl UI window interal part class</summary>
13 [Efl.Ui.WinPart.NativeMethods]
14 [Efl.Eo.BindingEntity]
15 public class WinPart : Efl.Ui.WidgetPart, Efl.IContent, Efl.IFile, Efl.Gfx.IColor
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(WinPart))
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.Elementary)] internal static extern System.IntPtr
34         efl_ui_win_part_class_get();
35     /// <summary>Initializes a new instance of the <see cref="WinPart"/> class.</summary>
36     /// <param name="parent">Parent instance.</param>
37     public WinPart(Efl.Object parent= null
38             ) : base(efl_ui_win_part_class_get(), parent)
39     {
40         FinishInstantiation();
41     }
42
43     /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
44     /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
45     protected WinPart(ConstructingHandle ch) : base(ch)
46     {
47     }
48
49     /// <summary>Initializes a new instance of the <see cref="WinPart"/> class.
50     /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
51     /// <param name="wh">The native pointer to be wrapped.</param>
52     protected WinPart(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
53     {
54     }
55
56     /// <summary>Initializes a new instance of the <see cref="WinPart"/> class.
57     /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
58     /// <param name="baseKlass">The pointer to the base native Eo class.</param>
59     /// <param name="parent">The Efl.Object parent of this instance.</param>
60     protected WinPart(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
61     {
62     }
63
64     /// <summary>Sent after the content is set or unset using the current content object.
65     /// (Since EFL 1.22)</summary>
66     public event EventHandler<Efl.IContentContentChangedEvt_Args> ContentChangedEvt
67     {
68         add
69         {
70             lock (eflBindingEventLock)
71             {
72                 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
73                 {
74                     var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
75                     if (obj != null)
76                     {
77                         Efl.IContentContentChangedEvt_Args args = new Efl.IContentContentChangedEvt_Args();
78                         args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
79                         try
80                         {
81                             value?.Invoke(obj, args);
82                         }
83                         catch (Exception e)
84                         {
85                             Eina.Log.Error(e.ToString());
86                             Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
87                         }
88                     }
89                 };
90
91                 string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
92                 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
93             }
94         }
95
96         remove
97         {
98             lock (eflBindingEventLock)
99             {
100                 string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
101                 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
102             }
103         }
104     }
105     ///<summary>Method to raise event ContentChangedEvt.</summary>
106     public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
107     {
108         var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
109         IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
110         if (desc == IntPtr.Zero)
111         {
112             Eina.Log.Error($"Failed to get native event {key}");
113             return;
114         }
115
116         IntPtr info = e.arg.NativeHandle;
117         Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
118     }
119     /// <summary>Sub-object currently set as this object&apos;s single content.
120     /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid <c>content</c> is set the object will become empty (it will have no sub-object).
121     /// (Since EFL 1.22)</summary>
122     /// <returns>The sub-object.</returns>
123     virtual public Efl.Gfx.IEntity GetContent() {
124          var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
125         Eina.Error.RaiseIfUnhandledException();
126         return _ret_var;
127  }
128     /// <summary>Sub-object currently set as this object&apos;s single content.
129     /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid <c>content</c> is set the object will become empty (it will have no sub-object).
130     /// (Since EFL 1.22)</summary>
131     /// <param name="content">The sub-object.</param>
132     /// <returns><c>true</c> if <c>content</c> was successfully swallowed.</returns>
133     virtual public bool SetContent(Efl.Gfx.IEntity content) {
134                                  var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),content);
135         Eina.Error.RaiseIfUnhandledException();
136                         return _ret_var;
137  }
138     /// <summary>Remove the sub-object currently set as content of this object and return it. This object becomes empty.
139     /// (Since EFL 1.22)</summary>
140     /// <returns>Unswallowed object</returns>
141     virtual public Efl.Gfx.IEntity UnsetContent() {
142          var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
143         Eina.Error.RaiseIfUnhandledException();
144         return _ret_var;
145  }
146     /// <summary>Get the mmaped file from where an object will fetch the real data (it must be an <see cref="Eina.File"/>).
147     /// (Since EFL 1.22)</summary>
148     /// <returns>The handle to the <see cref="Eina.File"/> that will be used</returns>
149     virtual public Eina.File GetMmap() {
150          var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
151         Eina.Error.RaiseIfUnhandledException();
152         return _ret_var;
153  }
154     /// <summary>Set the mmaped file from where an object will fetch the real data (it must be an <see cref="Eina.File"/>).
155     /// If mmap is set during object construction, the object will automatically call <see cref="Efl.IFile.Load"/> during the finalize phase of construction.
156     /// (Since EFL 1.22)</summary>
157     /// <param name="f">The handle to the <see cref="Eina.File"/> that will be used</param>
158     /// <returns>0 on success, error code otherwise</returns>
159     virtual public Eina.Error SetMmap(Eina.File f) {
160                                  var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),f);
161         Eina.Error.RaiseIfUnhandledException();
162                         return _ret_var;
163  }
164     /// <summary>Retrieve the file path from where an object is to fetch the data.
165     /// You must not modify the strings on the returned pointers.
166     /// (Since EFL 1.22)</summary>
167     /// <returns>The file path.</returns>
168     virtual public System.String GetFile() {
169          var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
170         Eina.Error.RaiseIfUnhandledException();
171         return _ret_var;
172  }
173     /// <summary>Set the file path from where an object will fetch the data.
174     /// If file is set during object construction, the object will automatically call <see cref="Efl.IFile.Load"/> during the finalize phase of construction.
175     /// (Since EFL 1.22)</summary>
176     /// <param name="file">The file path.</param>
177     /// <returns>0 on success, error code otherwise</returns>
178     virtual public Eina.Error SetFile(System.String file) {
179                                  var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),file);
180         Eina.Error.RaiseIfUnhandledException();
181                         return _ret_var;
182  }
183     /// <summary>Get the previously-set key which corresponds to the target data within a file.
184     /// Some filetypes can contain multiple data streams which are indexed by a key. Use this property for such cases (See for example <see cref="Efl.Ui.Image"/> or <see cref="Efl.Ui.Layout"/>).
185     /// 
186     /// You must not modify the strings on the returned pointers.
187     /// (Since EFL 1.22)</summary>
188     /// <returns>The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</returns>
189     virtual public System.String GetKey() {
190          var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
191         Eina.Error.RaiseIfUnhandledException();
192         return _ret_var;
193  }
194     /// <summary>Set the key which corresponds to the target data within a file.
195     /// Some filetypes can contain multiple data streams which are indexed by a key. Use this property for such cases.
196     /// (Since EFL 1.22)</summary>
197     /// <param name="key">The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</param>
198     virtual public void SetKey(System.String key) {
199                                  Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
200         Eina.Error.RaiseIfUnhandledException();
201                          }
202     /// <summary>Get the load state of the object.
203     /// (Since EFL 1.22)</summary>
204     /// <returns><c>true</c> if the object is loaded, <c>false</c> otherwise.</returns>
205     virtual public bool GetLoaded() {
206          var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
207         Eina.Error.RaiseIfUnhandledException();
208         return _ret_var;
209  }
210     /// <summary>Perform all necessary operations to open and load file data into the object using the <see cref="Efl.IFile.File"/> (or <see cref="Efl.IFile.Mmap"/>) and <see cref="Efl.IFile.Key"/> properties.
211     /// In the case where <see cref="Efl.IFile.SetFile"/> has been called on an object, this will internally open the file and call <see cref="Efl.IFile.SetMmap"/> on the object using the opened file handle.
212     /// 
213     /// Calling <see cref="Efl.IFile.Load"/> on an object which has already performed file operations based on the currently set properties will have no effect.
214     /// (Since EFL 1.22)</summary>
215     /// <returns>0 on success, error code otherwise</returns>
216     virtual public Eina.Error Load() {
217          var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
218         Eina.Error.RaiseIfUnhandledException();
219         return _ret_var;
220  }
221     /// <summary>Perform all necessary operations to unload file data from the object.
222     /// In the case where <see cref="Efl.IFile.SetMmap"/> has been externally called on an object, the file handle stored in the object will be preserved.
223     /// 
224     /// Calling <see cref="Efl.IFile.Unload"/> on an object which is not currently loaded will have no effect.
225     /// (Since EFL 1.22)</summary>
226     virtual public void Unload() {
227          Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
228         Eina.Error.RaiseIfUnhandledException();
229          }
230     /// <summary>Retrieves the general/main color of the given Evas object.
231     /// Retrieves the main color&apos;s RGB component (and alpha channel) values, which range from 0 to 255. For the alpha channel, which defines the object&apos;s transparency level, 0 means totally transparent, while 255 means opaque. These color values are premultiplied by the alpha value.
232     /// 
233     /// Usually youll use this attribute for text and rectangle objects, where the main color is their unique one. If set for objects which themselves have colors, like the images one, those colors get modulated by this one.
234     /// 
235     /// All newly created Evas rectangles get the default color values of 255 255 255 255 (opaque white).
236     /// 
237     /// Use null pointers on the components you&apos;re not interested in: they&apos;ll be ignored by the function.
238     /// (Since EFL 1.22)</summary>
239     virtual public void GetColor(out int r, out int g, out int b, out int a) {
240                                                                                                          Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
241         Eina.Error.RaiseIfUnhandledException();
242                                                                          }
243     /// <summary>Sets the general/main color of the given Evas object to the given one.
244     /// See also <see cref="Efl.Gfx.IColor.GetColor"/> (for an example)
245     /// 
246     /// These color values are expected to be premultiplied by alpha.
247     /// (Since EFL 1.22)</summary>
248     virtual public void SetColor(int r, int g, int b, int a) {
249                                                                                                          Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
250         Eina.Error.RaiseIfUnhandledException();
251                                                                          }
252     /// <summary>Get hex color code of given Evas object. This returns a short lived hex color code string.
253     /// (Since EFL 1.22)</summary>
254     /// <returns>the hex color code.</returns>
255     virtual public System.String GetColorCode() {
256          var _ret_var = Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
257         Eina.Error.RaiseIfUnhandledException();
258         return _ret_var;
259  }
260     /// <summary>Set the color of given Evas object to the given hex color code(#RRGGBBAA). e.g. efl_gfx_color_code_set(obj, &quot;#FFCCAACC&quot;);
261     /// (Since EFL 1.22)</summary>
262     /// <param name="colorcode">the hex color code.</param>
263     virtual public void SetColorCode(System.String colorcode) {
264                                  Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),colorcode);
265         Eina.Error.RaiseIfUnhandledException();
266                          }
267     /// <summary>Sub-object currently set as this object&apos;s single content.
268     /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid <c>content</c> is set the object will become empty (it will have no sub-object).
269     /// (Since EFL 1.22)</summary>
270     /// <value>The sub-object.</value>
271     public Efl.Gfx.IEntity Content {
272         get { return GetContent(); }
273         set { SetContent(value); }
274     }
275     /// <summary>Get the mmaped file from where an object will fetch the real data (it must be an <see cref="Eina.File"/>).
276     /// (Since EFL 1.22)</summary>
277     /// <value>The handle to the <see cref="Eina.File"/> that will be used</value>
278     public Eina.File Mmap {
279         get { return GetMmap(); }
280         set { SetMmap(value); }
281     }
282     /// <summary>Retrieve the file path from where an object is to fetch the data.
283     /// You must not modify the strings on the returned pointers.
284     /// (Since EFL 1.22)</summary>
285     /// <value>The file path.</value>
286     public System.String File {
287         get { return GetFile(); }
288         set { SetFile(value); }
289     }
290     /// <summary>Get the previously-set key which corresponds to the target data within a file.
291     /// Some filetypes can contain multiple data streams which are indexed by a key. Use this property for such cases (See for example <see cref="Efl.Ui.Image"/> or <see cref="Efl.Ui.Layout"/>).
292     /// 
293     /// You must not modify the strings on the returned pointers.
294     /// (Since EFL 1.22)</summary>
295     /// <value>The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</value>
296     public System.String Key {
297         get { return GetKey(); }
298         set { SetKey(value); }
299     }
300     /// <summary>Get the load state of the object.
301     /// (Since EFL 1.22)</summary>
302     /// <value><c>true</c> if the object is loaded, <c>false</c> otherwise.</value>
303     public bool Loaded {
304         get { return GetLoaded(); }
305     }
306     /// <summary>Get hex color code of given Evas object. This returns a short lived hex color code string.
307     /// (Since EFL 1.22)</summary>
308     /// <value>the hex color code.</value>
309     public System.String ColorCode {
310         get { return GetColorCode(); }
311         set { SetColorCode(value); }
312     }
313     private static IntPtr GetEflClassStatic()
314     {
315         return Efl.Ui.WinPart.efl_ui_win_part_class_get();
316     }
317     /// <summary>Wrapper for native methods and virtual method delegates.
318     /// For internal use by generated code only.</summary>
319     public new class NativeMethods : Efl.Ui.WidgetPart.NativeMethods
320     {
321         private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule(    efl.Libs.Elementary);
322         /// <summary>Gets the list of Eo operations to override.</summary>
323         /// <returns>The list of Eo operations to be overload.</returns>
324         public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
325         {
326             var descs = new System.Collections.Generic.List<Efl_Op_Description>();
327             var methods = Efl.Eo.Globals.GetUserMethods(type);
328
329             if (efl_content_get_static_delegate == null)
330             {
331                 efl_content_get_static_delegate = new efl_content_get_delegate(content_get);
332             }
333
334             if (methods.FirstOrDefault(m => m.Name == "GetContent") != null)
335             {
336                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_content_get_static_delegate) });
337             }
338
339             if (efl_content_set_static_delegate == null)
340             {
341                 efl_content_set_static_delegate = new efl_content_set_delegate(content_set);
342             }
343
344             if (methods.FirstOrDefault(m => m.Name == "SetContent") != null)
345             {
346                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_content_set_static_delegate) });
347             }
348
349             if (efl_content_unset_static_delegate == null)
350             {
351                 efl_content_unset_static_delegate = new efl_content_unset_delegate(content_unset);
352             }
353
354             if (methods.FirstOrDefault(m => m.Name == "UnsetContent") != null)
355             {
356                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_unset"), func = Marshal.GetFunctionPointerForDelegate(efl_content_unset_static_delegate) });
357             }
358
359             if (efl_file_mmap_get_static_delegate == null)
360             {
361                 efl_file_mmap_get_static_delegate = new efl_file_mmap_get_delegate(mmap_get);
362             }
363
364             if (methods.FirstOrDefault(m => m.Name == "GetMmap") != null)
365             {
366                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_mmap_get"), func = Marshal.GetFunctionPointerForDelegate(efl_file_mmap_get_static_delegate) });
367             }
368
369             if (efl_file_mmap_set_static_delegate == null)
370             {
371                 efl_file_mmap_set_static_delegate = new efl_file_mmap_set_delegate(mmap_set);
372             }
373
374             if (methods.FirstOrDefault(m => m.Name == "SetMmap") != null)
375             {
376                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_mmap_set"), func = Marshal.GetFunctionPointerForDelegate(efl_file_mmap_set_static_delegate) });
377             }
378
379             if (efl_file_get_static_delegate == null)
380             {
381                 efl_file_get_static_delegate = new efl_file_get_delegate(file_get);
382             }
383
384             if (methods.FirstOrDefault(m => m.Name == "GetFile") != null)
385             {
386                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_get"), func = Marshal.GetFunctionPointerForDelegate(efl_file_get_static_delegate) });
387             }
388
389             if (efl_file_set_static_delegate == null)
390             {
391                 efl_file_set_static_delegate = new efl_file_set_delegate(file_set);
392             }
393
394             if (methods.FirstOrDefault(m => m.Name == "SetFile") != null)
395             {
396                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_set"), func = Marshal.GetFunctionPointerForDelegate(efl_file_set_static_delegate) });
397             }
398
399             if (efl_file_key_get_static_delegate == null)
400             {
401                 efl_file_key_get_static_delegate = new efl_file_key_get_delegate(key_get);
402             }
403
404             if (methods.FirstOrDefault(m => m.Name == "GetKey") != null)
405             {
406                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_key_get"), func = Marshal.GetFunctionPointerForDelegate(efl_file_key_get_static_delegate) });
407             }
408
409             if (efl_file_key_set_static_delegate == null)
410             {
411                 efl_file_key_set_static_delegate = new efl_file_key_set_delegate(key_set);
412             }
413
414             if (methods.FirstOrDefault(m => m.Name == "SetKey") != null)
415             {
416                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_key_set"), func = Marshal.GetFunctionPointerForDelegate(efl_file_key_set_static_delegate) });
417             }
418
419             if (efl_file_loaded_get_static_delegate == null)
420             {
421                 efl_file_loaded_get_static_delegate = new efl_file_loaded_get_delegate(loaded_get);
422             }
423
424             if (methods.FirstOrDefault(m => m.Name == "GetLoaded") != null)
425             {
426                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_loaded_get"), func = Marshal.GetFunctionPointerForDelegate(efl_file_loaded_get_static_delegate) });
427             }
428
429             if (efl_file_load_static_delegate == null)
430             {
431                 efl_file_load_static_delegate = new efl_file_load_delegate(load);
432             }
433
434             if (methods.FirstOrDefault(m => m.Name == "Load") != null)
435             {
436                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_load"), func = Marshal.GetFunctionPointerForDelegate(efl_file_load_static_delegate) });
437             }
438
439             if (efl_file_unload_static_delegate == null)
440             {
441                 efl_file_unload_static_delegate = new efl_file_unload_delegate(unload);
442             }
443
444             if (methods.FirstOrDefault(m => m.Name == "Unload") != null)
445             {
446                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_unload"), func = Marshal.GetFunctionPointerForDelegate(efl_file_unload_static_delegate) });
447             }
448
449             if (efl_gfx_color_get_static_delegate == null)
450             {
451                 efl_gfx_color_get_static_delegate = new efl_gfx_color_get_delegate(color_get);
452             }
453
454             if (methods.FirstOrDefault(m => m.Name == "GetColor") != null)
455             {
456                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_color_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_color_get_static_delegate) });
457             }
458
459             if (efl_gfx_color_set_static_delegate == null)
460             {
461                 efl_gfx_color_set_static_delegate = new efl_gfx_color_set_delegate(color_set);
462             }
463
464             if (methods.FirstOrDefault(m => m.Name == "SetColor") != null)
465             {
466                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_color_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_color_set_static_delegate) });
467             }
468
469             if (efl_gfx_color_code_get_static_delegate == null)
470             {
471                 efl_gfx_color_code_get_static_delegate = new efl_gfx_color_code_get_delegate(color_code_get);
472             }
473
474             if (methods.FirstOrDefault(m => m.Name == "GetColorCode") != null)
475             {
476                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_color_code_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_color_code_get_static_delegate) });
477             }
478
479             if (efl_gfx_color_code_set_static_delegate == null)
480             {
481                 efl_gfx_color_code_set_static_delegate = new efl_gfx_color_code_set_delegate(color_code_set);
482             }
483
484             if (methods.FirstOrDefault(m => m.Name == "SetColorCode") != null)
485             {
486                 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_color_code_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_color_code_set_static_delegate) });
487             }
488
489             descs.AddRange(base.GetEoOps(type));
490             return descs;
491         }
492         /// <summary>Returns the Eo class for the native methods of this class.</summary>
493         /// <returns>The native class pointer.</returns>
494         public override IntPtr GetEflClass()
495         {
496             return Efl.Ui.WinPart.efl_ui_win_part_class_get();
497         }
498
499         #pragma warning disable CA1707, CS1591, SA1300, SA1600
500
501         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
502         private delegate Efl.Gfx.IEntity efl_content_get_delegate(System.IntPtr obj, System.IntPtr pd);
503
504         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
505         public delegate Efl.Gfx.IEntity efl_content_get_api_delegate(System.IntPtr obj);
506
507         public static Efl.Eo.FunctionWrapper<efl_content_get_api_delegate> efl_content_get_ptr = new Efl.Eo.FunctionWrapper<efl_content_get_api_delegate>(Module, "efl_content_get");
508
509         private static Efl.Gfx.IEntity content_get(System.IntPtr obj, System.IntPtr pd)
510         {
511             Eina.Log.Debug("function efl_content_get was called");
512             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
513             if (ws != null)
514             {
515             Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
516                 try
517                 {
518                     _ret_var = ((WinPart)ws.Target).GetContent();
519                 }
520                 catch (Exception e)
521                 {
522                     Eina.Log.Warning($"Callback error: {e.ToString()}");
523                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
524                 }
525
526         return _ret_var;
527
528             }
529             else
530             {
531                 return efl_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
532             }
533         }
534
535         private static efl_content_get_delegate efl_content_get_static_delegate;
536
537         [return: MarshalAs(UnmanagedType.U1)]
538         private delegate bool efl_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
539
540         [return: MarshalAs(UnmanagedType.U1)]
541         public delegate bool efl_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))] Efl.Gfx.IEntity content);
542
543         public static Efl.Eo.FunctionWrapper<efl_content_set_api_delegate> efl_content_set_ptr = new Efl.Eo.FunctionWrapper<efl_content_set_api_delegate>(Module, "efl_content_set");
544
545         private static bool content_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity content)
546         {
547             Eina.Log.Debug("function efl_content_set was called");
548             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
549             if (ws != null)
550             {
551                                     bool _ret_var = default(bool);
552                 try
553                 {
554                     _ret_var = ((WinPart)ws.Target).SetContent(content);
555                 }
556                 catch (Exception e)
557                 {
558                     Eina.Log.Warning($"Callback error: {e.ToString()}");
559                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
560                 }
561
562                         return _ret_var;
563
564             }
565             else
566             {
567                 return efl_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content);
568             }
569         }
570
571         private static efl_content_set_delegate efl_content_set_static_delegate;
572
573         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
574         private delegate Efl.Gfx.IEntity efl_content_unset_delegate(System.IntPtr obj, System.IntPtr pd);
575
576         [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo<Efl.Eo.NonOwnTag>))]
577         public delegate Efl.Gfx.IEntity efl_content_unset_api_delegate(System.IntPtr obj);
578
579         public static Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate> efl_content_unset_ptr = new Efl.Eo.FunctionWrapper<efl_content_unset_api_delegate>(Module, "efl_content_unset");
580
581         private static Efl.Gfx.IEntity content_unset(System.IntPtr obj, System.IntPtr pd)
582         {
583             Eina.Log.Debug("function efl_content_unset was called");
584             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
585             if (ws != null)
586             {
587             Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
588                 try
589                 {
590                     _ret_var = ((WinPart)ws.Target).UnsetContent();
591                 }
592                 catch (Exception e)
593                 {
594                     Eina.Log.Warning($"Callback error: {e.ToString()}");
595                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
596                 }
597
598         return _ret_var;
599
600             }
601             else
602             {
603                 return efl_content_unset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
604             }
605         }
606
607         private static efl_content_unset_delegate efl_content_unset_static_delegate;
608
609         
610         private delegate Eina.File efl_file_mmap_get_delegate(System.IntPtr obj, System.IntPtr pd);
611
612         
613         public delegate Eina.File efl_file_mmap_get_api_delegate(System.IntPtr obj);
614
615         public static Efl.Eo.FunctionWrapper<efl_file_mmap_get_api_delegate> efl_file_mmap_get_ptr = new Efl.Eo.FunctionWrapper<efl_file_mmap_get_api_delegate>(Module, "efl_file_mmap_get");
616
617         private static Eina.File mmap_get(System.IntPtr obj, System.IntPtr pd)
618         {
619             Eina.Log.Debug("function efl_file_mmap_get was called");
620             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
621             if (ws != null)
622             {
623             Eina.File _ret_var = default(Eina.File);
624                 try
625                 {
626                     _ret_var = ((WinPart)ws.Target).GetMmap();
627                 }
628                 catch (Exception e)
629                 {
630                     Eina.Log.Warning($"Callback error: {e.ToString()}");
631                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
632                 }
633
634         return _ret_var;
635
636             }
637             else
638             {
639                 return efl_file_mmap_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
640             }
641         }
642
643         private static efl_file_mmap_get_delegate efl_file_mmap_get_static_delegate;
644
645         
646         private delegate Eina.Error efl_file_mmap_set_delegate(System.IntPtr obj, System.IntPtr pd,  Eina.File f);
647
648         
649         public delegate Eina.Error efl_file_mmap_set_api_delegate(System.IntPtr obj,  Eina.File f);
650
651         public static Efl.Eo.FunctionWrapper<efl_file_mmap_set_api_delegate> efl_file_mmap_set_ptr = new Efl.Eo.FunctionWrapper<efl_file_mmap_set_api_delegate>(Module, "efl_file_mmap_set");
652
653         private static Eina.Error mmap_set(System.IntPtr obj, System.IntPtr pd, Eina.File f)
654         {
655             Eina.Log.Debug("function efl_file_mmap_set was called");
656             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
657             if (ws != null)
658             {
659                                     Eina.Error _ret_var = default(Eina.Error);
660                 try
661                 {
662                     _ret_var = ((WinPart)ws.Target).SetMmap(f);
663                 }
664                 catch (Exception e)
665                 {
666                     Eina.Log.Warning($"Callback error: {e.ToString()}");
667                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
668                 }
669
670                         return _ret_var;
671
672             }
673             else
674             {
675                 return efl_file_mmap_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), f);
676             }
677         }
678
679         private static efl_file_mmap_set_delegate efl_file_mmap_set_static_delegate;
680
681         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
682         private delegate System.String efl_file_get_delegate(System.IntPtr obj, System.IntPtr pd);
683
684         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
685         public delegate System.String efl_file_get_api_delegate(System.IntPtr obj);
686
687         public static Efl.Eo.FunctionWrapper<efl_file_get_api_delegate> efl_file_get_ptr = new Efl.Eo.FunctionWrapper<efl_file_get_api_delegate>(Module, "efl_file_get");
688
689         private static System.String file_get(System.IntPtr obj, System.IntPtr pd)
690         {
691             Eina.Log.Debug("function efl_file_get was called");
692             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
693             if (ws != null)
694             {
695             System.String _ret_var = default(System.String);
696                 try
697                 {
698                     _ret_var = ((WinPart)ws.Target).GetFile();
699                 }
700                 catch (Exception e)
701                 {
702                     Eina.Log.Warning($"Callback error: {e.ToString()}");
703                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
704                 }
705
706         return _ret_var;
707
708             }
709             else
710             {
711                 return efl_file_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
712             }
713         }
714
715         private static efl_file_get_delegate efl_file_get_static_delegate;
716
717         
718         private delegate Eina.Error efl_file_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String file);
719
720         
721         public delegate Eina.Error efl_file_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String file);
722
723         public static Efl.Eo.FunctionWrapper<efl_file_set_api_delegate> efl_file_set_ptr = new Efl.Eo.FunctionWrapper<efl_file_set_api_delegate>(Module, "efl_file_set");
724
725         private static Eina.Error file_set(System.IntPtr obj, System.IntPtr pd, System.String file)
726         {
727             Eina.Log.Debug("function efl_file_set was called");
728             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
729             if (ws != null)
730             {
731                                     Eina.Error _ret_var = default(Eina.Error);
732                 try
733                 {
734                     _ret_var = ((WinPart)ws.Target).SetFile(file);
735                 }
736                 catch (Exception e)
737                 {
738                     Eina.Log.Warning($"Callback error: {e.ToString()}");
739                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
740                 }
741
742                         return _ret_var;
743
744             }
745             else
746             {
747                 return efl_file_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), file);
748             }
749         }
750
751         private static efl_file_set_delegate efl_file_set_static_delegate;
752
753         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
754         private delegate System.String efl_file_key_get_delegate(System.IntPtr obj, System.IntPtr pd);
755
756         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
757         public delegate System.String efl_file_key_get_api_delegate(System.IntPtr obj);
758
759         public static Efl.Eo.FunctionWrapper<efl_file_key_get_api_delegate> efl_file_key_get_ptr = new Efl.Eo.FunctionWrapper<efl_file_key_get_api_delegate>(Module, "efl_file_key_get");
760
761         private static System.String key_get(System.IntPtr obj, System.IntPtr pd)
762         {
763             Eina.Log.Debug("function efl_file_key_get was called");
764             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
765             if (ws != null)
766             {
767             System.String _ret_var = default(System.String);
768                 try
769                 {
770                     _ret_var = ((WinPart)ws.Target).GetKey();
771                 }
772                 catch (Exception e)
773                 {
774                     Eina.Log.Warning($"Callback error: {e.ToString()}");
775                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
776                 }
777
778         return _ret_var;
779
780             }
781             else
782             {
783                 return efl_file_key_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
784             }
785         }
786
787         private static efl_file_key_get_delegate efl_file_key_get_static_delegate;
788
789         
790         private delegate void efl_file_key_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String key);
791
792         
793         public delegate void efl_file_key_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String key);
794
795         public static Efl.Eo.FunctionWrapper<efl_file_key_set_api_delegate> efl_file_key_set_ptr = new Efl.Eo.FunctionWrapper<efl_file_key_set_api_delegate>(Module, "efl_file_key_set");
796
797         private static void key_set(System.IntPtr obj, System.IntPtr pd, System.String key)
798         {
799             Eina.Log.Debug("function efl_file_key_set was called");
800             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
801             if (ws != null)
802             {
803                                     
804                 try
805                 {
806                     ((WinPart)ws.Target).SetKey(key);
807                 }
808                 catch (Exception e)
809                 {
810                     Eina.Log.Warning($"Callback error: {e.ToString()}");
811                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
812                 }
813
814                         
815             }
816             else
817             {
818                 efl_file_key_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), key);
819             }
820         }
821
822         private static efl_file_key_set_delegate efl_file_key_set_static_delegate;
823
824         [return: MarshalAs(UnmanagedType.U1)]
825         private delegate bool efl_file_loaded_get_delegate(System.IntPtr obj, System.IntPtr pd);
826
827         [return: MarshalAs(UnmanagedType.U1)]
828         public delegate bool efl_file_loaded_get_api_delegate(System.IntPtr obj);
829
830         public static Efl.Eo.FunctionWrapper<efl_file_loaded_get_api_delegate> efl_file_loaded_get_ptr = new Efl.Eo.FunctionWrapper<efl_file_loaded_get_api_delegate>(Module, "efl_file_loaded_get");
831
832         private static bool loaded_get(System.IntPtr obj, System.IntPtr pd)
833         {
834             Eina.Log.Debug("function efl_file_loaded_get was called");
835             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
836             if (ws != null)
837             {
838             bool _ret_var = default(bool);
839                 try
840                 {
841                     _ret_var = ((WinPart)ws.Target).GetLoaded();
842                 }
843                 catch (Exception e)
844                 {
845                     Eina.Log.Warning($"Callback error: {e.ToString()}");
846                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
847                 }
848
849         return _ret_var;
850
851             }
852             else
853             {
854                 return efl_file_loaded_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
855             }
856         }
857
858         private static efl_file_loaded_get_delegate efl_file_loaded_get_static_delegate;
859
860         
861         private delegate Eina.Error efl_file_load_delegate(System.IntPtr obj, System.IntPtr pd);
862
863         
864         public delegate Eina.Error efl_file_load_api_delegate(System.IntPtr obj);
865
866         public static Efl.Eo.FunctionWrapper<efl_file_load_api_delegate> efl_file_load_ptr = new Efl.Eo.FunctionWrapper<efl_file_load_api_delegate>(Module, "efl_file_load");
867
868         private static Eina.Error load(System.IntPtr obj, System.IntPtr pd)
869         {
870             Eina.Log.Debug("function efl_file_load was called");
871             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
872             if (ws != null)
873             {
874             Eina.Error _ret_var = default(Eina.Error);
875                 try
876                 {
877                     _ret_var = ((WinPart)ws.Target).Load();
878                 }
879                 catch (Exception e)
880                 {
881                     Eina.Log.Warning($"Callback error: {e.ToString()}");
882                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
883                 }
884
885         return _ret_var;
886
887             }
888             else
889             {
890                 return efl_file_load_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
891             }
892         }
893
894         private static efl_file_load_delegate efl_file_load_static_delegate;
895
896         
897         private delegate void efl_file_unload_delegate(System.IntPtr obj, System.IntPtr pd);
898
899         
900         public delegate void efl_file_unload_api_delegate(System.IntPtr obj);
901
902         public static Efl.Eo.FunctionWrapper<efl_file_unload_api_delegate> efl_file_unload_ptr = new Efl.Eo.FunctionWrapper<efl_file_unload_api_delegate>(Module, "efl_file_unload");
903
904         private static void unload(System.IntPtr obj, System.IntPtr pd)
905         {
906             Eina.Log.Debug("function efl_file_unload was called");
907             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
908             if (ws != null)
909             {
910             
911                 try
912                 {
913                     ((WinPart)ws.Target).Unload();
914                 }
915                 catch (Exception e)
916                 {
917                     Eina.Log.Warning($"Callback error: {e.ToString()}");
918                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
919                 }
920
921         
922             }
923             else
924             {
925                 efl_file_unload_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
926             }
927         }
928
929         private static efl_file_unload_delegate efl_file_unload_static_delegate;
930
931         
932         private delegate void efl_gfx_color_get_delegate(System.IntPtr obj, System.IntPtr pd,  out int r,  out int g,  out int b,  out int a);
933
934         
935         public delegate void efl_gfx_color_get_api_delegate(System.IntPtr obj,  out int r,  out int g,  out int b,  out int a);
936
937         public static Efl.Eo.FunctionWrapper<efl_gfx_color_get_api_delegate> efl_gfx_color_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_color_get_api_delegate>(Module, "efl_gfx_color_get");
938
939         private static void color_get(System.IntPtr obj, System.IntPtr pd, out int r, out int g, out int b, out int a)
940         {
941             Eina.Log.Debug("function efl_gfx_color_get was called");
942             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
943             if (ws != null)
944             {
945                                         r = default(int);        g = default(int);        b = default(int);        a = default(int);                                            
946                 try
947                 {
948                     ((WinPart)ws.Target).GetColor(out r, out g, out b, out a);
949                 }
950                 catch (Exception e)
951                 {
952                     Eina.Log.Warning($"Callback error: {e.ToString()}");
953                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
954                 }
955
956                                                                         
957             }
958             else
959             {
960                 efl_gfx_color_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out r, out g, out b, out a);
961             }
962         }
963
964         private static efl_gfx_color_get_delegate efl_gfx_color_get_static_delegate;
965
966         
967         private delegate void efl_gfx_color_set_delegate(System.IntPtr obj, System.IntPtr pd,  int r,  int g,  int b,  int a);
968
969         
970         public delegate void efl_gfx_color_set_api_delegate(System.IntPtr obj,  int r,  int g,  int b,  int a);
971
972         public static Efl.Eo.FunctionWrapper<efl_gfx_color_set_api_delegate> efl_gfx_color_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_color_set_api_delegate>(Module, "efl_gfx_color_set");
973
974         private static void color_set(System.IntPtr obj, System.IntPtr pd, int r, int g, int b, int a)
975         {
976             Eina.Log.Debug("function efl_gfx_color_set was called");
977             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
978             if (ws != null)
979             {
980                                                                                                             
981                 try
982                 {
983                     ((WinPart)ws.Target).SetColor(r, g, b, a);
984                 }
985                 catch (Exception e)
986                 {
987                     Eina.Log.Warning($"Callback error: {e.ToString()}");
988                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
989                 }
990
991                                                                         
992             }
993             else
994             {
995                 efl_gfx_color_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), r, g, b, a);
996             }
997         }
998
999         private static efl_gfx_color_set_delegate efl_gfx_color_set_static_delegate;
1000
1001         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
1002         private delegate System.String efl_gfx_color_code_get_delegate(System.IntPtr obj, System.IntPtr pd);
1003
1004         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
1005         public delegate System.String efl_gfx_color_code_get_api_delegate(System.IntPtr obj);
1006
1007         public static Efl.Eo.FunctionWrapper<efl_gfx_color_code_get_api_delegate> efl_gfx_color_code_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_color_code_get_api_delegate>(Module, "efl_gfx_color_code_get");
1008
1009         private static System.String color_code_get(System.IntPtr obj, System.IntPtr pd)
1010         {
1011             Eina.Log.Debug("function efl_gfx_color_code_get was called");
1012             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1013             if (ws != null)
1014             {
1015             System.String _ret_var = default(System.String);
1016                 try
1017                 {
1018                     _ret_var = ((WinPart)ws.Target).GetColorCode();
1019                 }
1020                 catch (Exception e)
1021                 {
1022                     Eina.Log.Warning($"Callback error: {e.ToString()}");
1023                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1024                 }
1025
1026         return _ret_var;
1027
1028             }
1029             else
1030             {
1031                 return efl_gfx_color_code_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1032             }
1033         }
1034
1035         private static efl_gfx_color_code_get_delegate efl_gfx_color_code_get_static_delegate;
1036
1037         
1038         private delegate void efl_gfx_color_code_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String colorcode);
1039
1040         
1041         public delegate void efl_gfx_color_code_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String colorcode);
1042
1043         public static Efl.Eo.FunctionWrapper<efl_gfx_color_code_set_api_delegate> efl_gfx_color_code_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_color_code_set_api_delegate>(Module, "efl_gfx_color_code_set");
1044
1045         private static void color_code_set(System.IntPtr obj, System.IntPtr pd, System.String colorcode)
1046         {
1047             Eina.Log.Debug("function efl_gfx_color_code_set was called");
1048             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1049             if (ws != null)
1050             {
1051                                     
1052                 try
1053                 {
1054                     ((WinPart)ws.Target).SetColorCode(colorcode);
1055                 }
1056                 catch (Exception e)
1057                 {
1058                     Eina.Log.Warning($"Callback error: {e.ToString()}");
1059                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1060                 }
1061
1062                         
1063             }
1064             else
1065             {
1066                 efl_gfx_color_code_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), colorcode);
1067             }
1068         }
1069
1070         private static efl_gfx_color_code_set_delegate efl_gfx_color_code_set_static_delegate;
1071
1072         #pragma warning restore CA1707, CS1591, SA1300, SA1600
1073
1074 }
1075 }
1076 }
1077
1078 }
1079