Remove multi uninstall APIs
[platform/core/api/package-manager.git] / include / package_manager.h
index e5f5ce0..f8eff57 100644 (file)
@@ -1004,7 +1004,6 @@ int package_manager_request_install_with_cb(package_manager_request_h request,
  * @retval #PACKAGE_MANAGER_ERROR_OUT_OF_MEMORY     Out of memory
  * @retval #PACKAGE_MANAGER_ERROR_IO_ERROR          I/O error
  * @retval #PACKAGE_MANAGER_ERROR_SYSTEM_ERROR      Severe system error
- * @see package_manager_request_uninstall_packages()
  */
 int package_manager_request_install_packages(package_manager_request_h request,
                                                const char **paths,
@@ -1091,65 +1090,6 @@ int package_manager_request_uninstall_with_cb(package_manager_request_h request,
 
 /**
  * @platform
- * @brief Uninstalls the packages with the given names, asynchronously.
- * @since_tizen 6.0
- * @privlevel platform
- * @privilege %http://tizen.org/privilege/packagemanager.admin
- * @param[in]  request The request handle
- * @param[in]  names   The array of names of the package to be uninstalled
- * @param[in]  n_names The number of names in array
- * @param[out] id      The ID of the request to the package manager
- * @return @c 0 on success,
- *         otherwise a negative error value
- * @retval #PACKAGE_MANAGER_ERROR_NONE              Successful
- * @retval #PACKAGE_MANAGER_ERROR_PERMISSION_DENIED Permission denied
- * @retval #PACKAGE_MANAGER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #PACKAGE_MANAGER_ERROR_NO_SUCH_PACKAGE   No such package
- * @retval #PACKAGE_MANAGER_ERROR_OUT_OF_MEMORY     Out of memory
- * @retval #PACKAGE_MANAGER_ERROR_IO_ERROR          I/O error
- * @retval #PACKAGE_MANAGER_ERROR_SYSTEM_ERROR      Severe system error
- * @see package_manager_request_uninstall_packages()
- */
-int package_manager_request_uninstall_packages(package_manager_request_h request,
-                                               const char **names,
-                                               int n_names,
-                                               int *id);
-
-/**
- * @platform
- * @brief Uninstalls the packages with the given names, asynchronously.
- * @details The progress of the request is asynchronously received by the callback function.
- *          The @a callback is the individual callback only called for the current API call.
- *          The @a callback is the only callback called, even if another callback was set for this request
- *          with package_manager_request_set_event_cb().
- * @since_tizen 6.0
- * @privlevel platform
- * @privilege %http://tizen.org/privilege/packagemanager.admin
- * @param[in]  request   The request handle
- * @param[in]  names     The array of names of the package to be uninstalled
- * @param[in]  n_names   The number of names in array
- * @param[in]  callback  The callback function to be invoked
- * @param[in]  user_data The user data to be passed to the callback function
- * @param[out] id        The ID of the request to the package manager
- * @return @c 0 on success,
- *         otherwise a negative error value
- * @retval #PACKAGE_MANAGER_ERROR_NONE              Successful
- * @retval #PACKAGE_MANAGER_ERROR_PERMISSION_DENIED Permission denied
- * @retval #PACKAGE_MANAGER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #PACKAGE_MANAGER_ERROR_NO_SUCH_PACKAGE   No such package
- * @retval #PACKAGE_MANAGER_ERROR_OUT_OF_MEMORY     Out of memory
- * @retval #PACKAGE_MANAGER_ERROR_IO_ERROR          I/O error
- * @retval #PACKAGE_MANAGER_ERROR_SYSTEM_ERROR      Severe system error
- */
-int package_manager_request_uninstall_packages_with_cb(package_manager_request_h request,
-                                               const char **names,
-                                               int n_names,
-                                               package_manager_request_event_cb callback,
-                                               void *user_data,
-                                               int *id);
-
-/**
- * @platform
  * @brief Moves the package from SD card to the internal memory and vice versa, asynchronously.
  * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
  * @privlevel platform