#include <Downloads_Bittorrent_Peers.h>
Public Member Functions | |
| CDownloads_Bittorrent_Peers () | |
| void | ApplyLanguage () |
| void | UpdatePeersDetails () |
| void | UpdateStat () |
| void | set_ActiveDownload (vmsDownloadSmartPtr dld) |
| BOOL | Create (CWnd *pwndParent) |
| virtual | ~CDownloads_Bittorrent_Peers () |
Protected Member Functions | |
| afx_msg void | OnShowWindow (BOOL bShow, UINT nStatus) |
| afx_msg void | OnCmdUpdate () |
Protected Attributes | |
| bool | m_bDldChanged |
| vmsDownloadSmartPtr | m_dld |
Definition at line 13 of file Downloads_Bittorrent_Peers.h.
| CDownloads_Bittorrent_Peers::CDownloads_Bittorrent_Peers | ( | ) |
| CDownloads_Bittorrent_Peers::~CDownloads_Bittorrent_Peers | ( | ) | [virtual] |
Definition at line 21 of file Downloads_Bittorrent_Peers.cpp.
| void CDownloads_Bittorrent_Peers::ApplyLanguage | ( | ) |
Definition at line 141 of file Downloads_Bittorrent_Peers.cpp.
References L_CLIENT, L_DOWNLOADED, L_UPLOADED, LPSTR, and LS.
Referenced by CDownloads_Bittorrent::ApplyLanguage().
| void CDownloads_Bittorrent_Peers::UpdatePeersDetails | ( | ) |
Definition at line 104 of file Downloads_Bittorrent_Peers.cpp.
References BytesToString(), vmsBtDownloadPeerInfo::get_BytesDownloaded(), vmsBtDownloadPeerInfo::get_BytesUploaded(), vmsBtDownloadPeerInfo::get_DownloadSpeed(), vmsBtDownloadPeerInfoList::get_Peer(), vmsBtDownloadPeerInfoList::get_PeerCount(), vmsBtDownloadPeerInfo::get_UploadSpeed(), L_S, LS, m_dld, and NULL.
Referenced by UpdateStat().
| void CDownloads_Bittorrent_Peers::UpdateStat | ( | ) |
Definition at line 59 of file Downloads_Bittorrent_Peers.cpp.
References FALSE, vmsBtDownloadPeerInfo::get_Client(), vmsBtDownloadPeerInfo::get_Ip(), vmsBtDownloadPeerInfoList::get_Peer(), vmsBtDownloadPeerInfoList::get_PeerCount(), m_bDldChanged, m_dld, NULL, vmsBtDownloadPeerInfoList::UpdateList(), and UpdatePeersDetails().
Referenced by OnCmdUpdate(), set_ActiveDownload(), and CDownloads_Bittorrent::UpdatePeersStat().
| void CDownloads_Bittorrent_Peers::set_ActiveDownload | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 50 of file Downloads_Bittorrent_Peers.cpp.
References m_bDldChanged, m_dld, NULL, and UpdateStat().
Referenced by CDownloads_Bittorrent::Set_ActiveDownload().
| BOOL CDownloads_Bittorrent_Peers::Create | ( | CWnd * | pwndParent | ) |
Definition at line 32 of file Downloads_Bittorrent_Peers.cpp.
Referenced by CDownloads_Bittorrent::OnCreate().
| void CDownloads_Bittorrent_Peers::OnShowWindow | ( | BOOL | bShow, | |
| UINT | nStatus | |||
| ) | [protected] |
| void CDownloads_Bittorrent_Peers::OnCmdUpdate | ( | ) | [protected] |
bool CDownloads_Bittorrent_Peers::m_bDldChanged [protected] |
Definition at line 34 of file Downloads_Bittorrent_Peers.h.
Referenced by CDownloads_Bittorrent_Peers(), set_ActiveDownload(), and UpdateStat().
Definition at line 35 of file Downloads_Bittorrent_Peers.h.
Referenced by set_ActiveDownload(), UpdatePeersDetails(), and UpdateStat().
1.5.6