mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.2 KiB
66 lines
1.2 KiB
//
|
|
// FTPDirectoryPage:
|
|
//
|
|
|
|
class CFTPDirectoryPage : public DirectoryPage
|
|
{
|
|
DECLARE_DYNCREATE(CFTPDirectoryPage)
|
|
|
|
//
|
|
// Construction/Destruction
|
|
//
|
|
public:
|
|
CFTPDirectoryPage(
|
|
INetPropertySheet * pSheet = NULL
|
|
);
|
|
~CFTPDirectoryPage();
|
|
|
|
//
|
|
// Dialog Data
|
|
//
|
|
//{{AFX_DATA(CFTPDirectoryPage)
|
|
enum { IDD = IDD_DIRECTORIES };
|
|
int m_nUnixDos;
|
|
//}}AFX_DATA
|
|
|
|
//
|
|
// Overrides
|
|
//
|
|
inline CFtpConfigInfo & GetFtpConfig()
|
|
{
|
|
return ((CFtpSheet *)GetSheet())->GetFtpConfig();
|
|
}
|
|
|
|
virtual NET_API_STATUS SaveInfo(BOOL fUpdateData = FALSE);
|
|
|
|
// ClassWizard generate virtual function overrides
|
|
//{{AFX_VIRTUAL(CFTPDirectoryPage)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
//
|
|
// Implementation
|
|
//
|
|
protected:
|
|
|
|
void SetControlStates(BOOL fAllowAnonymous);
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CFTPDirectoryPage)
|
|
//}}AFX_MSG
|
|
|
|
afx_msg void OnItemChanged();
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
inline LPFTP_CONFIG_INFO GetFtpData()
|
|
{
|
|
return ((CFtpSheet *)GetSheet())->GetFtpData();
|
|
}
|
|
|
|
inline NET_API_STATUS QueryFtpError()
|
|
{
|
|
return ((CFtpSheet *)GetSheet())->QueryFtpError();
|
|
}
|
|
};
|