From 92ad2a9fa8727b13b310e17c4937f1c9784d153d Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Thu, 15 Sep 2022 10:49:52 +0900 Subject: [PATCH] [Inputmethod] Deprecated some Inputmethod APIs related to ElmSharp Signed-off-by: Jihoon Kim --- src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/EditorWindow.cs | 4 ++++ src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/InputMethodEditor.cs | 1 + 2 files changed, 5 insertions(+) diff --git a/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/EditorWindow.cs b/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/EditorWindow.cs index f36e921..8b1fc6c 100755 --- a/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/EditorWindow.cs +++ b/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/EditorWindow.cs @@ -25,6 +25,7 @@ namespace Tizen.Uix.InputMethod /// The editor window class. /// /// 4 + [Obsolete("Deprecated since API10. Will be removed in API12. Use NUIApplication.GetDefaultWindow() to get window in NUI application")] public class EditorWindow : Window { internal static IntPtr _handle = IntPtr.Zero; @@ -41,6 +42,7 @@ namespace Tizen.Uix.InputMethod /// Parent EvasObject. /// Handle IntPtr. /// 4 + [Obsolete("Deprecated since API10. Will be removed in API12.")] protected override IntPtr CreateHandle(EvasObject parent) { return _handle; @@ -51,6 +53,7 @@ namespace Tizen.Uix.InputMethod /// /// Handle IntPtr. /// 4 + [Obsolete("Deprecated since API10. Will be removed in API12.")] public IntPtr GetHandle() { return _handle; @@ -70,6 +73,7 @@ namespace Tizen.Uix.InputMethod /// This exception can be due to permission denied. /// The IME main loop has not started yet. /// 4 + [Obsolete("Deprecated since API10. Will be removed in API12.")] public static void SetSize(int portraitWidth, int portraitHeight, int landscapeWidth, int landscapeHeight) { ErrorCode error = ImeSetSize(portraitWidth, portraitHeight, landscapeWidth, landscapeHeight); diff --git a/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/InputMethodEditor.cs b/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/InputMethodEditor.cs index 7ca461d..146c49b 100644 --- a/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/InputMethodEditor.cs +++ b/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/InputMethodEditor.cs @@ -1891,6 +1891,7 @@ namespace Tizen.Uix.InputMethod /// 2) Operation failed. /// /// 4 + [Obsolete("Deprecated since API10. Will be removed in API12.")] public static EditorWindow GetMainWindow() { EditorWindow._handle = ImeGetMainWindow(); -- 2.7.4