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