[EflSharp] Update Circle and efl cs files (#896)
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / efl / efl_ui_layout.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>Elementary layout class
13 /// When loading layouts from a file, use the <see cref="Efl.IFile.Key"/> property to specify the group that the data belongs to, in case it&apos;s an EET file (including Edje files).
14 /// (Since EFL 1.22)</summary>
15 [Efl.Ui.Layout.NativeMethods]
16 public class Layout : Efl.Ui.LayoutBase, Efl.IFile
17 {
18     ///<summary>Pointer to the native class description.</summary>
19     public override System.IntPtr NativeClass
20     {
21         get
22         {
23             if (((object)this).GetType() == typeof(Layout))
24             {
25                 return GetEflClassStatic();
26             }
27             else
28             {
29                 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
30             }
31         }
32     }
33
34     [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
35         efl_ui_layout_class_get();
36     /// <summary>Initializes a new instance of the <see cref="Layout"/> class.</summary>
37     /// <param name="parent">Parent instance.</param>
38     /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
39     public Layout(Efl.Object parent
40             , System.String style = null) : base(efl_ui_layout_class_get(), typeof(Layout), parent)
41     {
42         if (Efl.Eo.Globals.ParamHelperCheck(style))
43         {
44             SetStyle(Efl.Eo.Globals.GetParamHelper(style));
45         }
46
47         FinishInstantiation();
48     }
49
50     /// <summary>Initializes a new instance of the <see cref="Layout"/> class.
51     /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
52     /// <param name="raw">The native pointer to be wrapped.</param>
53     protected Layout(System.IntPtr raw) : base(raw)
54     {
55     }
56
57     /// <summary>Initializes a new instance of the <see cref="Layout"/> class.
58     /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
59     /// <param name="baseKlass">The pointer to the base native Eo class.</param>
60     /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
61     /// <param name="parent">The Efl.Object parent of this instance.</param>
62     protected Layout(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
63     {
64     }
65
66     /// <summary>Get the mmaped file from where an object will fetch the real data (it must be an <see cref="Eina.File"/>).
67     /// (Since EFL 1.22)</summary>
68     /// <returns>The handle to the <see cref="Eina.File"/> that will be used</returns>
69     virtual public Eina.File GetMmap() {
70          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));
71         Eina.Error.RaiseIfUnhandledException();
72         return _ret_var;
73  }
74     /// <summary>Set the mmaped file from where an object will fetch the real data (it must be an <see cref="Eina.File"/>).
75     /// If mmap is set during object construction, the object will automatically call <see cref="Efl.IFile.Load"/> during the finalize phase of construction.
76     /// (Since EFL 1.22)</summary>
77     /// <param name="f">The handle to the <see cref="Eina.File"/> that will be used</param>
78     /// <returns>0 on success, error code otherwise</returns>
79     virtual public Eina.Error SetMmap(Eina.File f) {
80                                  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);
81         Eina.Error.RaiseIfUnhandledException();
82                         return _ret_var;
83  }
84     /// <summary>Retrieve the file path from where an object is to fetch the data.
85     /// You must not modify the strings on the returned pointers.
86     /// (Since EFL 1.22)</summary>
87     /// <returns>The file path.</returns>
88     virtual public System.String GetFile() {
89          var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
90         Eina.Error.RaiseIfUnhandledException();
91         return _ret_var;
92  }
93     /// <summary>Set the file path from where an object will fetch the data.
94     /// If file is set during object construction, the object will automatically call <see cref="Efl.IFile.Load"/> during the finalize phase of construction.
95     /// (Since EFL 1.22)</summary>
96     /// <param name="file">The file path.</param>
97     /// <returns>0 on success, error code otherwise</returns>
98     virtual public Eina.Error SetFile(System.String file) {
99                                  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);
100         Eina.Error.RaiseIfUnhandledException();
101                         return _ret_var;
102  }
103     /// <summary>Get the previously-set key which corresponds to the target data within a file.
104     /// 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"/>).
105     /// 
106     /// You must not modify the strings on the returned pointers.
107     /// (Since EFL 1.22)</summary>
108     /// <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>
109     virtual public System.String GetKey() {
110          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));
111         Eina.Error.RaiseIfUnhandledException();
112         return _ret_var;
113  }
114     /// <summary>Set the key which corresponds to the target data within a file.
115     /// Some filetypes can contain multiple data streams which are indexed by a key. Use this property for such cases.
116     /// (Since EFL 1.22)</summary>
117     /// <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>
118     virtual public void SetKey(System.String key) {
119                                  Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
120         Eina.Error.RaiseIfUnhandledException();
121                          }
122     /// <summary>Get the load state of the object.
123     /// (Since EFL 1.22)</summary>
124     /// <returns><c>true</c> if the object is loaded, <c>false</c> otherwise.</returns>
125     virtual public bool GetLoaded() {
126          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));
127         Eina.Error.RaiseIfUnhandledException();
128         return _ret_var;
129  }
130     /// <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.
131     /// 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.
132     /// 
133     /// 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.
134     /// (Since EFL 1.22)</summary>
135     /// <returns>0 on success, error code otherwise</returns>
136     virtual public Eina.Error Load() {
137          var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
138         Eina.Error.RaiseIfUnhandledException();
139         return _ret_var;
140  }
141     /// <summary>Perform all necessary operations to unload file data from the object.
142     /// 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.
143     /// 
144     /// Calling <see cref="Efl.IFile.Unload"/> on an object which is not currently loaded will have no effect.
145     /// (Since EFL 1.22)</summary>
146     virtual public void Unload() {
147          Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
148         Eina.Error.RaiseIfUnhandledException();
149          }
150     /// <summary>Get the mmaped file from where an object will fetch the real data (it must be an <see cref="Eina.File"/>).
151     /// (Since EFL 1.22)</summary>
152     /// <value>The handle to the <see cref="Eina.File"/> that will be used</value>
153     public Eina.File Mmap {
154         get { return GetMmap(); }
155         set { SetMmap(value); }
156     }
157     /// <summary>Retrieve the file path from where an object is to fetch the data.
158     /// You must not modify the strings on the returned pointers.
159     /// (Since EFL 1.22)</summary>
160     /// <value>The file path.</value>
161     public System.String File {
162         get { return GetFile(); }
163         set { SetFile(value); }
164     }
165     /// <summary>Get the previously-set key which corresponds to the target data within a file.
166     /// 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"/>).
167     /// 
168     /// You must not modify the strings on the returned pointers.
169     /// (Since EFL 1.22)</summary>
170     /// <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>
171     public System.String Key {
172         get { return GetKey(); }
173         set { SetKey(value); }
174     }
175     /// <summary>Get the load state of the object.
176     /// (Since EFL 1.22)</summary>
177     /// <value><c>true</c> if the object is loaded, <c>false</c> otherwise.</value>
178     public bool Loaded {
179         get { return GetLoaded(); }
180     }
181     private static IntPtr GetEflClassStatic()
182     {
183         return Efl.Ui.Layout.efl_ui_layout_class_get();
184     }
185     /// <summary>Wrapper for native methods and virtual method delegates.
186     /// For internal use by generated code only.</summary>
187     public new class NativeMethods : Efl.Ui.LayoutBase.NativeMethods
188     {
189         private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule(    efl.Libs.Elementary);
190         /// <summary>Gets the list of Eo operations to override.</summary>
191         /// <returns>The list of Eo operations to be overload.</returns>
192         public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
193         {
194             var descs = new System.Collections.Generic.List<Efl_Op_Description>();
195             var methods = Efl.Eo.Globals.GetUserMethods(type);
196
197             if (efl_file_mmap_get_static_delegate == null)
198             {
199                 efl_file_mmap_get_static_delegate = new efl_file_mmap_get_delegate(mmap_get);
200             }
201
202             if (methods.FirstOrDefault(m => m.Name == "GetMmap") != null)
203             {
204                 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) });
205             }
206
207             if (efl_file_mmap_set_static_delegate == null)
208             {
209                 efl_file_mmap_set_static_delegate = new efl_file_mmap_set_delegate(mmap_set);
210             }
211
212             if (methods.FirstOrDefault(m => m.Name == "SetMmap") != null)
213             {
214                 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) });
215             }
216
217             if (efl_file_get_static_delegate == null)
218             {
219                 efl_file_get_static_delegate = new efl_file_get_delegate(file_get);
220             }
221
222             if (methods.FirstOrDefault(m => m.Name == "GetFile") != null)
223             {
224                 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) });
225             }
226
227             if (efl_file_set_static_delegate == null)
228             {
229                 efl_file_set_static_delegate = new efl_file_set_delegate(file_set);
230             }
231
232             if (methods.FirstOrDefault(m => m.Name == "SetFile") != null)
233             {
234                 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) });
235             }
236
237             if (efl_file_key_get_static_delegate == null)
238             {
239                 efl_file_key_get_static_delegate = new efl_file_key_get_delegate(key_get);
240             }
241
242             if (methods.FirstOrDefault(m => m.Name == "GetKey") != null)
243             {
244                 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) });
245             }
246
247             if (efl_file_key_set_static_delegate == null)
248             {
249                 efl_file_key_set_static_delegate = new efl_file_key_set_delegate(key_set);
250             }
251
252             if (methods.FirstOrDefault(m => m.Name == "SetKey") != null)
253             {
254                 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) });
255             }
256
257             if (efl_file_loaded_get_static_delegate == null)
258             {
259                 efl_file_loaded_get_static_delegate = new efl_file_loaded_get_delegate(loaded_get);
260             }
261
262             if (methods.FirstOrDefault(m => m.Name == "GetLoaded") != null)
263             {
264                 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) });
265             }
266
267             if (efl_file_load_static_delegate == null)
268             {
269                 efl_file_load_static_delegate = new efl_file_load_delegate(load);
270             }
271
272             if (methods.FirstOrDefault(m => m.Name == "Load") != null)
273             {
274                 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) });
275             }
276
277             if (efl_file_unload_static_delegate == null)
278             {
279                 efl_file_unload_static_delegate = new efl_file_unload_delegate(unload);
280             }
281
282             if (methods.FirstOrDefault(m => m.Name == "Unload") != null)
283             {
284                 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) });
285             }
286
287             descs.AddRange(base.GetEoOps(type));
288             return descs;
289         }
290         /// <summary>Returns the Eo class for the native methods of this class.</summary>
291         /// <returns>The native class pointer.</returns>
292         public override IntPtr GetEflClass()
293         {
294             return Efl.Ui.Layout.efl_ui_layout_class_get();
295         }
296
297         #pragma warning disable CA1707, CS1591, SA1300, SA1600
298
299         
300         private delegate Eina.File efl_file_mmap_get_delegate(System.IntPtr obj, System.IntPtr pd);
301
302         
303         public delegate Eina.File efl_file_mmap_get_api_delegate(System.IntPtr obj);
304
305         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");
306
307         private static Eina.File mmap_get(System.IntPtr obj, System.IntPtr pd)
308         {
309             Eina.Log.Debug("function efl_file_mmap_get was called");
310             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
311             if (ws != null)
312             {
313             Eina.File _ret_var = default(Eina.File);
314                 try
315                 {
316                     _ret_var = ((Layout)ws.Target).GetMmap();
317                 }
318                 catch (Exception e)
319                 {
320                     Eina.Log.Warning($"Callback error: {e.ToString()}");
321                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
322                 }
323
324         return _ret_var;
325
326             }
327             else
328             {
329                 return efl_file_mmap_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
330             }
331         }
332
333         private static efl_file_mmap_get_delegate efl_file_mmap_get_static_delegate;
334
335         
336         private delegate Eina.Error efl_file_mmap_set_delegate(System.IntPtr obj, System.IntPtr pd,  Eina.File f);
337
338         
339         public delegate Eina.Error efl_file_mmap_set_api_delegate(System.IntPtr obj,  Eina.File f);
340
341         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");
342
343         private static Eina.Error mmap_set(System.IntPtr obj, System.IntPtr pd, Eina.File f)
344         {
345             Eina.Log.Debug("function efl_file_mmap_set was called");
346             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
347             if (ws != null)
348             {
349                                     Eina.Error _ret_var = default(Eina.Error);
350                 try
351                 {
352                     _ret_var = ((Layout)ws.Target).SetMmap(f);
353                 }
354                 catch (Exception e)
355                 {
356                     Eina.Log.Warning($"Callback error: {e.ToString()}");
357                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
358                 }
359
360                         return _ret_var;
361
362             }
363             else
364             {
365                 return efl_file_mmap_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), f);
366             }
367         }
368
369         private static efl_file_mmap_set_delegate efl_file_mmap_set_static_delegate;
370
371         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
372         private delegate System.String efl_file_get_delegate(System.IntPtr obj, System.IntPtr pd);
373
374         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
375         public delegate System.String efl_file_get_api_delegate(System.IntPtr obj);
376
377         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");
378
379         private static System.String file_get(System.IntPtr obj, System.IntPtr pd)
380         {
381             Eina.Log.Debug("function efl_file_get was called");
382             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
383             if (ws != null)
384             {
385             System.String _ret_var = default(System.String);
386                 try
387                 {
388                     _ret_var = ((Layout)ws.Target).GetFile();
389                 }
390                 catch (Exception e)
391                 {
392                     Eina.Log.Warning($"Callback error: {e.ToString()}");
393                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
394                 }
395
396         return _ret_var;
397
398             }
399             else
400             {
401                 return efl_file_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
402             }
403         }
404
405         private static efl_file_get_delegate efl_file_get_static_delegate;
406
407         
408         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);
409
410         
411         public delegate Eina.Error efl_file_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String file);
412
413         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");
414
415         private static Eina.Error file_set(System.IntPtr obj, System.IntPtr pd, System.String file)
416         {
417             Eina.Log.Debug("function efl_file_set was called");
418             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
419             if (ws != null)
420             {
421                                     Eina.Error _ret_var = default(Eina.Error);
422                 try
423                 {
424                     _ret_var = ((Layout)ws.Target).SetFile(file);
425                 }
426                 catch (Exception e)
427                 {
428                     Eina.Log.Warning($"Callback error: {e.ToString()}");
429                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
430                 }
431
432                         return _ret_var;
433
434             }
435             else
436             {
437                 return efl_file_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), file);
438             }
439         }
440
441         private static efl_file_set_delegate efl_file_set_static_delegate;
442
443         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
444         private delegate System.String efl_file_key_get_delegate(System.IntPtr obj, System.IntPtr pd);
445
446         [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
447         public delegate System.String efl_file_key_get_api_delegate(System.IntPtr obj);
448
449         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");
450
451         private static System.String key_get(System.IntPtr obj, System.IntPtr pd)
452         {
453             Eina.Log.Debug("function efl_file_key_get was called");
454             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
455             if (ws != null)
456             {
457             System.String _ret_var = default(System.String);
458                 try
459                 {
460                     _ret_var = ((Layout)ws.Target).GetKey();
461                 }
462                 catch (Exception e)
463                 {
464                     Eina.Log.Warning($"Callback error: {e.ToString()}");
465                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
466                 }
467
468         return _ret_var;
469
470             }
471             else
472             {
473                 return efl_file_key_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
474             }
475         }
476
477         private static efl_file_key_get_delegate efl_file_key_get_static_delegate;
478
479         
480         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);
481
482         
483         public delegate void efl_file_key_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String key);
484
485         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");
486
487         private static void key_set(System.IntPtr obj, System.IntPtr pd, System.String key)
488         {
489             Eina.Log.Debug("function efl_file_key_set was called");
490             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
491             if (ws != null)
492             {
493                                     
494                 try
495                 {
496                     ((Layout)ws.Target).SetKey(key);
497                 }
498                 catch (Exception e)
499                 {
500                     Eina.Log.Warning($"Callback error: {e.ToString()}");
501                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
502                 }
503
504                         
505             }
506             else
507             {
508                 efl_file_key_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), key);
509             }
510         }
511
512         private static efl_file_key_set_delegate efl_file_key_set_static_delegate;
513
514         [return: MarshalAs(UnmanagedType.U1)]
515         private delegate bool efl_file_loaded_get_delegate(System.IntPtr obj, System.IntPtr pd);
516
517         [return: MarshalAs(UnmanagedType.U1)]
518         public delegate bool efl_file_loaded_get_api_delegate(System.IntPtr obj);
519
520         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");
521
522         private static bool loaded_get(System.IntPtr obj, System.IntPtr pd)
523         {
524             Eina.Log.Debug("function efl_file_loaded_get was called");
525             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
526             if (ws != null)
527             {
528             bool _ret_var = default(bool);
529                 try
530                 {
531                     _ret_var = ((Layout)ws.Target).GetLoaded();
532                 }
533                 catch (Exception e)
534                 {
535                     Eina.Log.Warning($"Callback error: {e.ToString()}");
536                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
537                 }
538
539         return _ret_var;
540
541             }
542             else
543             {
544                 return efl_file_loaded_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
545             }
546         }
547
548         private static efl_file_loaded_get_delegate efl_file_loaded_get_static_delegate;
549
550         
551         private delegate Eina.Error efl_file_load_delegate(System.IntPtr obj, System.IntPtr pd);
552
553         
554         public delegate Eina.Error efl_file_load_api_delegate(System.IntPtr obj);
555
556         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");
557
558         private static Eina.Error load(System.IntPtr obj, System.IntPtr pd)
559         {
560             Eina.Log.Debug("function efl_file_load was called");
561             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
562             if (ws != null)
563             {
564             Eina.Error _ret_var = default(Eina.Error);
565                 try
566                 {
567                     _ret_var = ((Layout)ws.Target).Load();
568                 }
569                 catch (Exception e)
570                 {
571                     Eina.Log.Warning($"Callback error: {e.ToString()}");
572                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
573                 }
574
575         return _ret_var;
576
577             }
578             else
579             {
580                 return efl_file_load_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
581             }
582         }
583
584         private static efl_file_load_delegate efl_file_load_static_delegate;
585
586         
587         private delegate void efl_file_unload_delegate(System.IntPtr obj, System.IntPtr pd);
588
589         
590         public delegate void efl_file_unload_api_delegate(System.IntPtr obj);
591
592         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");
593
594         private static void unload(System.IntPtr obj, System.IntPtr pd)
595         {
596             Eina.Log.Debug("function efl_file_unload was called");
597             var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
598             if (ws != null)
599             {
600             
601                 try
602                 {
603                     ((Layout)ws.Target).Unload();
604                 }
605                 catch (Exception e)
606                 {
607                     Eina.Log.Warning($"Callback error: {e.ToString()}");
608                     Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
609                 }
610
611         
612             }
613             else
614             {
615                 efl_file_unload_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
616             }
617         }
618
619         private static efl_file_unload_delegate efl_file_unload_static_delegate;
620
621         #pragma warning restore CA1707, CS1591, SA1300, SA1600
622
623 }
624 }
625 }
626
627 }
628