diff options
Diffstat (limited to 'zen/recycler.h')
-rw-r--r-- | zen/recycler.h | 6 |
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 } |