summaryrefslogtreecommitdiff
path: root/ui/SyncDialog.h
blob: 23d8ce5b6a911e8e3081e2ee874fe59b662d7b45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#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 OnCancel(wxCommandEvent& event);

    void OnSelectRecycleBin(wxCommandEvent& event);

    MainDialog* mainDialog;
};

#endif // SYNCDIALOG_H_INCLUDED
bgstack15