CDownloads_History Class Reference

#include <Downloads_History.h>

Inheritance diagram for CDownloads_History:

CListCtrlEx

List of all members.

Public Member Functions

fsDLHistoryRecordget_SelectedRecord ()
void SelectRecord (fsDLHistoryRecord *rec)
void ApplyFilter (class fsDldHistRecFilter *)
void DeleteAllRecords ()
void DeleteRecord (fsDLHistoryRecord *rec)
void AddRecord (fsDLHistoryRecord *rec)
void ApplyLanguage ()
BOOL Create (CWnd *pParent)
 CDownloads_History ()
virtual ~CDownloads_History ()

Static Public Member Functions

static int GetRecordImage (fsDLHistoryRecord *rec)

Protected Member Functions

void OnKeyDown (WORD wVK)
void Sort ()
void OnSortModeChanged ()
void ApplyLanguageToMenu (CMenu *menu)
void OnRClick ()
void ApplyFilter_imp (fsDldHistRecFilter *f, int *piProgress=NULL)
void OnForceUpdate ()
int FindRecord (fsDLHistoryRecord *rec)
void UpdateRecord (int iItem)
afx_msg void OnDrawItem (int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct)
afx_msg void OnMeasureItem (int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct)
afx_msg void OnUrltoclipboard ()
afx_msg void OnLaunch ()
afx_msg void OnOpenfolder ()
afx_msg void OnLButtonDblClk (UINT nFlags, CPoint point)
afx_msg void OnHstitemDelete ()

Static Protected Member Functions

static int CALLBACK _sortFunc (LPARAM item1, LPARAM item2, LPARAM lp)
static DWORD WINAPI _threadApplyFilter (LPVOID lp)

Protected Attributes

fsODMenu m_odmenu
fsDownloadsHistoryMgrm_mgr
fsMutex m_mxAddDel
CImageList m_images
CImageList m_selimages


Detailed Description

Definition at line 17 of file Downloads_History.h.


Constructor & Destructor Documentation

CDownloads_History::CDownloads_History (  ) 

Definition at line 32 of file Downloads_History.cpp.

CDownloads_History::~CDownloads_History (  )  [virtual]

Definition at line 37 of file Downloads_History.cpp.


Member Function Documentation

fsDLHistoryRecord * CDownloads_History::get_SelectedRecord (  ) 

Definition at line 419 of file Downloads_History.cpp.

References NULL, and pos().

Referenced by OnLaunch(), OnOpenfolder(), and OnUrltoclipboard().

void CDownloads_History::SelectRecord ( fsDLHistoryRecord rec  ) 

Definition at line 252 of file Downloads_History.cpp.

References FALSE, FindRecord(), and pos().

Referenced by CDownloadsWnd::SelectHistRecord().

int CDownloads_History::GetRecordImage ( fsDLHistoryRecord rec  )  [static]

Definition at line 244 of file Downloads_History.cpp.

References fsDLHistoryRecord::dateDownloaded, and _FILETIME::dwHighDateTime.

Referenced by UpdateRecord().

void CDownloads_History::ApplyFilter ( class fsDldHistRecFilter filter  ) 

void CDownloads_History::DeleteAllRecords (  ) 

void CDownloads_History::DeleteRecord ( fsDLHistoryRecord rec  ) 

Definition at line 104 of file Downloads_History.cpp.

References FindRecord(), fsMutex::Lock(), m_mxAddDel, and fsMutex::Unlock().

Referenced by CDownloadsWnd::_Events().

void CDownloads_History::AddRecord ( fsDLHistoryRecord rec  ) 

void CDownloads_History::ApplyLanguage (  ) 

BOOL CDownloads_History::Create ( CWnd *  pParent  ) 

void CDownloads_History::OnKeyDown ( WORD  wVK  )  [protected, virtual]

Reimplemented from CListCtrlEx.

Definition at line 467 of file Downloads_History.cpp.

References OnHstitemDelete().

int CALLBACK CDownloads_History::_sortFunc ( LPARAM  item1,
LPARAM  item2,
LPARAM  lp 
) [static, protected]

void CDownloads_History::Sort (  )  [protected]

void CDownloads_History::OnSortModeChanged (  )  [protected, virtual]

Reimplemented from CListCtrlEx.

Definition at line 323 of file Downloads_History.cpp.

References LCSM_ASCENDING, CListCtrlEx::m_sortMode, and Sort().

void CDownloads_History::ApplyLanguageToMenu ( CMenu *  menu  )  [protected]

void CDownloads_History::OnRClick (  )  [protected, virtual]

DWORD WINAPI CDownloads_History::_threadApplyFilter ( LPVOID  lp  )  [static, protected]

void CDownloads_History::ApplyFilter_imp ( fsDldHistRecFilter f,
int *  piProgress = NULL 
) [protected]

void CDownloads_History::OnForceUpdate (  )  [protected, virtual]

Reimplemented from CListCtrlEx.

Definition at line 185 of file Downloads_History.cpp.

References UpdateRecord().

int CDownloads_History::FindRecord ( fsDLHistoryRecord rec  )  [protected]

Definition at line 175 of file Downloads_History.cpp.

Referenced by DeleteRecord(), and SelectRecord().

void CDownloads_History::UpdateRecord ( int  iItem  )  [protected]

void CDownloads_History::OnDrawItem ( int  nIDCtl,
LPDRAWITEMSTRUCT  lpDrawItemStruct 
) [protected]

Definition at line 307 of file Downloads_History.cpp.

References m_odmenu, and fsODMenu::OnDrawItem().

void CDownloads_History::OnMeasureItem ( int  nIDCtl,
LPMEASUREITEMSTRUCT  lpMeasureItemStruct 
) [protected]

Definition at line 312 of file Downloads_History.cpp.

References m_odmenu, and fsODMenu::OnMeasureItem().

void CDownloads_History::OnUrltoclipboard (  )  [protected]

void CDownloads_History::OnLaunch (  )  [protected]

void CDownloads_History::OnOpenfolder (  )  [protected]

void CDownloads_History::OnLButtonDblClk ( UINT  nFlags,
CPoint  point 
) [protected]

Definition at line 430 of file Downloads_History.cpp.

References OnLaunch().

void CDownloads_History::OnHstitemDelete (  )  [protected]


Member Data Documentation

Definition at line 44 of file Downloads_History.h.

Referenced by OnDrawItem(), OnMeasureItem(), and OnRClick().

Definition at line 50 of file Downloads_History.h.

Referenced by ApplyFilter(), ApplyFilter_imp(), and Create().

Definition at line 51 of file Downloads_History.h.

Referenced by AddRecord(), DeleteAllRecords(), and DeleteRecord().

CImageList CDownloads_History::m_images [protected]

Definition at line 56 of file Downloads_History.h.

Referenced by Create().

CImageList CDownloads_History::m_selimages [protected]

Definition at line 56 of file Downloads_History.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