summaryrefslogtreecommitdiff
path: root/zen/recycler.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <shieldwed@outlook.com>2017-01-09 10:54:11 +0100
committerDaniel Wilhelm <shieldwed@outlook.com>2017-01-09 10:54:11 +0100
commit6011596a2f247bde24095e985f6e2547e4b191ef (patch)
tree296003a2c8952f41b2998653ba02911ba2b83b0a /zen/recycler.h
parent8.7 (diff)
downloadFreeFileSync-6011596a2f247bde24095e985f6e2547e4b191ef.tar.gz
FreeFileSync-6011596a2f247bde24095e985f6e2547e4b191ef.tar.bz2
FreeFileSync-6011596a2f247bde24095e985f6e2547e4b191ef.zip
8.8
Diffstat (limited to 'zen/recycler.h')
-rw-r--r--zen/recycler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/zen/recycler.h b/zen/recycler.h
index 4a5f4b2b..ec2a8672 100644
--- a/zen/recycler.h
+++ b/zen/recycler.h
@@ -35,7 +35,7 @@ Already included in package "gtk+-2.0"!
//move a file or folder to Recycle Bin (deletes permanently if recycler is not available) -> crappy semantics, but we have no choice thanks to Windows' design
-bool recycleOrDelete(const Zstring& itemPath); //throw FileError, return "true" if file/dir was actually deleted
+bool recycleOrDeleteIfExists(const Zstring& itemPath); //throw FileError, return "true" if file/dir was actually deleted
#ifdef ZEN_WIN
@@ -43,8 +43,8 @@ bool recycleOrDelete(const Zstring& itemPath); //throw FileError, return "true"
//Vista and later: dirPath must exist for a valid check!
bool recycleBinExists(const Zstring& dirPath, const std::function<void ()>& onUpdateGui); //throw FileError
-void recycleOrDelete(const std::vector<Zstring>& filePaths, //throw FileError, return "true" if file/dir was actually deleted
- const std::function<void (const std::wstring& displayPath)>& onRecycleItem); //optional; currentItem may be empty
+void recycleOrDeleteIfExists(const std::vector<Zstring>& filePaths, //throw FileError
+ const std::function<void (const std::wstring& displayPath)>& onRecycleItem); //optional; currentItem may be empty
#endif
}
bgstack15