#include <Downloads_Bittorrent_General.h>
Public Member Functions | |
| CDownloads_Bittorrent_General () | |
| void | UpdateWastedStat () |
| void | UpdatePeersStat () |
| void | UpdateUploadStat () |
| void | ApplyLanguage () |
| void | UpdateStat () |
| void | set_ActiveDownload (vmsDownloadSmartPtr dld) |
| BOOL | Create (CWnd *pParent) |
| virtual | ~CDownloads_Bittorrent_General () |
Protected Member Functions | |
| afx_msg void | OnShowWindow (BOOL bShow, UINT nStatus) |
| afx_msg void | OnCmdUpdate () |
Protected Attributes | |
| BOOL | m_bVisible |
| vmsDownloadSmartPtr | m_dld |
Definition at line 14 of file Downloads_Bittorrent_General.h.
| CDownloads_Bittorrent_General::CDownloads_Bittorrent_General | ( | ) |
Definition at line 16 of file Downloads_Bittorrent_General.cpp.
| CDownloads_Bittorrent_General::~CDownloads_Bittorrent_General | ( | ) | [virtual] |
Definition at line 20 of file Downloads_Bittorrent_General.cpp.
| void CDownloads_Bittorrent_General::UpdateWastedStat | ( | ) |
Definition at line 167 of file Downloads_Bittorrent_General.cpp.
References BytesToString(), FALSE, m_dld, and NULL.
Referenced by CDownloadsWnd::OnTimer(), and UpdateStat().
| void CDownloads_Bittorrent_General::UpdatePeersStat | ( | ) |
Definition at line 147 of file Downloads_Bittorrent_General.cpp.
References FALSE, m_dld, and NULL.
Referenced by CDownloads_Bittorrent::UpdatePeersStat(), and UpdateStat().
| void CDownloads_Bittorrent_General::UpdateUploadStat | ( | ) |
Definition at line 127 of file Downloads_Bittorrent_General.cpp.
References BytesToString(), FALSE, vmsBtDownloadManager::get_ShareRating(), vmsBtDownloadManager::get_TotalUploadedByteCount(), vmsBtDownloadManager::GetUploadSpeed(), L_S, LS, m_dld, and NULL.
Referenced by CDownloadsWnd::OnTimer(), and UpdateStat().
| void CDownloads_Bittorrent_General::ApplyLanguage | ( | ) |
Definition at line 121 of file Downloads_Bittorrent_General.cpp.
References m_dld, NULL, and UpdateStat().
Referenced by CDownloads_Bittorrent::ApplyLanguage().
| void CDownloads_Bittorrent_General::UpdateStat | ( | ) |
Definition at line 55 of file Downloads_Bittorrent_General.cpp.
References BytesToString(), FALSE, vmsBtDownloadManager::get_CurrentTracker(), vmsBtDownloadManager::get_InfoHash(), vmsBtDownloadManager::get_PieceCount(), vmsBtDownloadManager::get_PieceSize(), L_BYTES_UPLOADED, L_INFO_HASH, L_PEERS, L_PIECES, L_SHARE_RATING, L_TRACKER, L_TRACKER_STATUS, L_UPLOAD_SPEED, L_WASTED_BYTE_COUNT, LS, m_dld, vmsBtDownloadManager::m_strTrackerStatus, NULL, UpdatePeersStat(), UpdateUploadStat(), and UpdateWastedStat().
Referenced by ApplyLanguage(), OnCmdUpdate(), set_ActiveDownload(), and CDownloads_Bittorrent::UpdateStat().
| void CDownloads_Bittorrent_General::set_ActiveDownload | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 47 of file Downloads_Bittorrent_General.cpp.
References m_dld, NULL, and UpdateStat().
Referenced by CDownloads_Bittorrent::Set_ActiveDownload().
| BOOL CDownloads_Bittorrent_General::Create | ( | CWnd * | pParent | ) |
Definition at line 31 of file Downloads_Bittorrent_General.cpp.
Referenced by CDownloads_Bittorrent::OnCreate().
| void CDownloads_Bittorrent_General::OnShowWindow | ( | BOOL | bShow, | |
| UINT | nStatus | |||
| ) | [protected] |
| void CDownloads_Bittorrent_General::OnCmdUpdate | ( | ) | [protected] |
BOOL CDownloads_Bittorrent_General::m_bVisible [protected] |
Definition at line 38 of file Downloads_Bittorrent_General.h.
Definition at line 39 of file Downloads_Bittorrent_General.h.
Referenced by ApplyLanguage(), set_ActiveDownload(), UpdatePeersStat(), UpdateStat(), UpdateUploadStat(), and UpdateWastedStat().
1.5.6