diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:26:50 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:26:50 +0200 |
commit | 669df123648aaa6aeccc70206b5417bc48b4e9ae (patch) | |
tree | 463c107a8d6405020bb304f7a7253e6b64afeee0 /structures.h | |
parent | 5.18 (diff) | |
download | FreeFileSync-669df123648aaa6aeccc70206b5417bc48b4e9ae.tar.gz FreeFileSync-669df123648aaa6aeccc70206b5417bc48b4e9ae.tar.bz2 FreeFileSync-669df123648aaa6aeccc70206b5417bc48b4e9ae.zip |
5.19
Diffstat (limited to 'structures.h')
-rw-r--r-- | structures.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/structures.h b/structures.h index 5ffb5620..1d3f5d4c 100644 --- a/structures.h +++ b/structures.h @@ -31,11 +31,11 @@ enum SymLinkHandling }; -enum SyncDirection +enum class SyncDirection : unsigned char //we need to save space for use in FileSystemObject! { - SYNC_DIR_LEFT = 0, - SYNC_DIR_RIGHT, - SYNC_DIR_NONE + LEFT = 0, + RIGHT, + NONE }; @@ -104,12 +104,12 @@ std::wstring getSymbol (SyncOperation op); //method used for exporting .csv struct DirectionSet { DirectionSet() : - exLeftSideOnly (SYNC_DIR_RIGHT), - exRightSideOnly(SYNC_DIR_LEFT), - leftNewer (SYNC_DIR_RIGHT), - rightNewer (SYNC_DIR_LEFT), - different (SYNC_DIR_NONE), - conflict (SYNC_DIR_NONE) {} + exLeftSideOnly (SyncDirection::RIGHT), + exRightSideOnly(SyncDirection::LEFT), + leftNewer (SyncDirection::RIGHT), + rightNewer (SyncDirection::LEFT), + different (SyncDirection::NONE), + conflict (SyncDirection::NONE) {} SyncDirection exLeftSideOnly; SyncDirection exRightSideOnly; |