summaryrefslogtreecommitdiff
path: root/shared/recycler.h
blob: 14aff4c0d7b9a334d59db403c93a5ffc458099ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
bgstack15