📄 mediaserverdlg.h
字号:
// 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_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -