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