[NotificationEventListener] Add method for get all count
[platform/core/csapi/tizenfx.git] / src / Tizen.Applications.NotificationEventListener / Interop / Interop.NotificationEventListener.cs
index 1e8b413..255be6d 100755 (executable)
@@ -138,7 +138,7 @@ internal static partial class Interop
         [DllImport(Libraries.NotificationEventListener, EntryPoint = "notification_get_property")]
         internal static extern ErrorCode GetProperties(NotificationSafeHandle handle, out int flags);
 
-        [DllImport(Libraries.NotificationEventListener, EntryPoint = "notification_get_extention_data")]
+        [DllImport(Libraries.NotificationEventListener, EntryPoint = "notification_get_extension_data")]
         internal static extern ErrorCode GetExtender(NotificationSafeHandle handle, string key, out SafeBundleHandle value);
 
         [DllImport(Libraries.NotificationEventListener, EntryPoint = "notification_clone")]
@@ -148,7 +148,7 @@ internal static partial class Interop
         internal static extern ErrorCode NotificationListFree(IntPtr list);
 
         [DllImport(Libraries.NotificationEventListener, EntryPoint = "notification_get_args")]
-        internal static extern ErrorCode GetExtentionBundle(NotificationSafeHandle handle, out IntPtr args, out IntPtr groupArgs);
+        internal static extern ErrorCode GetExtensionBundle(NotificationSafeHandle handle, out IntPtr args, out IntPtr groupArgs);
 
         [DllImport(Libraries.NotificationEventListener, EntryPoint = "notification_get_hide_timeout")]
         internal static extern ErrorCode GetHideTimeout(NotificationSafeHandle handle, out int timeout);
@@ -162,6 +162,15 @@ internal static partial class Interop
         [DllImport(Libraries.NotificationEventListener, EntryPoint = "notification_get_default_button")]
         internal static extern ErrorCode GetDefaultButton(NotificationSafeHandle handle, out int index);
 
+        [DllImport(Libraries.NotificationEventListener, EntryPoint = "notification_get_extension_event_handler")]
+        internal static extern ErrorCode GetExtensionAction(NotificationSafeHandle handle, UserEventType type, out SafeAppControlHandle appcontrol);
+
+        [DllImport(Libraries.NotificationEventListener, EntryPoint = "notification_load")]
+        internal static extern IntPtr LoadNotification(string appID, int uniqueID);
+
+        [DllImport(Libraries.NotificationEventListener, EntryPoint = "notification_get_all_count")]
+        internal static extern ErrorCode GetAllCount(NotificationType type, out int count);
+
         internal static ErrorCode GetAppId(NotificationSafeHandle handle, out string appid)
         {
             ErrorCode err;