+#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 {
+namespace Efl {
+
+namespace Ui {
+
/// <summary>Efl UI Textpath internal part class</summary>
-[TextpathPartNativeInherit]
-public class TextpathPart : Efl.Ui.LayoutPartText, Efl.Eo.IWrapper
+/// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
+[Efl.Ui.TextpathPart.NativeMethods]
+[Efl.Eo.BindingEntity]
+public class TextpathPart : Efl.Ui.LayoutPartText
{
- ///<summary>Pointer to the native class description.</summary>
- public override System.IntPtr NativeClass {
- get {
- if (((object)this).GetType() == typeof (TextpathPart))
- return Efl.Ui.TextpathPartNativeInherit.GetEflClassStatic();
+ /// <summary>Pointer to the native class description.</summary>
+ public override System.IntPtr NativeClass
+ {
+ get
+ {
+ if (((object)this).GetType() == typeof(TextpathPart))
+ {
+ 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_textpath_part_class_get();
- ///<summary>Creates a new instance.</summary>
- ///<param name="parent">Parent instance.</param>
+ /// <summary>Initializes a new instance of the <see cref="TextpathPart"/> class.</summary>
+ /// <param name="parent">Parent instance.</param>
public TextpathPart(Efl.Object parent= null
- ) :
- base(efl_ui_textpath_part_class_get(), typeof(TextpathPart), parent)
+ ) : base(efl_ui_textpath_part_class_get(), parent)
{
FinishInstantiation();
}
- ///<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>
- protected TextpathPart(System.IntPtr raw) : base(raw)
- {
- RegisterEventProxies();
- }
- ///<summary>Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
- protected TextpathPart(IntPtr base_klass, System.Type managed_type, Efl.Object parent) : base(base_klass, managed_type, parent) {}
- ///<summary>Verifies if the given object is equal to this one.</summary>
- public override bool Equals(object obj)
- {
- var other = obj as Efl.Object;
- if (other == null)
- return false;
- return this.NativeHandle == other.NativeHandle;
- }
- ///<summary>Gets the hash code for this object based on the native pointer it points to.</summary>
- public override int GetHashCode()
+
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected TextpathPart(ConstructingHandle ch) : base(ch)
{
- return this.NativeHandle.ToInt32();
}
- ///<summary>Turns the native pointer into a string representation.</summary>
- public override String ToString()
+
+ /// <summary>Initializes a new instance of the <see cref="TextpathPart"/> class.
+ /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected TextpathPart(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
- return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
}
- ///<summary>Register the Eo event wrappers making the bridge to C# events. Internal usage only.</summary>
- protected override void RegisterEventProxies()
+
+ /// <summary>Initializes a new instance of the <see cref="TextpathPart"/> class.
+ /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
+ /// <param name="baseKlass">The pointer to the base native Eo class.</param>
+ /// <param name="parent">The Efl.Object parent of this instance.</param>
+ protected TextpathPart(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
- base.RegisterEventProxies();
}
+
private static IntPtr GetEflClassStatic()
{
return Efl.Ui.TextpathPart.efl_ui_textpath_part_class_get();
}
-}
-public class TextpathPartNativeInherit : Efl.Ui.LayoutPartTextNativeInherit{
- public new static Efl.Eo.NativeModule _Module = new Efl.Eo.NativeModule(efl.Libs.Elementary);
- public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
- {
- var descs = new System.Collections.Generic.List<Efl_Op_Description>();
- var methods = Efl.Eo.Globals.GetUserMethods(type);
- descs.AddRange(base.GetEoOps(type));
- return descs;
- }
- public override IntPtr GetEflClass()
- {
- return Efl.Ui.TextpathPart.efl_ui_textpath_part_class_get();
- }
- public static new IntPtr GetEflClassStatic()
+ /// <summary>Wrapper for native methods and virtual method delegates.
+ /// For internal use by generated code only.</summary>
+ public new class NativeMethods : Efl.Ui.LayoutPartText.NativeMethods
{
- return Efl.Ui.TextpathPart.efl_ui_textpath_part_class_get();
- }
+ /// <summary>Gets the list of Eo operations to override.</summary>
+ /// <returns>The list of Eo operations to be overload.</returns>
+ public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
+ {
+ var descs = new System.Collections.Generic.List<Efl_Op_Description>();
+ descs.AddRange(base.GetEoOps(type));
+ return descs;
+ }
+ /// <summary>Returns the Eo class for the native methods of this class.</summary>
+ /// <returns>The native class pointer.</returns>
+ public override IntPtr GetEflClass()
+ {
+ return Efl.Ui.TextpathPart.efl_ui_textpath_part_class_get();
+ }
+
+ #pragma warning disable CA1707, CS1591, SA1300, SA1600
+
+ #pragma warning restore CA1707, CS1591, SA1300, SA1600
+
+}
+}
+}
+
+}
+
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_UiTextpathPart_ExtensionMethods {
}
-} }
+#pragma warning restore CS1591
+#endif