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

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

First release to xenial

File size: 805 bytes
Line 
1#ifndef __OPTIONSPAGE_CONNECTION_SFTP_H__
2#define __OPTIONSPAGE_CONNECTION_SFTP_H__
3
4#include <wx/process.h>
5#include "../fzputtygen_interface.h"
6
7class COptionsPageConnectionSFTP : public COptionsPage
8{
9public:
10        COptionsPageConnectionSFTP();
11        virtual ~COptionsPageConnectionSFTP();
12        virtual wxString GetResourceName() { return _T("ID_SETTINGS_CONNECTION_SFTP"); }
13        virtual bool LoadPage();
14        virtual bool SavePage();
15
16protected:
17        CFZPuttyGenInterface* m_pFzpg;
18
19        bool AddKey(wxString keyFile, bool silent);
20        bool KeyFileExists(const wxString& keyFile);
21
22        void SetCtrlState();
23
24        DECLARE_EVENT_TABLE()
25        void OnEndProcess(wxProcessEvent& event);
26        void OnAdd(wxCommandEvent& event);
27        void OnRemove(wxCommandEvent& event);
28        void OnSelChanged(wxListEvent& event);
29};
30
31#endif //__OPTIONSPAGE_CONNECTION_SFTP_H__
Note: See TracBrowser for help on using the repository browser.