MediaClientDlg.h
上传用户:hhs829
上传日期:2022-06-17
资源大小:586k
文件大小:2k
- // MediaClientDlg.h : header file
- //
- #if !defined(AFX_MEDIACLIENTDLG_H__9996DD90_D236_4789_B6C8_AE3CE5504FC5__INCLUDED_)
- #define AFX_MEDIACLIENTDLG_H__9996DD90_D236_4789_B6C8_AE3CE5504FC5__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CMediaClientDlg dialog
- class CMediaSocketClient;
- class CFilterGraph;
- class CDataAdmin;
- class CMediaClientDlg : public CDialog
- {
- // Construction
- public:
- CMediaClientDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CMediaClientDlg)
- enum { IDD = IDD_MEDIACLIENT_DIALOG };
- CStatic m_hostIP;
- CStatic m_host;
- CStatic m_Counter;
- CStatic m_videoWnd;
- CButton m_btnTrans;
- CIPAddressCtrl m_ipCtrl;
- CButton m_btnConnect;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMediaClientDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- public:
- CFilterGraph * m_pGraph;
- CMediaSocketClient * m_pReceiver;
- CDataAdmin * m_pDataList;
- // Implementation
- protected:
- HICON m_hIcon;
- bool m_bConnected;
- void CloseSession(void);
- void OpenSession(void);
- // Generated message map functions
- //{{AFX_MSG(CMediaClientDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnDestroy();
- afx_msg void OnButtonConnect();
- afx_msg void OnButtonTrans();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MEDIACLIENTDLG_H__9996DD90_D236_4789_B6C8_AE3CE5504FC5__INCLUDED_)