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