summaryrefslogtreecommitdiff
path: root/lib/shadow.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/shadow.h')
-rw-r--r--lib/shadow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/shadow.h b/lib/shadow.h
index cbe40dbb..4a05c860 100644
--- a/lib/shadow.h
+++ b/lib/shadow.h
@@ -9,6 +9,7 @@
#include <map>
#include <memory>
+#include <functional>
#include <zen/zstring.h>
#include <zen/file_error.h>
@@ -20,7 +21,7 @@ class ShadowCopy //take and buffer Windows Volume Shadow Copy snapshots as neede
public:
ShadowCopy() {}
- Zstring makeShadowCopy(const Zstring& inputFile); //throw FileError; returns filename on shadow copy
+ Zstring makeShadowCopy(const Zstring& inputFile, const std::function<void(const Zstring&)>& onBeforeMakeVolumeCopy); //throw FileError; returns filename on shadow copy
private:
ShadowCopy(const ShadowCopy&);
bgstack15