summaryrefslogtreecommitdiff
path: root/ui/SyncDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/SyncDialog.h')
-rw-r--r--ui/SyncDialog.h40
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
bgstack15