Remove boost dependency
[platform/core/appfw/app-installers.git] / src / common / pkgmgr_registration.h
index 6e9d21a..8604e23 100644 (file)
@@ -5,10 +5,10 @@
 #ifndef COMMON_PKGMGR_REGISTRATION_H_
 #define COMMON_PKGMGR_REGISTRATION_H_
 
-#include <boost/filesystem.hpp>
 #include <pkgmgr-info.h>
 #include <unistd.h>
 
+#include <filesystem>
 #include <string>
 
 #include "common/installer_context.h"
@@ -33,7 +33,7 @@ bool RegisterAppInPkgmgr(manifest_x* manifest,
                          uid_t uid,
                          Storage storage,
                          RequestMode request_mode,
-                         const boost::filesystem::path& tep_path);
+                         const std::filesystem::path& tep_path);
 
 /**
  * \brief Adapter interface for external PkgMgr module used for upgrading
@@ -95,7 +95,7 @@ bool UnregisterAppInPkgmgr(manifest_x* manifest,
  *
  * \return true if success
  */
-bool UpdateTepInfoInPkgmgr(const boost::filesystem::path& tep_path,
+bool UpdateTepInfoInPkgmgr(const std::filesystem::path& tep_path,
                            const std::string& pkgid,
                            uid_t uid,
                            RequestMode request_mode);
@@ -112,7 +112,7 @@ bool UpdateTepInfoInPkgmgr(const boost::filesystem::path& tep_path,
  * \return true if success
  */
 bool UpdateInstalledStorageInPkgmgr(Storage storage,
-                                    const boost::filesystem::path& ext_path,
+                                    const std::filesystem::path& ext_path,
                                     const std::string& pkgid,
                                     uid_t uid);