| 1 | // SPDX-License-Identifier: GPL-3.0-or-latercxx . . $ `<file>/src/core/ccpro/zipdatasource.h`/ |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include "core/idatasource.h"cxx . . $ `<file>/src/core/idatasource.h`/ |
| 7 | #include <filesystem> |
| 8 | #include <string> |
| 9 | #include <vector> |
| 10 | |
| 11 | class ZipDataSourcecxx . . $ ZipDataSource# final |
| 12 | : public IDataSourcecxx . . $ IDataSource#<stdcxx . . $ std/::stringcxx . . $ std/string# const, stdcxx . . $ std/::vectorcxx . . $ std/vector#<char>> |
| 13 | { |
| 14 | public: |
| 15 | ZipDataSourcecxx . . $ ZipDataSource#ZipDataSource(769d1bd79eb25b11).(stdcxx . . $ std/::filesystemcxx . . $ std/filesystem/::pathcxx . . $ std/filesystem/__cxx11/path# const &path) noexcept; |
| 16 | |
| 17 | stdcxx . . $ std/::stringcxx . . $ std/string# sourcecxx . . $ ZipDataSource#source(219584694fe2b248).() const override; |
| 18 | bool readcxx . . $ ZipDataSource#read(6cf0d5dcdcb5ad06).(stdcxx . . $ std/::stringcxx . . $ std/string# const &internalBundleDataPath, |
| 19 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<char> &data) override; |
| 20 | |
| 21 | private: |
| 22 | stdcxx . . $ std/::filesystemcxx . . $ std/filesystem/::pathcxx . . $ std/filesystem/__cxx11/path# const path_cxx . . $ ZipDataSource#path_.; |
| 23 | }; |