#include <FVDownloads_Tasks.h>

Public Member Functions | |
| CFVDownloads_Tasks () | |
| void | SaveState () |
| int | OnUpdateToolBar (UINT nID) |
| void | ShowSelectedDldsProperties () |
| int | FindIndex (vmsDownloadSmartPtr dld) |
| void | WillBeDeleted (vmsDownloadSmartPtr dld) |
| void | UpdateDownload (vmsDownloadSmartPtr dld) |
| void | GetSelectedDownloads (DLDS_LIST_REF v) |
| void | ApplyLanguageToMenu (CMenu *menu) |
| void | UpdateMenu (CMenu *pPopup) |
| void | ApplyLanguage () |
| void | AddDownload (vmsDownloadSmartPtr dld) |
| BOOL | Create (CWnd *pwndParent) |
| virtual | ~CFVDownloads_Tasks () |
Protected Member Functions | |
| void | OnItemChanged (NM_LISTVIEW *pLV) |
| void | OnClick () |
| void | UpdateActiveDownload (int adjSelected) |
| void | OnDeleteAllItems () |
| void | OnDeleteItem (NM_LISTVIEW *pNM) |
| void | CalcCoordsForCurSel () |
| void | CallSelectedDownload (BOOL bPropertiesInsteadOfPass) |
| void | OnKeyDown (WORD wVK) |
| void | DeleteSelected (BOOL bDontConfirmFileDeleting) |
| void | OnRClick () |
| afx_msg void | OnGetdispinfo (NMHDR *pNMHDR, LRESULT *pResult) |
| afx_msg void | OnDrawItem (int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct) |
| afx_msg void | OnMeasureItem (int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct) |
| afx_msg void | OnFvdldCreate () |
| afx_msg void | OnFvdldLaunch () |
| afx_msg void | OnFvdldPasstodlds () |
| afx_msg void | OnFvdldStart () |
| afx_msg void | OnFvdldStop () |
| afx_msg void | OnLButtonDblClk (UINT nFlags, CPoint point) |
| afx_msg void | OnFvdldAutostart () |
| afx_msg void | OnFvdldDelete () |
| afx_msg void | OnFvdldOpenfolder () |
| afx_msg void | OnRButtonDown (UINT nFlags, CPoint point) |
| afx_msg void | OnFvdldProperties () |
| afx_msg void | OnKeyDown (UINT nChar, UINT nRepCnt, UINT nFlags) |
| afx_msg void | OnFvdldConvert () |
Protected Attributes | |
| vmsDownloadSmartPtr | m_pActiveDownload |
| CPoint | m_rbPt |
| fsODMenu | m_odmenu |
| DLDS_LIST | m_vDlds |
| CImageList | m_images |
| CImageList | m_selimages |
Friends | |
| class | CFlashVideoDownloadsWnd |
Definition at line 17 of file FVDownloads_Tasks.h.
| CFVDownloads_Tasks::CFVDownloads_Tasks | ( | ) |
Definition at line 23 of file FVDownloads_Tasks.cpp.
| CFVDownloads_Tasks::~CFVDownloads_Tasks | ( | ) | [virtual] |
Definition at line 27 of file FVDownloads_Tasks.cpp.
| void CFVDownloads_Tasks::SaveState | ( | ) |
Definition at line 641 of file FVDownloads_Tasks.cpp.
References CListCtrlEx::SaveState().
Referenced by CFlashVideoDownloadsWnd::SaveAll().
| int CFVDownloads_Tasks::OnUpdateToolBar | ( | UINT | nID | ) |
Definition at line 569 of file FVDownloads_Tasks.cpp.
References _pwndFVDownloads, BOOL, FALSE, GetSelectedDownloads(), vmsDownloadsListHelper::GetStat(), ID_DLD_VID_MUTE, ID_DLD_VID_PAUSE, ID_DLD_VID_PLAY, ID_DLD_VID_STOP, ID_FVDLD_AUTOSTART, ID_FVDLD_CONVERT, ID_FVDLD_DELETE, ID_FVDLD_LAUNCH, ID_FVDLD_OPENFOLDER, ID_FVDLD_PASSTODLDS, ID_FVDLD_PROPERTIES, ID_FVDLD_START, ID_FVDLD_STOP, CFlashVideoDownloadsWnd::m_wndPreview, TRUE, CDownloads_VideoPreview::UpdateCommand(), WGP_CMDITEMSTATE_CHECKED, WGP_CMDITEMSTATE_DISABLED, and WGP_CMDITEMSTATE_ENABLED.
Referenced by CFlashVideoDownloadsWnd::OnUpdateToolBar().
| void CFVDownloads_Tasks::ShowSelectedDldsProperties | ( | ) |
Definition at line 500 of file FVDownloads_Tasks.cpp.
References _pwndDownloads, m_vDlds, NULL, CDownloadsWnd::OnBtDownloadProperties(), CDownloadsWnd::OnDownloadProperties(), and pos().
Referenced by CallSelectedDownload(), OnFvdldProperties(), and OnKeyDown().
| int CFVDownloads_Tasks::FindIndex | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 333 of file FVDownloads_Tasks.cpp.
References m_vDlds.
Referenced by UpdateDownload(), and WillBeDeleted().
| void CFVDownloads_Tasks::WillBeDeleted | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 323 of file FVDownloads_Tasks.cpp.
References FindIndex(), and m_vDlds.
Referenced by CDownloadsWnd::_Events().
| void CFVDownloads_Tasks::UpdateDownload | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 316 of file FVDownloads_Tasks.cpp.
References FindIndex().
Referenced by CDownloadsWnd::_Events(), and CDownloadsWnd::OnTimer().
| void CFVDownloads_Tasks::GetSelectedDownloads | ( | DLDS_LIST_REF | v | ) |
Definition at line 306 of file FVDownloads_Tasks.cpp.
References m_vDlds, and pos().
Referenced by DeleteSelected(), OnFvdldAutostart(), OnFvdldPasstodlds(), OnUpdateToolBar(), and UpdateMenu().
| void CFVDownloads_Tasks::ApplyLanguageToMenu | ( | CMenu * | menu | ) |
Definition at line 208 of file FVDownloads_Tasks.cpp.
References ID_FVDLD_AUTOSTART, ID_FVDLD_CONVERT, ID_FVDLD_CREATE, ID_FVDLD_DELETE, ID_FVDLD_LAUNCH, ID_FVDLD_OPENFOLDER, ID_FVDLD_PASSTODLDS, ID_FVDLD_PROPERTIES, ID_FVDLD_START, ID_FVDLD_STOP, L_AUTOSTARTDLD, L_CONVERT_MEDIA_FILE, L_CREATEFVDLD, L_DELETEDLD, L_DLDPROP, L_FVDOWNLOADS, L_LAUNCHFILE, L_OPENFOLDER, L_PASSTODLDS, L_STARTDLDS, L_STOPDLDS, and LS.
Referenced by OnRClick(), and CFlashVideoDownloadsWnd::Plugin_SetLanguage().
| void CFVDownloads_Tasks::UpdateMenu | ( | CMenu * | pPopup | ) |
Definition at line 169 of file FVDownloads_Tasks.cpp.
References BOOL, FALSE, GetSelectedDownloads(), vmsDownloadsListHelper::GetStat(), ID_FVDLD_AUTOSTART, ID_FVDLD_CONVERT, ID_FVDLD_DELETE, ID_FVDLD_LAUNCH, ID_FVDLD_OPENFOLDER, ID_FVDLD_PASSTODLDS, ID_FVDLD_PROPERTIES, ID_FVDLD_START, and ID_FVDLD_STOP.
Referenced by OnRClick(), and CFlashVideoDownloadsWnd::OnUpdateMenu().
| void CFVDownloads_Tasks::ApplyLanguage | ( | ) |
Definition at line 126 of file FVDownloads_Tasks.cpp.
References L_ADDED, L_COMMENT, L_DOWNLOADED, L_FILENAME, L_SECTIONS, L_SIZE, L_SPEED, L_TIMELEFT, LS, and CListCtrlEx::SetColumnText().
Referenced by CFlashVideoDownloadsWnd::Plugin_SetLanguage().
| void CFVDownloads_Tasks::AddDownload | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 93 of file FVDownloads_Tasks.cpp.
References FALSE, m_vDlds, and CListCtrlEx::VirtualView_ItemWillBeAdded().
Referenced by CFlashVideoDownloadsWnd::AddDownload(), and CFlashVideoDownloadsWnd::OnCreate().
| BOOL CFVDownloads_Tasks::Create | ( | CWnd * | pwndParent | ) |
Definition at line 52 of file FVDownloads_Tasks.cpp.
References FALSE, IDB_DOWNLOADSTASKS, IDB_DOWNLOADSTASKS_SEL, m_images, m_selimages, CListCtrlEx::ReadState(), SBMP, CListCtrlEx::SetSelectedImages(), and TRUE.
Referenced by CFlashVideoDownloadsWnd::OnCreate().
| void CFVDownloads_Tasks::OnItemChanged | ( | NM_LISTVIEW * | pLV | ) | [protected, virtual] |
Reimplemented from CListCtrlEx.
Definition at line 716 of file FVDownloads_Tasks.cpp.
References UpdateActiveDownload().
| void CFVDownloads_Tasks::OnClick | ( | ) | [protected, virtual] |
Reimplemented from CListCtrlEx.
Definition at line 711 of file FVDownloads_Tasks.cpp.
References UpdateActiveDownload().
| void CFVDownloads_Tasks::UpdateActiveDownload | ( | int | adjSelected | ) | [protected] |
Definition at line 661 of file FVDownloads_Tasks.cpp.
References _pwndFVDownloads, m_pActiveDownload, m_vDlds, NULL, pos(), and CFlashVideoDownloadsWnd::SetActiveDownload().
Referenced by DeleteSelected(), OnClick(), OnItemChanged(), and OnRClick().
| void CFVDownloads_Tasks::OnDeleteAllItems | ( | ) | [protected, virtual] |
Reimplemented from CListCtrlEx.
Definition at line 655 of file FVDownloads_Tasks.cpp.
References _pwndFVDownloads, m_pActiveDownload, NULL, and CFlashVideoDownloadsWnd::SetActiveDownload().
| void CFVDownloads_Tasks::OnDeleteItem | ( | NM_LISTVIEW * | pNM | ) | [protected, virtual] |
Reimplemented from CListCtrlEx.
Definition at line 646 of file FVDownloads_Tasks.cpp.
References _pwndFVDownloads, LONG, m_pActiveDownload, NULL, and CFlashVideoDownloadsWnd::SetActiveDownload().
| void CFVDownloads_Tasks::CalcCoordsForCurSel | ( | ) | [protected] |
| void CFVDownloads_Tasks::CallSelectedDownload | ( | BOOL | bPropertiesInsteadOfPass | ) | [protected] |
Definition at line 436 of file FVDownloads_Tasks.cpp.
References _App, _pwndDownloads, fsAppSettings::DownloadDialog_Use(), m_vDlds, NULL, OnFvdldLaunch(), OnFvdldPasstodlds(), pos(), ShowSelectedDldsProperties(), and WM_DW_CREATEDLDDIALOG.
Referenced by OnKeyDown(), and OnLButtonDblClk().
| void CFVDownloads_Tasks::OnKeyDown | ( | WORD | wVK | ) | [protected, virtual] |
Reimplemented from CListCtrlEx.
Definition at line 413 of file FVDownloads_Tasks.cpp.
References CalcCoordsForCurSel(), CallSelectedDownload(), DeleteSelected(), OnRClick(), ShowSelectedDldsProperties(), and TRUE.
| void CFVDownloads_Tasks::DeleteSelected | ( | BOOL | bDontConfirmFileDeleting | ) | [protected] |
Definition at line 395 of file FVDownloads_Tasks.cpp.
References _App, _pwndDownloads, fsAppSettings::Deleted_ConfirmDeletion(), CDownloadsWnd::DeleteDownloads(), GetSelectedDownloads(), L_AREYOUSURE, L_CONFIRMATION, L_DLDWBDELETEDFROMDISK, LS, TRUE, and UpdateActiveDownload().
Referenced by OnFvdldDelete(), and OnKeyDown().
| void CFVDownloads_Tasks::OnRClick | ( | ) | [protected, virtual] |
Reimplemented from CListCtrlEx.
Definition at line 138 of file FVDownloads_Tasks.cpp.
References ApplyLanguageToMenu(), fsODMenu::Attach(), fsODMenu::Detach(), FALSE, IDM_FVDOWNLOADS, m_odmenu, m_rbPt, NULL, CFlashVideoDownloadsWnd::Plugin_GetMenuImages(), fsODMenu::SetImageList(), fsODMenu::SetImages(), TRUE, UpdateActiveDownload(), and UpdateMenu().
Referenced by OnKeyDown().
| void CFVDownloads_Tasks::OnGetdispinfo | ( | NMHDR * | pNMHDR, | |
| LRESULT * | pResult | |||
| ) | [protected] |
Definition at line 101 of file FVDownloads_Tasks.cpp.
References CDownloads_Tasks::GetDownloadImage(), CDownloads_Tasks::GetDownloadText(), m_vDlds, and CListCtrlEx::SubItemToSubItem().
| void CFVDownloads_Tasks::OnDrawItem | ( | int | nIDCtl, | |
| LPDRAWITEMSTRUCT | lpDrawItemStruct | |||
| ) | [protected] |
Definition at line 235 of file FVDownloads_Tasks.cpp.
References m_odmenu, and fsODMenu::OnDrawItem().
| void CFVDownloads_Tasks::OnMeasureItem | ( | int | nIDCtl, | |
| LPMEASUREITEMSTRUCT | lpMeasureItemStruct | |||
| ) | [protected] |
Definition at line 240 of file FVDownloads_Tasks.cpp.
References m_odmenu, and fsODMenu::OnMeasureItem().
| void CFVDownloads_Tasks::OnFvdldCreate | ( | ) | [protected] |
Definition at line 245 of file FVDownloads_Tasks.cpp.
References _pwndFVDownloads, and CFlashVideoDownloadsWnd::CreateDownload().
Referenced by CFlashVideoDownloadsWnd::OnFvdldCreate(), and CFlashVideoDownloadsWnd::OnInsert().
| void CFVDownloads_Tasks::OnFvdldLaunch | ( | ) | [protected] |
Definition at line 251 of file FVDownloads_Tasks.cpp.
References _DldsMgr, fsDownloadsMgr::LaunchDownload(), m_vDlds, and pos().
Referenced by CallSelectedDownload(), and CFlashVideoDownloadsWnd::OnFvdldLaunch().
| void CFVDownloads_Tasks::OnFvdldPasstodlds | ( | ) | [protected] |
Definition at line 263 of file FVDownloads_Tasks.cpp.
References _pwndDownloads, GetSelectedDownloads(), and CDownloadsWnd::ShowDownloads().
Referenced by CallSelectedDownload(), and CFlashVideoDownloadsWnd::OnFvdldPasstodlds().
| void CFVDownloads_Tasks::OnFvdldStart | ( | ) | [protected] |
Definition at line 274 of file FVDownloads_Tasks.cpp.
References _DldsMgr, m_vDlds, pos(), fsDownloadsMgr::StartDownloads(), and TRUE.
Referenced by CFlashVideoDownloadsWnd::OnFvdldStart(), and OnKeyDown().
| void CFVDownloads_Tasks::OnFvdldStop | ( | ) | [protected] |
Definition at line 286 of file FVDownloads_Tasks.cpp.
References _DldsMgr, _pwndDownloads, FALSE, m_vDlds, pos(), fsDownloadsMgr::StopDownloads(), TRUE, and CDownloadsWnd::UpdateDownload().
Referenced by CFlashVideoDownloadsWnd::OnFvdldStop(), and OnKeyDown().
| void CFVDownloads_Tasks::OnLButtonDblClk | ( | UINT | nFlags, | |
| CPoint | point | |||
| ) | [protected] |
| void CFVDownloads_Tasks::OnFvdldAutostart | ( | ) | [protected] |
Definition at line 350 of file FVDownloads_Tasks.cpp.
References _DldsMgr, _pwndDownloads, b, BOOL, GetSelectedDownloads(), vmsDownloadsListHelper::GetStat(), NULL, fsDownloadsMgr::ProcessDownloads(), TRUE, and CDownloadsWnd::UpdateAllDownloads().
Referenced by CFlashVideoDownloadsWnd::OnFvdldAutostart().
| void CFVDownloads_Tasks::OnFvdldDelete | ( | ) | [protected] |
Definition at line 367 of file FVDownloads_Tasks.cpp.
References DeleteSelected(), and FALSE.
Referenced by CFlashVideoDownloadsWnd::OnFvdldDelete().
| void CFVDownloads_Tasks::OnFvdldOpenfolder | ( | ) | [protected] |
Definition at line 372 of file FVDownloads_Tasks.cpp.
References m_vDlds, and pos().
Referenced by CFlashVideoDownloadsWnd::OnFvdldOpenfolder().
| void CFVDownloads_Tasks::OnRButtonDown | ( | UINT | nFlags, | |
| CPoint | point | |||
| ) | [protected] |
| void CFVDownloads_Tasks::OnFvdldProperties | ( | ) | [protected] |
Definition at line 527 of file FVDownloads_Tasks.cpp.
References ShowSelectedDldsProperties().
Referenced by CFlashVideoDownloadsWnd::OnFvdldProperties().
Definition at line 532 of file FVDownloads_Tasks.cpp.
References BOOL, OnFvdldStart(), and OnFvdldStop().
| void CFVDownloads_Tasks::OnFvdldConvert | ( | ) | [protected] |
Definition at line 722 of file FVDownloads_Tasks.cpp.
References _pwndFVDownloads, CDownloads_VideoPreview::Convert(), and CFlashVideoDownloadsWnd::m_wndPreview.
Referenced by CFlashVideoDownloadsWnd::OnFvdldConvert().
friend class CFlashVideoDownloadsWnd [friend] |
Definition at line 19 of file FVDownloads_Tasks.h.
Definition at line 51 of file FVDownloads_Tasks.h.
Referenced by OnDeleteAllItems(), OnDeleteItem(), and UpdateActiveDownload().
CPoint CFVDownloads_Tasks::m_rbPt [protected] |
Definition at line 53 of file FVDownloads_Tasks.h.
Referenced by CalcCoordsForCurSel(), OnRButtonDown(), and OnRClick().
fsODMenu CFVDownloads_Tasks::m_odmenu [protected] |
Definition at line 58 of file FVDownloads_Tasks.h.
Referenced by OnDrawItem(), OnMeasureItem(), and OnRClick().
DLDS_LIST CFVDownloads_Tasks::m_vDlds [protected] |
Definition at line 60 of file FVDownloads_Tasks.h.
Referenced by AddDownload(), CallSelectedDownload(), FindIndex(), GetSelectedDownloads(), OnFvdldLaunch(), OnFvdldOpenfolder(), OnFvdldStart(), OnFvdldStop(), OnGetdispinfo(), ShowSelectedDldsProperties(), UpdateActiveDownload(), and WillBeDeleted().
CImageList CFVDownloads_Tasks::m_images [protected] |
CImageList CFVDownloads_Tasks::m_selimages [protected] |
1.5.6