MediaServerDlg.h
上传用户:hhs829
上传日期:2022-06-17
资源大小:586k
文件大小:2k
- // MediaServerDlg.h : header file
- //
- #if !defined(AFX_MEDIASERVERDLG_H__2B5DD6BF_53C1_4583_B351_134F4A640F4C__INCLUDED_)
- #define AFX_MEDIASERVERDLG_H__2B5DD6BF_53C1_4583_B351_134F4A640F4C__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CMediaServerDlg dialog
- #define WM_NEW_SOCKET WM_USER+1
- #define BASE_SOCKET_PORT 10025
- class CListenSocket;
- class CWorkerSocket;
- class CMediaServerDlg : public CDialog
- {
- // Construction
- public:
- CMediaServerDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CMediaServerDlg)
- // enum { IDD = IDD_MEDIASERVER_DIALOG };
- CStatic m_hostIP;
- CStatic m_host;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMediaServerDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- CListenSocket * m_pListener;
- CWorkerSocket * m_pWorkerSock;
- CString m_strSourceFile;
- // Generated message map functions
- //{{AFX_MSG(CMediaServerDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnDestroy();
- afx_msg void OnButtonSelect();
- afx_msg void ListenOnConnection();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MEDIASERVERDLG_H__2B5DD6BF_53C1_4583_B351_134F4A640F4C__INCLUDED_)