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