Remove boost dependency
[platform/core/appfw/app-installers.git] / src / common / step / rds / step_rds_modify.h
index 62e01d9..f2a4ba1 100644 (file)
@@ -5,8 +5,9 @@
 #ifndef COMMON_STEP_RDS_STEP_RDS_MODIFY_H_
 #define COMMON_STEP_RDS_STEP_RDS_MODIFY_H_
 
-#include <boost/filesystem.hpp>
 #include <common/step/step.h>
+
+#include <filesystem>
 #include <string>
 #include <utility>
 #include <vector>
@@ -65,18 +66,18 @@ class StepRDSModify : public Step {
     DELETE
   };
 
-  bool AddFiles(boost::filesystem::path unzip_path,
-                boost::filesystem::path install_path);
-  bool ModifyFiles(boost::filesystem::path unzip_path,
-                   boost::filesystem::path install_path);
-  bool DeleteFiles(boost::filesystem::path install_path);
+  bool AddFiles(std::filesystem::path unzip_path,
+                std::filesystem::path install_path);
+  bool ModifyFiles(std::filesystem::path unzip_path,
+                   std::filesystem::path install_path);
+  bool DeleteFiles(std::filesystem::path install_path);
   bool SetUpTempBackupDir();
   void DeleteTempBackupDir();
   bool PerformBackup(std::string relative_path, Operation operation);
   void RestoreFiles();
 
   std::vector<std::pair<std::string, Operation>> success_modifications_;
-  boost::filesystem::path backup_temp_dir_;
+  std::filesystem::path backup_temp_dir_;
   std::vector<std::string> files_to_modify_;
   std::vector<std::string> files_to_add_;
   std::vector<std::string> files_to_delete_;