From 327b9ad4985a1939826746c98b44957dd4ca59ce Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Thu, 2 Apr 2020 02:59:52 +0200 Subject: Add cc4group.extractSingleRename --- src/cppc4group.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/cppc4group.hpp') 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 getEntryData(const std::string& path); std::string getErrorMessage(); -- cgit v1.2.3-54-g00ecf