[ACR-564] deprecate unused API
[platform/core/csapi/tizenfx.git] / src / ElmSharp.Wearable / ElmSharp.Wearable / CircleSurface.cs
old mode 100755 (executable)
new mode 100644 (file)
index e00df89..3d61f5f
@@ -5,62 +5,69 @@ using System.Text;
 namespace ElmSharp.Wearable
 {
     /// <summary>
-    /// The CircleSurface presents a surface for drawing circular feature of circle widgets
+    /// The CircleSurface presents a surface for drawing the circular feature of circle widgets.
     /// </summary>
     /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")]
     public class CircleSurface
     {
         IntPtr _handle;
 
         /// <summary>
-        /// Creates and initializes a new instance of the CircleSurface class with surface on the Conformant widget.
+        /// Creates and initializes a new instance of the CircleSurface class with surface on the Conformant widget.
         /// </summary>
-        /// <param name="conformant">Conformant widget to create a surface.</param>
+        /// <param name="conformant">The Conformant widget to create a surface.</param>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public CircleSurface(Conformant conformant)
         {
             _handle = Interop.Eext.eext_circle_surface_conformant_add(conformant);
         }
 
         /// <summary>
-        /// Creates and initializes a new instance of the CircleSurface class with surface on the Layout widget.
+        /// Creates and initializes a new instance of the CircleSurface class with surface on the Layout widget.
         /// </summary>
-        /// <param name="layout">Layout widget to create a surface.</param>
+        /// <param name="layout">The Layout widget to create a surface.</param>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public CircleSurface(Layout layout)
         {
             _handle = Interop.Eext.eext_circle_surface_layout_add(layout);
         }
 
         /// <summary>
-        /// Creates and initializes a new instance of the CircleSurface class with surface on the Naviframe widget.
+        /// Creates and initializes a new instance of the CircleSurface class with surface on the Naviframe widget.
         /// </summary>
-        /// <param name="naviframe">Naviframe widget to create a surface.</param>
+        /// <param name="naviframe">The Naviframe widget to create a surface.</param>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public CircleSurface(Naviframe naviframe)
         {
             _handle = Interop.Eext.eext_circle_surface_naviframe_add(naviframe.RealHandle);
         }
 
         /// <summary>
-        /// Creates and initializes a new instance of the CircleSurface class with no surface
+        /// Creates and initializes a new instance of the CircleSurface class with no surface.
         /// </summary>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public CircleSurface()
         {
             _handle = IntPtr.Zero;
         }
 
         /// <summary>
-        /// Gets the handle for CircleSurface
+        /// Gets the handle for CircleSurface.
         /// </summary>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public IntPtr Handle => _handle;
 
         /// <summary>
-        /// Delete the given CirclrSurface
+        /// Deletes the given CircleSurface.
         /// </summary>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public void Delete()
         {
             if (Handle != IntPtr.Zero)
@@ -70,7 +77,7 @@ namespace ElmSharp.Wearable
             }
         }
 
-       internal static CircleSurface CreateCircleSurface(EvasObject obj)
+        internal static CircleSurface CreateCircleSurface(EvasObject obj)
         {
             if (obj is Conformant) return new CircleSurface(obj as Conformant);
             else if (obj is Naviframe) return new CircleSurface(obj as Naviframe);