Remove boost dependency
[platform/core/appfw/app-installers.git] / src / common / security_registration.h
index cf0ed35..d4274b9 100644 (file)
@@ -5,10 +5,9 @@
 #ifndef COMMON_SECURITY_REGISTRATION_H_
 #define COMMON_SECURITY_REGISTRATION_H_
 
-#include <boost/filesystem/path.hpp>
-
 #include <sys/types.h>
 
+#include <filesystem>
 #include <string>
 #include <vector>
 
@@ -85,7 +84,7 @@ bool UnregisterSecurityContextForPkgId(const std::string& pkg_id,
  * \return true if success
  */
 bool RegisterSecurityContextForPath(const std::string &pkg_id,
-    const std::string& pkg_type, const boost::filesystem::path& path,
+    const std::string& pkg_type, const std::filesystem::path& path,
     uid_t uid, bool is_readonly_pkg, std::string* error_message);
 
 /**
@@ -103,10 +102,10 @@ bool RegisterSecurityContextForPath(const std::string &pkg_id,
  * \return true if success
  */
 bool RegisterSecurityContextForPathExternalOnly(const std::string &pkg_id,
-    const std::string &pkg_type, const boost::filesystem::path& path,
+    const std::string &pkg_type, const std::filesystem::path& path,
     uid_t uid, std::string* error_message);
 
-bool HasOwnerRwOtherRoPaths(const boost::filesystem::path& path);
+bool HasOwnerRwOtherRoPaths(const std::filesystem::path& path);
 
 }  // namespace common_installer