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