// AutoRunDlg.h : header file // #if !defined(AFX_AutoRunDLG2_H__06D6A3BF_D3AD_402D_802F_E81418C60ED7__INCLUDED_) #define AFX_AutoRunDLG2_H__06D6A3BF_D3AD_402D_802F_E81418C60ED7__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 ///////////////////////////////////////////////////////////////////////////// // CAutoRunDlg2 dialog #include "ClientTunnel.h" class CAutoRunDlg2 : public CDialog { // Construction public: CAutoRunDlg2(CWnd* pParent = NULL); // standard constructor void OnDisconnect(); BOOL OnConnectLocalServer(); DWORD GetConnectionID(); void SetConnectionID(DWORD dwConnection); void ProcessChatMessageRequest2(BYTE code); void ProcessChatMessageRequest2(CString sql); void ProcessChatMessageRequest2(BYTE *pData, int length); BOOL ProcessChatMessageRequest(void *szDataBuf, int nDataLen); void ProcessChatMessageResponse(void *pResponse); void ProcessLoginResponse(void *pLoginResult); BOOL ProcessLoginRequest(); void ProcessNetEvent(int nEventType, void *pRecvMsg, DWORD dwDataLen); CClientTunnel m_tClientTunnel; DWORD m_dwConnectionID; // Dialog Data //{{AFX_DATA(CAutoRunDlg2) enum { IDD = IDD_AutoRun_DIALOG2 }; //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CAutoRunDlg2) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: int m_hsock; // Generated message map functions //{{AFX_MSG(CAutoRunDlg2) virtual BOOL OnInitDialog(); afx_msg void OnDestroy(); afx_msg void OnTimer(UINT nIDEvent); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_AutoRunDLG2_H__06D6A3BF_D3AD_402D_802F_E81418C60ED7__INCLUDED_)