[NUI] Deprecate Adaptor class, ACR-373 (#1997)
authordongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 23 Sep 2020 03:12:59 +0000 (12:12 +0900)
committerGitHub <noreply@github.com>
Wed, 23 Sep 2020 03:12:59 +0000 (12:12 +0900)
src/Tizen.NUI/src/public/Adaptor.cs

index 9ac56b1..3899de6 100755 (executable)
@@ -38,6 +38,7 @@ namespace Tizen.NUI
     ///
     /// </summary>
     /// <since_tizen> 4 </since_tizen>
+    [Obsolete("Deprecated in API8, will be removed in API10. This is not used anymore, please do not use.")]
     public class Adaptor : Disposable
     {
         private static readonly Adaptor instance = Adaptor.Get();
@@ -51,6 +52,7 @@ namespace Tizen.NUI
         /// </summary>
         /// <remarks>The adaptor has been initialized. This is only valid in the main thread.</remarks>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated in API8, will be removed in API10. This is not used anymore, please do not use.")]
         public static Adaptor Instance
         {
             get
@@ -64,6 +66,7 @@ namespace Tizen.NUI
         /// </summary>
         /// <param name="wheelEvent">The wheel event.</param>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated in API8, will be removed in API10. This is not used anymore, please do not use.")]
         public void FeedWheelEvent(Wheel wheelEvent)
         {
             Interop.Adaptor.Adaptor_FeedWheelEvent(swigCPtr, Wheel.getCPtr(wheelEvent));
@@ -75,6 +78,7 @@ namespace Tizen.NUI
         /// </summary>
         /// <param name="keyEvent">The key event holding the key information.</param>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated in API8, will be removed in API10. This is not used anymore, please do not use.")]
         public void FeedKeyEvent(Key keyEvent)
         {
             Interop.Adaptor.Adaptor_FeedKeyEvent(swigCPtr, Key.getCPtr(keyEvent));
@@ -105,7 +109,12 @@ namespace Tizen.NUI
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        /// This will not be public opened.
+        /// <summary>
+        /// ReleaseSwigCPtr
+        /// </summary>
+        /// <param name="swigCPtr"></param>
+        [Obsolete("Deprecated in API8, will be removed in API10. This is not used anymore, please do not use.")]
+        // This will not be public opened.
         [EditorBrowsable(EditorBrowsableState.Never)]
         protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
         {