[EflSharp] Update Circle and efl cs files (#995)
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / efl / efl_canvas_snapshot.eo.cs
1 #define EFL_BETA
2 #pragma warning disable CS1591
3 using System;
4 using System.Runtime.InteropServices;
5 using System.Collections.Generic;
6 using System.Linq;
7 using System.Threading;
8 using System.ComponentModel;
9 namespace Efl {
10
11 namespace Canvas {
12
13 /// <summary>Low-level snapshot image object.
14 /// A snapshot is a special kind of image containing the pixels from all the objects below it. This allows applications to save screenshots of all or part of their UI, or apply filters to parts of the UI.</summary>
15 /// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
16 [Efl.Canvas.Snapshot.NativeMethods]
17 [Efl.Eo.BindingEntity]
18 public class Snapshot : Efl.Canvas.ImageInternal
19 {
20     /// <summary>Pointer to the native class description.</summary>
21     public override System.IntPtr NativeClass
22     {
23         get
24         {
25             if (((object)this).GetType() == typeof(Snapshot))
26             {
27                 return GetEflClassStatic();
28             }
29             else
30             {
31                 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
32             }
33         }
34     }
35
36     [System.Runtime.InteropServices.DllImport(efl.Libs.Evas)] internal static extern System.IntPtr
37         efl_canvas_snapshot_class_get();
38     /// <summary>Initializes a new instance of the <see cref="Snapshot"/> class.</summary>
39     /// <param name="parent">Parent instance.</param>
40     public Snapshot(Efl.Object parent= null
41             ) : base(efl_canvas_snapshot_class_get(), parent)
42     {
43         FinishInstantiation();
44     }
45
46     /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
47     /// Do not call this constructor directly.</summary>
48     /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
49     protected Snapshot(ConstructingHandle ch) : base(ch)
50     {
51     }
52
53     /// <summary>Initializes a new instance of the <see cref="Snapshot"/> class.
54     /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
55     /// <param name="wh">The native pointer to be wrapped.</param>
56     protected Snapshot(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
57     {
58     }
59
60     /// <summary>Initializes a new instance of the <see cref="Snapshot"/> class.
61     /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
62     /// <param name="baseKlass">The pointer to the base native Eo class.</param>
63     /// <param name="parent">The Efl.Object parent of this instance.</param>
64     protected Snapshot(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
65     {
66     }
67
68     private static IntPtr GetEflClassStatic()
69     {
70         return Efl.Canvas.Snapshot.efl_canvas_snapshot_class_get();
71     }
72     /// <summary>Wrapper for native methods and virtual method delegates.
73     /// For internal use by generated code only.</summary>
74     public new class NativeMethods : Efl.Canvas.ImageInternal.NativeMethods
75     {
76         /// <summary>Gets the list of Eo operations to override.</summary>
77         /// <returns>The list of Eo operations to be overload.</returns>
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             descs.AddRange(base.GetEoOps(type));
82             return descs;
83         }
84         /// <summary>Returns the Eo class for the native methods of this class.</summary>
85         /// <returns>The native class pointer.</returns>
86         public override IntPtr GetEflClass()
87         {
88             return Efl.Canvas.Snapshot.efl_canvas_snapshot_class_get();
89         }
90
91         #pragma warning disable CA1707, CS1591, SA1300, SA1600
92
93         #pragma warning restore CA1707, CS1591, SA1300, SA1600
94
95 }
96 }
97 }
98
99 }
100
101 #if EFL_BETA
102 #pragma warning disable CS1591
103 public static class Efl_CanvasSnapshot_ExtensionMethods {
104 }
105 #pragma warning restore CS1591
106 #endif