summaryrefslogtreecommitdiff
path: root/ui/sync_cfg.h
blob: 350dd71e6bf328aa25b10ec26ee801e864a86ffa (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
// **************************************************************************
// * This file is part of the FreeFileSync project. It is distributed under *
// * GNU General Public License: http://www.gnu.org/licenses/gpl.html       *
// * Copyright (C) ZenJu (zenju AT gmx DOT de) - All Rights Reserved        *
// **************************************************************************

#ifndef SYNCCONFIG_H_INCLUDED
#define SYNCCONFIG_H_INCLUDED

#include <wx/window.h>
#include "../lib/process_xml.h"


namespace zen
{
struct ReturnSyncConfig
{
    enum ButtonPressed
    {
        BUTTON_CANCEL,
        BUTTON_OKAY
    };
};

struct ExecWhenFinishedCfg
{
    std::wstring* command;              //*must* be bound!
    std::vector<std::wstring>* history; //
    size_t historyMax;
};


ReturnSyncConfig::ButtonPressed showSyncConfigDlg(wxWindow* parent,
                                                  CompareVariant compareVar,
                                                  SyncConfig&    syncCfg,
                                                  xmlAccess::OnGuiError* handleError,     //
                                                  ExecWhenFinishedCfg* execWhenFinished); //optional input parameter
}

#endif // SYNCCONFIG_H_INCLUDED
bgstack15