65ce357757c2fd1c5bc7ee9a1f0ae079d02451d5
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / efl_ui_text_async.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>Efl UI text async class
9 /// 1.21</summary>
10 [TextAsyncNativeInherit]
11 public class TextAsync : Efl.Ui.Text, Efl.Eo.IWrapper
12 {
13    public new static System.IntPtr klass = System.IntPtr.Zero;
14    public new static Efl.Ui.TextAsyncNativeInherit nativeInherit = new Efl.Ui.TextAsyncNativeInherit();
15    ///<summary>Pointer to the native class description.</summary>
16    public override System.IntPtr NativeClass {
17       get {
18          if (((object)this).GetType() == typeof (TextAsync))
19             return Efl.Ui.TextAsyncNativeInherit.GetEflClassStatic();
20          else
21             return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
22       }
23    }
24    [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
25       efl_ui_text_async_class_get();
26    ///<summary>Creates a new instance.</summary>
27    ///<param name="parent">Parent instance.</param>
28    ///<param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle"/></param>
29    public TextAsync(Efl.Object parent
30          ,  System.String style = null) :
31       base(efl_ui_text_async_class_get(), typeof(TextAsync), parent)
32    {
33       if (Efl.Eo.Globals.ParamHelperCheck(style))
34          SetStyle(Efl.Eo.Globals.GetParamHelper(style));
35       FinishInstantiation();
36    }
37    ///<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>
38    public TextAsync(System.IntPtr raw) : base(raw)
39    {
40             register_event_proxies();
41    }
42    ///<summary>Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
43    protected TextAsync(IntPtr base_klass, System.Type managed_type, Efl.Object parent) : base(base_klass, managed_type, parent) {}
44    ///<summary>Casts obj into an instance of this type.</summary>
45    public new static TextAsync static_cast(Efl.Object obj)
46    {
47       if (obj == null)
48          throw new System.ArgumentNullException("obj");
49       return new TextAsync(obj.NativeHandle);
50    }
51    ///<summary>Verifies if the given object is equal to this one.</summary>
52    public override bool Equals(object obj)
53    {
54       var other = obj as Efl.Object;
55       if (other == null)
56          return false;
57       return this.NativeHandle == other.NativeHandle;
58    }
59    ///<summary>Gets the hash code for this object based on the native pointer it points to.</summary>
60    public override int GetHashCode()
61    {
62       return this.NativeHandle.ToInt32();
63    }
64    ///<summary>Turns the native pointer into a string representation.</summary>
65    public override String ToString()
66    {
67       return $"{this.GetType().Name}@[{this.NativeHandle.ToInt32():x}]";
68    }
69    protected override void register_event_proxies()
70    {
71       base.register_event_proxies();
72    }
73    private static new  IntPtr GetEflClassStatic()
74    {
75       return Efl.Ui.TextAsync.efl_ui_text_async_class_get();
76    }
77 }
78 public class TextAsyncNativeInherit : Efl.Ui.TextNativeInherit{
79    public new  static Efl.Eo.NativeModule _Module = new Efl.Eo.NativeModule(efl.Libs.Elementary);
80    public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
81    {
82       var descs = new System.Collections.Generic.List<Efl_Op_Description>();
83       descs.AddRange(base.GetEoOps(type));
84       return descs;
85    }
86    public override IntPtr GetEflClass()
87    {
88       return Efl.Ui.TextAsync.efl_ui_text_async_class_get();
89    }
90    public static new  IntPtr GetEflClassStatic()
91    {
92       return Efl.Ui.TextAsync.efl_ui_text_async_class_get();
93    }
94 }
95 } }