diff options
author | Kyuho Jo <kyuho.jo@samsung.com> | 2015-06-04 15:28:40 +0900 |
---|---|---|
committer | Kyuho Jo <kyuho.jo@samsung.com> | 2015-06-04 15:28:40 +0900 |
commit | 45110c2bc1867e8838fb697a2d451a3b199a081f (patch) | |
tree | 1f281be6eb901f1d7a8f1545cebe77b60c0bfc6a /include | |
parent | 2e9a7c80983e0a03b735648d7af3d5c0ccb6f0dd (diff) | |
download | notification-submit/tizen/20150604.103646.tar.gz notification-submit/tizen/20150604.103646.tar.bz2 notification-submit/tizen/20150604.103646.zip |
Rollback 'notification_wait_response' for backward compatibilitysubmit/tizen_wearble/20150612.084038submit/tizen_wearable/20150616.000000submit/tizen_tv/20150612.084103submit/tizen_mobile/20150612.084020submit/tizen_mobile/20150609.015041submit/tizen_mobile/20150604.105928submit/tizen_mobile/20150604.063436submit/tizen_3.0.2015.q2_common/20150615.075539submit/tizen/20150611.063059submit/tizen/20150609.074149submit/tizen/20150609.020831submit/tizen/20150604.103646accepted/tizen/wearable/20150617.012828accepted/tizen/tv/20150615.071239accepted/tizen/mobile/20150615.071214accepted/tizen/common/20150612.065854accepted/tizen/3.0.2015.q2/common/20150615.091743
Change-Id: Iedd09b4b5833007284c59df86dff7e3e367412e7
Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/notification.h | 23 |
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); + /** * @} */ |