diff options
Diffstat (limited to 'shared/recycler.h')
-rw-r--r-- | shared/recycler.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/shared/recycler.h b/shared/recycler.h index 85df6f41..da6e3123 100644 --- a/shared/recycler.h +++ b/shared/recycler.h @@ -30,10 +30,20 @@ Linker flag: `pkg-config --libs gtkmm-2.4` */ -bool recycleBinExists(); //test existence of Recycle Bin API on current system - //move a file or folder to Recycle Bin bool moveToRecycleBin(const Zstring& fileToDelete); //return "true" if file/dir was actually deleted; throw (FileError) + + +#ifdef FFS_WIN +enum StatusRecycler +{ + STATUS_REC_EXISTS, + STATUS_REC_MISSING, + STATUS_REC_UNKNOWN +}; + +StatusRecycler recycleBinExists(const Zstring& pathName); //test existence of Recycle Bin API for certain path +#endif } #endif // RECYCLER_H_INCLUDED |