1 // Copyright (c) 2016 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.
5 #ifndef COMMON_TZIP_INTERFACE_H_
6 #define COMMON_TZIP_INTERFACE_H_
8 #include <common/zip_interface.h>
14 namespace common_installer {
16 class TzipInterface : public common_installer::IZipInterface {
18 explicit TzipInterface(const std::filesystem::path& mount_path);
21 bool MountZip(const std::filesystem::path& zip_path) override;
22 bool UnmountZip() override;
26 std::unique_ptr<Pimpl> impl_;
29 } // namespace common_installer
31 #endif // COMMON_TZIP_INTERFACE_H_