summaryrefslogtreecommitdiff
path: root/lib/process_xml.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:22:55 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:22:55 +0200
commitc4182431ac7d9d306fdd2267e082fa4cec6fec2c (patch)
tree865cca543c062b7af2586f85cee19f9af4e7614d /lib/process_xml.h
parent5.11 (diff)
downloadFreeFileSync-c4182431ac7d9d306fdd2267e082fa4cec6fec2c.tar.gz
FreeFileSync-c4182431ac7d9d306fdd2267e082fa4cec6fec2c.tar.bz2
FreeFileSync-c4182431ac7d9d306fdd2267e082fa4cec6fec2c.zip
5.12
Diffstat (limited to 'lib/process_xml.h')
-rw-r--r--lib/process_xml.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/lib/process_xml.h b/lib/process_xml.h
index 29237081..d0396d6e 100644
--- a/lib/process_xml.h
+++ b/lib/process_xml.h
@@ -112,6 +112,18 @@ enum FileIconSize
};
+struct ViewFilterDefault
+{
+ ViewFilterDefault() : equal(false)
+ {
+ leftOnly = rightOnly = leftNewer = rightNewer = different = conflict = true;
+ createLeft = createRight = updateLeft = updateRight = deleteLeft = deleteRight = doNothing = true;
+ }
+ bool equal;
+ bool leftOnly, rightOnly, leftNewer, rightNewer, different, conflict; //category view
+ bool createLeft, createRight, updateLeft, updateRight, deleteLeft, deleteRight, doNothing; //action view
+};
+
wxString getGlobalConfigFile();
struct XmlGlobalSettings
@@ -161,7 +173,7 @@ struct XmlGlobalSettings
cfgFileHistMax(30),
folderHistMax(15),
onCompletionHistoryMax(8),
- deleteOnBothSides(false),
+ //deleteOnBothSides(false),
useRecyclerForManualDeletion(true), //enable if OS supports it; else user will have to activate first and then get an error message
#ifdef FFS_WIN
textSearchRespectCase(false),
@@ -216,7 +228,7 @@ struct XmlGlobalSettings
std::vector<std::wstring> onCompletionHistory;
size_t onCompletionHistoryMax;
- bool deleteOnBothSides;
+ //bool deleteOnBothSides;
bool useRecyclerForManualDeletion;
bool textSearchRespectCase;
@@ -225,6 +237,7 @@ struct XmlGlobalSettings
long lastUpdateCheck; //time of last update check
+ ViewFilterDefault viewFilterDefault;
wxString guiPerspectiveLast; //used by wxAuiManager
} gui;
bgstack15