Remove boost dependency
[platform/core/appfw/app-installers.git] / src / common / mount_base.h
1 // Copyright (c) 2020 Samsung Electronics Co., Ltd All Rights Reserved
2 // Use of this source code is governed by an apache-2.0 license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMMON_MOUNT_BASE_H_
6 #define COMMON_MOUNT_BASE_H_
7
8 #include <filesystem>
9
10 #include "common/step/step.h"
11 #include "common/zip_interface.h"
12
13 namespace common_installer {
14
15 /**
16  * \brief Interface class for all mount related classes.
17  */
18 class MountBase {
19  public:
20   virtual ~MountBase() = default;
21
22  protected:
23   virtual std::unique_ptr<IZipInterface> CreateZipInterface(
24       const std::filesystem::path& mount_path) = 0;
25 };
26
27 }  // namespace common_installer
28
29 #endif  // COMMON_MOUNT_BASE_H_