Update document of notification-ex manager 29/232529/1
authormk5004.lee <mk5004.lee@samsung.com>
Wed, 6 May 2020 06:36:02 +0000 (15:36 +0900)
committermk5004.lee <mk5004.lee@samsung.com>
Wed, 6 May 2020 06:36:02 +0000 (15:36 +0900)
Change-Id: I060ea44618d30b292dfaac7090dcd05edbb60dbe
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
notification-ex/api/notification_ex_manager.h
notification-ex/stub.cc

index c66bed7..606e75c 100644 (file)
@@ -389,7 +389,7 @@ int noti_ex_manager_update(noti_ex_manager_h handle, noti_ex_item_h item,
  * @privlevel partner
  * @privilege %http://tizen.org/privilege/notification.admin
  * @param[in] handle The notification manager handle
- * @param[in] noti The notification item to be updated
+ * @param[in] noti The notification item to be deleted
  * @param[out] request_id The id of request
  * @return #NOTI_EX_ERROR_NONE On success, other value on failure
  * @retval #NOTI_EX_ERROR_NONE Success
@@ -618,7 +618,7 @@ int noti_ex_manager_send_error(noti_ex_manager_h handle,
  * @privlevel partner
  * @privilege %http://tizen.org/privilege/notification.admin
  * @param[in] handle The notification manager handle
- * @param[out] cnt The count of notifications
+ * @param[out] count The count of notifications
  * @return #NOTI_EX_ERROR_NONE On success, other value on failure
  * @retval #NOTI_EX_ERROR_NONE Success
  * @retval #NOTI_EX_ERROR_PERMISSION_DENIED Permission deny
@@ -649,7 +649,7 @@ void _manager_events_error_cb(noti_ex_manager_h handle, noti_ex_error_e error,
 }
  * @endcode
  */
-int noti_ex_manager_get_notification_count(noti_ex_manager_h handle, int *cnt);
+int noti_ex_manager_get_notification_count(noti_ex_manager_h handle, int *count);
 
 /**
  * @}
index 8f5db3f..dd8f1f0 100644 (file)
@@ -2874,15 +2874,14 @@ extern "C" EXPORT_API int noti_ex_manager_send_error(noti_ex_manager_h handle,
 }
 
 extern "C" EXPORT_API int noti_ex_manager_get_notification_count(
-    noti_ex_manager_h handle, int *cnt) {
-
-  if (handle == nullptr || cnt == nullptr) {
+    noti_ex_manager_h handle, int *count) {
+  if (handle == nullptr || count == nullptr) {
     LOGE("Invalid parameter");
     return NOTI_EX_ERROR_INVALID_PARAMETER;
   }
   try {
     ManagerStub* stub = static_cast<ManagerStub*>(handle);
-    *cnt = stub->GetCount();
+    *count = stub->GetCount();
   } catch (Exception &ex) {
     LOGE("%s %d", ex.what(), ex.GetErrorCode());
     return NOTI_EX_ERROR_IO_ERROR;