summaryrefslogtreecommitdiff
path: root/lib/shadow.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:24:09 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:24:09 +0200
commit110fc5dee14fc7988f631a158e50d283446aba7a (patch)
tree7c19dfd3bdb8c4636409ec80a38c70499ac006db /lib/shadow.h
parent5.14 (diff)
downloadFreeFileSync-110fc5dee14fc7988f631a158e50d283446aba7a.tar.gz
FreeFileSync-110fc5dee14fc7988f631a158e50d283446aba7a.tar.bz2
FreeFileSync-110fc5dee14fc7988f631a158e50d283446aba7a.zip
5.15
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