[EflSharp] Separate efl and Circle cs files and Update cs files (#786)
[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.ComponentModel;
7 namespace Efl { namespace Ui { 
8 /// <summary>Elementary layout class
9 /// 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).
10 /// (Since EFL 1.22)</summary>
11 [LayoutNativeInherit]
12 public class Layout : Efl.Ui.LayoutBase, Efl.Eo.IWrapper,Efl.IFile
13 {
14     ///<summary>Pointer to the native class description.</summary>
15     public override System.IntPtr NativeClass {
16         get {
17             if (((object)this).GetType() == typeof (Layout))
18                 return Efl.Ui.LayoutNativeInherit.GetEflClassStatic();
19             else
20                 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
21         }
22     }
23     [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
24         efl_ui_layout_class_get();
25     ///<summary>Creates a new instance.</summary>
26     ///<param name="parent">Parent instance.</param>
27     ///<param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
28     public Layout(Efl.Object parent
29             , System.String style = null) :
30         base(efl_ui_layout_class_get(), typeof(Layout), parent)
31     {
32         if (Efl.Eo.Globals.ParamHelperCheck(style))
33             SetStyle(Efl.Eo.Globals.GetParamHelper(style));
34         FinishInstantiation();
35     }
36     ///<summary>Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
37     protected Layout(System.IntPtr raw) : base(raw)
38     {
39                 RegisterEventProxies();
40     }
41     ///<summary>Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
42     protected Layout(IntPtr base_klass, System.Type managed_type, Efl.Object parent) : base(base_klass, managed_type, parent) {}
43     ///<summary>Verifies if the given object is equal to this one.</summary>
44     public override bool Equals(object obj)
45     {
46         var other = obj as Efl.Object;
47         if (other == null)
48             return false;
49         return this.NativeHandle == other.NativeHandle;
50     }
51     ///<summary>Gets the hash code for this object based on the native pointer it points to.</summary>
52     public override int GetHashCode()
53     {
54         return this.NativeHandle.ToInt32();
55     }
56     ///<summary>Turns the native pointer into a string representation.</summary>
57     public override String ToString()
58     {
59         return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
60     }
61     ///<summary>Register the Eo event wrappers making the bridge to C# events. Internal usage only.</summary>
62     protected override void RegisterEventProxies()
63     {
64         base.RegisterEventProxies();
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.IFileNativeInherit.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.IFileNativeInherit.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.IFileNativeInherit.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.IFileNativeInherit.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.IFileNativeInherit.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     /// <returns></returns>
119     virtual public void SetKey( System.String key) {
120                                  Efl.IFileNativeInherit.efl_file_key_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), key);
121         Eina.Error.RaiseIfUnhandledException();
122                          }
123     /// <summary>Get the load state of the object.
124     /// (Since EFL 1.22)</summary>
125     /// <returns><c>true</c> if the object is loaded, <c>false</c> otherwise.</returns>
126     virtual public bool GetLoaded() {
127          var _ret_var = Efl.IFileNativeInherit.efl_file_loaded_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
128         Eina.Error.RaiseIfUnhandledException();
129         return _ret_var;
130  }
131     /// <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.
132     /// 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.
133     /// 
134     /// 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.
135     /// (Since EFL 1.22)</summary>
136     /// <returns>0 on success, error code otherwise</returns>
137     virtual public Eina.Error Load() {
138          var _ret_var = Efl.IFileNativeInherit.efl_file_load_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
139         Eina.Error.RaiseIfUnhandledException();
140         return _ret_var;
141  }
142     /// <summary>Perform all necessary operations to unload file data from the object.
143     /// 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.
144     /// 
145     /// Calling <see cref="Efl.IFile.Unload"/> on an object which is not currently loaded will have no effect.
146     /// (Since EFL 1.22)</summary>
147     /// <returns></returns>
148     virtual public void Unload() {
149          Efl.IFileNativeInherit.efl_file_unload_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
150         Eina.Error.RaiseIfUnhandledException();
151          }
152     /// <summary>Get the mmaped file from where an object will fetch the real data (it must be an <see cref="Eina.File"/>).
153 /// (Since EFL 1.22)</summary>
154 /// <value>The handle to the <see cref="Eina.File"/> that will be used</value>
155     public Eina.File Mmap {
156         get { return GetMmap(); }
157         set { SetMmap( value); }
158     }
159     /// <summary>Retrieve the file path from where an object is to fetch the data.
160 /// You must not modify the strings on the returned pointers.
161 /// (Since EFL 1.22)</summary>
162 /// <value>The file path.</value>
163     public System.String File {
164         get { return GetFile(); }
165         set { SetFile( value); }
166     }
167     /// <summary>Get the previously-set key which corresponds to the target data within a file.
168 /// 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"/>).
169 /// 
170 /// You must not modify the strings on the returned pointers.
171 /// (Since EFL 1.22)</summary>
172 /// <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>
173     public System.String Key {
174         get { return GetKey(); }
175         set { SetKey( value); }
176     }
177     /// <summary>Get the load state of the object.
178 /// (Since EFL 1.22)</summary>
179 /// <value><c>true</c> if the object is loaded, <c>false</c> otherwise.</value>
180     public bool Loaded {
181         get { return GetLoaded(); }
182     }
183     private static IntPtr GetEflClassStatic()
184     {
185         return Efl.Ui.Layout.efl_ui_layout_class_get();
186     }
187 }
188 public class LayoutNativeInherit : Efl.Ui.LayoutBaseNativeInherit{
189     public new  static Efl.Eo.NativeModule _Module = new Efl.Eo.NativeModule(efl.Libs.Elementary);
190     public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
191     {
192         var descs = new System.Collections.Generic.List<Efl_Op_Description>();
193         var methods = Efl.Eo.Globals.GetUserMethods(type);
194         if (efl_file_mmap_get_static_delegate == null)
195             efl_file_mmap_get_static_delegate = new efl_file_mmap_get_delegate(mmap_get);
196         if (methods.FirstOrDefault(m => m.Name == "GetMmap") != null)
197             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)});
198         if (efl_file_mmap_set_static_delegate == null)
199             efl_file_mmap_set_static_delegate = new efl_file_mmap_set_delegate(mmap_set);
200         if (methods.FirstOrDefault(m => m.Name == "SetMmap") != null)
201             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)});
202         if (efl_file_get_static_delegate == null)
203             efl_file_get_static_delegate = new efl_file_get_delegate(file_get);
204         if (methods.FirstOrDefault(m => m.Name == "GetFile") != null)
205             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)});
206         if (efl_file_set_static_delegate == null)
207             efl_file_set_static_delegate = new efl_file_set_delegate(file_set);
208         if (methods.FirstOrDefault(m => m.Name == "SetFile") != null)
209             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)});
210         if (efl_file_key_get_static_delegate == null)
211             efl_file_key_get_static_delegate = new efl_file_key_get_delegate(key_get);
212         if (methods.FirstOrDefault(m => m.Name == "GetKey") != null)
213             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)});
214         if (efl_file_key_set_static_delegate == null)
215             efl_file_key_set_static_delegate = new efl_file_key_set_delegate(key_set);
216         if (methods.FirstOrDefault(m => m.Name == "SetKey") != null)
217             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)});
218         if (efl_file_loaded_get_static_delegate == null)
219             efl_file_loaded_get_static_delegate = new efl_file_loaded_get_delegate(loaded_get);
220         if (methods.FirstOrDefault(m => m.Name == "GetLoaded") != null)
221             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)});
222         if (efl_file_load_static_delegate == null)
223             efl_file_load_static_delegate = new efl_file_load_delegate(load);
224         if (methods.FirstOrDefault(m => m.Name == "Load") != null)
225             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)});
226         if (efl_file_unload_static_delegate == null)
227             efl_file_unload_static_delegate = new efl_file_unload_delegate(unload);
228         if (methods.FirstOrDefault(m => m.Name == "Unload") != null)
229             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)});
230         descs.AddRange(base.GetEoOps(type));
231         return descs;
232     }
233     public override IntPtr GetEflClass()
234     {
235         return Efl.Ui.Layout.efl_ui_layout_class_get();
236     }
237     public static new  IntPtr GetEflClassStatic()
238     {
239         return Efl.Ui.Layout.efl_ui_layout_class_get();
240     }
241
242
243      private delegate Eina.File efl_file_mmap_get_delegate(System.IntPtr obj, System.IntPtr pd);
244
245
246      public delegate Eina.File efl_file_mmap_get_api_delegate(System.IntPtr obj);
247      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");
248      private static Eina.File mmap_get(System.IntPtr obj, System.IntPtr pd)
249     {
250         Eina.Log.Debug("function efl_file_mmap_get was called");
251         Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
252         if(wrapper != null) {
253                         Eina.File _ret_var = default(Eina.File);
254             try {
255                 _ret_var = ((Layout)wrapper).GetMmap();
256             } catch (Exception e) {
257                 Eina.Log.Warning($"Callback error: {e.ToString()}");
258                 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
259             }
260         return _ret_var;
261         } else {
262             return efl_file_mmap_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
263         }
264     }
265     private static efl_file_mmap_get_delegate efl_file_mmap_get_static_delegate;
266
267
268      private delegate Eina.Error efl_file_mmap_set_delegate(System.IntPtr obj, System.IntPtr pd,   Eina.File f);
269
270
271      public delegate Eina.Error efl_file_mmap_set_api_delegate(System.IntPtr obj,   Eina.File f);
272      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");
273      private static Eina.Error mmap_set(System.IntPtr obj, System.IntPtr pd,  Eina.File f)
274     {
275         Eina.Log.Debug("function efl_file_mmap_set was called");
276         Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
277         if(wrapper != null) {
278                                                 Eina.Error _ret_var = default(Eina.Error);
279             try {
280                 _ret_var = ((Layout)wrapper).SetMmap( f);
281             } catch (Exception e) {
282                 Eina.Log.Warning($"Callback error: {e.ToString()}");
283                 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
284             }
285                         return _ret_var;
286         } else {
287             return efl_file_mmap_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)),  f);
288         }
289     }
290     private static efl_file_mmap_set_delegate efl_file_mmap_set_static_delegate;
291
292
293      [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] private delegate System.String efl_file_get_delegate(System.IntPtr obj, System.IntPtr pd);
294
295
296      [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] public delegate System.String efl_file_get_api_delegate(System.IntPtr obj);
297      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");
298      private static System.String file_get(System.IntPtr obj, System.IntPtr pd)
299     {
300         Eina.Log.Debug("function efl_file_get was called");
301         Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
302         if(wrapper != null) {
303                         System.String _ret_var = default(System.String);
304             try {
305                 _ret_var = ((Layout)wrapper).GetFile();
306             } catch (Exception e) {
307                 Eina.Log.Warning($"Callback error: {e.ToString()}");
308                 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
309             }
310         return _ret_var;
311         } else {
312             return efl_file_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
313         }
314     }
315     private static efl_file_get_delegate efl_file_get_static_delegate;
316
317
318      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);
319
320
321      public delegate Eina.Error efl_file_set_api_delegate(System.IntPtr obj,  [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]  System.String file);
322      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");
323      private static Eina.Error file_set(System.IntPtr obj, System.IntPtr pd,  System.String file)
324     {
325         Eina.Log.Debug("function efl_file_set was called");
326         Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
327         if(wrapper != null) {
328                                                 Eina.Error _ret_var = default(Eina.Error);
329             try {
330                 _ret_var = ((Layout)wrapper).SetFile( file);
331             } catch (Exception e) {
332                 Eina.Log.Warning($"Callback error: {e.ToString()}");
333                 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
334             }
335                         return _ret_var;
336         } else {
337             return efl_file_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)),  file);
338         }
339     }
340     private static efl_file_set_delegate efl_file_set_static_delegate;
341
342
343      [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] private delegate System.String efl_file_key_get_delegate(System.IntPtr obj, System.IntPtr pd);
344
345
346      [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] public delegate System.String efl_file_key_get_api_delegate(System.IntPtr obj);
347      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");
348      private static System.String key_get(System.IntPtr obj, System.IntPtr pd)
349     {
350         Eina.Log.Debug("function efl_file_key_get was called");
351         Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
352         if(wrapper != null) {
353                         System.String _ret_var = default(System.String);
354             try {
355                 _ret_var = ((Layout)wrapper).GetKey();
356             } catch (Exception e) {
357                 Eina.Log.Warning($"Callback error: {e.ToString()}");
358                 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
359             }
360         return _ret_var;
361         } else {
362             return efl_file_key_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
363         }
364     }
365     private static efl_file_key_get_delegate efl_file_key_get_static_delegate;
366
367
368      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);
369
370
371      public delegate void efl_file_key_set_api_delegate(System.IntPtr obj,  [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]  System.String key);
372      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");
373      private static void key_set(System.IntPtr obj, System.IntPtr pd,  System.String key)
374     {
375         Eina.Log.Debug("function efl_file_key_set was called");
376         Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
377         if(wrapper != null) {
378                                                 
379             try {
380                 ((Layout)wrapper).SetKey( key);
381             } catch (Exception e) {
382                 Eina.Log.Warning($"Callback error: {e.ToString()}");
383                 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
384             }
385                                 } else {
386             efl_file_key_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)),  key);
387         }
388     }
389     private static efl_file_key_set_delegate efl_file_key_set_static_delegate;
390
391
392      [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_file_loaded_get_delegate(System.IntPtr obj, System.IntPtr pd);
393
394
395      [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_file_loaded_get_api_delegate(System.IntPtr obj);
396      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");
397      private static bool loaded_get(System.IntPtr obj, System.IntPtr pd)
398     {
399         Eina.Log.Debug("function efl_file_loaded_get was called");
400         Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
401         if(wrapper != null) {
402                         bool _ret_var = default(bool);
403             try {
404                 _ret_var = ((Layout)wrapper).GetLoaded();
405             } catch (Exception e) {
406                 Eina.Log.Warning($"Callback error: {e.ToString()}");
407                 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
408             }
409         return _ret_var;
410         } else {
411             return efl_file_loaded_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
412         }
413     }
414     private static efl_file_loaded_get_delegate efl_file_loaded_get_static_delegate;
415
416
417      private delegate Eina.Error efl_file_load_delegate(System.IntPtr obj, System.IntPtr pd);
418
419
420      public delegate Eina.Error efl_file_load_api_delegate(System.IntPtr obj);
421      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");
422      private static Eina.Error load(System.IntPtr obj, System.IntPtr pd)
423     {
424         Eina.Log.Debug("function efl_file_load was called");
425         Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
426         if(wrapper != null) {
427                         Eina.Error _ret_var = default(Eina.Error);
428             try {
429                 _ret_var = ((Layout)wrapper).Load();
430             } catch (Exception e) {
431                 Eina.Log.Warning($"Callback error: {e.ToString()}");
432                 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
433             }
434         return _ret_var;
435         } else {
436             return efl_file_load_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
437         }
438     }
439     private static efl_file_load_delegate efl_file_load_static_delegate;
440
441
442      private delegate void efl_file_unload_delegate(System.IntPtr obj, System.IntPtr pd);
443
444
445      public delegate void efl_file_unload_api_delegate(System.IntPtr obj);
446      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");
447      private static void unload(System.IntPtr obj, System.IntPtr pd)
448     {
449         Eina.Log.Debug("function efl_file_unload was called");
450         Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
451         if(wrapper != null) {
452                         
453             try {
454                 ((Layout)wrapper).Unload();
455             } catch (Exception e) {
456                 Eina.Log.Warning($"Callback error: {e.ToString()}");
457                 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
458             }
459                 } else {
460             efl_file_unload_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
461         }
462     }
463     private static efl_file_unload_delegate efl_file_unload_static_delegate;
464 }
465 } }