Add Finalize api for ImfManager 61/152761/2
authorxb.teng <xb.teng@samsung.com>
Wed, 27 Sep 2017 05:14:58 +0000 (13:14 +0800)
committerxb.teng <xb.teng@samsung.com>
Wed, 27 Sep 2017 05:22:43 +0000 (13:22 +0800)
Change-Id: I06219820aca0d21d631cbb593404d1b23b49c99f

Tizen.NUI/src/internal/ManualPINVOKE.cs
Tizen.NUI/src/public/ImfManager.cs

index 18432e3..0486183 100755 (executable)
@@ -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();
 
index 790b45e..2ae0294 100755 (executable)
@@ -633,6 +633,15 @@ namespace Tizen.NUI
         }
 
         /// <summary>
+        /// Finalize the IMF.<br/>
+        /// </summary>
+        public void Finalize()
+        {
+            NDalicManualPINVOKE.ImfManager_Finalize(swigCPtr);
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        /// <summary>
         /// Retrieves a handle to the instance of the ImfManager.
         /// </summary>
         /// <returns>A handle to the ImfManager.</returns>