ListMenu.h
上传用户:sztlpcb
上传日期:2007-06-09
资源大小:741k
文件大小:2k
- #if !defined(AFX_LISTMENU_H__E2188DBA_43D5_4199_BC42_066BAAA9AB22__INCLUDED_)
- #define AFX_LISTMENU_H__E2188DBA_43D5_4199_BC42_066BAAA9AB22__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // ListMenu.h : header file
- //
- ////////include RTP header////////////
- #include "rtpsession.h"
- #include "rtppacket.h"
- /////////////////////////////////////////////////////////////////////////////
- // ListMenu dialog
- class ListMenu : public CDialog
- {
- // Construction
- public:
- ListMenu(CWnd* pParent = NULL); // standard constructor
- ///Server address///////
- char sess_Addr[16];
- ///List Box declare//////
- // Dialog Data
- //{{AFX_DATA(ListMenu)
- enum { IDD = IDD_MENU_DIALOG };
- CButton m_MenuCancel;
- CButton m_MenuPlay;
- CButton m_GetMenu;
- CButton m_IDOK;
- CListBox m_list;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(ListMenu)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(ListMenu)
- afx_msg void OnGetMenu();
- afx_msg void OnDMenuPlay();
- virtual void OnOK();
- afx_msg void OnDMenuCancel();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- ////RTP variable/////////////
- protected:
- SOCKET connect_sd;
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_LISTMENU_H__E2188DBA_43D5_4199_BC42_066BAAA9AB22__INCLUDED_)