[ACR-564] deprecate unused API
[platform/core/csapi/tizenfx.git] / src / ElmSharp / ElmSharp / Icon.cs
old mode 100755 (executable)
new mode 100644 (file)
index 3ebff8f..a8493d9
@@ -21,37 +21,43 @@ namespace ElmSharp
     /// <summary>
     /// Enumeration for the icon lookup order. Should look for icons in the theme, FDO paths, or both.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")]
     public enum IconLookupOrder
     {
         /// <summary>
-        /// Icon look up order: freedesktop, theme
+        /// Icon look up order: freedesktop, theme.
         /// </summary>
         FreeDesktopFirst = 0,
         /// <summary>
-        /// Icon look up order: theme, freedesktop
+        /// Icon look up order: theme, freedesktop.
         /// </summary>
         ThemeFirst,
         /// <summary>
-        /// Icon look up order: freedesktop
+        /// Icon look up order: freedesktop.
         /// </summary>
         FreeDesktopOnly,
         /// <summary>
-        /// Icon look up order: theme
+        /// Icon look up order: theme.
         /// </summary>
         ThemeOnly
     }
 
     /// <summary>
-    /// The Icon is a widget that displays standard icon images ("delete", "edit", "arrows", etc.)
-    /// or images coming from a custom file (PNG, JPG, EDJE, etc.), on icon context.
-    /// Inherits Image
+    /// The Icon is a widget that displays the standard icon images ("delete", "edit", "arrows", etc.)
+    /// or images coming from a custom file (PNG, JPG, EDJE, etc.), on the icon context.
+    /// Inherits Image.
     /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")]
     public class Icon : Image
     {
         /// <summary>
-        /// Creates and initializes a new instance of Icon class.
+        /// Creates and initializes a new instance of the Icon class.
         /// </summary>
-        /// <param name="parent">The parent is a given container which will be attached by Icon as a child. It's <see cref="EvasObject"/> type.</param>
+        /// <param name="parent">The parent is a given container, which will be attached by Icon as a child. It's <see cref="EvasObject"/> type.</param>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public Icon(EvasObject parent) : base(parent)
         {
         }
@@ -59,6 +65,8 @@ namespace ElmSharp
         /// <summary>
         /// Sets or gets the standard icon name of a given Icon widget.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public string StandardIconName
         {
             get
@@ -74,6 +82,8 @@ namespace ElmSharp
         /// <summary>
         /// Sets or gets the icon lookup order of a given Icon widget.
         /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public IconLookupOrder IconLookupOrder
         {
             get
@@ -89,8 +99,10 @@ namespace ElmSharp
         /// <summary>
         /// Sets the file that is used, but uses a generated thumbnail.
         /// </summary>
-        /// <param name="file">The path to the file that is used as an icon image</param>
-        /// <param name="group">The group that the icon belongs to</param>
+        /// <param name="file">The path to the file that is used as an icon image.</param>
+        /// <param name="group">The group that the icon belongs to.</param>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public void SetThumb(string file, string group)
         {
             Interop.Elementary.elm_icon_thumb_set(RealHandle, file, group);
@@ -100,7 +112,9 @@ namespace ElmSharp
         /// Adds a new icon object to the parent.
         /// </summary>
         /// <param name="parent">EvasObject</param>
-        /// <returns>The new object, otherwise NULL if it cannot be created</returns>
+        /// <returns>The new object, otherwise null if it cannot be created.</returns>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         protected override IntPtr CreateHandle(EvasObject parent)
         {
             IntPtr handle = Interop.Elementary.elm_layout_add(parent.Handle);