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