From ecaca90dc25cc66d1acf691b38d2c4e50e22edd0 Mon Sep 17 00:00:00 2001 From: "xb.teng" Date: Wed, 27 Sep 2017 13:14:58 +0800 Subject: [PATCH] Add Finalize api for ImfManager Change-Id: I06219820aca0d21d631cbb593404d1b23b49c99f --- Tizen.NUI/src/internal/ManualPINVOKE.cs | 3 +++ Tizen.NUI/src/public/ImfManager.cs | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/Tizen.NUI/src/internal/ManualPINVOKE.cs b/Tizen.NUI/src/internal/ManualPINVOKE.cs index 18432e3..0486183 100755 --- a/Tizen.NUI/src/internal/ManualPINVOKE.cs +++ b/Tizen.NUI/src/internal/ManualPINVOKE.cs @@ -369,6 +369,9 @@ namespace Tizen.NUI [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_delete_ImfManager_ImfCallbackData")] public static extern void delete_ImfManager_ImfCallbackData(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_ImfManager_Finalize")] + public static extern void ImfManager_Finalize(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_ImfManager_Get")] public static extern global::System.IntPtr ImfManager_Get(); diff --git a/Tizen.NUI/src/public/ImfManager.cs b/Tizen.NUI/src/public/ImfManager.cs index 790b45e..2ae0294 100755 --- a/Tizen.NUI/src/public/ImfManager.cs +++ b/Tizen.NUI/src/public/ImfManager.cs @@ -633,6 +633,15 @@ namespace Tizen.NUI } /// + /// Finalize the IMF.
+ ///
+ public void Finalize() + { + NDalicManualPINVOKE.ImfManager_Finalize(swigCPtr); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + /// /// Retrieves a handle to the instance of the ImfManager. /// /// A handle to the ImfManager. -- 2.7.4