patch manager: Allow partial patch file import

This commit is contained in:
Megamouse 2020-06-19 21:48:59 +02:00
parent cd4ed11700
commit 5affc459a2
3 changed files with 31 additions and 19 deletions

View file

@ -109,7 +109,7 @@ public:
static bool save_patches(const patch_map& patches, const std::string& path, std::stringstream* log_messages = nullptr);
// Create or append patches to a file
static bool import_patches(const patch_map& patches, const std::string& path, std::stringstream* log_messages = nullptr);
static bool import_patches(const patch_map& patches, const std::string& path, size_t& count, size_t& total, std::stringstream* log_messages = nullptr);
// Remove a patch from a file
static bool remove_patch(const patch_info& info);