source: filezilla/trunk/fuentes/src/interface/defaultfileexistsdlg.h @ 130

Last change on this file since 130 was 130, checked in by jrpelegrina, 4 years ago

First release to xenial

File size: 816 bytes
Line 
1#ifndef __DEFAULTFILEEXISTSDLG_H__
2#define __DEFAULTFILEEXISTSDLG_H__
3
4#include "dialogex.h"
5
6class CDefaultFileExistsDlg : protected wxDialogEx
7{
8public:
9        CDefaultFileExistsDlg();
10
11        bool Load(wxWindow *parent, bool fromQueue);
12
13        static enum CFileExistsNotification::OverwriteAction GetDefault(bool download);
14        static void SetDefault(bool download, enum CFileExistsNotification::OverwriteAction action);
15
16        bool Run(enum CFileExistsNotification::OverwriteAction *downloadAction = 0, enum CFileExistsNotification::OverwriteAction *uploadAction = 0);
17
18protected:
19        void SelectDefaults(enum CFileExistsNotification::OverwriteAction* downloadAction, enum CFileExistsNotification::OverwriteAction* uploadAction);
20
21        static enum CFileExistsNotification::OverwriteAction m_defaults[2];
22};
23
24#endif //__DEFAULTFILEEXISTSDLG_H__
Note: See TracBrowser for help on using the repository browser.