[ACR-564] deprecate unused API
[platform/core/csapi/tizenfx.git] / src / ElmSharp / ElmSharp / EcoreAnimator.cs
old mode 100755 (executable)
new mode 100644 (file)
index 06c9a1c..bcd23f9
@@ -20,9 +20,10 @@ using System.Collections.Generic;
 namespace ElmSharp
 {
     /// <summary>
-    /// EcoreAnimator is a helper class, it provides functions to manager animations.
+    /// EcoreAnimator is a helper class. It provides the functions to manage animations.
     /// </summary>
     /// <since_tizen> preview </since_tizen>
+    [Obsolete("This has been deprecated in API12")]
     public static class EcoreAnimator
     {
         static readonly Dictionary<int, Func<bool>> _taskMap = new Dictionary<int, Func<bool>>();
@@ -37,21 +38,23 @@ namespace ElmSharp
         }
 
         /// <summary>
-        /// Gets current system time as a floating point value in seconds.
+        /// Gets the current system time as a floating point value in seconds.
         /// </summary>
         /// <returns>Current system time</returns>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public static double GetCurrentTime()
         {
             return Interop.Ecore.ecore_time_get();
         }
 
         /// <summary>
-        /// Adds an animator to call <paramref name="handler"/> at every animation tick during main loop execution.
+        /// Adds an animator to call <paramref name="handler"/> at every animation tick during the main loop execution.
         /// </summary>
-        /// <param name="handler">The function to call when it ticks off</param>
-        /// <returns>A handle to the new animator</returns>
+        /// <param name="handler">The function to call when it ticks off.</param>
+        /// <returns>A handle to the new animator.</returns>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public static IntPtr AddAnimator(Func<bool> handler)
         {
             int id = RegistHandler(handler);
@@ -61,8 +64,9 @@ namespace ElmSharp
         /// <summary>
         /// Removes the specified animator from the animator list.
         /// </summary>
-        /// <param name="anim">The specified animator handle</param>
+        /// <param name="anim">The specified animator handle.</param>
         /// <since_tizen> preview </since_tizen>
+        [Obsolete("This has been deprecated in API12")]
         public static void RemoveAnimator(IntPtr anim)
         {
             int taskId = (int)Interop.Ecore.ecore_animator_del(anim);