summaryrefslogtreecommitdiff
path: root/shared/shadow.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:12:46 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:12:46 +0200
commitb338e29fd3eaf700f8c8360aa0310048ba941d54 (patch)
tree122f8ef3790d12cd10275ef7453a9e8053322d78 /shared/shadow.h
parent3.18 (diff)
downloadFreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.tar.gz
FreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.tar.bz2
FreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.zip
3.19
Diffstat (limited to 'shared/shadow.h')
-rw-r--r--shared/shadow.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/shared/shadow.h b/shared/shadow.h
index 05748fd7..edea4377 100644
--- a/shared/shadow.h
+++ b/shared/shadow.h
@@ -19,18 +19,10 @@ use in windows build only!
namespace shadow
{
-struct WaitingForShadow
-{
- virtual ~WaitingForShadow() {}
- virtual void requestUiRefresh() = 0; //allowed to throw exceptions
- virtual void reportInfo(const Zstring& text) = 0;
-};
-
-
class ShadowCopy //buffer access to Windows Volume Shadow Copy Service
{
public:
- ShadowCopy(WaitingForShadow* callback);
+ ShadowCopy() {}
Zstring makeShadowCopy(const Zstring& inputFile); //throw(FileError); returns filename on shadow copy
@@ -38,8 +30,6 @@ private:
ShadowCopy(const ShadowCopy&);
ShadowCopy& operator=(const ShadowCopy&);
- WaitingForShadow* callback_;
-
class ShadowVolume;
typedef std::map<Zstring, std::shared_ptr<ShadowVolume>, LessFilename> VolNameShadowMap;
VolNameShadowMap shadowVol;
bgstack15