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

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

First release to xenial

File size: 650 bytes
Line 
1#ifndef __QUICKCONNECTBAR_H__
2#define __QUICKCONNECTBAR_H__
3
4class CMainFrame;
5class CQuickconnectBar final : public wxPanel
6{
7public:
8        CQuickconnectBar();
9        virtual ~CQuickconnectBar();
10
11        bool Create(CMainFrame* pParent);
12
13        void ClearFields();
14
15protected:
16        // Only valid while menu is being displayed
17        std::list<CServer> m_recentServers;
18
19        DECLARE_EVENT_TABLE()
20        void OnQuickconnect(wxCommandEvent& event);
21        void OnQuickconnectDropdown(wxCommandEvent& event);
22        void OnMenu(wxCommandEvent& event);
23
24        wxTextCtrl* m_pHost;
25        wxTextCtrl* m_pUser;
26        wxTextCtrl* m_pPass;
27        wxTextCtrl* m_pPort;
28
29        CMainFrame *m_pMainFrame;
30};
31
32
33#endif //__QUICKCONNECTBAR_H__
Note: See TracBrowser for help on using the repository browser.