summaryrefslogtreecommitdiff
path: root/structures.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:17:51 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:17:51 +0200
commit237aedc590b58c0e69d7dfcac92b5f767b7c004a (patch)
tree83f361a82ba483f2daf83b677e8685cd953812d9 /structures.h
parent4.5 (diff)
downloadFreeFileSync-237aedc590b58c0e69d7dfcac92b5f767b7c004a.tar.gz
FreeFileSync-237aedc590b58c0e69d7dfcac92b5f767b7c004a.tar.bz2
FreeFileSync-237aedc590b58c0e69d7dfcac92b5f767b7c004a.zip
4.6
Diffstat (limited to 'structures.h')
-rw-r--r--structures.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/structures.h b/structures.h
index 046b719e..21fbc18e 100644
--- a/structures.h
+++ b/structures.h
@@ -34,7 +34,7 @@ enum SymLinkHandling
enum SyncDirection
{
- SYNC_DIR_LEFT = 0,
+ SYNC_DIR_LEFT = 0,
SYNC_DIR_RIGHT,
SYNC_DIR_NONE
};
@@ -386,6 +386,8 @@ struct MainConfiguration
FolderPairEnh firstPair; //there needs to be at least one pair!
std::vector<FolderPairEnh> additionalPairs;
+ std::wstring onCompletion; //user-defined command line
+
std::wstring getCompVariantName() const;
std::wstring getSyncVariantName() const;
};
@@ -394,11 +396,12 @@ struct MainConfiguration
inline
bool operator==(const MainConfiguration& lhs, const MainConfiguration& rhs)
{
- return lhs.cmpConfig == rhs.cmpConfig &&
- lhs.globalFilter == rhs.globalFilter &&
- lhs.syncCfg == rhs.syncCfg &&
- lhs.firstPair == rhs.firstPair &&
- lhs.additionalPairs == rhs.additionalPairs;
+ return lhs.cmpConfig == rhs.cmpConfig &&
+ lhs.globalFilter == rhs.globalFilter &&
+ lhs.syncCfg == rhs.syncCfg &&
+ lhs.firstPair == rhs.firstPair &&
+ lhs.additionalPairs == rhs.additionalPairs &&
+ lhs.onCompletion == rhs.onCompletion;
}
//facilitate drag & drop config merge:
bgstack15