summaryrefslogtreecommitdiff
path: root/algorithm.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:20:50 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:20:50 +0200
commit7e706cf64654aea466c059c307e5723e2423ed5d (patch)
treee85f0d28d7c81b6d21419fc38e1a654cca2212b1 /algorithm.h
parent5.5 (diff)
downloadFreeFileSync-7e706cf64654aea466c059c307e5723e2423ed5d.tar.gz
FreeFileSync-7e706cf64654aea466c059c307e5723e2423ed5d.tar.bz2
FreeFileSync-7e706cf64654aea466c059c307e5723e2423ed5d.zip
5.6
Diffstat (limited to 'algorithm.h')
-rw-r--r--algorithm.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/algorithm.h b/algorithm.h
index 66203ec7..c2621ec0 100644
--- a/algorithm.h
+++ b/algorithm.h
@@ -52,7 +52,8 @@ public:
IGNORE_ERROR = 10,
RETRY
};
- virtual Response reportError(const std::wstring& errorMessage) = 0;
+ virtual Response reportError (const std::wstring& msg) = 0;
+ virtual void reportWarning(const std::wstring& msg, bool& warningActive) = 0;
//virtual void totalFilesToDelete(int objectsTotal) = 0; //informs about the total number of files to be deleted
virtual void notifyDeletion(const Zstring& currentObject) = 0; //called for each file/folder that has been deleted
@@ -63,7 +64,9 @@ void deleteFromGridAndHD(const std::vector<FileSystemObject*>& rowsToDeleteOnLef
const std::vector<DirectionConfig>& directCfgs,
bool deleteOnBothSides,
bool useRecycleBin,
- DeleteFilesHandler& statusHandler);
+ DeleteFilesHandler& statusHandler,
+ //global warnings:
+ bool& warningRecyclerMissing);
}
#endif // ALGORITHM_H_INCLUDED
bgstack15