diff --git a/src/Tizen.Uix.InputMethod/Interop/Interop.InputMethod.cs b/src/Tizen.Uix.InputMethod/Interop/Interop.InputMethod.cs index fab0f67b45f..67ef51a4474 100644 --- a/src/Tizen.Uix.InputMethod/Interop/Interop.InputMethod.cs +++ b/src/Tizen.Uix.InputMethod/Interop/Interop.InputMethod.cs @@ -219,9 +219,6 @@ public void Dispose() [DllImport(Libraries.InputMethod, EntryPoint = "ime_set_dotnet_flag")] internal static extern ErrorCode ImeSetDotnetFlag(bool set); - [DllImport(Libraries.InputMethod, EntryPoint = "ime_set_size")] - internal static extern ErrorCode ImeSetSize(int portraitWidth, int portraitHeight, int landscapeWidth, int landscapeHeight); - [DllImport(Libraries.InputMethod, EntryPoint = "ime_context_get_layout")] internal static extern ErrorCode ImeContextGetLayout(IntPtr context, out InputPanelLayout layout); diff --git a/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod.csproj b/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod.csproj index feac9a6af4f..d82d90a7dd4 100644 --- a/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod.csproj +++ b/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod.csproj @@ -7,7 +7,6 @@ - diff --git a/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/EditorWindow.cs b/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/EditorWindow.cs deleted file mode 100755 index 8b1fc6c5765..00000000000 --- a/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/EditorWindow.cs +++ /dev/null @@ -1,87 +0,0 @@ -/* -* 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 Tizen; -using System; -using ElmSharp; -using static Interop.InputMethod; - -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; - private IntPtr _realHandle = IntPtr.Zero; - - internal EditorWindow():base("Edit") - { - _realHandle = _handle; - } - - /// - /// This API creates a handle for the editor window. - /// - /// Parent EvasObject. - /// Handle IntPtr. - /// 4 - [Obsolete("Deprecated since API10. Will be removed in API12.")] - protected override IntPtr CreateHandle(EvasObject parent) - { - return _handle; - } - - /// - /// This API gets a handle for the editor window. - /// - /// Handle IntPtr. - /// 4 - [Obsolete("Deprecated since API10. Will be removed in API12.")] - public IntPtr GetHandle() - { - return _handle; - } - - /// - /// This API updates the input panel window's size information. - /// - /// - /// http://tizen.org/privilege/ime - /// - /// The width in the portrait mode. - /// The height in the portrait mode. - /// The width in the landscape mode. - /// The height in the landscape mode. - /// This exception can be due to an invalid parameter. - /// 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); - if (error != ErrorCode.None) - { - Log.Error(LogTag, "SetSize Failed with error " + error); - throw InputMethodExceptionFactory.CreateException(error); - } - } - } -} diff --git a/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/InputMethodEditor.cs b/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/InputMethodEditor.cs index 146c49b4efa..124ee94d659 100644 --- a/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/InputMethodEditor.cs +++ b/src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/InputMethodEditor.cs @@ -1877,34 +1877,6 @@ public static void SetSelection(int start, int end) } } - /// - /// This API returns the input panel main window. - /// - /// - /// http://tizen.org/privilege/ime - /// - /// The input panel main window object on success, otherwise null. - /// This exception can be due to permission denied. - /// - /// This can occur due to the following reasons: - /// 1) The IME main loop has not started yet. - /// 2) Operation failed. - /// - /// 4 - [Obsolete("Deprecated since API10. Will be removed in API12.")] - public static EditorWindow GetMainWindow() - { - EditorWindow._handle = ImeGetMainWindow(); - EditorWindow obj = new EditorWindow(); - ErrorCode error = (ErrorCode)Tizen.Internals.Errors.ErrorFacts.GetLastResult(); - if (error != ErrorCode.None) - { - Log.Error(LogTag, "GetMainWindow Failed with error " + error); - throw InputMethodExceptionFactory.CreateException(error); - } - return obj; - } - /// /// Sends the request to hide the IME. ///