summaryrefslogtreecommitdiff
path: root/ui/SyncDialog.h
blob: a743279abc8cf1eb33517700cc475b655d449423 (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
#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