diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:44:25 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:44:25 +0200 |
commit | c63d9b438572f06f555e2232a15bd3c46bd10546 (patch) | |
tree | 92f2eca00f2a915078ee979acf26906670d75e5f /ui/SyncDialog.h | |
download | FreeFileSync-c63d9b438572f06f555e2232a15bd3c46bd10546.tar.gz FreeFileSync-c63d9b438572f06f555e2232a15bd3c46bd10546.tar.bz2 FreeFileSync-c63d9b438572f06f555e2232a15bd3c46bd10546.zip |
1.2
Diffstat (limited to 'ui/SyncDialog.h')
-rw-r--r-- | ui/SyncDialog.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/ui/SyncDialog.h b/ui/SyncDialog.h new file mode 100644 index 00000000..a743279a --- /dev/null +++ b/ui/SyncDialog.h @@ -0,0 +1,40 @@ +#ifndef SYNCDIALOG_H_INCLUDED +#define SYNCDIALOG_H_INCLUDED + +#include "MainDialog.h" + +class MainDialog; + +class SyncDialog: public SyncDialogGenerated +{ +public: + SyncDialog(MainDialog* window); + ~SyncDialog(); + + static const int StartSynchronizationProcess = 15; + +private: + //temporal copy of maindialog->syncConfiguration + SyncConfiguration localSyncConfiguration; + + void updateConfigIcons(); + + void OnSyncLeftToRight( wxCommandEvent& event ); + void OnSyncBothSides( wxCommandEvent& event ); + + void OnExLeftSideOnly( wxCommandEvent& event ); + void OnExRightSideOnly( wxCommandEvent& event ); + void OnLeftNewer( wxCommandEvent& event ); + void OnRightNewer( wxCommandEvent& event ); + void OnDifferent( wxCommandEvent& event ); + + void OnStartSync(wxCommandEvent& event); + void OnClose(wxCloseEvent& event); + void OnBack(wxCommandEvent& event); + + void OnSelectRecycleBin(wxCommandEvent& event); + + MainDialog* mainDialog; +}; + +#endif // SYNCDIALOG_H_INCLUDED |