CDownloads_Groups Class Reference

#include <Downloads_Groups.h>

List of all members.

Public Member Functions

 CDownloads_Groups ()
void UpdateNumbersOfDownloadsInGroups ()
void OnGroupNameChanged (vmsDownloadsGroupSmartPtr pGroup)
void OnNewGroupCreated (vmsDownloadsGroupSmartPtr pGroup)
void SetGroupFilter (vmsDownloadsGroupSmartPtr pGroup)
void UpdateDeletedIcon ()
void SetFilter_DeletedDownloads ()
void SetFilter_AllHistory ()
void SetFilter_AllDownloads ()
fsDldHistRecFilterGetHistoryCurrentFilter ()
fsDldFilterGetCurrentFilter ()
void ApplyLanguage ()
void ApplyNotGroupFilterForDownload (vmsDownloadSmartPtr dld)
BOOL Create (CWnd *pParent)
virtual ~CDownloads_Groups ()

Public Attributes

class CDownloadsWndm_pWndDownloads

Protected Member Functions

BOOL IsGroupItem (HTREEITEM hItem)
HTREEITEM InsertGroup (vmsDownloadsGroupSmartPtr pGroup, HTREEITEM hRoot)
int FindGroupIndex (vmsDownloadsGroupSmartPtr pGroup)
void InsertGroups_tree (PDLDS_GROUPS_TREE pRoot, HTREEITEM hRoot)
void CustomizeHistoryFilter ()
void ApplyLanguageToMenu_History (CMenu *menu)
void ShowHistoryContextMenu ()
void ApplyLanguageToMenu_Deleted (CMenu *menu)
void ShowDeletedContextMenu ()
void InsertDeleted ()
void InsertHistory ()
void ShowGrpContextMenu (HTREEITEM hItem=NULL, BOOL bAutoDetect=TRUE)
void ApplyLanguageToMenu (CMenu *menu)
void InsertFilters ()
void InsertGroups ()
afx_msg void OnSelchanged (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnRclick (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnRButtonDown (UINT nFlags, CPoint point)
afx_msg void OnGrpdelete ()
afx_msg void OnGrpproperties ()
afx_msg void OnGrpstartall ()
afx_msg void OnGrpstopall ()
afx_msg void OnGrpcreate ()
afx_msg void OnGrpdeleteall ()
afx_msg void OnGrpdeleteallsuccessful ()
afx_msg void OnOpengroupfolder ()
afx_msg void OnLButtonDblClk (UINT nFlags, CPoint point)
afx_msg void OnDrawItem (int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct)
afx_msg void OnMeasureItem (int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct)
afx_msg void OnKeydown (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnDeletedClear ()
afx_msg void OnDeletedProperties ()
afx_msg void OnHistoryClear ()
afx_msg void OnHistorySettings ()
afx_msg void OnClick (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnSetGroupsRootFolder ()
afx_msg void OnTimer (UINT nIDEvent)
afx_msg void OnGrpdeletealldeaddlds ()

Protected Attributes

HTREEITEM m_hContextMenuItem
CImageList m_odmenuDImages
CImageList m_odmenuImages
fsODMenu m_odmenu
HTREEITEM m_hCompleted
HTREEITEM m_hInProgress
HTREEITEM m_hStopped
HTREEITEM m_hScheduled
HTREEITEM m_hTasks
HTREEITEM m_hFilters
std::vector< fsDldFilter * > m_vStateFilters
std::vector< _inc_GroupItemm_vGroups
size_t m_cTotalDownloads
fsDldFilter m_filterAll
HTREEITEM m_hOther
HTREEITEM m_hHistory
HTREEITEM m_hToday
HTREEITEM m_hYesterday
HTREEITEM m_hLastWeek
HTREEITEM m_hLastMonth
HTREEITEM m_hHistCustom
fsDldHistRecFilter m_filterAllHist
fsDldHistRecFilter_Custom m_filterCustomHist
fsDldHistRecFilter_Yesterday m_filterYesterday
fsDldHistRecFilter_Today m_filterToday
fsDldHistRecFilter_DuringPeriod m_filterLastWeek
fsDldHistRecFilter_DuringPeriod m_filterLastMonth
fsDldTasksFilter m_filterTasks
HTREEITEM m_hDeleted
int m_rbY
int m_rbX
HTREEITEM m_hAllGroups
CImageList m_images

Friends

class CDownloadsWnd

Classes

struct  _inc_GroupItem


Detailed Description

Definition at line 17 of file Downloads_Groups.h.


Constructor & Destructor Documentation

CDownloads_Groups::CDownloads_Groups (  ) 

CDownloads_Groups::~CDownloads_Groups (  )  [virtual]

Definition at line 40 of file Downloads_Groups.cpp.


Member Function Documentation

void CDownloads_Groups::UpdateNumbersOfDownloadsInGroups (  ) 

void CDownloads_Groups::OnGroupNameChanged ( vmsDownloadsGroupSmartPtr  pGroup  ) 

Definition at line 946 of file Downloads_Groups.cpp.

References FindGroupIndex(), and m_vGroups.

Referenced by CDownloadsWnd::OnGroupNameChanged().

void CDownloads_Groups::OnNewGroupCreated ( vmsDownloadsGroupSmartPtr  pGroup  ) 

void CDownloads_Groups::SetGroupFilter ( vmsDownloadsGroupSmartPtr  pGroup  ) 

void CDownloads_Groups::UpdateDeletedIcon (  ) 

void CDownloads_Groups::SetFilter_DeletedDownloads (  ) 

Definition at line 861 of file Downloads_Groups.cpp.

References m_hDeleted.

Referenced by CDownloadsWnd::ShowDeletedDownloads().

void CDownloads_Groups::SetFilter_AllHistory (  ) 

Definition at line 855 of file Downloads_Groups.cpp.

References m_hHistory.

Referenced by CDownloadsWnd::ShowAllHistory().

void CDownloads_Groups::SetFilter_AllDownloads (  ) 

Definition at line 849 of file Downloads_Groups.cpp.

References m_hAllGroups.

Referenced by CDownloadsWnd::ShowAllDownloads().

fsDldHistRecFilter * CDownloads_Groups::GetHistoryCurrentFilter (  ) 

fsDldFilter * CDownloads_Groups::GetCurrentFilter (  ) 

void CDownloads_Groups::ApplyLanguage (  ) 

void CDownloads_Groups::ApplyNotGroupFilterForDownload ( vmsDownloadSmartPtr  dld  ) 

BOOL CDownloads_Groups::Create ( CWnd *  pParent  ) 

BOOL CDownloads_Groups::IsGroupItem ( HTREEITEM  hItem  )  [protected]

HTREEITEM CDownloads_Groups::InsertGroup ( vmsDownloadsGroupSmartPtr  pGroup,
HTREEITEM  hRoot 
) [protected]

int CDownloads_Groups::FindGroupIndex ( vmsDownloadsGroupSmartPtr  pGroup  )  [protected]

Definition at line 960 of file Downloads_Groups.cpp.

References m_vGroups.

Referenced by OnGroupNameChanged(), and OnNewGroupCreated().

void CDownloads_Groups::InsertGroups_tree ( PDLDS_GROUPS_TREE  pRoot,
HTREEITEM  hRoot 
) [protected]

Definition at line 902 of file Downloads_Groups.cpp.

References InsertGroup().

Referenced by InsertGroups().

void CDownloads_Groups::CustomizeHistoryFilter (  )  [protected]

void CDownloads_Groups::ApplyLanguageToMenu_History ( CMenu *  menu  )  [protected]

void CDownloads_Groups::ShowHistoryContextMenu (  )  [protected]

void CDownloads_Groups::ApplyLanguageToMenu_Deleted ( CMenu *  menu  )  [protected]

void CDownloads_Groups::ShowDeletedContextMenu (  )  [protected]

void CDownloads_Groups::InsertDeleted (  )  [protected]

Definition at line 679 of file Downloads_Groups.cpp.

References L_DELETED, LS, m_hDeleted, and NULL.

Referenced by Create().

void CDownloads_Groups::InsertHistory (  )  [protected]

void CDownloads_Groups::ShowGrpContextMenu ( HTREEITEM  hItem = NULL,
BOOL  bAutoDetect = TRUE 
) [protected]

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

void CDownloads_Groups::InsertFilters (  )  [protected]

void CDownloads_Groups::InsertGroups (  )  [protected]

void CDownloads_Groups::OnSelchanged ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

void CDownloads_Groups::OnRclick ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

Definition at line 198 of file Downloads_Groups.cpp.

References FALSE, m_rbX, m_rbY, and ShowGrpContextMenu().

void CDownloads_Groups::OnRButtonDown ( UINT  nFlags,
CPoint  point 
) [protected]

Definition at line 212 of file Downloads_Groups.cpp.

References m_rbX, and m_rbY.

void CDownloads_Groups::OnGrpdelete (  )  [protected]

void CDownloads_Groups::OnGrpproperties (  )  [protected]

void CDownloads_Groups::OnGrpstartall (  )  [protected]

Definition at line 264 of file Downloads_Groups.cpp.

References m_pWndDownloads, and CDownloadsWnd::StartDownloadsInList().

void CDownloads_Groups::OnGrpstopall (  )  [protected]

Definition at line 269 of file Downloads_Groups.cpp.

References m_pWndDownloads, and CDownloadsWnd::StopDownloadsInList().

void CDownloads_Groups::OnGrpcreate (  )  [protected]

void CDownloads_Groups::OnGrpdeleteall (  )  [protected]

Definition at line 294 of file Downloads_Groups.cpp.

References CDownloadsWnd::DeleteDownloadsInList().

void CDownloads_Groups::OnGrpdeleteallsuccessful (  )  [protected]

void CDownloads_Groups::OnOpengroupfolder (  )  [protected]

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

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

Definition at line 410 of file Downloads_Groups.cpp.

References m_odmenu, and fsODMenu::OnDrawItem().

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

Definition at line 415 of file Downloads_Groups.cpp.

References m_odmenu, and fsODMenu::OnMeasureItem().

void CDownloads_Groups::OnKeydown ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

void CDownloads_Groups::OnDeletedClear (  )  [protected]

void CDownloads_Groups::OnDeletedProperties (  )  [protected]

Definition at line 736 of file Downloads_Groups.cpp.

References _DlgMgr, and fsDialogsMgr::DoModal().

Referenced by OnKeydown(), and OnLButtonDblClk().

void CDownloads_Groups::OnHistoryClear (  )  [protected]

void CDownloads_Groups::OnHistorySettings (  )  [protected]

Definition at line 798 of file Downloads_Groups.cpp.

References _DlgMgr, and fsDialogsMgr::DoModal().

Referenced by OnKeydown().

void CDownloads_Groups::OnClick ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

void CDownloads_Groups::OnSetGroupsRootFolder (  )  [protected]

void CDownloads_Groups::OnTimer ( UINT  nIDEvent  )  [protected]

void CDownloads_Groups::OnGrpdeletealldeaddlds (  )  [protected]

Definition at line 1075 of file Downloads_Groups.cpp.

References CDownloadsWnd::DeleteDeadDownloadsInList().


Friends And Related Function Documentation

friend class CDownloadsWnd [friend]

Definition at line 19 of file Downloads_Groups.h.


Member Data Documentation

Definition at line 62 of file Downloads_Groups.h.

Referenced by CDownloads_Groups(), OnGrpcreate(), and ShowGrpContextMenu().

CImageList CDownloads_Groups::m_odmenuDImages [protected]

Definition at line 87 of file Downloads_Groups.h.

Referenced by Create().

CImageList CDownloads_Groups::m_odmenuImages [protected]

Definition at line 88 of file Downloads_Groups.h.

Referenced by Create().

HTREEITEM CDownloads_Groups::m_hCompleted [protected]

Definition at line 91 of file Downloads_Groups.h.

Referenced by ApplyLanguage(), InsertFilters(), and ShowGrpContextMenu().

HTREEITEM CDownloads_Groups::m_hInProgress [protected]

Definition at line 91 of file Downloads_Groups.h.

Referenced by ApplyLanguage(), and InsertFilters().

HTREEITEM CDownloads_Groups::m_hStopped [protected]

Definition at line 91 of file Downloads_Groups.h.

Referenced by ApplyLanguage(), and InsertFilters().

HTREEITEM CDownloads_Groups::m_hScheduled [protected]

Definition at line 91 of file Downloads_Groups.h.

Referenced by ApplyLanguage(), and InsertFilters().

HTREEITEM CDownloads_Groups::m_hTasks [protected]

HTREEITEM CDownloads_Groups::m_hFilters [protected]

Definition at line 103 of file Downloads_Groups.h.

Referenced by InsertFilters().

std::vector<_inc_GroupItem> CDownloads_Groups::m_vGroups [protected]

Definition at line 108 of file Downloads_Groups.h.

Referenced by Create(), GetCurrentFilter(), and InsertFilters().

HTREEITEM CDownloads_Groups::m_hOther [protected]

Definition at line 111 of file Downloads_Groups.h.

Referenced by ApplyLanguage(), InsertGroup(), OnGrpdelete(), and ShowGrpContextMenu().

HTREEITEM CDownloads_Groups::m_hHistory [protected]

HTREEITEM CDownloads_Groups::m_hToday [protected]

Definition at line 113 of file Downloads_Groups.h.

Referenced by ApplyLanguage(), and InsertHistory().

HTREEITEM CDownloads_Groups::m_hYesterday [protected]

Definition at line 113 of file Downloads_Groups.h.

Referenced by ApplyLanguage(), and InsertHistory().

HTREEITEM CDownloads_Groups::m_hLastWeek [protected]

Definition at line 113 of file Downloads_Groups.h.

Referenced by ApplyLanguage(), and InsertHistory().

HTREEITEM CDownloads_Groups::m_hLastMonth [protected]

Definition at line 113 of file Downloads_Groups.h.

Referenced by ApplyLanguage(), and InsertHistory().

HTREEITEM CDownloads_Groups::m_hHistCustom [protected]

Definition at line 113 of file Downloads_Groups.h.

Referenced by ApplyLanguage(), InsertHistory(), OnClick(), and OnSelchanged().

Definition at line 115 of file Downloads_Groups.h.

Referenced by GetHistoryCurrentFilter(), and InsertHistory().

Definition at line 117 of file Downloads_Groups.h.

Referenced by InsertHistory().

Definition at line 118 of file Downloads_Groups.h.

Referenced by InsertHistory().

Definition at line 119 of file Downloads_Groups.h.

Referenced by CDownloads_Groups(), and InsertHistory().

Definition at line 120 of file Downloads_Groups.h.

Referenced by CDownloads_Groups(), and InsertHistory().

Definition at line 121 of file Downloads_Groups.h.

Referenced by GetCurrentFilter(), and InsertFilters().

HTREEITEM CDownloads_Groups::m_hDeleted [protected]

int CDownloads_Groups::m_rbY [protected]

int CDownloads_Groups::m_rbX [protected]

HTREEITEM CDownloads_Groups::m_hAllGroups [protected]

CImageList CDownloads_Groups::m_images [protected]

Definition at line 129 of file Downloads_Groups.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