MMSServerDlg.h
资源名称:p2p_vod.rar [点击查看]
上传用户:liguizhu
上传日期:2015-11-01
资源大小:2422k
文件大小:3k
源码类别:
P2P编程
开发平台:
Visual C++
- /*
- * Openmysee
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- */
- //
- #if !defined(AFX_MMSSERVERDLG_H__4F2DF94F_A83A_4223_B814_9FDB3A80E9BE__INCLUDED_)
- #define AFX_MMSSERVERDLG_H__4F2DF94F_A83A_4223_B814_9FDB3A80E9BE__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #ifndef SORTLISTCTRL_H
- #include "SortListCtrl.h"
- #endif // SORTLISTCTRL_H
- #include "SystemTray.h"
- #include "mmspool.h"
- #include "MMSGraph.h"
- #include "addmmsdlg.h"
- // Added by ClassView
- /////////////////////////////////////////////////////////////////////////////
- // CMMSServerDlg dialog
- #define WM_ICON_NOTIFY WM_APP+10
- class CMMSServerDlg : public CDialog
- {
- // Construction
- public:
- // CMMSGraph m_MMSGraph;
- CMMSServerDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CMMSServerDlg)
- enum { IDD = IDD_MMSSERVER_DIALOG };
- CButton m_Button;
- CSortListCtrl m_lstMMS;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMMSServerDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- NOTIFYICONDATA m_ndData; // show system tray
- CSystemTray m_TrayIcon;
- CMMSPool m_MMSPool;
- DWORD m_dwTimer;
- int m_Item;
- int m_Index;
- // member variable in the listcontrol
- CString name;
- CString superpeerIP;
- CString mmsadress;
- // Generated message map functions
- //{{AFX_MSG(CMMSServerDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnDestroy();
- afx_msg void OnMaximize();
- afx_msg void OnQuit();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnBtnAddMms();
- afx_msg void OnBtnPlay();
- afx_msg void OnBtnPause();
- afx_msg void OnBtnStop();
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg void OnBtnDeleteMms();
- afx_msg void OnClickListMms(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnButtonEdit();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- public :
- CString m_strs;
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MMSSERVERDLG_H__4F2DF94F_A83A_4223_B814_9FDB3A80E9BE__INCLUDED_)