X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=internals%2Fsrc%2FEflSharp%2FEflSharp%2Fefl%2Fefl_control.eo.cs;h=59a1483992e4a8edcd81338e469d50639519ed0a;hb=5418695f94c5065494f5f7d74d1506e7a5267c06;hp=3b75b782d0f0dff1eef5562c00df776e5b65d11a;hpb=04e59dc939f2654e4525abdb21f65f0632c988e0;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/internals/src/EflSharp/EflSharp/efl/efl_control.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_control.eo.cs old mode 100644 new mode 100755 index 3b75b78..59a1483 --- a/internals/src/EflSharp/EflSharp/efl/efl_control.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_control.eo.cs @@ -1,3 +1,4 @@ +#define EFL_BETA #pragma warning disable CS1591 using System; using System.Runtime.InteropServices; @@ -8,6 +9,7 @@ using System.ComponentModel; namespace Efl { /// Efl control interface +/// This is a BETA class. It can be modified or removed in the future. Do not use it for product development. [Efl.IControlConcrete.NativeMethods] [Efl.Eo.BindingEntity] public interface IControl : @@ -28,23 +30,24 @@ void SetSuspend(bool suspend); /// Control the priority of the object. /// The priority of the object int Priority { - get ; - set ; + get; + set; } /// Controls whether the object is suspended or not. /// Controls whether the object is suspended or not. bool Suspend { - get ; - set ; + get; + set; } } /// Efl control interface -sealed public class IControlConcrete : +/// This is a BETA class. It can be modified or removed in the future. Do not use it for product development. +sealed public class IControlConcrete : Efl.Eo.EoWrapper , IControl { - ///Pointer to the native class description. + /// Pointer to the native class description. public override System.IntPtr NativeClass { get @@ -60,7 +63,8 @@ sealed public class IControlConcrete : } } - /// Constructor to be used when objects are expected to be constructed from native code. + /// Subclasses should override this constructor if they are expected to be instantiated from native code. + /// Do not call this constructor directly. /// Tag struct storing the native handle of the object being constructed. private IControlConcrete(ConstructingHandle ch) : base(ch) { @@ -328,3 +332,17 @@ sealed public class IControlConcrete : } } +#if EFL_BETA +#pragma warning disable CS1591 +public static class EflIControlConcrete_ExtensionMethods { + public static Efl.BindableProperty Priority(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.IControl { + return new Efl.BindableProperty("priority", fac); + } + + public static Efl.BindableProperty Suspend(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.IControl { + return new Efl.BindableProperty("suspend", fac); + } + +} +#pragma warning restore CS1591 +#endif