6ad3773228ca272ca86bb2372ba2ccb92ca42d29
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / efl / efl_ui_legacy.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 Ui {
11
12 /// <summary>The bg (background) widget is used for setting (solid) background decorations
13 /// in a window (unless it has transparency enabled) or on any container object. It works just like an image but has some properties useful for backgrounds, such as setting it to tiled, centered, scaled or stretched.</summary>
14 [Efl.Ui.ILegacyConcrete.NativeMethods]
15 public interface ILegacy : 
16     Efl.Eo.IWrapper, IDisposable
17 {
18 }
19 /// <summary>The bg (background) widget is used for setting (solid) background decorations
20 /// in a window (unless it has transparency enabled) or on any container object. It works just like an image but has some properties useful for backgrounds, such as setting it to tiled, centered, scaled or stretched.</summary>
21 sealed public class ILegacyConcrete :
22     Efl.Eo.EoWrapper
23     , ILegacy
24     
25 {
26     ///<summary>Pointer to the native class description.</summary>
27     public override System.IntPtr NativeClass
28     {
29         get
30         {
31             if (((object)this).GetType() == typeof(ILegacyConcrete))
32             {
33                 return GetEflClassStatic();
34             }
35             else
36             {
37                 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
38             }
39         }
40     }
41
42     [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
43         efl_ui_legacy_interface_get();
44     /// <summary>Initializes a new instance of the <see cref="ILegacy"/> class.
45     /// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
46     private ILegacyConcrete(System.IntPtr raw) : base(raw)
47     {
48     }
49
50     private static IntPtr GetEflClassStatic()
51     {
52         return Efl.Ui.ILegacyConcrete.efl_ui_legacy_interface_get();
53     }
54     /// <summary>Wrapper for native methods and virtual method delegates.
55     /// For internal use by generated code only.</summary>
56     public class NativeMethods  : Efl.Eo.NativeClass
57     {
58         /// <summary>Gets the list of Eo operations to override.</summary>
59         /// <returns>The list of Eo operations to be overload.</returns>
60         public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
61         {
62             var descs = new System.Collections.Generic.List<Efl_Op_Description>();
63             return descs;
64         }
65         /// <summary>Returns the Eo class for the native methods of this class.</summary>
66         /// <returns>The native class pointer.</returns>
67         public override IntPtr GetEflClass()
68         {
69             return Efl.Ui.ILegacyConcrete.efl_ui_legacy_interface_get();
70         }
71
72         #pragma warning disable CA1707, CS1591, SA1300, SA1600
73
74         #pragma warning restore CA1707, CS1591, SA1300, SA1600
75
76 }
77 }
78 }
79
80 }
81