[EflSharp] Introduce EflSharp project (#749)
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / efl_ui_list_view_types.eot.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 [StructLayout(LayoutKind.Sequential)]
10 public struct ListViewLayoutItem
11 {
12    /// <summary></summary>
13    public Efl.Ui.Layout Layout;
14    /// <summary></summary>
15    public  Eina.Future Layout_request;
16    /// <summary></summary>
17    public Efl.Model Children;
18    /// <summary></summary>
19    public  int Index_offset;
20    /// <summary></summary>
21    public  System.IntPtr Tree_node;
22    /// <summary></summary>
23    public Eina.Size2D Min;
24    /// <summary></summary>
25    public Eina.Size2D Size;
26    /// <summary></summary>
27    public Eina.Position2D Pos;
28    ///<summary>Constructor for ListViewLayoutItem.</summary>
29    public ListViewLayoutItem(
30       Efl.Ui.Layout Layout=default(Efl.Ui.Layout),
31        Eina.Future Layout_request=default( Eina.Future),
32       Efl.Model Children=default(Efl.Model),
33        int Index_offset=default( int),
34        System.IntPtr Tree_node=default( System.IntPtr),
35       Eina.Size2D Min=default(Eina.Size2D),
36       Eina.Size2D Size=default(Eina.Size2D),
37       Eina.Position2D Pos=default(Eina.Position2D)   )
38    {
39       this.Layout = Layout;
40       this.Layout_request = Layout_request;
41       this.Children = Children;
42       this.Index_offset = Index_offset;
43       this.Tree_node = Tree_node;
44       this.Min = Min;
45       this.Size = Size;
46       this.Pos = Pos;
47    }
48 public static implicit operator ListViewLayoutItem(IntPtr ptr)
49    {
50       var tmp = (ListViewLayoutItem_StructInternal)Marshal.PtrToStructure(ptr, typeof(ListViewLayoutItem_StructInternal));
51       return ListViewLayoutItem_StructConversion.ToManaged(tmp);
52    }
53 }
54 ///<summary>Internal wrapper for struct ListViewLayoutItem.</summary>
55 [StructLayout(LayoutKind.Sequential)]
56 public struct ListViewLayoutItem_StructInternal
57 {
58 ///<summary>Internal wrapper for field Layout</summary>
59 public System.IntPtr Layout;
60    [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Eina.FutureMarshaler))]
61    public  Eina.Future Layout_request;
62 ///<summary>Internal wrapper for field Children</summary>
63 public System.IntPtr Children;
64    
65    public  int Index_offset;
66    
67    public  System.IntPtr Tree_node;
68    
69    public Eina.Size2D_StructInternal Min;
70    
71    public Eina.Size2D_StructInternal Size;
72    
73    public Eina.Position2D_StructInternal Pos;
74    ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
75    public static implicit operator ListViewLayoutItem(ListViewLayoutItem_StructInternal struct_)
76    {
77       return ListViewLayoutItem_StructConversion.ToManaged(struct_);
78    }
79    ///<summary>Implicit conversion to the managed representation.</summary>
80    public static implicit operator ListViewLayoutItem_StructInternal(ListViewLayoutItem struct_)
81    {
82       return ListViewLayoutItem_StructConversion.ToInternal(struct_);
83    }
84 }
85 /// <summary>Conversion class for struct ListViewLayoutItem</summary>
86 public static class ListViewLayoutItem_StructConversion
87 {
88    internal static ListViewLayoutItem_StructInternal ToInternal(ListViewLayoutItem _external_struct)
89    {
90       var _internal_struct = new ListViewLayoutItem_StructInternal();
91
92       _internal_struct.Layout = _external_struct.Layout.NativeHandle;
93       _internal_struct.Layout_request = _external_struct.Layout_request;
94       _internal_struct.Children = _external_struct.Children.NativeHandle;
95       _internal_struct.Index_offset = _external_struct.Index_offset;
96       _internal_struct.Tree_node = _external_struct.Tree_node;
97       _internal_struct.Min = Eina.Size2D_StructConversion.ToInternal(_external_struct.Min);
98       _internal_struct.Size = Eina.Size2D_StructConversion.ToInternal(_external_struct.Size);
99       _internal_struct.Pos = Eina.Position2D_StructConversion.ToInternal(_external_struct.Pos);
100
101       return _internal_struct;
102    }
103
104    internal static ListViewLayoutItem ToManaged(ListViewLayoutItem_StructInternal _internal_struct)
105    {
106       var _external_struct = new ListViewLayoutItem();
107
108
109       _external_struct.Layout = (Efl.Ui.Layout) System.Activator.CreateInstance(typeof(Efl.Ui.Layout), new System.Object[] {_internal_struct.Layout});
110       Efl.Eo.Globals.efl_ref(_internal_struct.Layout);
111
112       _external_struct.Layout_request = _internal_struct.Layout_request;
113
114       _external_struct.Children = (Efl.ModelConcrete) System.Activator.CreateInstance(typeof(Efl.ModelConcrete), new System.Object[] {_internal_struct.Children});
115       Efl.Eo.Globals.efl_ref(_internal_struct.Children);
116
117       _external_struct.Index_offset = _internal_struct.Index_offset;
118       _external_struct.Tree_node = _internal_struct.Tree_node;
119       _external_struct.Min = Eina.Size2D_StructConversion.ToManaged(_internal_struct.Min);
120       _external_struct.Size = Eina.Size2D_StructConversion.ToManaged(_internal_struct.Size);
121       _external_struct.Pos = Eina.Position2D_StructConversion.ToManaged(_internal_struct.Pos);
122
123       return _external_struct;
124    }
125
126 }
127 } } 
128
129 /// <summary></summary>
130 [StructLayout(LayoutKind.Sequential)]
131 public struct EflUiListViewSegArray
132 {
133 ///<summary>Placeholder field</summary>
134 public IntPtr field;
135 public static implicit operator EflUiListViewSegArray(IntPtr ptr)
136    {
137       var tmp = (EflUiListViewSegArray_StructInternal)Marshal.PtrToStructure(ptr, typeof(EflUiListViewSegArray_StructInternal));
138       return EflUiListViewSegArray_StructConversion.ToManaged(tmp);
139    }
140 }
141 ///<summary>Internal wrapper for struct EflUiListViewSegArray.</summary>
142 [StructLayout(LayoutKind.Sequential)]
143 public struct EflUiListViewSegArray_StructInternal
144 {
145 internal IntPtr field;
146    ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
147    public static implicit operator EflUiListViewSegArray(EflUiListViewSegArray_StructInternal struct_)
148    {
149       return EflUiListViewSegArray_StructConversion.ToManaged(struct_);
150    }
151    ///<summary>Implicit conversion to the managed representation.</summary>
152    public static implicit operator EflUiListViewSegArray_StructInternal(EflUiListViewSegArray struct_)
153    {
154       return EflUiListViewSegArray_StructConversion.ToInternal(struct_);
155    }
156 }
157 /// <summary>Conversion class for struct EflUiListViewSegArray</summary>
158 public static class EflUiListViewSegArray_StructConversion
159 {
160    internal static EflUiListViewSegArray_StructInternal ToInternal(EflUiListViewSegArray _external_struct)
161    {
162       var _internal_struct = new EflUiListViewSegArray_StructInternal();
163
164
165       return _internal_struct;
166    }
167
168    internal static EflUiListViewSegArray ToManaged(EflUiListViewSegArray_StructInternal _internal_struct)
169    {
170       var _external_struct = new EflUiListViewSegArray();
171
172
173       return _external_struct;
174    }
175
176 }
177