summaryrefslogtreecommitdiffstats
path: root/src/cppc4group.hpp
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2020-04-02 02:59:52 +0200
committerMarkus Mittendrein <git@maxmitti.tk>2020-04-02 02:59:52 +0200
commit327b9ad4985a1939826746c98b44957dd4ca59ce (patch)
tree953424b793bb0a701eb4bdbc548e976114718839 /src/cppc4group.hpp
parent43b04d71d80d7bbc610eef1bce838cee4cf1631a (diff)
downloadcc4group-327b9ad4985a1939826746c98b44957dd4ca59ce.tar.gz
cc4group-327b9ad4985a1939826746c98b44957dd4ca59ce.zip
Add cc4group.extractSingleRename
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();