1. Remove API set for domain from public API
[platform/core/api/notification.git] / include / notification_internal.h
index 79f99c5..0de1b98 100755 (executable)
@@ -356,33 +356,6 @@ NOTIFICATION_DEPRECATED_API int notification_set_pkgname(notification_h noti,
 /**
  * @internal
  * @brief This function will be deprecated.
- * @param[in] noti Notification handle
- * @param[out] pkgname Caller package name
- * @return NOTIFICATION_ERROR_NONE on success, other value on failure
- * @retval NOTIFICATION_ERROR_NONE Success
- * @retval NOTIFICATION_ERROR_INVALID_PARAMETER Invalid input value
- * @par Sample code:
- * @code
-#include <notification.h>
-...
-{
-       notification_h noti = NULL;
-       int noti_err = NOTIFICATION_ERROR_NONE;
-       char *pkgname = NULL;
-
-       noti_err  = notification_get_pkgname(noti, &pkgname);
-       if(noti_err != NOTIFICATION_ERROR_NONE) {
-               return;
-       }
-}
- * @endcode
- */
-NOTIFICATION_DEPRECATED_API int notification_get_pkgname(notification_h noti,
-                                             char **pkgname);
-
-/**
- * @internal
- * @brief This function will be deprecated.
  * @details If @a pkgname is NULL, caller_pkgname is set internally.
  * @param[in] pkgname Caller application package name or NULL
  * @param[in] type Notification type
@@ -604,33 +577,9 @@ NOTIFICATION_DEPRECATED_API int notification_get_execute_option(notification_h n
                                                     const char **text,
                                                     bundle **service_handle);
 
-/**
- * @internal
- * @brief This function sets notification property for designated package.
- * @since_tizen 2.3
- * @privlevel public
- * @privilege http://tizen.org/privilege/core/notification
- * @param[in] pkgname The name of designated package
- * @param[in] property name
- * @param[in] property value
- * @return #NOTIFICATION_ERROR_NONE if success, other value if failure
- * @see #notification_error_e
- */
-int notification_setting_property_set(const char *pkgname, const char *property, const char *value);
+int notification_set_ongoing_flag(notification_h noti, bool ongoing_flag);
 
-/**
- * @internal
- * @brief This function gets notification property for designated package.
- * @since_tizen 2.3
- * @privlevel public
- * @privilege http://tizen.org/privilege/core/notification
- * @param[in] pkgname The name of designated package
- * @param[in] property name
- * @param[in] pointer which can save the getting value
- * @return #NOTIFICATION_ERROR_NONE if success, other value if failure
- * @see #notification
- */
-int notification_setting_property_get(const char *pkgname, const char *property, char **value);
+int notification_get_ongoing_flag(notification_h noti, bool *ongoing_flag);
 
 /**
  * @}