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_GENERAL_H__58AC4EA6_ABD4_4A93_85A9_3DCE594805F1__INCLUDED_) 00007 #define AFX_DOWNLOADS_BITTORRENT_GENERAL_H__58AC4EA6_ABD4_4A93_85A9_3DCE594805F1__INCLUDED_ 00008 00009 #include "fsDownload.h" 00010 #if _MSC_VER > 1000 00011 #pragma once 00012 #endif 00013 00014 class CDownloads_Bittorrent_General : public CListCtrl 00015 { 00016 00017 public: 00018 CDownloads_Bittorrent_General(); 00019 00020 public: 00021 00022 public: 00023 00024 //{{AFX_VIRTUAL(CDownloads_Bittorrent_General) 00025 //}}AFX_VIRTUAL 00026 00027 public: 00028 void UpdateWastedStat(); 00029 void UpdatePeersStat(); 00030 void UpdateUploadStat(); 00031 void ApplyLanguage(); 00032 void UpdateStat(); 00033 void set_ActiveDownload (vmsDownloadSmartPtr dld); 00034 BOOL Create(CWnd *pParent); 00035 virtual ~CDownloads_Bittorrent_General(); 00036 00037 protected: 00038 BOOL m_bVisible; 00039 vmsDownloadSmartPtr m_dld; 00040 //{{AFX_MSG(CDownloads_Bittorrent_General) 00041 afx_msg void OnShowWindow(BOOL bShow, UINT nStatus); 00042 afx_msg void OnCmdUpdate(); 00043 //}}AFX_MSG 00044 DECLARE_MESSAGE_MAP() 00045 }; 00046 00047 //{{AFX_INSERT_LOCATION}//}} 00048 00049 #endif
1.5.6