summaryrefslogtreecommitdiff
path: root/ui/sync_cfg.h
blob: 1f746709524b7c9f52ac158b737e3ade7e7dc375 (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
// **************************************************************************
// * 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) 2008-2011 ZenJu (zhnmju123 AT gmx.de)                    *
// **************************************************************************

#ifndef SYNCCONFIG_H_INCLUDED
#define SYNCCONFIG_H_INCLUDED

#include "../lib/process_xml.h"

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

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


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

#endif // SYNCCONFIG_H_INCLUDED
bgstack15