#if !defined(AFX_SESSION_H__E18E5121_5A8F_11D3_A335_00105A07EA4A__INCLUDED_) #define AFX_SESSION_H__E18E5121_5A8F_11D3_A335_00105A07EA4A__INCLUDED_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 // Session.h : header file // ///////////////////////////////////////////////////////////////////////////// // CNetSessionDlg dialog class CNetSession { public: CString m_strNickname; CString m_strServerTitle; CString m_strServerAddress; L_UINT m_nServerPort; CString m_strClientTitle; L_UINT m_nClientPort; }; class CNetSessionDlg : public CDialog { // Construction public: CNetSessionDlg(CWnd* pParent = NULL); // standard constructor CNetSession *m_pSession; // Dialog Data //{{AFX_DATA(CNetSessionDlg) enum { IDD = IDD_SESSION_DIALOG }; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CNetSessionDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: HICON m_hIcon; // Generated message map functions //{{AFX_MSG(CNetSessionDlg) virtual BOOL OnInitDialog(); virtual void OnOK(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line. #endif // !defined(AFX_SESSION_H__E18E5121_5A8F_11D3_A335_00105A07EA4A__INCLUDED_)