summaryrefslogtreecommitdiff
path: root/structures.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:26:50 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:26:50 +0200
commit669df123648aaa6aeccc70206b5417bc48b4e9ae (patch)
tree463c107a8d6405020bb304f7a7253e6b64afeee0 /structures.cpp
parent5.18 (diff)
downloadFreeFileSync-669df123648aaa6aeccc70206b5417bc48b4e9ae.tar.gz
FreeFileSync-669df123648aaa6aeccc70206b5417bc48b4e9ae.tar.bz2
FreeFileSync-669df123648aaa6aeccc70206b5417bc48b4e9ae.zip
5.19
Diffstat (limited to 'structures.cpp')
-rw-r--r--structures.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/structures.cpp b/structures.cpp
index 1bcfd580..3bc2c181 100644
--- a/structures.cpp
+++ b/structures.cpp
@@ -55,21 +55,21 @@ DirectionSet zen::extractDirections(const DirectionConfig& cfg)
throw std::logic_error("there are no predefined directions for automatic mode!");
case DirectionConfig::MIRROR:
- output.exLeftSideOnly = SYNC_DIR_RIGHT;
- output.exRightSideOnly = SYNC_DIR_RIGHT;
- output.leftNewer = SYNC_DIR_RIGHT;
- output.rightNewer = SYNC_DIR_RIGHT;
- output.different = SYNC_DIR_RIGHT;
- output.conflict = SYNC_DIR_RIGHT;
+ output.exLeftSideOnly = SyncDirection::RIGHT;
+ output.exRightSideOnly = SyncDirection::RIGHT;
+ output.leftNewer = SyncDirection::RIGHT;
+ output.rightNewer = SyncDirection::RIGHT;
+ output.different = SyncDirection::RIGHT;
+ output.conflict = SyncDirection::RIGHT;
break;
case DirectionConfig::UPDATE:
- output.exLeftSideOnly = SYNC_DIR_RIGHT;
- output.exRightSideOnly = SYNC_DIR_NONE;
- output.leftNewer = SYNC_DIR_RIGHT;
- output.rightNewer = SYNC_DIR_NONE;
- output.different = SYNC_DIR_RIGHT;
- output.conflict = SYNC_DIR_NONE;
+ output.exLeftSideOnly = SyncDirection::RIGHT;
+ output.exRightSideOnly = SyncDirection::NONE;
+ output.leftNewer = SyncDirection::RIGHT;
+ output.rightNewer = SyncDirection::NONE;
+ output.different = SyncDirection::RIGHT;
+ output.conflict = SyncDirection::NONE;
break;
case DirectionConfig::CUSTOM:
@@ -83,12 +83,12 @@ DirectionSet zen::extractDirections(const DirectionConfig& cfg)
DirectionSet zen::getTwoWaySet()
{
DirectionSet output;
- output.exLeftSideOnly = SYNC_DIR_RIGHT;
- output.exRightSideOnly = SYNC_DIR_LEFT;
- output.leftNewer = SYNC_DIR_RIGHT;
- output.rightNewer = SYNC_DIR_LEFT;
- output.different = SYNC_DIR_NONE;
- output.conflict = SYNC_DIR_NONE;
+ output.exLeftSideOnly = SyncDirection::RIGHT;
+ output.exRightSideOnly = SyncDirection::LEFT;
+ output.leftNewer = SyncDirection::RIGHT;
+ output.rightNewer = SyncDirection::LEFT;
+ output.different = SyncDirection::NONE;
+ output.conflict = SyncDirection::NONE;
return output;
}
bgstack15