MediaClientDlg.h
上传用户:hhs829
上传日期:2022-06-17
资源大小:586k
文件大小:2k
源码类别:

DirextX编程

开发平台:

Visual C++

  1. // MediaClientDlg.h : header file
  2. //
  3. #if !defined(AFX_MEDIACLIENTDLG_H__9996DD90_D236_4789_B6C8_AE3CE5504FC5__INCLUDED_)
  4. #define AFX_MEDIACLIENTDLG_H__9996DD90_D236_4789_B6C8_AE3CE5504FC5__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CMediaClientDlg dialog
  10. class CMediaSocketClient;
  11. class CFilterGraph;
  12. class CDataAdmin;
  13. class CMediaClientDlg : public CDialog
  14. {
  15. // Construction
  16. public:
  17. CMediaClientDlg(CWnd* pParent = NULL); // standard constructor
  18. // Dialog Data
  19. //{{AFX_DATA(CMediaClientDlg)
  20. enum { IDD = IDD_MEDIACLIENT_DIALOG };
  21. CStatic m_hostIP;
  22. CStatic m_host;
  23. CStatic m_Counter;
  24. CStatic m_videoWnd;
  25. CButton m_btnTrans;
  26. CIPAddressCtrl m_ipCtrl;
  27. CButton m_btnConnect;
  28. //}}AFX_DATA
  29. // ClassWizard generated virtual function overrides
  30. //{{AFX_VIRTUAL(CMediaClientDlg)
  31. protected:
  32. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  33. //}}AFX_VIRTUAL
  34. public:
  35. CFilterGraph        * m_pGraph;
  36. CMediaSocketClient  * m_pReceiver;
  37. CDataAdmin          * m_pDataList;
  38. // Implementation
  39. protected:
  40. HICON m_hIcon;
  41. bool  m_bConnected;
  42. void CloseSession(void);
  43. void OpenSession(void);
  44. // Generated message map functions
  45. //{{AFX_MSG(CMediaClientDlg)
  46. virtual BOOL OnInitDialog();
  47. afx_msg void OnPaint();
  48. afx_msg HCURSOR OnQueryDragIcon();
  49. afx_msg void OnDestroy();
  50. afx_msg void OnButtonConnect();
  51. afx_msg void OnButtonTrans();
  52. //}}AFX_MSG
  53. DECLARE_MESSAGE_MAP()
  54. };
  55. //{{AFX_INSERT_LOCATION}}
  56. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  57. #endif // !defined(AFX_MEDIACLIENTDLG_H__9996DD90_D236_4789_B6C8_AE3CE5504FC5__INCLUDED_)