diff options
Diffstat (limited to 'ui/SyncDialog.h')
-rw-r--r-- | ui/SyncDialog.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/ui/SyncDialog.h b/ui/SyncDialog.h index bf2da634..de00539e 100644 --- a/ui/SyncDialog.h +++ b/ui/SyncDialog.h @@ -9,7 +9,7 @@ class SyncDialog: public SyncDlgGenerated public: SyncDialog(wxWindow* window, const FileCompareResult& gridDataRef, - Configuration& config, + MainConfiguration& config, bool synchronizationEnabled); ~SyncDialog(); @@ -47,7 +47,7 @@ private: //temporal copy of maindialog.cfg.syncConfiguration SyncConfiguration localSyncConfiguration; const FileCompareResult& gridData; - Configuration& cfg; + MainConfiguration& cfg; }; @@ -55,9 +55,8 @@ class BatchDialog: public BatchDlgGenerated { public: BatchDialog(wxWindow* window, - const Configuration& config, - const wxString& leftDir, - const wxString& rightDir); + const MainConfiguration& config, + const vector<FolderPair>& folderPairs); ~BatchDialog(); @@ -79,10 +78,12 @@ private: void OnCreateBatchJob( wxCommandEvent& event); void updateFilterButton(); - wxString getCommandlineArguments(); + bool createBatchFile(const wxString& filename); SyncConfiguration localSyncConfiguration; + vector<BatchFolderPairGenerated*> localFolderPairs; + bool filterIsActive; }; |