// SPDX-License-Identifier: GPL-3.0-or-later // Copyright 2019 Juan Palacios #pragma once #include "core/idatasource.h" #include #include #include class ZipDataSource final : public IDataSource> { public: ZipDataSource(std::filesystem::path const &path) noexcept; std::string source() const override; bool read(std::string const &internalBundleDataPath, std::vector &data) override; private: std::filesystem::path const path_; };