MonitorDetailWnd.h
资源名称:GGBT.rar [点击查看]
上传用户:lds876
上传日期:2013-05-25
资源大小:567k
文件大小:2k
源码类别:
P2P编程
开发平台:
Visual C++
- #if !defined(AFX_MONITORDETAILWND_H__B69095C7_F024_46D6_AEDE_4AC3075A69BD__INCLUDED_)
- #define AFX_MONITORDETAILWND_H__B69095C7_F024_46D6_AEDE_4AC3075A69BD__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // MonitorDetailWnd.h : header file
- //
- #include "MonitorCategoryWnd.h"
- #include "SubFilesWnd.h"
- #include "PeersListCtrl.h"
- #include "GraphWnd.h"
- #include "LogList.h"
- #include "InfomationList.h"
- #include "FileTorrent.h"
- class CCategoryBarWnd;
- class CSetupRegister;
- enum ImageIDS{IID_INFOMATION= 0, IID_SUBFILES, IID_ALL_PEERS, IID_RUN_GRAPH, IID_LOG, IID_PEER};
- /////////////////////////////////////////////////////////////////////////////
- // CMonitorDetailWnd window
- class CMonitorDetailWnd : public CWnd
- {
- // Construction
- public:
- CMonitorDetailWnd();
- // Attributes
- public:
- // Operations
- public:
- BOOL CreateEx(CWnd *pParent, CRect rc, long lID, long lParam, CSetupRegister* pSetupRegister);
- void ShowNode(CTreeCursor& cursor, bool bRefreshInfo);
- void Monitor(CFileDBItem* pFileDBItem);
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMonitorDetailWnd)
- //}}AFX_VIRTUAL
- // Implementation
- public:
- // void SetDBSavePath(string strDBSavePath);
- void SetCateGoryBarWnd(CCategoryBarWnd* pCategoryBarWnd);
- virtual ~CMonitorDetailWnd();
- // Generated message map functions
- protected:
- //{{AFX_MSG(CMonitorDetailWnd)
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnSize(UINT nType, int cx, int cy);
- //}}AFX_MSG
- afx_msg void OnFileTorrentOpened(long lParam, long lwParam);
- DECLARE_MESSAGE_MAP()
- private:
- CInfomationList m_listInfomation;
- CPeersListCtrl m_listPeers;
- CLogList m_listMsg;
- CSubFilesWnd m_treeSubFiles;
- CGraphWnd m_graphWnd;
- CCategoryBarWnd* m_pCategoryBarWnd;
- CFileDBItem* m_pFileDBItem;
- bool m_bShowSubFiles;
- bool m_bShowInfomation;
- int m_iCurImageID;
- bool m_bShowFileDBLog;
- CFileTorrent m_fileTorrent;
- CSetupRegister* m_pSetupRegister;
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MONITORDETAILWND_H__B69095C7_F024_46D6_AEDE_4AC3075A69BD__INCLUDED_)