CDownloads_Info Class Reference

#include <Downloads_Info.h>

List of all members.

Public Member Functions

 CDownloads_Info ()
void UpdateBtStat ()
int get_CurTab ()
void set_CurTab (int nIndex)
CDownloads_ProgressGet_ProgressWindow ()
CDownloads_LogGet_LogWindow ()
void AddDownloadEvent (fsDownloadEvents *event)
void UpdateActiveDownload ()
void Set_ActiveDownload (vmsDownloadSmartPtr dld)
vmsDownloadSmartPtr Get_ActiveDownload ()
void SaveState ()
void ApplyLanguage ()
BOOL Create (CWnd *pParent)
virtual ~CDownloads_Info ()

Public Attributes

CDownloads_Bittorrent m_bt
CDownloads_Opinions m_opinions
CDownloads_VideoPreview m_video
CDownloads_Progress m_progress

Protected Member Functions

void ApplyBtTab ()
BOOL IsBtDownloadActive ()
void ApplyCurTab ()
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg void OnPaint ()
afx_msg void OnSelchange (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg BOOL OnEraseBkgnd (CDC *pDC)

Protected Attributes

bool m_bBtTabShowing
bool m_bBtTabWasActive
vmsDownloadSmartPtr m_activeDld
int m_cy
CDownloads_Log m_log
CImageList m_images
CDownloads_InfoFrame m_frame
CFont m_itemsFont

Friends

class CMainFrame


Detailed Description

Definition at line 30 of file Downloads_Info.h.


Constructor & Destructor Documentation

CDownloads_Info::CDownloads_Info (  ) 

Definition at line 17 of file Downloads_Info.cpp.

References m_bBtTabShowing, and m_bBtTabWasActive.

CDownloads_Info::~CDownloads_Info (  )  [virtual]

Definition at line 23 of file Downloads_Info.cpp.


Member Function Documentation

void CDownloads_Info::UpdateBtStat (  ) 

int CDownloads_Info::get_CurTab (  ) 

Definition at line 311 of file Downloads_Info.cpp.

References DIT_LOG, and m_bBtTabShowing.

Referenced by CDownloadsWnd::_Events(), OnSelchange(), and SaveState().

void CDownloads_Info::set_CurTab ( int  nIndex  ) 

CDownloads_Progress * CDownloads_Info::Get_ProgressWindow (  ) 

Definition at line 282 of file Downloads_Info.cpp.

References m_progress.

CDownloads_Log * CDownloads_Info::Get_LogWindow (  ) 

Definition at line 277 of file Downloads_Info.cpp.

References m_log.

Referenced by CDownloadsWnd::OnDLLogShowCol(), and CDownloadsWnd::UpdateDLLogColMenu().

void CDownloads_Info::AddDownloadEvent ( fsDownloadEvents event  ) 

Definition at line 272 of file Downloads_Info.cpp.

References CDownloads_Log::AddRecord(), and m_log.

Referenced by CDownloadsWnd::_Events().

void CDownloads_Info::UpdateActiveDownload (  ) 

Definition at line 266 of file Downloads_Info.cpp.

References m_progress, and CDownloads_Progress::UpdateDownload().

Referenced by CDownloadsWnd::OnTimer().

void CDownloads_Info::Set_ActiveDownload ( vmsDownloadSmartPtr  dld  ) 

vmsDownloadSmartPtr CDownloads_Info::Get_ActiveDownload (  ) 

void CDownloads_Info::SaveState (  ) 

void CDownloads_Info::ApplyLanguage (  ) 

BOOL CDownloads_Info::Create ( CWnd *  pParent  ) 

void CDownloads_Info::ApplyBtTab (  )  [protected]

BOOL CDownloads_Info::IsBtDownloadActive (  )  [protected]

Definition at line 319 of file Downloads_Info.cpp.

References m_activeDld, and NULL.

Referenced by ApplyBtTab(), and Create().

void CDownloads_Info::ApplyCurTab (  )  [protected]

int CDownloads_Info::OnCreate ( LPCREATESTRUCT  lpCreateStruct  )  [protected]

void CDownloads_Info::OnSize ( UINT  nType,
int  cx,
int  cy 
) [protected]

Definition at line 121 of file Downloads_Info.cpp.

References m_cy, and m_frame.

void CDownloads_Info::OnPaint (  )  [protected]

Definition at line 133 of file Downloads_Info.cpp.

void CDownloads_Info::OnSelchange ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

Definition at line 147 of file Downloads_Info.cpp.

References ApplyCurTab(), DIT_BT, get_CurTab(), and m_bBtTabWasActive.

BOOL CDownloads_Info::OnEraseBkgnd ( CDC *  pDC  )  [protected]


Friends And Related Function Documentation

friend class CMainFrame [friend]

Definition at line 32 of file Downloads_Info.h.


Member Data Documentation

Definition at line 72 of file Downloads_Info.h.

Referenced by ApplyBtTab(), CDownloads_Info(), Create(), OnSelchange(), and SaveState().

Definition at line 74 of file Downloads_Info.h.

Referenced by IsBtDownloadActive(), Set_ActiveDownload(), and UpdateBtStat().

int CDownloads_Info::m_cy [protected]

Definition at line 75 of file Downloads_Info.h.

Referenced by OnCreate(), and OnSize().

CImageList CDownloads_Info::m_images [protected]

Definition at line 79 of file Downloads_Info.h.

Referenced by Create().

Definition at line 80 of file Downloads_Info.h.

Referenced by ApplyCurTab(), OnCreate(), and OnSize().

CFont CDownloads_Info::m_itemsFont [protected]

Definition at line 81 of file Downloads_Info.h.

Referenced by Create().


The documentation for this class was generated from the following files:

Generated on Sun May 25 00:20:43 2008 by  doxygen 1.5.6