summaryrefslogtreecommitdiff
path: root/shared/recycler.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:12:46 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:12:46 +0200
commitb338e29fd3eaf700f8c8360aa0310048ba941d54 (patch)
tree122f8ef3790d12cd10275ef7453a9e8053322d78 /shared/recycler.h
parent3.18 (diff)
downloadFreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.tar.gz
FreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.tar.bz2
FreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.zip
3.19
Diffstat (limited to 'shared/recycler.h')
-rw-r--r--shared/recycler.h14
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
bgstack15