summaryrefslogtreecommitdiff
path: root/structures.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 /structures.h
parent3.18 (diff)
downloadFreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.tar.gz
FreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.tar.bz2
FreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.zip
3.19
Diffstat (limited to 'structures.h')
-rw-r--r--structures.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/structures.h b/structures.h
index de2e8149..500cf784 100644
--- a/structures.h
+++ b/structures.h
@@ -10,7 +10,6 @@
#include <wx/string.h>
#include <vector>
#include "shared/zstring.h"
-#include "shared/system_constants.h"
#include "shared/assert_static.h"
#include <memory>
#include "shared/int64.h"
@@ -50,9 +49,9 @@ enum CompareFilesResult
//attention make sure these /|\ \|/ three enums match!!!
enum CompareDirResult
{
- DIR_LEFT_SIDE_ONLY = FILE_LEFT_SIDE_ONLY,
- DIR_RIGHT_SIDE_ONLY = FILE_RIGHT_SIDE_ONLY,
- DIR_EQUAL = FILE_EQUAL,
+ DIR_LEFT_SIDE_ONLY = FILE_LEFT_SIDE_ONLY,
+ DIR_RIGHT_SIDE_ONLY = FILE_RIGHT_SIDE_ONLY,
+ DIR_EQUAL = FILE_EQUAL,
DIR_DIFFERENT_METADATA = FILE_DIFFERENT_METADATA //both sides equal, but different metadata only
};
@@ -335,13 +334,16 @@ struct MainConfiguration
compareVar(CMP_BY_TIME_SIZE),
handleSymlinks(SYMLINK_IGNORE),
#ifdef FFS_WIN
- globalFilter(Zstr("*"), Zstr("\
+ globalFilter(Zstr("*"),
+ Zstr("\
\\System Volume Information\\\n\
-\\RECYCLER\\\n\
\\RECYCLED\\\n\
-\\$Recycle.Bin\\")), //exclude Recycle Bin
+\\RECYCLER\\\n\
+\\$Recycle.Bin\\")),
#elif defined FFS_LINUX
- //exclude nothing
+ globalFilter(Zstr("*"),
+ Zstr("/.Trash-*/\n\
+ /.recycle/")),
#endif
handleDeletion(MOVE_TO_RECYCLE_BIN) {}
bgstack15