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