diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2020-04-02 02:59:52 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2020-04-02 02:59:52 +0200 |
| commit | 327b9ad4985a1939826746c98b44957dd4ca59ce (patch) | |
| tree | 953424b793bb0a701eb4bdbc548e976114718839 /src/cppc4group.hpp | |
| parent | 43b04d71d80d7bbc610eef1bce838cee4cf1631a (diff) | |
| download | cc4group-327b9ad4985a1939826746c98b44957dd4ca59ce.tar.gz cc4group-327b9ad4985a1939826746c98b44957dd4ca59ce.zip | |
Add cc4group.extractSingleRename
Diffstat (limited to 'src/cppc4group.hpp')
| -rw-r--r-- | src/cppc4group.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cppc4group.hpp b/src/cppc4group.hpp index 363fc91..0ca9eb1 100644 --- a/src/cppc4group.hpp +++ b/src/cppc4group.hpp @@ -160,7 +160,9 @@ public: bool saveWithWriteCallback(const WriteCallback callback, void* const arg = nullptr, size_t bufferSize = 0); bool extractAll(const std::string& path); - bool extractSingle(const std::string& entryPath, const std::string& targetPath); + + // as with save, maps either to cc4group.extractSingle or cc4group.extractSingleRename + bool extractSingle(const std::string& entryPath, const std::string& targetPath, const bool rename = true); std::optional<Data> getEntryData(const std::string& path); std::string getErrorMessage(); |
