6c627ce3b7983079a2a27831bfab702f19e5fdf1
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / eina_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 Eina { 
8 public struct Unicode {
9    private  uint payload;
10    public static implicit operator Unicode( uint x)
11    {
12       return new Unicode{payload=x};
13    }
14    public static implicit operator  uint(Unicode x)
15    {
16       return x.payload;
17    }
18 }
19
20 namespace Eina { namespace Xattr { 
21 /// <summary>Eina file extended attributes flags</summary>
22 public enum Flags
23 {
24 /// <summary>This is the default behaviour, it will either create or replace the extended attribute</summary>
25 Insert = 0,
26 /// <summary>This will only succeed if the extended attribute previously existed</summary>
27 Replace = 1,
28 /// <summary>This will only succeed if the extended attribute wasn&apos;t previously set</summary>
29 Created = 2,
30 }
31 } } 
32 namespace Eina { 
33 /// <summary>A rectangle in pixel dimensions.</summary>
34 [StructLayout(LayoutKind.Sequential)]
35 public struct Rect
36 {
37    /// <summary>X coordinate of the rectangle, from the top-left corner.</summary>
38    public  int X;
39    /// <summary>Y coordinate of the rectangle, from the top-left corner.</summary>
40    public  int Y;
41    /// <summary>Width of the rectangle in pixels.</summary>
42    public  int W;
43    /// <summary>Height of the rectangle in pixels.</summary>
44    public  int H;
45    ///<summary>Constructor for Rect.</summary>
46    public Rect(
47        int X=default( int),
48        int Y=default( int),
49        int W=default( int),
50        int H=default( int)   )
51    {
52       this.X = X;
53       this.Y = Y;
54       this.W = W;
55       this.H = H;
56    }
57 public static implicit operator Rect(IntPtr ptr)
58    {
59       var tmp = (Rect_StructInternal)Marshal.PtrToStructure(ptr, typeof(Rect_StructInternal));
60       return Rect_StructConversion.ToManaged(tmp);
61    }
62 }
63 ///<summary>Internal wrapper for struct Rect.</summary>
64 [StructLayout(LayoutKind.Sequential)]
65 public struct Rect_StructInternal
66 {
67    
68    public  int X;
69    
70    public  int Y;
71    
72    public  int W;
73    
74    public  int H;
75    ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
76    public static implicit operator Rect(Rect_StructInternal struct_)
77    {
78       return Rect_StructConversion.ToManaged(struct_);
79    }
80    ///<summary>Implicit conversion to the managed representation.</summary>
81    public static implicit operator Rect_StructInternal(Rect struct_)
82    {
83       return Rect_StructConversion.ToInternal(struct_);
84    }
85 }
86 /// <summary>Conversion class for struct Rect</summary>
87 public static class Rect_StructConversion
88 {
89    internal static Rect_StructInternal ToInternal(Rect _external_struct)
90    {
91       var _internal_struct = new Rect_StructInternal();
92
93       _internal_struct.X = _external_struct.X;
94       _internal_struct.Y = _external_struct.Y;
95       _internal_struct.W = _external_struct.W;
96       _internal_struct.H = _external_struct.H;
97
98       return _internal_struct;
99    }
100
101    internal static Rect ToManaged(Rect_StructInternal _internal_struct)
102    {
103       var _external_struct = new Rect();
104
105       _external_struct.X = _internal_struct.X;
106       _external_struct.Y = _internal_struct.Y;
107       _external_struct.W = _internal_struct.W;
108       _external_struct.H = _internal_struct.H;
109
110       return _external_struct;
111    }
112
113 }
114
115 namespace Eina { 
116 /// <summary>A 2D location in pixels.</summary>
117 [StructLayout(LayoutKind.Sequential)]
118 public struct Position2D
119 {
120    /// <summary>X position in pixels, from the top-left corner.</summary>
121    public  int X;
122    /// <summary>Y position in pixels, from the top-left corner.</summary>
123    public  int Y;
124    ///<summary>Constructor for Position2D.</summary>
125    public Position2D(
126        int X=default( int),
127        int Y=default( int)   )
128    {
129       this.X = X;
130       this.Y = Y;
131    }
132 public static implicit operator Position2D(IntPtr ptr)
133    {
134       var tmp = (Position2D_StructInternal)Marshal.PtrToStructure(ptr, typeof(Position2D_StructInternal));
135       return Position2D_StructConversion.ToManaged(tmp);
136    }
137 }
138 ///<summary>Internal wrapper for struct Position2D.</summary>
139 [StructLayout(LayoutKind.Sequential)]
140 public struct Position2D_StructInternal
141 {
142    
143    public  int X;
144    
145    public  int Y;
146    ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
147    public static implicit operator Position2D(Position2D_StructInternal struct_)
148    {
149       return Position2D_StructConversion.ToManaged(struct_);
150    }
151    ///<summary>Implicit conversion to the managed representation.</summary>
152    public static implicit operator Position2D_StructInternal(Position2D struct_)
153    {
154       return Position2D_StructConversion.ToInternal(struct_);
155    }
156 }
157 /// <summary>Conversion class for struct Position2D</summary>
158 public static class Position2D_StructConversion
159 {
160    internal static Position2D_StructInternal ToInternal(Position2D _external_struct)
161    {
162       var _internal_struct = new Position2D_StructInternal();
163
164       _internal_struct.X = _external_struct.X;
165       _internal_struct.Y = _external_struct.Y;
166
167       return _internal_struct;
168    }
169
170    internal static Position2D ToManaged(Position2D_StructInternal _internal_struct)
171    {
172       var _external_struct = new Position2D();
173
174       _external_struct.X = _internal_struct.X;
175       _external_struct.Y = _internal_struct.Y;
176
177       return _external_struct;
178    }
179
180 }
181
182 namespace Eina { 
183 /// <summary>A 2D size in pixels.</summary>
184 [StructLayout(LayoutKind.Sequential)]
185 public struct Size2D
186 {
187    /// <summary>X position in pixels, from the top-left corner.</summary>
188    public  int W;
189    /// <summary>Y position in pixels, from the top-left corner.</summary>
190    public  int H;
191    ///<summary>Constructor for Size2D.</summary>
192    public Size2D(
193        int W=default( int),
194        int H=default( int)   )
195    {
196       this.W = W;
197       this.H = H;
198    }
199 public static implicit operator Size2D(IntPtr ptr)
200    {
201       var tmp = (Size2D_StructInternal)Marshal.PtrToStructure(ptr, typeof(Size2D_StructInternal));
202       return Size2D_StructConversion.ToManaged(tmp);
203    }
204 }
205 ///<summary>Internal wrapper for struct Size2D.</summary>
206 [StructLayout(LayoutKind.Sequential)]
207 public struct Size2D_StructInternal
208 {
209    
210    public  int W;
211    
212    public  int H;
213    ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
214    public static implicit operator Size2D(Size2D_StructInternal struct_)
215    {
216       return Size2D_StructConversion.ToManaged(struct_);
217    }
218    ///<summary>Implicit conversion to the managed representation.</summary>
219    public static implicit operator Size2D_StructInternal(Size2D struct_)
220    {
221       return Size2D_StructConversion.ToInternal(struct_);
222    }
223 }
224 /// <summary>Conversion class for struct Size2D</summary>
225 public static class Size2D_StructConversion
226 {
227    internal static Size2D_StructInternal ToInternal(Size2D _external_struct)
228    {
229       var _internal_struct = new Size2D_StructInternal();
230
231       _internal_struct.W = _external_struct.W;
232       _internal_struct.H = _external_struct.H;
233
234       return _internal_struct;
235    }
236
237    internal static Size2D ToManaged(Size2D_StructInternal _internal_struct)
238    {
239       var _external_struct = new Size2D();
240
241       _external_struct.W = _internal_struct.W;
242       _external_struct.H = _internal_struct.H;
243
244       return _external_struct;
245    }
246
247 }
248
249 namespace Eina { 
250 /// <summary>Eina file data structure</summary>
251 [StructLayout(LayoutKind.Sequential)]
252 public struct File
253 {
254 ///<summary>Placeholder field</summary>
255 public IntPtr field;
256 public static implicit operator File(IntPtr ptr)
257    {
258       var tmp = (File_StructInternal)Marshal.PtrToStructure(ptr, typeof(File_StructInternal));
259       return File_StructConversion.ToManaged(tmp);
260    }
261 }
262 ///<summary>Internal wrapper for struct File.</summary>
263 [StructLayout(LayoutKind.Sequential)]
264 public struct File_StructInternal
265 {
266 internal IntPtr field;
267    ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
268    public static implicit operator File(File_StructInternal struct_)
269    {
270       return File_StructConversion.ToManaged(struct_);
271    }
272    ///<summary>Implicit conversion to the managed representation.</summary>
273    public static implicit operator File_StructInternal(File struct_)
274    {
275       return File_StructConversion.ToInternal(struct_);
276    }
277 }
278 /// <summary>Conversion class for struct File</summary>
279 public static class File_StructConversion
280 {
281    internal static File_StructInternal ToInternal(File _external_struct)
282    {
283       var _internal_struct = new File_StructInternal();
284
285
286       return _internal_struct;
287    }
288
289    internal static File ToManaged(File_StructInternal _internal_struct)
290    {
291       var _external_struct = new File();
292
293
294       return _external_struct;
295    }
296
297 }
298
299 namespace Eina { 
300 /// <summary>A simple 2D vector type using floating point values.</summary>
301 [StructLayout(LayoutKind.Sequential)]
302 public struct Vector2
303 {
304    /// <summary>X coordinate.</summary>
305    public double X;
306    /// <summary>Y coordinate.</summary>
307    public double Y;
308    ///<summary>Constructor for Vector2.</summary>
309    public Vector2(
310       double X=default(double),
311       double Y=default(double)   )
312    {
313       this.X = X;
314       this.Y = Y;
315    }
316 public static implicit operator Vector2(IntPtr ptr)
317    {
318       var tmp = (Vector2_StructInternal)Marshal.PtrToStructure(ptr, typeof(Vector2_StructInternal));
319       return Vector2_StructConversion.ToManaged(tmp);
320    }
321 }
322 ///<summary>Internal wrapper for struct Vector2.</summary>
323 [StructLayout(LayoutKind.Sequential)]
324 public struct Vector2_StructInternal
325 {
326    
327    public double X;
328    
329    public double Y;
330    ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
331    public static implicit operator Vector2(Vector2_StructInternal struct_)
332    {
333       return Vector2_StructConversion.ToManaged(struct_);
334    }
335    ///<summary>Implicit conversion to the managed representation.</summary>
336    public static implicit operator Vector2_StructInternal(Vector2 struct_)
337    {
338       return Vector2_StructConversion.ToInternal(struct_);
339    }
340 }
341 /// <summary>Conversion class for struct Vector2</summary>
342 public static class Vector2_StructConversion
343 {
344    internal static Vector2_StructInternal ToInternal(Vector2 _external_struct)
345    {
346       var _internal_struct = new Vector2_StructInternal();
347
348       _internal_struct.X = _external_struct.X;
349       _internal_struct.Y = _external_struct.Y;
350
351       return _internal_struct;
352    }
353
354    internal static Vector2 ToManaged(Vector2_StructInternal _internal_struct)
355    {
356       var _external_struct = new Vector2();
357
358       _external_struct.X = _internal_struct.X;
359       _external_struct.Y = _internal_struct.Y;
360
361       return _external_struct;
362    }
363
364 }
365
366 namespace Eina { 
367 /// <summary>Eina 3x3 Matrix</summary>
368 [StructLayout(LayoutKind.Sequential)]
369 public struct Matrix3
370 {
371    /// <summary>XX matrix value</summary>
372    public double Xx;
373    /// <summary>XY matrix value</summary>
374    public double Xy;
375    /// <summary>XZ matrix value</summary>
376    public double Xz;
377    /// <summary>YX matrix value</summary>
378    public double Yx;
379    /// <summary>YY matrix value</summary>
380    public double Yy;
381    /// <summary>YZ matrix value</summary>
382    public double Yz;
383    /// <summary>ZX matrix value</summary>
384    public double Zx;
385    /// <summary>ZY matrix value</summary>
386    public double Zy;
387    /// <summary>ZZ matrix value</summary>
388    public double Zz;
389    ///<summary>Constructor for Matrix3.</summary>
390    public Matrix3(
391       double Xx=default(double),
392       double Xy=default(double),
393       double Xz=default(double),
394       double Yx=default(double),
395       double Yy=default(double),
396       double Yz=default(double),
397       double Zx=default(double),
398       double Zy=default(double),
399       double Zz=default(double)   )
400    {
401       this.Xx = Xx;
402       this.Xy = Xy;
403       this.Xz = Xz;
404       this.Yx = Yx;
405       this.Yy = Yy;
406       this.Yz = Yz;
407       this.Zx = Zx;
408       this.Zy = Zy;
409       this.Zz = Zz;
410    }
411 public static implicit operator Matrix3(IntPtr ptr)
412    {
413       var tmp = (Matrix3_StructInternal)Marshal.PtrToStructure(ptr, typeof(Matrix3_StructInternal));
414       return Matrix3_StructConversion.ToManaged(tmp);
415    }
416 }
417 ///<summary>Internal wrapper for struct Matrix3.</summary>
418 [StructLayout(LayoutKind.Sequential)]
419 public struct Matrix3_StructInternal
420 {
421    
422    public double Xx;
423    
424    public double Xy;
425    
426    public double Xz;
427    
428    public double Yx;
429    
430    public double Yy;
431    
432    public double Yz;
433    
434    public double Zx;
435    
436    public double Zy;
437    
438    public double Zz;
439    ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
440    public static implicit operator Matrix3(Matrix3_StructInternal struct_)
441    {
442       return Matrix3_StructConversion.ToManaged(struct_);
443    }
444    ///<summary>Implicit conversion to the managed representation.</summary>
445    public static implicit operator Matrix3_StructInternal(Matrix3 struct_)
446    {
447       return Matrix3_StructConversion.ToInternal(struct_);
448    }
449 }
450 /// <summary>Conversion class for struct Matrix3</summary>
451 public static class Matrix3_StructConversion
452 {
453    internal static Matrix3_StructInternal ToInternal(Matrix3 _external_struct)
454    {
455       var _internal_struct = new Matrix3_StructInternal();
456
457       _internal_struct.Xx = _external_struct.Xx;
458       _internal_struct.Xy = _external_struct.Xy;
459       _internal_struct.Xz = _external_struct.Xz;
460       _internal_struct.Yx = _external_struct.Yx;
461       _internal_struct.Yy = _external_struct.Yy;
462       _internal_struct.Yz = _external_struct.Yz;
463       _internal_struct.Zx = _external_struct.Zx;
464       _internal_struct.Zy = _external_struct.Zy;
465       _internal_struct.Zz = _external_struct.Zz;
466
467       return _internal_struct;
468    }
469
470    internal static Matrix3 ToManaged(Matrix3_StructInternal _internal_struct)
471    {
472       var _external_struct = new Matrix3();
473
474       _external_struct.Xx = _internal_struct.Xx;
475       _external_struct.Xy = _internal_struct.Xy;
476       _external_struct.Xz = _internal_struct.Xz;
477       _external_struct.Yx = _internal_struct.Yx;
478       _external_struct.Yy = _internal_struct.Yy;
479       _external_struct.Yz = _internal_struct.Yz;
480       _external_struct.Zx = _internal_struct.Zx;
481       _external_struct.Zy = _internal_struct.Zy;
482       _external_struct.Zz = _internal_struct.Zz;
483
484       return _external_struct;
485    }
486
487 }
488
489 namespace Eina { 
490 /// <summary>Eina file direct information data structure</summary>
491 [StructLayout(LayoutKind.Sequential)]
492 public struct FileDirectInfo
493 {
494 ///<summary>Placeholder field</summary>
495 public IntPtr field;
496 public static implicit operator FileDirectInfo(IntPtr ptr)
497    {
498       var tmp = (FileDirectInfo_StructInternal)Marshal.PtrToStructure(ptr, typeof(FileDirectInfo_StructInternal));
499       return FileDirectInfo_StructConversion.ToManaged(tmp);
500    }
501 }
502 ///<summary>Internal wrapper for struct FileDirectInfo.</summary>
503 [StructLayout(LayoutKind.Sequential)]
504 public struct FileDirectInfo_StructInternal
505 {
506 internal IntPtr field;
507    ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
508    public static implicit operator FileDirectInfo(FileDirectInfo_StructInternal struct_)
509    {
510       return FileDirectInfo_StructConversion.ToManaged(struct_);
511    }
512    ///<summary>Implicit conversion to the managed representation.</summary>
513    public static implicit operator FileDirectInfo_StructInternal(FileDirectInfo struct_)
514    {
515       return FileDirectInfo_StructConversion.ToInternal(struct_);
516    }
517 }
518 /// <summary>Conversion class for struct FileDirectInfo</summary>
519 public static class FileDirectInfo_StructConversion
520 {
521    internal static FileDirectInfo_StructInternal ToInternal(FileDirectInfo _external_struct)
522    {
523       var _internal_struct = new FileDirectInfo_StructInternal();
524
525
526       return _internal_struct;
527    }
528
529    internal static FileDirectInfo ToManaged(FileDirectInfo_StructInternal _internal_struct)
530    {
531       var _external_struct = new FileDirectInfo();
532
533
534       return _external_struct;
535    }
536
537 }
538
539 namespace Eina { 
540 /// <summary>The structure to store some file statistics.</summary>
541 [StructLayout(LayoutKind.Sequential)]
542 public struct Stat
543 {
544    /// <summary>The device where this file is located</summary>
545    public  uint Dev;
546    /// <summary>The inode</summary>
547    public  uint Ino;
548    /// <summary>The mode</summary>
549    public  uint Mode;
550    /// <summary>The link number</summary>
551    public  uint Nlink;
552    /// <summary>The owner user id</summary>
553    public  uint Uid;
554    /// <summary>The owner group id</summary>
555    public  uint Gid;
556    /// <summary>The remote device</summary>
557    public  uint Rdev;
558    /// <summary>The file size in bytes</summary>
559    public  uint Size;
560    /// <summary>The block size in bytes</summary>
561    public  uint Blksize;
562    /// <summary>The number of blocks allocated</summary>
563    public  uint Blocks;
564    /// <summary>The tilestamp when the file was last accessed</summary>
565    public  uint Atime;
566    /// <summary>The nano version of the timestmap when the file was last accessed</summary>
567    public  uint Atimensec;
568    /// <summary>The tilestamp when the file was modified</summary>
569    public  uint Mtime;
570    /// <summary>The nano version of the timestmap when the file was modified</summary>
571    public  uint Mtimensec;
572    /// <summary>The tilestamp when the file was created</summary>
573    public  uint Ctime;
574    /// <summary>The nano version of the timestmap when the file was created</summary>
575    public  uint Ctimensec;
576    ///<summary>Constructor for Stat.</summary>
577    public Stat(
578        uint Dev=default( uint),
579        uint Ino=default( uint),
580        uint Mode=default( uint),
581        uint Nlink=default( uint),
582        uint Uid=default( uint),
583        uint Gid=default( uint),
584        uint Rdev=default( uint),
585        uint Size=default( uint),
586        uint Blksize=default( uint),
587        uint Blocks=default( uint),
588        uint Atime=default( uint),
589        uint Atimensec=default( uint),
590        uint Mtime=default( uint),
591        uint Mtimensec=default( uint),
592        uint Ctime=default( uint),
593        uint Ctimensec=default( uint)   )
594    {
595       this.Dev = Dev;
596       this.Ino = Ino;
597       this.Mode = Mode;
598       this.Nlink = Nlink;
599       this.Uid = Uid;
600       this.Gid = Gid;
601       this.Rdev = Rdev;
602       this.Size = Size;
603       this.Blksize = Blksize;
604       this.Blocks = Blocks;
605       this.Atime = Atime;
606       this.Atimensec = Atimensec;
607       this.Mtime = Mtime;
608       this.Mtimensec = Mtimensec;
609       this.Ctime = Ctime;
610       this.Ctimensec = Ctimensec;
611    }
612 public static implicit operator Stat(IntPtr ptr)
613    {
614       var tmp = (Stat_StructInternal)Marshal.PtrToStructure(ptr, typeof(Stat_StructInternal));
615       return Stat_StructConversion.ToManaged(tmp);
616    }
617 }
618 ///<summary>Internal wrapper for struct Stat.</summary>
619 [StructLayout(LayoutKind.Sequential)]
620 public struct Stat_StructInternal
621 {
622    
623    public  uint Dev;
624    
625    public  uint Ino;
626    
627    public  uint Mode;
628    
629    public  uint Nlink;
630    
631    public  uint Uid;
632    
633    public  uint Gid;
634    
635    public  uint Rdev;
636    
637    public  uint Size;
638    
639    public  uint Blksize;
640    
641    public  uint Blocks;
642    
643    public  uint Atime;
644    
645    public  uint Atimensec;
646    
647    public  uint Mtime;
648    
649    public  uint Mtimensec;
650    
651    public  uint Ctime;
652    
653    public  uint Ctimensec;
654    ///<summary>Implicit conversion to the internal/marshalling representation.</summary>
655    public static implicit operator Stat(Stat_StructInternal struct_)
656    {
657       return Stat_StructConversion.ToManaged(struct_);
658    }
659    ///<summary>Implicit conversion to the managed representation.</summary>
660    public static implicit operator Stat_StructInternal(Stat struct_)
661    {
662       return Stat_StructConversion.ToInternal(struct_);
663    }
664 }
665 /// <summary>Conversion class for struct Stat</summary>
666 public static class Stat_StructConversion
667 {
668    internal static Stat_StructInternal ToInternal(Stat _external_struct)
669    {
670       var _internal_struct = new Stat_StructInternal();
671
672       _internal_struct.Dev = _external_struct.Dev;
673       _internal_struct.Ino = _external_struct.Ino;
674       _internal_struct.Mode = _external_struct.Mode;
675       _internal_struct.Nlink = _external_struct.Nlink;
676       _internal_struct.Uid = _external_struct.Uid;
677       _internal_struct.Gid = _external_struct.Gid;
678       _internal_struct.Rdev = _external_struct.Rdev;
679       _internal_struct.Size = _external_struct.Size;
680       _internal_struct.Blksize = _external_struct.Blksize;
681       _internal_struct.Blocks = _external_struct.Blocks;
682       _internal_struct.Atime = _external_struct.Atime;
683       _internal_struct.Atimensec = _external_struct.Atimensec;
684       _internal_struct.Mtime = _external_struct.Mtime;
685       _internal_struct.Mtimensec = _external_struct.Mtimensec;
686       _internal_struct.Ctime = _external_struct.Ctime;
687       _internal_struct.Ctimensec = _external_struct.Ctimensec;
688
689       return _internal_struct;
690    }
691
692    internal static Stat ToManaged(Stat_StructInternal _internal_struct)
693    {
694       var _external_struct = new Stat();
695
696       _external_struct.Dev = _internal_struct.Dev;
697       _external_struct.Ino = _internal_struct.Ino;
698       _external_struct.Mode = _internal_struct.Mode;
699       _external_struct.Nlink = _internal_struct.Nlink;
700       _external_struct.Uid = _internal_struct.Uid;
701       _external_struct.Gid = _internal_struct.Gid;
702       _external_struct.Rdev = _internal_struct.Rdev;
703       _external_struct.Size = _internal_struct.Size;
704       _external_struct.Blksize = _internal_struct.Blksize;
705       _external_struct.Blocks = _internal_struct.Blocks;
706       _external_struct.Atime = _internal_struct.Atime;
707       _external_struct.Atimensec = _internal_struct.Atimensec;
708       _external_struct.Mtime = _internal_struct.Mtime;
709       _external_struct.Mtimensec = _internal_struct.Mtimensec;
710       _external_struct.Ctime = _internal_struct.Ctime;
711       _external_struct.Ctimensec = _internal_struct.Ctimensec;
712
713       return _external_struct;
714    }
715
716 }
717