summaryrefslogtreecommitdiffstats
path: root/src/cppc4group.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cppc4group.hpp')
-rw-r--r--src/cppc4group.hpp4
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();