#ifndef COMMON_INSTALLER_CONTEXT_H_
#define COMMON_INSTALLER_CONTEXT_H_
-#include <boost/filesystem/path.hpp>
-
#include <pkgmgr_parser.h>
#include <unistd.h>
#include <sys/types.h>
#include <vcore/Certificate.h>
+#include <filesystem>
#include <memory>
#include <string>
#include <utility>
* \param path path of recovery file to be created
* \param recovery_cleanup path of recovery file to be created
*/
- explicit RecoveryInfo(const boost::filesystem::path& path,
+ explicit RecoveryInfo(const std::filesystem::path& path,
bool recovery_cleanup = false)
: filepath(path), cleanup(recovery_cleanup) {
}
std::unique_ptr<recovery::RecoveryFile> recovery_file;
/** path of recovery file to be created */
- boost::filesystem::path filepath;
+ std::filesystem::path filepath;
/** cleanup flag delivered by global recovery file */
bool cleanup;
/**
* \brief Returns package directory path containing app data
*/
- inline boost::filesystem::path GetPkgPath() const {
+ inline std::filesystem::path GetPkgPath() const {
return root_application_path.get() / pkgid.get();
}
/**
* \brief path to xml platform manifest which was generated according
* to maniest_data content */
- Property<boost::filesystem::path> xml_path;
+ Property<std::filesystem::path> xml_path;
/**
* \brief path to backup xml platform manifest which was generated
* according to old_maniest_data content (needed for rollback
* operations)
*/
- Property<boost::filesystem::path> backup_xml_path;
+ Property<std::filesystem::path> backup_xml_path;
/**
* \brief file path used for installation or reinstallation process
*/
- Property<boost::filesystem::path> file_path;
+ Property<std::filesystem::path> file_path;
/**
* \brief tep file path used for TEP installation process
*/
- Property<boost::filesystem::path> tep_path;
+ Property<std::filesystem::path> tep_path;
/**
* \brief boolean property that indicates tep file should be moved or not
* \brief path to temporary directory when package files are unpacked
* before coping them to final destination
*/
- Property<boost::filesystem::path> unpacked_dir_path;
+ Property<std::filesystem::path> unpacked_dir_path;
/**
* \brief uid of user which installation was triggered for
* (${TZ_USER_HOME}/${USER}/apps_rw/) or
* tizenglobalapp user (${TZ_SYS_RO_APP} or ${TZ_SYS_RW_APP})
*/
- Property<boost::filesystem::path> root_application_path;
+ Property<std::filesystem::path> root_application_path;
/**
* \brief "void*-like" structure to store backend specific