summaryrefslogtreecommitdiff
path: root/zen/recycler.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/recycler.h')
-rw-r--r--zen/recycler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/zen/recycler.h b/zen/recycler.h
index 4d33477d..8aca0ff3 100644
--- a/zen/recycler.h
+++ b/zen/recycler.h
@@ -42,13 +42,14 @@ enum StatusRecycler
STATUS_REC_UNKNOWN
};
StatusRecycler recycleBinStatus(const Zstring& pathName); //test existence of Recycle Bin API for certain path
+//Win: blocks heavily if recycle bin is really full and drive is slow!!!
struct CallbackRecycling
{
virtual ~CallbackRecycling() {}
//may throw: first exception is swallowed, updateStatus() is then called again where it should throw again and the exception will propagate as expected
- virtual void updateStatus(const Zstring& currentItem) = 0;
+ virtual void updateStatus(const Zstring& currentItem) = 0; //currentItem may be empty
};
void recycleOrDelete(const std::vector<Zstring>& filenames, //throw FileError, return "true" if file/dir was actually deleted
bgstack15