[EflSharp] Update Circle and efl cs files (#945)
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / efl / efl_canvas_snapshot.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.Threading;
7 using System.ComponentModel;
8 namespace Efl {
9
10 namespace Canvas {
11
12 /// <summary>Low-level snapshot image object.
13 /// 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>
14 [Efl.Canvas.Snapshot.NativeMethods]
15 [Efl.Eo.BindingEntity]
16 public class Snapshot : Efl.Canvas.ImageInternal
17 {
18     ///<summary>Pointer to the native class description.</summary>
19     public override System.IntPtr NativeClass
20     {
21         get
22         {
23             if (((object)this).GetType() == typeof(Snapshot))
24             {
25                 return GetEflClassStatic();
26             }
27             else
28             {
29                 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
30             }
31         }
32     }
33
34     [System.Runtime.InteropServices.DllImport(efl.Libs.Evas)] internal static extern System.IntPtr
35         efl_canvas_snapshot_class_get();
36     /// <summary>Initializes a new instance of the <see cref="Snapshot"/> class.</summary>
37     /// <param name="parent">Parent instance.</param>
38     public Snapshot(Efl.Object parent= null
39             ) : base(efl_canvas_snapshot_class_get(), parent)
40     {
41         FinishInstantiation();
42     }
43
44     /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
45     /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
46     protected Snapshot(ConstructingHandle ch) : base(ch)
47     {
48     }
49
50     /// <summary>Initializes a new instance of the <see cref="Snapshot"/> class.
51     /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
52     /// <param name="wh">The native pointer to be wrapped.</param>
53     protected Snapshot(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
54     {
55     }
56
57     /// <summary>Initializes a new instance of the <see cref="Snapshot"/> class.
58     /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
59     /// <param name="baseKlass">The pointer to the base native Eo class.</param>
60     /// <param name="parent">The Efl.Object parent of this instance.</param>
61     protected Snapshot(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
62     {
63     }
64
65     private static IntPtr GetEflClassStatic()
66     {
67         return Efl.Canvas.Snapshot.efl_canvas_snapshot_class_get();
68     }
69     /// <summary>Wrapper for native methods and virtual method delegates.
70     /// For internal use by generated code only.</summary>
71     public new class NativeMethods : Efl.Canvas.ImageInternal.NativeMethods
72     {
73         /// <summary>Gets the list of Eo operations to override.</summary>
74         /// <returns>The list of Eo operations to be overload.</returns>
75         public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
76         {
77             var descs = new System.Collections.Generic.List<Efl_Op_Description>();
78             descs.AddRange(base.GetEoOps(type));
79             return descs;
80         }
81         /// <summary>Returns the Eo class for the native methods of this class.</summary>
82         /// <returns>The native class pointer.</returns>
83         public override IntPtr GetEflClass()
84         {
85             return Efl.Canvas.Snapshot.efl_canvas_snapshot_class_get();
86         }
87
88         #pragma warning disable CA1707, CS1591, SA1300, SA1600
89
90         #pragma warning restore CA1707, CS1591, SA1300, SA1600
91
92 }
93 }
94 }
95
96 }
97