summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKyuho Jo <kyuho.jo@samsung.com>2015-06-04 15:28:40 +0900
committerKyuho Jo <kyuho.jo@samsung.com>2015-06-04 15:28:40 +0900
commit45110c2bc1867e8838fb697a2d451a3b199a081f (patch)
tree1f281be6eb901f1d7a8f1545cebe77b60c0bfc6a /include
parent2e9a7c80983e0a03b735648d7af3d5c0ccb6f0dd (diff)
downloadnotification-submit/tizen/20150604.103646.tar.gz
notification-submit/tizen/20150604.103646.tar.bz2
notification-submit/tizen/20150604.103646.zip
Change-Id: Iedd09b4b5833007284c59df86dff7e3e367412e7 Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/notification.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/notification.h b/include/notification.h
index cac2a5d..827f378 100644
--- a/include/notification.h
+++ b/include/notification.h
@@ -1420,6 +1420,29 @@ int notification_get_permission(notification_h noti, notification_permission_typ
*/
int notification_get_pkgname(notification_h noti, char **pkgname);
+
+/* For backward compatibility */
+/**
+ * @brief Wait for a response coming for this notification
+ * @details The notification should have the EXECUTE_TYPE_RESPONDING flag
+ * @remarks
+ * @param[in] noti notification handle
+ * @param[in] timeout in seconds - 0 for infinite
+ * @param[out] integer response
+ * @param[out] text response
+ * @return NOTIFICATION_ERROR_NONE if success, other value if failure
+ * @retval NOTIFICATION_ERROR_NONE - success
+ * @retval NOTIFICATION_ERROR_INVALID_PARAMETER - invalid parameter
+ * @retval NOTIFICATION_ERROR_OUT_OF_MEMORY - not enough memory
+ * @pre notification handle should be created by notification_new().
+ * @post
+ * @see
+ */
+int notification_wait_response(notification_h noti,
+ int timeout,
+ int *respi,
+ char **respc);
+
/**
* @}
*/