[ACR-564] deprecate unused API
[platform/core/csapi/tizenfx.git] / src / ElmSharp.Wearable / ElmSharp.Wearable / MoreOptionItem.cs
index ad5bf58..1babac8 100644 (file)
@@ -1,9 +1,30 @@
-using System;
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+using System;
 using System.Collections.Generic;
 using System.Text;
 
 namespace ElmSharp.Wearable
 {
+    /// <summary>
+    /// The MoreOptionItem is an item of the MoreOption widget.
+    /// </summary>
+    /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")]
     public class MoreOptionItem
     {
         const string MainTextPartName = "selector,main_text";
@@ -15,6 +36,11 @@ namespace ElmSharp.Wearable
         Image _icon;
         IntPtr _handle;
 
+        /// <summary>
+        /// Sets or gets the more option item handle.
+        /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public IntPtr Handle
         {
             get
@@ -34,11 +60,21 @@ namespace ElmSharp.Wearable
             }
         }
 
+        /// <summary>
+        /// Creates and initializes a new instance of the MoreOptionItem class.
+        /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public MoreOptionItem()
         {
             _icon = null;
         }
 
+        /// <summary>
+        /// Sets or gets the main text of the more option object.
+        /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public string MainText
         {
             set
@@ -57,6 +93,11 @@ namespace ElmSharp.Wearable
             }
         }
 
+        /// <summary>
+        /// Sets or gets the subtext of the more option object.
+        /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public string SubText
         {
             set
@@ -75,6 +116,11 @@ namespace ElmSharp.Wearable
             }
         }
 
+        /// <summary>
+        /// Sets or gets the icon image.
+        /// </summary>
+        /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public Image Icon
         {
             set