summaryrefslogtreecommitdiff
path: root/bin/bbackupquery/BoxBackupCompareParams.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2008-12-31 14:37:40 +0000
committerChris Wilson <chris+github@qwirx.com>2008-12-31 14:37:40 +0000
commit18e050f41b86a25af014661939a495397e53b6a5 (patch)
tree01aad945bba33a33d1aa7d1ef390944bfa2cf9c7 /bin/bbackupquery/BoxBackupCompareParams.h
parent8b5d8725cc27a458a3fa9164fd8d6900cc8a8087 (diff)
Compare interface tweaks to reduce the number of methods.
Diffstat (limited to 'bin/bbackupquery/BoxBackupCompareParams.h')
-rw-r--r--bin/bbackupquery/BoxBackupCompareParams.h22
1 files changed, 10 insertions, 12 deletions
diff --git a/bin/bbackupquery/BoxBackupCompareParams.h b/bin/bbackupquery/BoxBackupCompareParams.h
index f9727122..d8c50fc3 100644
--- a/bin/bbackupquery/BoxBackupCompareParams.h
+++ b/bin/bbackupquery/BoxBackupCompareParams.h
@@ -71,10 +71,6 @@ public:
const std::string& rRemotePath) = 0;
virtual void NotifyStoreDirMissingAttributes(const std::string& rLocalPath,
const std::string& rRemotePath) = 0;
- virtual void NotifyDifferentAttributes(const std::string& rLocalPath,
- const std::string& rRemotePath,
- bool modifiedAfterLastSync,
- bool newAttributesApplied) = 0;
virtual void NotifyRemoteFileMissing(const std::string& rLocalPath,
const std::string& rRemotePath,
bool modifiedAfterLastSync) = 0;
@@ -82,23 +78,25 @@ public:
const std::string& rRemotePath) = 0;
virtual void NotifyExcludedFileNotDeleted(const std::string& rLocalPath,
const std::string& rRemotePath) = 0;
- virtual void NotifyDifferentContents(const std::string& rLocalPath,
- const std::string& rRemotePath,
- bool modifiedAfterLastSync) = 0;
virtual void NotifyDownloadFailed(const std::string& rLocalPath,
- const std::string& rRemotePath,
+ const std::string& rRemotePath, int64_t NumBytes,
BoxException& rException) = 0;
virtual void NotifyDownloadFailed(const std::string& rLocalPath,
- const std::string& rRemotePath,
+ const std::string& rRemotePath, int64_t NumBytes,
std::exception& rException) = 0;
virtual void NotifyDownloadFailed(const std::string& rLocalPath,
- const std::string& rRemotePath) = 0;
+ const std::string& rRemotePath, int64_t NumBytes) = 0;
virtual void NotifyExcludedFile(const std::string& rLocalPath,
const std::string& rRemotePath) = 0;
virtual void NotifyExcludedDir(const std::string& rLocalPath,
const std::string& rRemotePath) = 0;
- virtual void NotifyFileCompareOK(const std::string& rLocalPath,
- const std::string& rRemotePath) = 0;
+ virtual void NotifyDirCompared(const std::string& rLocalPath,
+ const std::string& rRemotePath, bool HasDifferentAttributes,
+ bool modifiedAfterLastSync) = 0;
+ virtual void NotifyFileCompared(const std::string& rLocalPath,
+ const std::string& rRemotePath, int64_t NumBytes,
+ bool HasDifferentAttributes, bool HasDifferentContents,
+ bool modifiedAfterLastSync, bool newAttributesApplied) = 0;
};
#endif // BOXBACKUPCOMPAREPARAMS__H