00001 /* 00002 Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG 00003 Open Download Manager Copyright (c) 2008-2010 OpenDownloadManager.ORG 00004 */ 00005 00006 #if !defined(AFX_DOWNLOADS_BITTORRENT_H__1953213D_2F56_4D8E_A297_E8928ED6156D__INCLUDED_) 00007 #define AFX_DOWNLOADS_BITTORRENT_H__1953213D_2F56_4D8E_A297_E8928ED6156D__INCLUDED_ 00008 00009 #include "Downloads_Bittorrent_General.h" 00010 #include "Downloads_Bittorrent_Peers.h" 00011 #include "Downloads_Bittorrent_Files.h" 00012 #if _MSC_VER > 1000 00013 #pragma once 00014 #endif 00015 00016 class CDownloads_Bittorrent : public CTabCtrl 00017 { 00018 00019 public: 00020 CDownloads_Bittorrent(); 00021 00022 public: 00023 00024 public: 00025 00026 //{{AFX_VIRTUAL(CDownloads_Bittorrent) 00027 //}}AFX_VIRTUAL 00028 00029 public: 00030 CDownloads_Bittorrent_Files m_files; 00031 void UpdatePeersStat(); 00032 void set_ActiveTab(int nTab); 00033 CDownloads_Bittorrent_Peers m_peers; 00034 void UpdateStat(); 00035 CDownloads_Bittorrent_General m_general; 00036 void ApplyLanguage(); 00037 void Set_ActiveDownload(vmsDownloadSmartPtr dld); 00038 BOOL Create(CWnd *pParent); 00039 virtual ~CDownloads_Bittorrent(); 00040 00041 protected: 00042 void ApplyCurTab(); 00043 void ApplySize(); 00044 std::vector <CWnd*> m_vTabs; 00045 CFont m_fontItems; 00046 //{{AFX_MSG(CDownloads_Bittorrent) 00047 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 00048 afx_msg void OnSize(UINT nType, int cx, int cy); 00049 afx_msg void OnSelchange(NMHDR* pNMHDR, LRESULT* pResult); 00050 afx_msg void OnShowWindow(BOOL bShow, UINT nStatus); 00051 //}}AFX_MSG 00052 DECLARE_MESSAGE_MAP() 00053 }; 00054 00055 //{{AFX_INSERT_LOCATION}//}} 00056 00057 #endif
1.5.6