forked from apex-hughin/CrimsonEditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFtpSettingsDialog.h
74 lines (62 loc) · 2 KB
/
FtpSettingsDialog.h
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#if !defined(AFX_FTPSETTINGSDIALOG_H__63818BA5_2C14_11D5_A6F1_0050CE184C9B__INCLUDED_)
#define AFX_FTPSETTINGSDIALOG_H__63818BA5_2C14_11D5_A6F1_0050CE184C9B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FtpSettingsDialog.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CFtpSettingsDialog dialog
class CFtpSettingsDialog : public CDialog
{
// Construction
public:
CFtpSettingsDialog(CWnd* pParent = NULL); // standard constructor
virtual ~CFtpSettingsDialog();
// Dialog Data
//{{AFX_DATA(CFtpSettingsDialog)
enum { IDD = IDD_FTP_SETTINGS };
CEdit m_edtDescription;
CButton m_chkSavePassword;
CEdit m_edtDirectory;
CEdit m_edtPassword;
CEdit m_edtUserName;
CEdit m_edtFtpServer;
CListCtrl m_lstFtpAccounts;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFtpSettingsDialog)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
INT m_nAccountCount;
CFtpAccount * m_pFtpAccounts;
public:
void SetFtpAccounts(INT nCount, CFtpAccount * pFtpAccounts);
void GetFtpAccounts(INT nCount, CFtpAccount * pFtpAccounts);
protected:
CImageList m_imgButtons;
INT m_nCurrentAccount;
// Generated message map functions
//{{AFX_MSG(CFtpSettingsDialog)
virtual BOOL OnInitDialog();
afx_msg void OnItemchangedFtpAccounts(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnChangeFtpServer();
afx_msg void OnChangeUserName();
afx_msg void OnChangePassword();
afx_msg void OnChangeDirectory();
afx_msg void OnRemove();
afx_msg void OnMoveUp();
afx_msg void OnMoveDown();
afx_msg void OnSavePassword();
afx_msg void OnAdvanced();
afx_msg void OnChangeDescription();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FTPSETTINGSDIALOG_H__63818BA5_2C14_11D5_A6F1_0050CE184C9B__INCLUDED_)