#include <FlashVideoDownloadsWnd.h>
Public Member Functions | |
| CFlashVideoDownloadsWnd () | |
| BOOL | CreateDownload (LPCSTR pszUrl=NULL) |
| void | SetActiveDownload (vmsDownloadSmartPtr dld) |
| void | SaveAll () |
| void | OnDownloadDone (vmsDownloadSmartPtr dld) |
| void | AddDownload (vmsDownloadSmartPtr dld) |
| BOOL | Create (CWnd *pwndParent) |
| virtual | ~CFlashVideoDownloadsWnd () |
Static Public Member Functions | |
| static void | Plugin_SetLanguage (wgLanguage, HMENU hMenuMain, HMENU) |
| static void | Plugin_GetPluginNames (LPCSTR *ppszLong, LPCSTR *ppszShort) |
| static void | Plugin_GetMenuViewItems (wgMenuViewItem **ppItems, int *cItems) |
| static void | Plugin_GetMenuImages (fsSetImage **ppImages, int *pcImages) |
| static void | Plugin_GetToolBarInfo (wgTButtonInfo **ppButtons, int *pcButtons) |
| static HWND | Plugin_CreateMainWindow (HWND hWndParent) |
| static HMENU | Plugin_GetViewMenu () |
| static HMENU | Plugin_GetMainMenu () |
Public Attributes | |
| CDownloads_VideoPreview | m_wndPreview |
| CFVDownloads_Tasks | m_wndTasks |
Protected Member Functions | |
| afx_msg void | OnDLListShowCol (UINT nCmd) |
| void | ApplyLanguageToMenuView (CMenu *menu) |
| afx_msg LRESULT | OnUpdateToolBar (WPARAM, LPARAM) |
| afx_msg LRESULT | OnUpdateMenuView (WPARAM, LPARAM) |
| afx_msg LRESULT | OnUpdateMenu (WPARAM, LPARAM) |
| afx_msg LRESULT | OnAppQueryExit (WPARAM, LPARAM) |
| afx_msg LRESULT | OnAppExit (WPARAM, LPARAM) |
| afx_msg LRESULT | OnInsert (WPARAM, LPARAM) |
| afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
| afx_msg void | OnSize (UINT nType, int cx, int cy) |
| afx_msg void | OnFvdldCreate () |
| afx_msg void | OnFvdldAutostart () |
| afx_msg void | OnFvdldDelete () |
| afx_msg void | OnFvdldLaunch () |
| afx_msg void | OnFvdldOpenfolder () |
| afx_msg void | OnFvdldPasstodlds () |
| afx_msg void | OnFvdldProperties () |
| afx_msg void | OnFvdldStart () |
| afx_msg void | OnFvdldStop () |
| afx_msg void | OnFvdldConvert () |
Protected Attributes | |
| CWndSplitter | m_splitter |
Definition at line 17 of file FlashVideoDownloadsWnd.h.
| CFlashVideoDownloadsWnd::CFlashVideoDownloadsWnd | ( | ) |
Definition at line 20 of file FlashVideoDownloadsWnd.cpp.
References m_wndPreview, CDownloads_VideoPreview::set_InFVDownloads(), and TRUE.
| CFlashVideoDownloadsWnd::~CFlashVideoDownloadsWnd | ( | ) | [virtual] |
Definition at line 25 of file FlashVideoDownloadsWnd.cpp.
| void CFlashVideoDownloadsWnd::Plugin_SetLanguage | ( | wgLanguage | , | |
| HMENU | hMenuMain, | |||
| HMENU | hMenuView | |||
| ) | [static] |
Definition at line 120 of file FlashVideoDownloadsWnd.cpp.
References CDownloads_VideoPreview::ApplyLanguage(), CFVDownloads_Tasks::ApplyLanguage(), CFVDownloads_Tasks::ApplyLanguageToMenu(), ApplyLanguageToMenuView(), m_wndPreview, and m_wndTasks.
Referenced by fsPluginMgr::LoadBuiltIn().
| void CFlashVideoDownloadsWnd::Plugin_GetPluginNames | ( | LPCSTR * | ppszLong, | |
| LPCSTR * | ppszShort | |||
| ) | [static] |
Definition at line 113 of file FlashVideoDownloadsWnd.cpp.
References L_FVDOWNLOADS, and LSNP.
Referenced by fsPluginMgr::LoadBuiltIn().
| void CFlashVideoDownloadsWnd::Plugin_GetMenuViewItems | ( | wgMenuViewItem ** | ppItems, | |
| int * | cItems | |||
| ) | [static] |
Definition at line 108 of file FlashVideoDownloadsWnd.cpp.
References NULL.
Referenced by fsPluginMgr::LoadBuiltIn().
| void CFlashVideoDownloadsWnd::Plugin_GetMenuImages | ( | fsSetImage ** | ppImages, | |
| int * | pcImages | |||
| ) | [static] |
Definition at line 93 of file FlashVideoDownloadsWnd.cpp.
References ID_FVDLD_CREATE, ID_FVDLD_DELETE, ID_FVDLD_PROPERTIES, ID_FVDLD_START, and ID_FVDLD_STOP.
Referenced by fsPluginMgr::LoadBuiltIn(), and CFVDownloads_Tasks::OnRClick().
| void CFlashVideoDownloadsWnd::Plugin_GetToolBarInfo | ( | wgTButtonInfo ** | ppButtons, | |
| int * | pcButtons | |||
| ) | [static] |
Definition at line 76 of file FlashVideoDownloadsWnd.cpp.
References ID_FVDLD_CREATE, ID_FVDLD_START, ID_FVDLD_STOP, L_NEWDLD, L_STARTDLDS, L_STOPDLDS, LS, and wgTButtonInfo::pszToolTip.
Referenced by fsPluginMgr::LoadBuiltIn().
| HWND CFlashVideoDownloadsWnd::Plugin_CreateMainWindow | ( | HWND | hWndParent | ) | [static] |
Definition at line 67 of file FlashVideoDownloadsWnd.cpp.
References Create(), and fsnew1.
Referenced by fsPluginMgr::LoadBuiltIn().
| BOOL CFlashVideoDownloadsWnd::CreateDownload | ( | LPCSTR | pszUrl = NULL |
) |
Definition at line 314 of file FlashVideoDownloadsWnd.cpp.
References _DlgMgr, _pwndDownloads, CDownloadsWnd::CreateDownload(), fsDialogsMgr::DoModal(), DWCD_NOFORCEAUTOLAUNCH, DWCDAP_FLAGS, DWCDAP_MEDIA_CONVERT_SETTINGS, DWDCDAP_F_FLASHVIDEODOWNLOAD, vmsDWCD_AdditionalParameters::dwFlags, vmsDWCD_AdditionalParameters::dwMask, FALSE, CDlg_CreateFVDownload::m_bAutoConvert, CDlg_CreateFVDownload::m_bSetupAdvStgs, CDlg_CreateFVDownload::m_stgsAutoConvert, CDlg_CreateFVDownload::m_strUrl, NULL, and vmsDWCD_AdditionalParameters::stgsMediaConvert.
Referenced by CFDMFlashVideoDownloads::_threadCreateDownload(), and CFVDownloads_Tasks::OnFvdldCreate().
| HMENU CFlashVideoDownloadsWnd::Plugin_GetViewMenu | ( | ) | [static] |
Definition at line 309 of file FlashVideoDownloadsWnd.cpp.
References IDM_FVDOWNLOADS_VIEW.
Referenced by fsPluginMgr::LoadBuiltIn().
| HMENU CFlashVideoDownloadsWnd::Plugin_GetMainMenu | ( | ) | [static] |
Definition at line 304 of file FlashVideoDownloadsWnd.cpp.
References IDM_FVDOWNLOADS.
Referenced by fsPluginMgr::LoadBuiltIn().
| void CFlashVideoDownloadsWnd::SetActiveDownload | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 294 of file FlashVideoDownloadsWnd.cpp.
References m_wndPreview, and CDownloads_VideoPreview::Set_ActiveDownload().
Referenced by CFVDownloads_Tasks::OnDeleteAllItems(), CFVDownloads_Tasks::OnDeleteItem(), and CFVDownloads_Tasks::UpdateActiveDownload().
| void CFlashVideoDownloadsWnd::SaveAll | ( | ) |
Definition at line 286 of file FlashVideoDownloadsWnd.cpp.
References _App, ASSERT, CWndSplitter::GetRatio(), m_splitter, m_wndTasks, CFVDownloads_Tasks::SaveState(), and fsAppSettings::View_SplitterRatio().
Referenced by OnAppExit(), and CMainFrame::OnSaveall().
| void CFlashVideoDownloadsWnd::OnDownloadDone | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 175 of file FlashVideoDownloadsWnd.cpp.
Referenced by fsDownloadsMgr::_threadIntegrityCheckAndVirCheckAndLaunch().
| void CFlashVideoDownloadsWnd::AddDownload | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 164 of file FlashVideoDownloadsWnd.cpp.
References CFVDownloads_Tasks::AddDownload(), ASSERT, DLD_FLASH_VIDEO, and m_wndTasks.
Referenced by CDownloadsWnd::CreateDownload(), fsDownloadsMgr::OnDldDone_CheckDownloadIsHtmlPageWithVideo(), and fsDownloadsMgr::RestoreDownloads2().
| BOOL CFlashVideoDownloadsWnd::Create | ( | CWnd * | pwndParent | ) |
Definition at line 56 of file FlashVideoDownloadsWnd.cpp.
References FALSE, NULL, and TRUE.
Referenced by Plugin_CreateMainWindow().
| void CFlashVideoDownloadsWnd::OnDLListShowCol | ( | UINT | nCmd | ) | [protected] |
Definition at line 240 of file FlashVideoDownloadsWnd.cpp.
References CListCtrlEx::ChangeColumnVisibility(), ID_DLLIST_1, and m_wndTasks.
| void CFlashVideoDownloadsWnd::ApplyLanguageToMenuView | ( | CMenu * | menu | ) | [protected] |
Definition at line 227 of file FlashVideoDownloadsWnd.cpp.
References ID_DLLIST_1, ID_DLLIST_2, ID_DLLIST_3, ID_DLLIST_4, ID_DLLIST_5, ID_DLLIST_6, ID_DLLIST_7, ID_DLLIST_8, L_ADDED, L_COMMENT, L_DOWNLOADED, L_FILENAME, L_LISTOFDLDS, L_SECTIONS, L_SIZE, L_SPEED, L_TIMELEFT, and LS.
Referenced by Plugin_SetLanguage().
| LRESULT CFlashVideoDownloadsWnd::OnUpdateToolBar | ( | WPARAM | wp, | |
| LPARAM | ||||
| ) | [protected] |
Definition at line 222 of file FlashVideoDownloadsWnd.cpp.
References m_wndTasks, and CFVDownloads_Tasks::OnUpdateToolBar().
| LRESULT CFlashVideoDownloadsWnd::OnUpdateMenuView | ( | WPARAM | , | |
| LPARAM | lp | |||
| ) | [protected] |
Definition at line 203 of file FlashVideoDownloadsWnd.cpp.
References BOOL, FALSE, ID_DLLIST_1, CListCtrlEx::IsColumnShown(), and m_wndTasks.
| LRESULT CFlashVideoDownloadsWnd::OnUpdateMenu | ( | WPARAM | , | |
| LPARAM | lp | |||
| ) | [protected] |
Definition at line 197 of file FlashVideoDownloadsWnd.cpp.
References m_wndTasks, and CFVDownloads_Tasks::UpdateMenu().
| LRESULT CFlashVideoDownloadsWnd::OnAppQueryExit | ( | WPARAM | , | |
| LPARAM | ||||
| ) | [protected] |
Definition at line 192 of file FlashVideoDownloadsWnd.cpp.
| LRESULT CFlashVideoDownloadsWnd::OnAppExit | ( | WPARAM | , | |
| LPARAM | ||||
| ) | [protected] |
| LRESULT CFlashVideoDownloadsWnd::OnInsert | ( | WPARAM | , | |
| LPARAM | ||||
| ) | [protected] |
Definition at line 180 of file FlashVideoDownloadsWnd.cpp.
References m_wndTasks, and CFVDownloads_Tasks::OnFvdldCreate().
| int CFlashVideoDownloadsWnd::OnCreate | ( | LPCREATESTRUCT | lpCreateStruct | ) | [protected] |
Definition at line 129 of file FlashVideoDownloadsWnd.cpp.
References _App, _DldsMgr, CFVDownloads_Tasks::AddDownload(), CWndSplitter::Create(), CDownloads_VideoPreview::Create(), CFVDownloads_Tasks::Create(), DLD_FLASH_VIDEO, fsDownloadsMgr::GetCount(), fsDownloadsMgr::GetDownload(), m_splitter, m_wndPreview, m_wndTasks, CWndSplitter::SetMinDimensions(), CWndSplitter::SetRatio(), CWndSplitter::SetWnd1(), CWndSplitter::SetWnd2(), fsAppSettings::View_SplitterRatio(), and WST_HORIZONTAL.
| void CFlashVideoDownloadsWnd::OnSize | ( | UINT | nType, | |
| int | cx, | |||
| int | cy | |||
| ) | [protected] |
Definition at line 157 of file FlashVideoDownloadsWnd.cpp.
References CWndSplitter::ApplyRatio(), and m_splitter.
| void CFlashVideoDownloadsWnd::OnFvdldCreate | ( | ) | [protected] |
Definition at line 170 of file FlashVideoDownloadsWnd.cpp.
References m_wndTasks, and CFVDownloads_Tasks::OnFvdldCreate().
| void CFlashVideoDownloadsWnd::OnFvdldAutostart | ( | ) | [protected] |
Definition at line 246 of file FlashVideoDownloadsWnd.cpp.
References m_wndTasks, and CFVDownloads_Tasks::OnFvdldAutostart().
| void CFlashVideoDownloadsWnd::OnFvdldDelete | ( | ) | [protected] |
Definition at line 251 of file FlashVideoDownloadsWnd.cpp.
References m_wndTasks, and CFVDownloads_Tasks::OnFvdldDelete().
| void CFlashVideoDownloadsWnd::OnFvdldLaunch | ( | ) | [protected] |
Definition at line 256 of file FlashVideoDownloadsWnd.cpp.
References m_wndTasks, and CFVDownloads_Tasks::OnFvdldLaunch().
| void CFlashVideoDownloadsWnd::OnFvdldOpenfolder | ( | ) | [protected] |
Definition at line 261 of file FlashVideoDownloadsWnd.cpp.
References m_wndTasks, and CFVDownloads_Tasks::OnFvdldOpenfolder().
| void CFlashVideoDownloadsWnd::OnFvdldPasstodlds | ( | ) | [protected] |
Definition at line 266 of file FlashVideoDownloadsWnd.cpp.
References m_wndTasks, and CFVDownloads_Tasks::OnFvdldPasstodlds().
| void CFlashVideoDownloadsWnd::OnFvdldProperties | ( | ) | [protected] |
Definition at line 271 of file FlashVideoDownloadsWnd.cpp.
References m_wndTasks, and CFVDownloads_Tasks::OnFvdldProperties().
| void CFlashVideoDownloadsWnd::OnFvdldStart | ( | ) | [protected] |
Definition at line 276 of file FlashVideoDownloadsWnd.cpp.
References m_wndTasks, and CFVDownloads_Tasks::OnFvdldStart().
| void CFlashVideoDownloadsWnd::OnFvdldStop | ( | ) | [protected] |
Definition at line 281 of file FlashVideoDownloadsWnd.cpp.
References m_wndTasks, and CFVDownloads_Tasks::OnFvdldStop().
| void CFlashVideoDownloadsWnd::OnFvdldConvert | ( | ) | [protected] |
Definition at line 299 of file FlashVideoDownloadsWnd.cpp.
References m_wndTasks, and CFVDownloads_Tasks::OnFvdldConvert().
Definition at line 45 of file FlashVideoDownloadsWnd.h.
Referenced by CDownloadsWnd::_Events(), CFlashVideoDownloadsWnd(), OnCreate(), CFVDownloads_Tasks::OnFvdldConvert(), CFVDownloads_Tasks::OnUpdateToolBar(), Plugin_SetLanguage(), and SetActiveDownload().
Definition at line 46 of file FlashVideoDownloadsWnd.h.
Referenced by CDownloadsWnd::_Events(), AddDownload(), OnCreate(), OnDLListShowCol(), OnFvdldAutostart(), OnFvdldConvert(), OnFvdldCreate(), OnFvdldDelete(), OnFvdldLaunch(), OnFvdldOpenfolder(), OnFvdldPasstodlds(), OnFvdldProperties(), OnFvdldStart(), OnFvdldStop(), OnInsert(), CDownloadsWnd::OnTimer(), OnUpdateMenu(), OnUpdateMenuView(), OnUpdateToolBar(), Plugin_SetLanguage(), and SaveAll().
CWndSplitter CFlashVideoDownloadsWnd::m_splitter [protected] |
Definition at line 51 of file FlashVideoDownloadsWnd.h.
Referenced by OnCreate(), OnSize(), and SaveAll().
1.5.6