#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.ComponentModel;
namespace Efl {
namespace Ui {
/// Elementary layout class
/// When loading layouts from a file, use the property to specify the group that the data belongs to, in case it's an EET file (including Edje files).
///
/// By default, layouts do not apply the finger_size global configuration value when calculating their geometries.
/// (Since EFL 1.22)
[Efl.Ui.Layout.NativeMethods]
[Efl.Eo.BindingEntity]
public class Layout : Efl.Ui.LayoutBase, Efl.IFile
{
/// Pointer to the native class description.
public override System.IntPtr NativeClass
{
get
{
if (((object)this).GetType() == typeof(Layout))
{
return GetEflClassStatic();
}
else
{
return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
}
}
}
[System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
efl_ui_layout_class_get();
/// Initializes a new instance of the class.
/// Parent instance.
/// The widget style to use. See
public Layout(Efl.Object parent
, System.String style = null) : base(efl_ui_layout_class_get(), parent)
{
if (Efl.Eo.Globals.ParamHelperCheck(style))
{
SetStyle(Efl.Eo.Globals.GetParamHelper(style));
}
FinishInstantiation();
}
/// Subclasses should override this constructor if they are expected to be instantiated from native code.
/// Do not call this constructor directly.
/// Tag struct storing the native handle of the object being constructed.
protected Layout(ConstructingHandle ch) : base(ch)
{
}
/// Initializes a new instance of the class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.
/// The native pointer to be wrapped.
protected Layout(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// Initializes a new instance of the class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.
/// The pointer to the base native Eo class.
/// The Efl.Object parent of this instance.
protected Layout(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// Get the mmaped file from where an object will fetch the real data (it must be an ).
/// (Since EFL 1.22)
/// The handle to the that will be used
virtual public Eina.File GetMmap() {
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)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Set the mmaped file from where an object will fetch the real data (it must be an ).
/// If mmap is set during object construction, the object will automatically call during the finalize phase of construction.
/// (Since EFL 1.22)
/// The handle to the that will be used
/// 0 on success, error code otherwise
virtual public Eina.Error SetMmap(Eina.File f) {
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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Retrieve the file path from where an object is to fetch the data.
/// You must not modify the strings on the returned pointers.
/// (Since EFL 1.22)
/// The file path.
virtual public System.String GetFile() {
var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Set the file path from where an object will fetch the data.
/// If file is set during object construction, the object will automatically call during the finalize phase of construction.
/// (Since EFL 1.22)
/// The file path.
/// 0 on success, error code otherwise
virtual public Eina.Error SetFile(System.String file) {
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);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Get the previously-set key which corresponds to the target data within a file.
/// Some filetypes can contain multiple data streams which are indexed by a key. Use this property for such cases (See for example or ).
///
/// You must not modify the strings on the returned pointers.
/// (Since EFL 1.22)
/// The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.
virtual public System.String GetKey() {
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)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Set the key which corresponds to the target data within a file.
/// Some filetypes can contain multiple data streams which are indexed by a key. Use this property for such cases.
/// (Since EFL 1.22)
/// The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.
virtual public void SetKey(System.String key) {
Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
Eina.Error.RaiseIfUnhandledException();
}
/// Get the load state of the object.
/// (Since EFL 1.22)
/// true if the object is loaded, false otherwise.
virtual public bool GetLoaded() {
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)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Perform all necessary operations to open and load file data into the object using the (or ) and properties.
/// In the case where has been called on an object, this will internally open the file and call on the object using the opened file handle.
///
/// Calling on an object which has already performed file operations based on the currently set properties will have no effect.
/// (Since EFL 1.22)
/// 0 on success, error code otherwise
virtual public Eina.Error Load() {
var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
/// Perform all necessary operations to unload file data from the object.
/// In the case where has been externally called on an object, the file handle stored in the object will be preserved.
///
/// Calling on an object which is not currently loaded will have no effect.
/// (Since EFL 1.22)
virtual public void Unload() {
Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
Eina.Error.RaiseIfUnhandledException();
}
/// Get the mmaped file from where an object will fetch the real data (it must be an ).
/// (Since EFL 1.22)
/// The handle to the that will be used
public Eina.File Mmap {
get { return GetMmap(); }
set { SetMmap(value); }
}
/// Retrieve the file path from where an object is to fetch the data.
/// You must not modify the strings on the returned pointers.
/// (Since EFL 1.22)
/// The file path.
public System.String File {
get { return GetFile(); }
set { SetFile(value); }
}
/// Get the previously-set key which corresponds to the target data within a file.
/// Some filetypes can contain multiple data streams which are indexed by a key. Use this property for such cases (See for example or ).
///
/// You must not modify the strings on the returned pointers.
/// (Since EFL 1.22)
/// The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.
public System.String Key {
get { return GetKey(); }
set { SetKey(value); }
}
/// Get the load state of the object.
/// (Since EFL 1.22)
/// true if the object is loaded, false otherwise.
public bool Loaded {
get { return GetLoaded(); }
}
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.Layout.efl_ui_layout_class_get();
}
/// Wrapper for native methods and virtual method delegates.
/// For internal use by generated code only.
public new class NativeMethods : Efl.Ui.LayoutBase.NativeMethods
{
private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
/// Gets the list of Eo operations to override.
/// The list of Eo operations to be overload.
public override System.Collections.Generic.List GetEoOps(System.Type type)
{
var descs = new System.Collections.Generic.List();
var methods = Efl.Eo.Globals.GetUserMethods(type);
if (efl_file_mmap_get_static_delegate == null)
{
efl_file_mmap_get_static_delegate = new efl_file_mmap_get_delegate(mmap_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetMmap") != null)
{
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) });
}
if (efl_file_mmap_set_static_delegate == null)
{
efl_file_mmap_set_static_delegate = new efl_file_mmap_set_delegate(mmap_set);
}
if (methods.FirstOrDefault(m => m.Name == "SetMmap") != null)
{
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) });
}
if (efl_file_get_static_delegate == null)
{
efl_file_get_static_delegate = new efl_file_get_delegate(file_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetFile") != null)
{
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) });
}
if (efl_file_set_static_delegate == null)
{
efl_file_set_static_delegate = new efl_file_set_delegate(file_set);
}
if (methods.FirstOrDefault(m => m.Name == "SetFile") != null)
{
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) });
}
if (efl_file_key_get_static_delegate == null)
{
efl_file_key_get_static_delegate = new efl_file_key_get_delegate(key_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetKey") != null)
{
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) });
}
if (efl_file_key_set_static_delegate == null)
{
efl_file_key_set_static_delegate = new efl_file_key_set_delegate(key_set);
}
if (methods.FirstOrDefault(m => m.Name == "SetKey") != null)
{
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) });
}
if (efl_file_loaded_get_static_delegate == null)
{
efl_file_loaded_get_static_delegate = new efl_file_loaded_get_delegate(loaded_get);
}
if (methods.FirstOrDefault(m => m.Name == "GetLoaded") != null)
{
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) });
}
if (efl_file_load_static_delegate == null)
{
efl_file_load_static_delegate = new efl_file_load_delegate(load);
}
if (methods.FirstOrDefault(m => m.Name == "Load") != null)
{
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) });
}
if (efl_file_unload_static_delegate == null)
{
efl_file_unload_static_delegate = new efl_file_unload_delegate(unload);
}
if (methods.FirstOrDefault(m => m.Name == "Unload") != null)
{
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) });
}
descs.AddRange(base.GetEoOps(type));
return descs;
}
/// Returns the Eo class for the native methods of this class.
/// The native class pointer.
public override IntPtr GetEflClass()
{
return Efl.Ui.Layout.efl_ui_layout_class_get();
}
#pragma warning disable CA1707, CS1591, SA1300, SA1600
private delegate Eina.File efl_file_mmap_get_delegate(System.IntPtr obj, System.IntPtr pd);
public delegate Eina.File efl_file_mmap_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_file_mmap_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_file_mmap_get");
private static Eina.File mmap_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_file_mmap_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
Eina.File _ret_var = default(Eina.File);
try
{
_ret_var = ((Layout)ws.Target).GetMmap();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_file_mmap_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_file_mmap_get_delegate efl_file_mmap_get_static_delegate;
private delegate Eina.Error efl_file_mmap_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.File f);
public delegate Eina.Error efl_file_mmap_set_api_delegate(System.IntPtr obj, Eina.File f);
public static Efl.Eo.FunctionWrapper efl_file_mmap_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_file_mmap_set");
private static Eina.Error mmap_set(System.IntPtr obj, System.IntPtr pd, Eina.File f)
{
Eina.Log.Debug("function efl_file_mmap_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
Eina.Error _ret_var = default(Eina.Error);
try
{
_ret_var = ((Layout)ws.Target).SetMmap(f);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_file_mmap_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), f);
}
}
private static efl_file_mmap_set_delegate efl_file_mmap_set_static_delegate;
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
private delegate System.String efl_file_get_delegate(System.IntPtr obj, System.IntPtr pd);
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
public delegate System.String efl_file_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_file_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_file_get");
private static System.String file_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_file_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
System.String _ret_var = default(System.String);
try
{
_ret_var = ((Layout)ws.Target).GetFile();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_file_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_file_get_delegate efl_file_get_static_delegate;
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);
public delegate Eina.Error efl_file_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String file);
public static Efl.Eo.FunctionWrapper efl_file_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_file_set");
private static Eina.Error file_set(System.IntPtr obj, System.IntPtr pd, System.String file)
{
Eina.Log.Debug("function efl_file_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
Eina.Error _ret_var = default(Eina.Error);
try
{
_ret_var = ((Layout)ws.Target).SetFile(file);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_file_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), file);
}
}
private static efl_file_set_delegate efl_file_set_static_delegate;
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
private delegate System.String efl_file_key_get_delegate(System.IntPtr obj, System.IntPtr pd);
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
public delegate System.String efl_file_key_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_file_key_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_file_key_get");
private static System.String key_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_file_key_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
System.String _ret_var = default(System.String);
try
{
_ret_var = ((Layout)ws.Target).GetKey();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_file_key_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_file_key_get_delegate efl_file_key_get_static_delegate;
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);
public delegate void efl_file_key_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String key);
public static Efl.Eo.FunctionWrapper efl_file_key_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_file_key_set");
private static void key_set(System.IntPtr obj, System.IntPtr pd, System.String key)
{
Eina.Log.Debug("function efl_file_key_set was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((Layout)ws.Target).SetKey(key);
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_file_key_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), key);
}
}
private static efl_file_key_set_delegate efl_file_key_set_static_delegate;
[return: MarshalAs(UnmanagedType.U1)]
private delegate bool efl_file_loaded_get_delegate(System.IntPtr obj, System.IntPtr pd);
[return: MarshalAs(UnmanagedType.U1)]
public delegate bool efl_file_loaded_get_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_file_loaded_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_file_loaded_get");
private static bool loaded_get(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_file_loaded_get was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
bool _ret_var = default(bool);
try
{
_ret_var = ((Layout)ws.Target).GetLoaded();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_file_loaded_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_file_loaded_get_delegate efl_file_loaded_get_static_delegate;
private delegate Eina.Error efl_file_load_delegate(System.IntPtr obj, System.IntPtr pd);
public delegate Eina.Error efl_file_load_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_file_load_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_file_load");
private static Eina.Error load(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_file_load was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
Eina.Error _ret_var = default(Eina.Error);
try
{
_ret_var = ((Layout)ws.Target).Load();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
return _ret_var;
}
else
{
return efl_file_load_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_file_load_delegate efl_file_load_static_delegate;
private delegate void efl_file_unload_delegate(System.IntPtr obj, System.IntPtr pd);
public delegate void efl_file_unload_api_delegate(System.IntPtr obj);
public static Efl.Eo.FunctionWrapper efl_file_unload_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_file_unload");
private static void unload(System.IntPtr obj, System.IntPtr pd)
{
Eina.Log.Debug("function efl_file_unload was called");
var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
if (ws != null)
{
try
{
((Layout)ws.Target).Unload();
}
catch (Exception e)
{
Eina.Log.Warning($"Callback error: {e.ToString()}");
Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
}
else
{
efl_file_unload_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
}
}
private static efl_file_unload_delegate efl_file_unload_static_delegate;
#pragma warning restore CA1707, CS1591, SA1300, SA1600
}
}
}
}
#if EFL_BETA
#pragma warning disable CS1591
public static class Efl_UiLayout_ExtensionMethods {
public static Efl.BindableProperty Mmap(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Ui.Layout {
return new Efl.BindableProperty("mmap", fac);
}
public static Efl.BindableProperty File(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Ui.Layout {
return new Efl.BindableProperty("file", fac);
}
public static Efl.BindableProperty Key(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Ui.Layout {
return new Efl.BindableProperty("key", fac);
}
}
#pragma warning restore CS1591
#endif