AutoRunDlg2.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. // AutoRunDlg.h : header file
  2. //
  3. #if !defined(AFX_AutoRunDLG2_H__06D6A3BF_D3AD_402D_802F_E81418C60ED7__INCLUDED_)
  4. #define AFX_AutoRunDLG2_H__06D6A3BF_D3AD_402D_802F_E81418C60ED7__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CAutoRunDlg2 dialog
  10. #include "ClientTunnel.h"
  11. class CAutoRunDlg2 : public CDialog
  12. {
  13. // Construction
  14. public:
  15. CAutoRunDlg2(CWnd* pParent = NULL); // standard constructor
  16. void OnDisconnect();
  17. BOOL OnConnectLocalServer();
  18. DWORD GetConnectionID();
  19. void SetConnectionID(DWORD dwConnection);
  20. void ProcessChatMessageRequest2(BYTE code);
  21. void ProcessChatMessageRequest2(CString sql);
  22. void ProcessChatMessageRequest2(BYTE *pData, int length);
  23. BOOL ProcessChatMessageRequest(void *szDataBuf, int nDataLen);
  24. void ProcessChatMessageResponse(void *pResponse);
  25. void ProcessLoginResponse(void *pLoginResult);
  26. BOOL ProcessLoginRequest();
  27. void ProcessNetEvent(int nEventType, void *pRecvMsg, DWORD dwDataLen);
  28. CClientTunnel m_tClientTunnel;
  29. DWORD m_dwConnectionID;
  30. // Dialog Data
  31. //{{AFX_DATA(CAutoRunDlg2)
  32. enum { IDD = IDD_AutoRun_DIALOG2 };
  33. //}}AFX_DATA
  34. // ClassWizard generated virtual function overrides
  35. //{{AFX_VIRTUAL(CAutoRunDlg2)
  36. protected:
  37. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  38. //}}AFX_VIRTUAL
  39. // Implementation
  40. protected:
  41. int m_hsock;
  42. // Generated message map functions
  43. //{{AFX_MSG(CAutoRunDlg2)
  44. virtual BOOL OnInitDialog();
  45. afx_msg void OnDestroy();
  46. afx_msg void OnTimer(UINT nIDEvent);
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. };
  50. //{{AFX_INSERT_LOCATION}}
  51. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  52. #endif // !defined(AFX_AutoRunDLG2_H__06D6A3BF_D3AD_402D_802F_E81418C60ED7__INCLUDED_)