X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=internals%2Fsrc%2FEflSharp%2FEflSharp%2Fefl%2Fefl_ui_grid_default_item_part_end.eo.cs;h=da5346176c082e15d833eab396463f0a171e37a5;hb=07e87ad5f5e45261cab98307bf1bc16bd7d1f23e;hp=72b295d46062746f335977abd2a6613e97192c9c;hpb=901af237681283f6887ffc46fd7f66c4186bf280;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git
diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_grid_default_item_part_end.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_grid_default_item_part_end.eo.cs
index 72b295d..da53461 100644
--- a/internals/src/EflSharp/EflSharp/efl/efl_ui_grid_default_item_part_end.eo.cs
+++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_grid_default_item_part_end.eo.cs
@@ -3,248 +3,347 @@ using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.Linq;
+using System.Threading;
using System.ComponentModel;
-namespace Efl { namespace Ui {
+namespace Efl {
+
+namespace Ui {
+
/// Grid Default Item internal content of end part class
-[GridDefaultItemPartEndNativeInherit]
+[Efl.Ui.GridDefaultItemPartEnd.NativeMethods]
public class GridDefaultItemPartEnd : Efl.Ui.LayoutPart, Efl.Eo.IWrapper,Efl.IContent
{
///Pointer to the native class description.
- public override System.IntPtr NativeClass {
- get {
- if (((object)this).GetType() == typeof (GridDefaultItemPartEnd))
- return Efl.Ui.GridDefaultItemPartEndNativeInherit.GetEflClassStatic();
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(GridDefaultItemPartEnd))
+ {
+ 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_grid_default_item_part_end_class_get();
- ///Creates a new instance.
- ///Parent instance.
+ /// Initializes a new instance of the class.
+ /// Parent instance.
public GridDefaultItemPartEnd(Efl.Object parent= null
- ) :
- base(efl_ui_grid_default_item_part_end_class_get(), typeof(GridDefaultItemPartEnd), parent)
+ ) : base(efl_ui_grid_default_item_part_end_class_get(), typeof(GridDefaultItemPartEnd), parent)
{
FinishInstantiation();
}
- ///Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.
+
+ /// 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 GridDefaultItemPartEnd(System.IntPtr raw) : base(raw)
{
- RegisterEventProxies();
+ }
+
+ /// 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 managed type of the public constructor that originated this call.
+ /// The Efl.Object parent of this instance.
+ protected GridDefaultItemPartEnd(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ {
}
- ///Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.
- protected GridDefaultItemPartEnd(IntPtr base_klass, System.Type managed_type, Efl.Object parent) : base(base_klass, managed_type, parent) {}
- ///Verifies if the given object is equal to this one.
- public override bool Equals(object obj)
+
+ /// Verifies if the given object is equal to this one.
+ /// The object to compare to.
+ /// True if both objects point to the same native object.
+ public override bool Equals(object instance)
{
- var other = obj as Efl.Object;
+ var other = instance as Efl.Object;
if (other == null)
+ {
return false;
+ }
return this.NativeHandle == other.NativeHandle;
}
- ///Gets the hash code for this object based on the native pointer it points to.
+
+ /// Gets the hash code for this object based on the native pointer it points to.
+ /// The value of the pointer, to be used as the hash code of this object.
public override int GetHashCode()
{
return this.NativeHandle.ToInt32();
}
- ///Turns the native pointer into a string representation.
+
+ /// Turns the native pointer into a string representation.
+ /// A string with the type and the native pointer for this object.
public override String ToString()
{
return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
}
-private static object ContentChangedEvtKey = new object();
+
/// Sent after the content is set or unset using the current content object.
/// (Since EFL 1.22)
public event EventHandler ContentChangedEvt
{
- add {
- lock (eventLock) {
+ add
+ {
+ lock (eventLock)
+ {
+ var wRef = new WeakReference(this);
+ Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
+ {
+ var obj = wRef.Target as Efl.Eo.IWrapper;
+ if (obj != null)
+ {
+ Efl.IContentContentChangedEvt_Args args = new Efl.IContentContentChangedEvt_Args();
+ args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
+ try
+ {
+ value?.Invoke(obj, args);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Error(e.ToString());
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+ }
+ };
+
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
- if (AddNativeEventHandler(efl.Libs.Efl, key, this.evt_ContentChangedEvt_delegate)) {
- eventHandlers.AddHandler(ContentChangedEvtKey , value);
- } else
- Eina.Log.Error($"Error adding proxy for event {key}");
+ AddNativeEventHandler(efl.Libs.Efl, key, callerCb, value);
}
}
- remove {
- lock (eventLock) {
+
+ remove
+ {
+ lock (eventLock)
+ {
string key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
- if (RemoveNativeEventHandler(key, this.evt_ContentChangedEvt_delegate)) {
- eventHandlers.RemoveHandler(ContentChangedEvtKey , value);
- } else
- Eina.Log.Error($"Error removing proxy for event {key}");
+ RemoveNativeEventHandler(efl.Libs.Efl, key, value);
}
}
}
///Method to raise event ContentChangedEvt.
- public void On_ContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
- {
- EventHandler evt;
- lock (eventLock) {
- evt = (EventHandler)eventHandlers[ContentChangedEvtKey];
- }
- evt?.Invoke(this, e);
- }
- Efl.EventCb evt_ContentChangedEvt_delegate;
- private void on_ContentChangedEvt_NativeCallback(System.IntPtr data, ref Efl.Event.NativeStruct evt)
+ public void OnContentChangedEvt(Efl.IContentContentChangedEvt_Args e)
{
- Efl.IContentContentChangedEvt_Args args = new Efl.IContentContentChangedEvt_Args();
- args.arg = (Efl.Eo.Globals.CreateWrapperFor(evt.Info) as Efl.Gfx.IEntityConcrete);
- try {
- On_ContentChangedEvt(args);
- } catch (Exception e) {
- Eina.Log.Error(e.ToString());
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ var key = "_EFL_CONTENT_EVENT_CONTENT_CHANGED";
+ IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Efl, key);
+ if (desc == IntPtr.Zero)
+ {
+ Eina.Log.Error($"Failed to get native event {key}");
+ return;
}
- }
- ///Register the Eo event wrappers making the bridge to C# events. Internal usage only.
- protected override void RegisterEventProxies()
- {
- base.RegisterEventProxies();
- evt_ContentChangedEvt_delegate = new Efl.EventCb(on_ContentChangedEvt_NativeCallback);
+ IntPtr info = e.arg.NativeHandle;
+ Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, info);
}
- /// Swallowed sub-object contained in this object.
+ /// Sub-object currently set as this object's single content.
+ /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid content is set the object will become empty (it will have no sub-object).
/// (Since EFL 1.22)
- /// The object to swallow.
+ /// The sub-object.
virtual public Efl.Gfx.IEntity GetContent() {
- var _ret_var = Efl.IContentNativeInherit.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// Swallowed sub-object contained in this object.
+ /// Sub-object currently set as this object's single content.
+ /// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid content is set the object will become empty (it will have no sub-object).
/// (Since EFL 1.22)
- /// The object to swallow.
- /// true on success, false otherwise
- virtual public bool SetContent( Efl.Gfx.IEntity content) {
- var _ret_var = Efl.IContentNativeInherit.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), content);
+ /// The sub-object.
+ /// true if content was successfully swallowed.
+ virtual public bool SetContent(Efl.Gfx.IEntity content) {
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),content);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// Unswallow the object in the current container and return it.
+ /// Remove the sub-object currently set as content of this object and return it. This object becomes empty.
/// (Since EFL 1.22)
/// Unswallowed object
virtual public Efl.Gfx.IEntity UnsetContent() {
- var _ret_var = Efl.IContentNativeInherit.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
+ var _ret_var = Efl.IContentConcrete.NativeMethods.efl_content_unset_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle));
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
- /// Swallowed sub-object contained in this object.
+ /// Sub-object currently set as this object's single content.
+/// If it is set multiple times, previous sub-objects are removed first. Therefore, if an invalid content is set the object will become empty (it will have no sub-object).
/// (Since EFL 1.22)
-/// The object to swallow.
+/// The sub-object.
public Efl.Gfx.IEntity Content {
get { return GetContent(); }
- set { SetContent( value); }
+ set { SetContent(value); }
}
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.GridDefaultItemPartEnd.efl_ui_grid_default_item_part_end_class_get();
}
-}
-public class GridDefaultItemPartEndNativeInherit : Efl.Ui.LayoutPartNativeInherit{
- public new static Efl.Eo.NativeModule _Module = new Efl.Eo.NativeModule(efl.Libs.Elementary);
- 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_content_get_static_delegate == null)
- efl_content_get_static_delegate = new efl_content_get_delegate(content_get);
- if (methods.FirstOrDefault(m => m.Name == "GetContent") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_content_get_static_delegate)});
- if (efl_content_set_static_delegate == null)
- efl_content_set_static_delegate = new efl_content_set_delegate(content_set);
- if (methods.FirstOrDefault(m => m.Name == "SetContent") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_content_set_static_delegate)});
- if (efl_content_unset_static_delegate == null)
- efl_content_unset_static_delegate = new efl_content_unset_delegate(content_unset);
- if (methods.FirstOrDefault(m => m.Name == "UnsetContent") != null)
- descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(_Module.Module, "efl_content_unset"), func = Marshal.GetFunctionPointerForDelegate(efl_content_unset_static_delegate)});
- descs.AddRange(base.GetEoOps(type));
- return descs;
- }
- public override IntPtr GetEflClass()
- {
- return Efl.Ui.GridDefaultItemPartEnd.efl_ui_grid_default_item_part_end_class_get();
- }
- public static new IntPtr GetEflClassStatic()
+ /// Wrapper for native methods and virtual method delegates.
+ /// For internal use by generated code only.
+ public new class NativeMethods : Efl.Ui.LayoutPart.NativeMethods
{
- return Efl.Ui.GridDefaultItemPartEnd.efl_ui_grid_default_item_part_end_class_get();
- }
+ 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_content_get_static_delegate == null)
+ {
+ efl_content_get_static_delegate = new efl_content_get_delegate(content_get);
+ }
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest))] private delegate Efl.Gfx.IEntity efl_content_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ if (methods.FirstOrDefault(m => m.Name == "GetContent") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_get"), func = Marshal.GetFunctionPointerForDelegate(efl_content_get_static_delegate) });
+ }
+ if (efl_content_set_static_delegate == null)
+ {
+ efl_content_set_static_delegate = new efl_content_set_delegate(content_set);
+ }
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest))] public delegate Efl.Gfx.IEntity efl_content_get_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper efl_content_get_ptr = new Efl.Eo.FunctionWrapper(_Module, "efl_content_get");
- private static Efl.Gfx.IEntity content_get(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_content_get was called");
- Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
- if(wrapper != null) {
- Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
- try {
- _ret_var = ((GridDefaultItemPartEnd)wrapper).GetContent();
- } catch (Exception e) {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ if (methods.FirstOrDefault(m => m.Name == "SetContent") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_set"), func = Marshal.GetFunctionPointerForDelegate(efl_content_set_static_delegate) });
}
- return _ret_var;
- } else {
- return efl_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+
+ if (efl_content_unset_static_delegate == null)
+ {
+ efl_content_unset_static_delegate = new efl_content_unset_delegate(content_unset);
+ }
+
+ if (methods.FirstOrDefault(m => m.Name == "UnsetContent") != null)
+ {
+ descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_content_unset"), func = Marshal.GetFunctionPointerForDelegate(efl_content_unset_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.GridDefaultItemPartEnd.efl_ui_grid_default_item_part_end_class_get();
}
- }
- private static efl_content_get_delegate efl_content_get_static_delegate;
+ #pragma warning disable CA1707, SA1300, SA1600
- [return: MarshalAs(UnmanagedType.U1)] private delegate bool efl_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest))] Efl.Gfx.IEntity content);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))]
+ private delegate Efl.Gfx.IEntity efl_content_get_delegate(System.IntPtr obj, System.IntPtr pd);
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))]
+ public delegate Efl.Gfx.IEntity efl_content_get_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper efl_content_get_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_content_get");
+
+ private static Efl.Gfx.IEntity content_get(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_content_get was called");
+ Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
+ if (wrapper != null)
+ {
+ Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
+ try
+ {
+ _ret_var = ((GridDefaultItemPartEnd)wrapper).GetContent();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
- [return: MarshalAs(UnmanagedType.U1)] public delegate bool efl_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest))] Efl.Gfx.IEntity content);
- public static Efl.Eo.FunctionWrapper efl_content_set_ptr = new Efl.Eo.FunctionWrapper(_Module, "efl_content_set");
- private static bool content_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity content)
- {
- Eina.Log.Debug("function efl_content_set was called");
- Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
- if(wrapper != null) {
- bool _ret_var = default(bool);
- try {
- _ret_var = ((GridDefaultItemPartEnd)wrapper).SetContent( content);
- } catch (Exception e) {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
- return _ret_var;
- } else {
- return efl_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content);
+ else
+ {
+ return efl_content_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
}
- }
- private static efl_content_set_delegate efl_content_set_static_delegate;
+ private static efl_content_get_delegate efl_content_get_static_delegate;
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest))] private delegate Efl.Gfx.IEntity efl_content_unset_delegate(System.IntPtr obj, System.IntPtr pd);
+ [return: MarshalAs(UnmanagedType.U1)]
+ private delegate bool efl_content_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity content);
+ [return: MarshalAs(UnmanagedType.U1)]
+ public delegate bool efl_content_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))] Efl.Gfx.IEntity content);
+
+ public static Efl.Eo.FunctionWrapper efl_content_set_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_content_set");
+
+ private static bool content_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.IEntity content)
+ {
+ Eina.Log.Debug("function efl_content_set was called");
+ Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
+ if (wrapper != null)
+ {
+ bool _ret_var = default(bool);
+ try
+ {
+ _ret_var = ((GridDefaultItemPartEnd)wrapper).SetContent(content);
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
+ return _ret_var;
- [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalTest))] public delegate Efl.Gfx.IEntity efl_content_unset_api_delegate(System.IntPtr obj);
- public static Efl.Eo.FunctionWrapper efl_content_unset_ptr = new Efl.Eo.FunctionWrapper(_Module, "efl_content_unset");
- private static Efl.Gfx.IEntity content_unset(System.IntPtr obj, System.IntPtr pd)
- {
- Eina.Log.Debug("function efl_content_unset was called");
- Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
- if(wrapper != null) {
- Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
- try {
- _ret_var = ((GridDefaultItemPartEnd)wrapper).UnsetContent();
- } catch (Exception e) {
- Eina.Log.Warning($"Callback error: {e.ToString()}");
- Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
}
+ else
+ {
+ return efl_content_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), content);
+ }
+ }
+
+ private static efl_content_set_delegate efl_content_set_static_delegate;
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))]
+ private delegate Efl.Gfx.IEntity efl_content_unset_delegate(System.IntPtr obj, System.IntPtr pd);
+
+ [return:MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.MarshalEo))]
+ public delegate Efl.Gfx.IEntity efl_content_unset_api_delegate(System.IntPtr obj);
+
+ public static Efl.Eo.FunctionWrapper efl_content_unset_ptr = new Efl.Eo.FunctionWrapper(Module, "efl_content_unset");
+
+ private static Efl.Gfx.IEntity content_unset(System.IntPtr obj, System.IntPtr pd)
+ {
+ Eina.Log.Debug("function efl_content_unset was called");
+ Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd);
+ if (wrapper != null)
+ {
+ Efl.Gfx.IEntity _ret_var = default(Efl.Gfx.IEntity);
+ try
+ {
+ _ret_var = ((GridDefaultItemPartEnd)wrapper).UnsetContent();
+ }
+ catch (Exception e)
+ {
+ Eina.Log.Warning($"Callback error: {e.ToString()}");
+ Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
+ }
+
return _ret_var;
- } else {
- return efl_content_unset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+
+ }
+ else
+ {
+ return efl_content_unset_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
+ }
}
- }
- private static efl_content_unset_delegate efl_content_unset_static_delegate;
+
+ private static efl_content_unset_delegate efl_content_unset_static_delegate;
+
+ #pragma warning restore CA1707, SA1300, SA1600
+
+}
}
-} }
+}
+
+}
+