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.
85 lines
1.7 KiB
85 lines
1.7 KiB
//
|
|
// gopherse.h : header file
|
|
//
|
|
|
|
//
|
|
// GopherServicePage dialog
|
|
//
|
|
class GopherServicePage : public INetPropertyPage
|
|
{
|
|
DECLARE_DYNCREATE(GopherServicePage)
|
|
|
|
//
|
|
// Construction
|
|
//
|
|
public:
|
|
GopherServicePage(INetPropertySheet * pSheet = NULL);
|
|
~GopherServicePage();
|
|
|
|
//
|
|
// Dialog Data
|
|
//
|
|
//{{AFX_DATA(GopherServicePage)
|
|
enum { IDD = IDD_SERVICE };
|
|
CEdit m_edit_UserName;
|
|
CEdit m_edit_Password;
|
|
CStatic m_static_UserName;
|
|
CStatic m_static_Password;
|
|
CButton m_group_AnonymousLogon;
|
|
CString m_strComment;
|
|
CString m_strEmail;
|
|
CString m_strName;
|
|
CString m_strUserName;
|
|
UINT m_nMaxConnections;
|
|
//}}AFX_DATA
|
|
|
|
CString m_strPassword;
|
|
int m_nConnectionTimeOut;
|
|
UINT m_nTCPPort;
|
|
UINT m_nOldTCPPort;
|
|
|
|
//
|
|
// Overrides
|
|
//
|
|
/*
|
|
inline CGopherConfigInfo & GetGopherConfig()
|
|
{
|
|
return ((CGopherSheet *)GetSheet())->GetGopherConfig();
|
|
}
|
|
*/
|
|
virtual NET_API_STATUS SaveInfo(BOOL fUpdateData = FALSE);
|
|
|
|
// ClassWizard generate virtual function overrides
|
|
//{{AFX_VIRTUAL(GopherServicePage)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
//
|
|
// Implementation
|
|
//
|
|
protected:
|
|
// Generated message map functions
|
|
//{{AFX_MSG(GopherServicePage)
|
|
virtual BOOL OnInitDialog();
|
|
//}}AFX_MSG
|
|
|
|
afx_msg void OnItemChanged();
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
/*
|
|
inline LPGOPHERD_CONFIG_INFO GetGopherData()
|
|
{
|
|
return ((CGopherSheet *)GetSheet())->GetGopherData();
|
|
}
|
|
|
|
inline NET_API_STATUS QueryGopherError()
|
|
{
|
|
return ((CGopherSheet *)GetSheet())->QueryGopherError();
|
|
}
|
|
*/
|
|
|
|
private:
|
|
BOOL m_f10ConnectionLimit;
|
|
};
|