1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.Threading;
7 using System.ComponentModel;
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's an EET file (including Edje files).
14 /// (Since EFL 1.22)</summary>
15 [Efl.Ui.Layout.NativeMethods]
16 public class Layout : Efl.Ui.LayoutBase, Efl.IFile
18 ///<summary>Pointer to the native class description.</summary>
19 public override System.IntPtr NativeClass
23 if (((object)this).GetType() == typeof(Layout))
25 return GetEflClassStatic();
29 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
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)
42 if (Efl.Eo.Globals.ParamHelperCheck(style))
44 SetStyle(Efl.Eo.Globals.GetParamHelper(style));
47 FinishInstantiation();
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)
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)
66 /// <summary>Get the mmaped file from where an object will fetch the real data (it must be an <see cref="Eina.File"/>).
67 /// (Since EFL 1.22)</summary>
68 /// <returns>The handle to the <see cref="Eina.File"/> that will be used</returns>
69 virtual public Eina.File GetMmap() {
70 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
71 Eina.Error.RaiseIfUnhandledException();
74 /// <summary>Set the mmaped file from where an object will fetch the real data (it must be an <see cref="Eina.File"/>).
75 /// If mmap is set during object construction, the object will automatically call <see cref="Efl.IFile.Load"/> during the finalize phase of construction.
76 /// (Since EFL 1.22)</summary>
77 /// <param name="f">The handle to the <see cref="Eina.File"/> that will be used</param>
78 /// <returns>0 on success, error code otherwise</returns>
79 virtual public Eina.Error SetMmap(Eina.File f) {
80 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),f);
81 Eina.Error.RaiseIfUnhandledException();
84 /// <summary>Retrieve the file path from where an object is to fetch the data.
85 /// You must not modify the strings on the returned pointers.
86 /// (Since EFL 1.22)</summary>
87 /// <returns>The file path.</returns>
88 virtual public System.String GetFile() {
89 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
90 Eina.Error.RaiseIfUnhandledException();
93 /// <summary>Set the file path from where an object will fetch the data.
94 /// If file is set during object construction, the object will automatically call <see cref="Efl.IFile.Load"/> during the finalize phase of construction.
95 /// (Since EFL 1.22)</summary>
96 /// <param name="file">The file path.</param>
97 /// <returns>0 on success, error code otherwise</returns>
98 virtual public Eina.Error SetFile(System.String file) {
99 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),file);
100 Eina.Error.RaiseIfUnhandledException();
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"/>).
106 /// You must not modify the strings on the returned pointers.
107 /// (Since EFL 1.22)</summary>
108 /// <returns>The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</returns>
109 virtual public System.String GetKey() {
110 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
111 Eina.Error.RaiseIfUnhandledException();
114 /// <summary>Set the key which corresponds to the target data within a file.
115 /// Some filetypes can contain multiple data streams which are indexed by a key. Use this property for such cases.
116 /// (Since EFL 1.22)</summary>
117 /// <param name="key">The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</param>
118 virtual public void SetKey(System.String key) {
119 Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),key);
120 Eina.Error.RaiseIfUnhandledException();
122 /// <summary>Get the load state of the object.
123 /// (Since EFL 1.22)</summary>
124 /// <returns><c>true</c> if the object is loaded, <c>false</c> otherwise.</returns>
125 virtual public bool GetLoaded() {
126 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
127 Eina.Error.RaiseIfUnhandledException();
130 /// <summary>Perform all necessary operations to open and load file data into the object using the <see cref="Efl.IFile.File"/> (or <see cref="Efl.IFile.Mmap"/>) and <see cref="Efl.IFile.Key"/> properties.
131 /// In the case where <see cref="Efl.IFile.SetFile"/> has been called on an object, this will internally open the file and call <see cref="Efl.IFile.SetMmap"/> on the object using the opened file handle.
133 /// Calling <see cref="Efl.IFile.Load"/> on an object which has already performed file operations based on the currently set properties will have no effect.
134 /// (Since EFL 1.22)</summary>
135 /// <returns>0 on success, error code otherwise</returns>
136 virtual public Eina.Error Load() {
137 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
138 Eina.Error.RaiseIfUnhandledException();
141 /// <summary>Perform all necessary operations to unload file data from the object.
142 /// In the case where <see cref="Efl.IFile.SetMmap"/> has been externally called on an object, the file handle stored in the object will be preserved.
144 /// Calling <see cref="Efl.IFile.Unload"/> on an object which is not currently loaded will have no effect.
145 /// (Since EFL 1.22)</summary>
146 virtual public void Unload() {
147 Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
148 Eina.Error.RaiseIfUnhandledException();
150 /// <summary>Get the mmaped file from where an object will fetch the real data (it must be an <see cref="Eina.File"/>).
151 /// (Since EFL 1.22)</summary>
152 /// <value>The handle to the <see cref="Eina.File"/> that will be used</value>
153 public Eina.File Mmap {
154 get { return GetMmap(); }
155 set { SetMmap(value); }
157 /// <summary>Retrieve the file path from where an object is to fetch the data.
158 /// You must not modify the strings on the returned pointers.
159 /// (Since EFL 1.22)</summary>
160 /// <value>The file path.</value>
161 public System.String File {
162 get { return GetFile(); }
163 set { SetFile(value); }
165 /// <summary>Get the previously-set key which corresponds to the target data within a file.
166 /// Some filetypes can contain multiple data streams which are indexed by a key. Use this property for such cases (See for example <see cref="Efl.Ui.Image"/> or <see cref="Efl.Ui.Layout"/>).
168 /// You must not modify the strings on the returned pointers.
169 /// (Since EFL 1.22)</summary>
170 /// <value>The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</value>
171 public System.String Key {
172 get { return GetKey(); }
173 set { SetKey(value); }
175 /// <summary>Get the load state of the object.
176 /// (Since EFL 1.22)</summary>
177 /// <value><c>true</c> if the object is loaded, <c>false</c> otherwise.</value>
179 get { return GetLoaded(); }
181 private static IntPtr GetEflClassStatic()
183 return Efl.Ui.Layout.efl_ui_layout_class_get();
185 /// <summary>Wrapper for native methods and virtual method delegates.
186 /// For internal use by generated code only.</summary>
187 public new class NativeMethods : Efl.Ui.LayoutBase.NativeMethods
189 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
190 /// <summary>Gets the list of Eo operations to override.</summary>
191 /// <returns>The list of Eo operations to be overload.</returns>
192 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
194 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
195 var methods = Efl.Eo.Globals.GetUserMethods(type);
197 if (efl_file_mmap_get_static_delegate == null)
199 efl_file_mmap_get_static_delegate = new efl_file_mmap_get_delegate(mmap_get);
202 if (methods.FirstOrDefault(m => m.Name == "GetMmap") != null)
204 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_mmap_get"), func = Marshal.GetFunctionPointerForDelegate(efl_file_mmap_get_static_delegate) });
207 if (efl_file_mmap_set_static_delegate == null)
209 efl_file_mmap_set_static_delegate = new efl_file_mmap_set_delegate(mmap_set);
212 if (methods.FirstOrDefault(m => m.Name == "SetMmap") != null)
214 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_mmap_set"), func = Marshal.GetFunctionPointerForDelegate(efl_file_mmap_set_static_delegate) });
217 if (efl_file_get_static_delegate == null)
219 efl_file_get_static_delegate = new efl_file_get_delegate(file_get);
222 if (methods.FirstOrDefault(m => m.Name == "GetFile") != null)
224 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_get"), func = Marshal.GetFunctionPointerForDelegate(efl_file_get_static_delegate) });
227 if (efl_file_set_static_delegate == null)
229 efl_file_set_static_delegate = new efl_file_set_delegate(file_set);
232 if (methods.FirstOrDefault(m => m.Name == "SetFile") != null)
234 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_set"), func = Marshal.GetFunctionPointerForDelegate(efl_file_set_static_delegate) });
237 if (efl_file_key_get_static_delegate == null)
239 efl_file_key_get_static_delegate = new efl_file_key_get_delegate(key_get);
242 if (methods.FirstOrDefault(m => m.Name == "GetKey") != null)
244 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_key_get"), func = Marshal.GetFunctionPointerForDelegate(efl_file_key_get_static_delegate) });
247 if (efl_file_key_set_static_delegate == null)
249 efl_file_key_set_static_delegate = new efl_file_key_set_delegate(key_set);
252 if (methods.FirstOrDefault(m => m.Name == "SetKey") != null)
254 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_key_set"), func = Marshal.GetFunctionPointerForDelegate(efl_file_key_set_static_delegate) });
257 if (efl_file_loaded_get_static_delegate == null)
259 efl_file_loaded_get_static_delegate = new efl_file_loaded_get_delegate(loaded_get);
262 if (methods.FirstOrDefault(m => m.Name == "GetLoaded") != null)
264 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_loaded_get"), func = Marshal.GetFunctionPointerForDelegate(efl_file_loaded_get_static_delegate) });
267 if (efl_file_load_static_delegate == null)
269 efl_file_load_static_delegate = new efl_file_load_delegate(load);
272 if (methods.FirstOrDefault(m => m.Name == "Load") != null)
274 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_load"), func = Marshal.GetFunctionPointerForDelegate(efl_file_load_static_delegate) });
277 if (efl_file_unload_static_delegate == null)
279 efl_file_unload_static_delegate = new efl_file_unload_delegate(unload);
282 if (methods.FirstOrDefault(m => m.Name == "Unload") != null)
284 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_unload"), func = Marshal.GetFunctionPointerForDelegate(efl_file_unload_static_delegate) });
287 descs.AddRange(base.GetEoOps(type));
290 /// <summary>Returns the Eo class for the native methods of this class.</summary>
291 /// <returns>The native class pointer.</returns>
292 public override IntPtr GetEflClass()
294 return Efl.Ui.Layout.efl_ui_layout_class_get();
297 #pragma warning disable CA1707, CS1591, SA1300, SA1600
300 private delegate Eina.File efl_file_mmap_get_delegate(System.IntPtr obj, System.IntPtr pd);
303 public delegate Eina.File efl_file_mmap_get_api_delegate(System.IntPtr obj);
305 public static Efl.Eo.FunctionWrapper<efl_file_mmap_get_api_delegate> efl_file_mmap_get_ptr = new Efl.Eo.FunctionWrapper<efl_file_mmap_get_api_delegate>(Module, "efl_file_mmap_get");
307 private static Eina.File mmap_get(System.IntPtr obj, System.IntPtr pd)
309 Eina.Log.Debug("function efl_file_mmap_get was called");
310 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
313 Eina.File _ret_var = default(Eina.File);
316 _ret_var = ((Layout)ws.Target).GetMmap();
320 Eina.Log.Warning($"Callback error: {e.ToString()}");
321 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
329 return efl_file_mmap_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
333 private static efl_file_mmap_get_delegate efl_file_mmap_get_static_delegate;
336 private delegate Eina.Error efl_file_mmap_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.File f);
339 public delegate Eina.Error efl_file_mmap_set_api_delegate(System.IntPtr obj, Eina.File f);
341 public static Efl.Eo.FunctionWrapper<efl_file_mmap_set_api_delegate> efl_file_mmap_set_ptr = new Efl.Eo.FunctionWrapper<efl_file_mmap_set_api_delegate>(Module, "efl_file_mmap_set");
343 private static Eina.Error mmap_set(System.IntPtr obj, System.IntPtr pd, Eina.File f)
345 Eina.Log.Debug("function efl_file_mmap_set was called");
346 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
349 Eina.Error _ret_var = default(Eina.Error);
352 _ret_var = ((Layout)ws.Target).SetMmap(f);
356 Eina.Log.Warning($"Callback error: {e.ToString()}");
357 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
365 return efl_file_mmap_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), f);
369 private static efl_file_mmap_set_delegate efl_file_mmap_set_static_delegate;
371 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
372 private delegate System.String efl_file_get_delegate(System.IntPtr obj, System.IntPtr pd);
374 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
375 public delegate System.String efl_file_get_api_delegate(System.IntPtr obj);
377 public static Efl.Eo.FunctionWrapper<efl_file_get_api_delegate> efl_file_get_ptr = new Efl.Eo.FunctionWrapper<efl_file_get_api_delegate>(Module, "efl_file_get");
379 private static System.String file_get(System.IntPtr obj, System.IntPtr pd)
381 Eina.Log.Debug("function efl_file_get was called");
382 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
385 System.String _ret_var = default(System.String);
388 _ret_var = ((Layout)ws.Target).GetFile();
392 Eina.Log.Warning($"Callback error: {e.ToString()}");
393 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
401 return efl_file_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
405 private static efl_file_get_delegate efl_file_get_static_delegate;
408 private delegate Eina.Error efl_file_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String file);
411 public delegate Eina.Error efl_file_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String file);
413 public static Efl.Eo.FunctionWrapper<efl_file_set_api_delegate> efl_file_set_ptr = new Efl.Eo.FunctionWrapper<efl_file_set_api_delegate>(Module, "efl_file_set");
415 private static Eina.Error file_set(System.IntPtr obj, System.IntPtr pd, System.String file)
417 Eina.Log.Debug("function efl_file_set was called");
418 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
421 Eina.Error _ret_var = default(Eina.Error);
424 _ret_var = ((Layout)ws.Target).SetFile(file);
428 Eina.Log.Warning($"Callback error: {e.ToString()}");
429 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
437 return efl_file_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), file);
441 private static efl_file_set_delegate efl_file_set_static_delegate;
443 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
444 private delegate System.String efl_file_key_get_delegate(System.IntPtr obj, System.IntPtr pd);
446 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
447 public delegate System.String efl_file_key_get_api_delegate(System.IntPtr obj);
449 public static Efl.Eo.FunctionWrapper<efl_file_key_get_api_delegate> efl_file_key_get_ptr = new Efl.Eo.FunctionWrapper<efl_file_key_get_api_delegate>(Module, "efl_file_key_get");
451 private static System.String key_get(System.IntPtr obj, System.IntPtr pd)
453 Eina.Log.Debug("function efl_file_key_get was called");
454 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
457 System.String _ret_var = default(System.String);
460 _ret_var = ((Layout)ws.Target).GetKey();
464 Eina.Log.Warning($"Callback error: {e.ToString()}");
465 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
473 return efl_file_key_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
477 private static efl_file_key_get_delegate efl_file_key_get_static_delegate;
480 private delegate void efl_file_key_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String key);
483 public delegate void efl_file_key_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String key);
485 public static Efl.Eo.FunctionWrapper<efl_file_key_set_api_delegate> efl_file_key_set_ptr = new Efl.Eo.FunctionWrapper<efl_file_key_set_api_delegate>(Module, "efl_file_key_set");
487 private static void key_set(System.IntPtr obj, System.IntPtr pd, System.String key)
489 Eina.Log.Debug("function efl_file_key_set was called");
490 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
496 ((Layout)ws.Target).SetKey(key);
500 Eina.Log.Warning($"Callback error: {e.ToString()}");
501 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
508 efl_file_key_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), key);
512 private static efl_file_key_set_delegate efl_file_key_set_static_delegate;
514 [return: MarshalAs(UnmanagedType.U1)]
515 private delegate bool efl_file_loaded_get_delegate(System.IntPtr obj, System.IntPtr pd);
517 [return: MarshalAs(UnmanagedType.U1)]
518 public delegate bool efl_file_loaded_get_api_delegate(System.IntPtr obj);
520 public static Efl.Eo.FunctionWrapper<efl_file_loaded_get_api_delegate> efl_file_loaded_get_ptr = new Efl.Eo.FunctionWrapper<efl_file_loaded_get_api_delegate>(Module, "efl_file_loaded_get");
522 private static bool loaded_get(System.IntPtr obj, System.IntPtr pd)
524 Eina.Log.Debug("function efl_file_loaded_get was called");
525 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
528 bool _ret_var = default(bool);
531 _ret_var = ((Layout)ws.Target).GetLoaded();
535 Eina.Log.Warning($"Callback error: {e.ToString()}");
536 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
544 return efl_file_loaded_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
548 private static efl_file_loaded_get_delegate efl_file_loaded_get_static_delegate;
551 private delegate Eina.Error efl_file_load_delegate(System.IntPtr obj, System.IntPtr pd);
554 public delegate Eina.Error efl_file_load_api_delegate(System.IntPtr obj);
556 public static Efl.Eo.FunctionWrapper<efl_file_load_api_delegate> efl_file_load_ptr = new Efl.Eo.FunctionWrapper<efl_file_load_api_delegate>(Module, "efl_file_load");
558 private static Eina.Error load(System.IntPtr obj, System.IntPtr pd)
560 Eina.Log.Debug("function efl_file_load was called");
561 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
564 Eina.Error _ret_var = default(Eina.Error);
567 _ret_var = ((Layout)ws.Target).Load();
571 Eina.Log.Warning($"Callback error: {e.ToString()}");
572 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
580 return efl_file_load_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
584 private static efl_file_load_delegate efl_file_load_static_delegate;
587 private delegate void efl_file_unload_delegate(System.IntPtr obj, System.IntPtr pd);
590 public delegate void efl_file_unload_api_delegate(System.IntPtr obj);
592 public static Efl.Eo.FunctionWrapper<efl_file_unload_api_delegate> efl_file_unload_ptr = new Efl.Eo.FunctionWrapper<efl_file_unload_api_delegate>(Module, "efl_file_unload");
594 private static void unload(System.IntPtr obj, System.IntPtr pd)
596 Eina.Log.Debug("function efl_file_unload was called");
597 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
603 ((Layout)ws.Target).Unload();
607 Eina.Log.Warning($"Callback error: {e.ToString()}");
608 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
615 efl_file_unload_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
619 private static efl_file_unload_delegate efl_file_unload_static_delegate;
621 #pragma warning restore CA1707, CS1591, SA1300, SA1600