diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:04:59 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:04:59 +0200 |
commit | f570e2f2685aa43aa518c2f8578391c1847cddbe (patch) | |
tree | b9376b3a7e807c5e0c4cf3d5615c14034d9675d6 /shared/recycler.h | |
parent | 3.2 (diff) | |
download | FreeFileSync-f570e2f2685aa43aa518c2f8578391c1847cddbe.tar.gz FreeFileSync-f570e2f2685aa43aa518c2f8578391c1847cddbe.tar.bz2 FreeFileSync-f570e2f2685aa43aa518c2f8578391c1847cddbe.zip |
3.3
Diffstat (limited to 'shared/recycler.h')
-rw-r--r-- | shared/recycler.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/shared/recycler.h b/shared/recycler.h new file mode 100644 index 00000000..14aff4c0 --- /dev/null +++ b/shared/recycler.h @@ -0,0 +1,21 @@ +#ifndef RECYCLER_H_INCLUDED +#define RECYCLER_H_INCLUDED + +#include "fileError.h" +#include "zstring.h" +#include <vector> + +#ifndef FFS_WIN +use in windows build only! +#endif + + +namespace FreeFileSync +{ +//single-file processing +void moveToWindowsRecycler(const Zstring& fileToDelete); //throw (FileError) +//multi-file processing: about a factor of 15 faster than single-file +void moveToWindowsRecycler(const std::vector<Zstring>& filesToDelete); //throw (FileError) -> on error reports about first file only! +} + +#endif // RECYCLER_H_INCLUDED |