summaryrefslogtreecommitdiff
path: root/ui/gridView.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:00:17 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:00:17 +0200
commitfd0853d2623dd278b08288331ed42e3be59252fb (patch)
treea7645daeaef8bdbed064faf4eb88e72cee58726c /ui/gridView.h
parent2.1 (diff)
downloadFreeFileSync-fd0853d2623dd278b08288331ed42e3be59252fb.tar.gz
FreeFileSync-fd0853d2623dd278b08288331ed42e3be59252fb.tar.bz2
FreeFileSync-fd0853d2623dd278b08288331ed42e3be59252fb.zip
2.2
Diffstat (limited to 'ui/gridView.h')
-rw-r--r--ui/gridView.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/ui/gridView.h b/ui/gridView.h
index b531093d..8603bbd2 100644
--- a/ui/gridView.h
+++ b/ui/gridView.h
@@ -15,8 +15,6 @@ namespace FreeFileSync
const FileCompareLine& operator[] (unsigned row) const;
FileCompareLine& operator[] (unsigned row);
- //unsigned getResultsIndex(const unsigned viewIndex); //convert index on GridView to index on FolderComparison
-
unsigned int elementsOnView() const; //only the currently visible elements
bool refGridIsEmpty() const;
@@ -38,6 +36,10 @@ namespace FreeFileSync
bool existsEqual;
bool existsConflict;
+ bool existsSyncCreateLeft;
+ bool existsSyncCreateRight;
+ bool existsSyncDeleteLeft;
+ bool existsSyncDeleteRight;
bool existsSyncDirLeft;
bool existsSyncDirRight;
bool existsSyncDirNone;
@@ -55,6 +57,8 @@ namespace FreeFileSync
StatusInfo update(const bool hideFiltered, const bool syncPreviewActive);
+ void clearView(); //clear all references on compare results table: needed if there is a mismatch between references and actual data
+
//UI View Filter settings
//compare result
bool leftOnlyFilesActive;
@@ -65,10 +69,15 @@ namespace FreeFileSync
bool equalFilesActive;
bool conflictFilesActive;
//sync preview
+ bool syncCreateLeftActive;
+ bool syncCreateRightActive;
+ bool syncDeleteLeftActive;
+ bool syncDeleteRightActive;
bool syncDirLeftActive;
bool syncDirRightActive;
bool syncDirNoneActive;
+ void resetSettings();
//sorting...
enum SortType
bgstack15