Remove boost dependency
[platform/core/appfw/app-installers.git] / src / common / step / mount / step_unmount.h
index bec722e..84fc39c 100644 (file)
@@ -7,7 +7,10 @@
 
 #include <manifest_parser/utils/logging.h>
 
+#include <filesystem>
+
 #include "common/installer_context.h"
+#include "common/mount_base.h"
 #include "common/step/step.h"
 
 namespace common_installer {
@@ -17,16 +20,21 @@ namespace mount {
  * \brief Responsible for checking existance of mount path to perform
  *
  */
-class StepUnmount : public Step {
+class StepUnmount : public MountBase, public Step {
  public:
   using Step::Step;
+  using MountBase::MountBase;
 
   Status process() override;
   Status clean() override { return Status::OK; }
   Status undo() override { return Status::OK; }
   Status precheck() override { return Status::OK; }
 
-  STEP_NAME(Unmount)
+ protected:
+  std::unique_ptr<IZipInterface> CreateZipInterface(
+      const std::filesystem::path& mount_path) override;
+
+  STEP_NAME(Unmount);
 };
 
 }  // namespace mount