Remove boost dependency
[platform/core/appfw/app-installers.git] / src / common / zip_interface.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_ZIP_INTERFACE_H_
6 #define COMMON_ZIP_INTERFACE_H_
7
8 #include <filesystem>
9
10 namespace common_installer {
11
12 /**
13  * \brief Interface class for zip interface classes.
14  */
15 class IZipInterface {
16  public:
17   virtual ~IZipInterface() = default;
18
19   virtual bool MountZip(const std::filesystem::path& zip_path) = 0;
20   virtual bool UnmountZip() = 0;
21 };
22
23 }  // namespace common_installer
24
25 #endif  // COMMON_ZIP_INTERFACE_H_