#include <HFEWnd.h>
Public Member Functions | |
| CHFEWnd () | |
| void | LogFailedMessage (LPCSTR pszMsg) |
| void | ClearHistory () |
| afx_msg LRESULT | OnAppQueryExit (WPARAM, LPARAM) |
| afx_msg LRESULT | OnAppExit (WPARAM, LPARAM) |
| void | OnGo () |
| void | SaveAll () |
| fsInternetFileListMgr * | GetMgr () |
| BOOL | Create (CWnd *pParent) |
| virtual | ~CHFEWnd () |
Static Public Member Functions | |
| static HMENU | Plugin_GetViewMenu () |
| static HMENU | Plugin_GetMainMenu () |
| 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 hParent) |
Protected Member Functions | |
| afx_msg void | OnLogShowCol (UINT uCmd) |
| afx_msg void | OnFilesListShowCol (UINT uCmd) |
| void | UpdateLogColMenu (CMenu *menu) |
| void | UpdateFilesListColMenu (CMenu *menu) |
| afx_msg LRESULT | OnUpdateMenuView (WPARAM, LPARAM lp) |
| void | ApplyLanguageToMenuView (CMenu *menu) |
| afx_msg void | OnShowLog () |
| afx_msg LRESULT | OnUpdateToolBar (WPARAM wp, LPARAM) |
| afx_msg LRESULT | OnUpdateMenu (WPARAM, LPARAM lp) |
| afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
| afx_msg void | OnDestroy () |
| afx_msg void | OnSize (UINT nType, int cx, int cy) |
| afx_msg void | OnHfeRefresh () |
| afx_msg void | OnHfeSettings () |
| afx_msg void | OnHfeStop () |
| afx_msg void | OnHfeDownload () |
| afx_msg void | OnHfeOpenfolder () |
| afx_msg void | OnHfeParentfolder () |
| afx_msg void | OnHfeDisconnect () |
| afx_msg void | OnSetFocus (CWnd *pOldWnd) |
Static Protected Member Functions | |
| static DWORD WINAPI | _threadGoUrl (LPVOID lp) |
| static void | _EventsFunc (class fsInternetFileListMgr *, fsInternetFileListMgrEvent ev, LPVOID lp) |
Protected Attributes | |
| fsEventsMgr | m_evMgr |
| fsInternetFileListMgr | m_mgr |
| CHFE_ListLog | m_wndListLog |
| CHFE_Address | m_wndUrl |
Friends | |
| class | CHFE_Log |
| class | CHFE_FileList |
Definition at line 18 of file HFEWnd.h.
| CHFEWnd::CHFEWnd | ( | ) |
Definition at line 21 of file HFEWnd.cpp.
References _EventsFunc(), m_evMgr, m_mgr, m_wndListLog, CHFE_ListLog::m_wndLog, fsInternetFileListMgr::SetEventsFunc(), and CWndLog::SetEvMgr().
| CHFEWnd::~CHFEWnd | ( | ) | [virtual] |
Definition at line 27 of file HFEWnd.cpp.
| HMENU CHFEWnd::Plugin_GetViewMenu | ( | ) | [static] |
Definition at line 538 of file HFEWnd.cpp.
References IDM_HFE_VIEW.
Referenced by fsPluginMgr::LoadBuiltIn().
| HMENU CHFEWnd::Plugin_GetMainMenu | ( | ) | [static] |
Definition at line 533 of file HFEWnd.cpp.
References IDM_HFE.
Referenced by fsPluginMgr::LoadBuiltIn().
| void CHFEWnd::LogFailedMessage | ( | LPCSTR | pszMsg | ) |
Definition at line 521 of file HFEWnd.cpp.
References fsEventsMgr::add(), CWndLog::AddRecord(), CLR_RESPONSE_E, fsnew, m_evMgr, m_wndListLog, CHFE_ListLog::m_wndLog, and fsDescEvent::pszEvent.
Referenced by CHFE_FileList::DownloadSelected().
| void CHFEWnd::ClearHistory | ( | ) |
Definition at line 516 of file HFEWnd.cpp.
References CHFE_Address::ClearHistory(), and m_wndUrl.
Referenced by fsHistoriesMgr::ClearAll().
| void CHFEWnd::Plugin_SetLanguage | ( | wgLanguage | , | |
| HMENU | hMenuMain, | |||
| HMENU | hMenuView | |||
| ) | [static] |
Definition at line 446 of file HFEWnd.cpp.
References CHFE_Address::ApplyLanguage(), CHFE_ListLog::ApplyLanguage(), CHFE_FileList::ApplyLanguageToMenu(), ApplyLanguageToMenuView(), CHFE_ListLog::m_wndFileList, m_wndListLog, and m_wndUrl.
Referenced by fsPluginMgr::LoadBuiltIn().
Definition at line 431 of file HFEWnd.cpp.
References L_EXPLORER, L_HFE, and LSNP.
Referenced by fsPluginMgr::LoadBuiltIn().
| void CHFEWnd::Plugin_GetMenuViewItems | ( | wgMenuViewItem ** | ppItems, | |
| int * | cItems | |||
| ) | [static] |
Definition at line 409 of file HFEWnd.cpp.
References L_EXPLORERLOG, LS, CHFE_ListLog::m_bShowLog, m_wndListLog, and wgMenuViewItem::pszName.
Referenced by fsPluginMgr::LoadBuiltIn().
| void CHFEWnd::Plugin_GetMenuImages | ( | fsSetImage ** | ppImages, | |
| int * | pcImages | |||
| ) | [static] |
Definition at line 390 of file HFEWnd.cpp.
References ID_HFE_DOWNLOAD, ID_HFE_OPENFOLDER, ID_HFE_REFRESH, ID_HFE_SETTINGS, and ID_HFE_STOP.
Referenced by fsPluginMgr::LoadBuiltIn(), and CHFE_FileList::OnRClick().
| void CHFEWnd::Plugin_GetToolBarInfo | ( | wgTButtonInfo ** | ppButtons, | |
| int * | pcButtons | |||
| ) | [static] |
Definition at line 353 of file HFEWnd.cpp.
References ID_HFE_DOWNLOAD, ID_HFE_REFRESH, ID_HFE_STOP, L_DOWNLOADSELECTED, L_REFRESH, L_STOP, LS, and wgTButtonInfo::pszToolTip.
Referenced by fsPluginMgr::LoadBuiltIn().
| HWND CHFEWnd::Plugin_CreateMainWindow | ( | HWND | hParent | ) | [static] |
Definition at line 60 of file HFEWnd.cpp.
References Create(), and fsnew1.
Referenced by fsPluginMgr::LoadBuiltIn().
| LRESULT CHFEWnd::OnAppQueryExit | ( | WPARAM | , | |
| LPARAM | ||||
| ) |
Definition at line 143 of file HFEWnd.cpp.
| LRESULT CHFEWnd::OnAppExit | ( | WPARAM | , | |
| LPARAM | ||||
| ) |
Definition at line 101 of file HFEWnd.cpp.
References FALSE, fsInternetFileListMgr::IsRunning(), LOG, m_mgr, nl, NULL, SaveAll(), fsInternetFileListMgr::SetEventsFunc(), and fsInternetFileListMgr::Stop().
| void CHFEWnd::OnGo | ( | ) |
Definition at line 336 of file HFEWnd.cpp.
References _threadGoUrl(), CHFE_ListLog::m_wndFileList, m_wndListLog, and NULL.
Referenced by CHFE_Address::HfeGo(), and CHFE_FileList::OnHfeGo().
| void CHFEWnd::SaveAll | ( | ) |
Definition at line 426 of file HFEWnd.cpp.
References m_wndListLog, and CHFE_ListLog::SaveState().
Referenced by OnAppExit(), and CMainFrame::OnSaveall().
| fsInternetFileListMgr * CHFEWnd::GetMgr | ( | ) |
Definition at line 157 of file HFEWnd.cpp.
References m_mgr.
Referenced by CHFE_FileList::BuildList(), CHFE_FileList::DownloadSelected(), CHFE_ProtocolPage::OnApply(), CHFE_FileList::OnHfeDisconnect(), CHFE_FileList::OnHfeDownload(), CHFE_FileList::OnHfeOpenfolder(), CHFE_FileList::OnHfeParentfolder(), CHFE_FileList::OnHfeRefresh(), CHFE_FileList::OnHfeStop(), CHFE_FileList::OnUpdateToolBar(), CHFE_FileList::UpdateList(), CHFE_FileList::UpdateMenu(), CMainFrame::UpdateSettings(), and CHFE_Address::UpdateUrl().
| BOOL CHFEWnd::Create | ( | CWnd * | pParent | ) |
Definition at line 69 of file HFEWnd.cpp.
References FALSE, NULL, and TRUE.
Referenced by Plugin_CreateMainWindow().
| void CHFEWnd::OnLogShowCol | ( | UINT | uCmd | ) | [protected] |
Definition at line 510 of file HFEWnd.cpp.
References CListCtrlEx::ChangeColumnVisibility(), ID_LOG_1, m_wndListLog, and CHFE_ListLog::m_wndLog.
| void CHFEWnd::OnFilesListShowCol | ( | UINT | uCmd | ) | [protected] |
Definition at line 504 of file HFEWnd.cpp.
References CListCtrlEx::ChangeColumnVisibility(), ID_LISTOFFILES_1, CHFE_ListLog::m_wndFileList, and m_wndListLog.
| void CHFEWnd::UpdateLogColMenu | ( | CMenu * | menu | ) | [protected] |
Definition at line 490 of file HFEWnd.cpp.
References BOOL, FALSE, ID_LOG_1, CListCtrlEx::IsColumnShown(), m_wndListLog, and CHFE_ListLog::m_wndLog.
Referenced by OnUpdateMenuView().
| void CHFEWnd::UpdateFilesListColMenu | ( | CMenu * | menu | ) | [protected] |
Definition at line 476 of file HFEWnd.cpp.
References BOOL, FALSE, ID_LISTOFFILES_1, CListCtrlEx::IsColumnShown(), CHFE_ListLog::m_wndFileList, and m_wndListLog.
Referenced by OnUpdateMenuView().
| LRESULT CHFEWnd::OnUpdateMenuView | ( | WPARAM | , | |
| LPARAM | lp | |||
| ) | [protected] |
Definition at line 468 of file HFEWnd.cpp.
References UpdateFilesListColMenu(), and UpdateLogColMenu().
| void CHFEWnd::ApplyLanguageToMenuView | ( | CMenu * | menu | ) | [protected] |
Definition at line 455 of file HFEWnd.cpp.
References ID_LISTOFFILES_1, ID_LISTOFFILES_2, ID_LISTOFFILES_3, ID_LOG_1, ID_LOG_2, ID_LOG_3, L_DATE, L_EXPLORERLOG, L_FILENAME, L_INFORMATION, L_LISTOFFILES, L_SIZE, L_TIME, and LS.
Referenced by Plugin_SetLanguage().
| void CHFEWnd::OnShowLog | ( | ) | [protected] |
Definition at line 421 of file HFEWnd.cpp.
References FALSE, CHFE_ListLog::m_bShowLog, m_wndListLog, and CHFE_ListLog::ShowLog().
| LRESULT CHFEWnd::OnUpdateToolBar | ( | WPARAM | wp, | |
| LPARAM | ||||
| ) | [protected] |
Definition at line 370 of file HFEWnd.cpp.
References CHFE_ListLog::m_wndFileList, m_wndListLog, and CHFE_FileList::OnUpdateToolBar().
| DWORD WINAPI CHFEWnd::_threadGoUrl | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 343 of file HFEWnd.cpp.
References fsInternetFileListMgr::GetList(), CHFE_Address::GetUrl(), fsInternetFileListMgr::IsRunning(), m_mgr, m_wndUrl, NULL, and fsInternetFileListMgr::Stop().
Referenced by OnGo().
| LRESULT CHFEWnd::OnUpdateMenu | ( | WPARAM | , | |
| LPARAM | lp | |||
| ) | [protected] |
Definition at line 315 of file HFEWnd.cpp.
References CHFE_ListLog::m_wndFileList, m_wndListLog, and CHFE_FileList::UpdateMenu().
| void CHFEWnd::_EventsFunc | ( | class fsInternetFileListMgr * | mgr, | |
| fsInternetFileListMgrEvent | ev, | |||
| LPVOID | lp | |||
| ) | [static, protected] |
Definition at line 162 of file HFEWnd.cpp.
References _App, fsEventsMgr::add(), CWndLog::AddRecord(), CLR_DONE, CLR_INQUIRY, CLR_RESPONSE_E, CLR_RESPONSE_S, FLME_CONNECTED, FLME_CONNECTING, FLME_CONNECTIONWASLOST_RESTORE, FLME_DONE, FLME_DONE_FROM_CACHE, FLME_ERROR, FLME_GETTINGLIST, FLME_HTTP_LISTREAD, FLME_HTTP_STARTBUILDLIST, FLME_PAUSE, FLME_STOPPED, FLME_TRYINGTOUSESITEMGRLOGIN, fsIRToStr(), fsnew, fsInternetFileListMgr::GetLastError(), fsInternetFileListMgr::GetLastErrorDesc(), IR_EXTERROR, L_BUILDINGLIST2, L_CONNECTINGTOSERV, L_CONNLOSTTRYINGTORESTORE, L_CONNSUCC, L_DLDSTOPPED, L_DONE, L_PAUSESECS, L_RETRLIST, L_SUCCESS, L_TRYINGSITEMGR, LS, m_evMgr, m_mgr, CHFE_ListLog::m_wndFileList, m_wndListLog, CHFE_ListLog::m_wndLog, m_wndUrl, NULL, fsDescEvent::pszEvent, fsAppSettings::RetriesTime(), CHFE_FileList::UpdateList(), and CHFE_Address::UpdateUrl().
Referenced by CHFEWnd().
| int CHFEWnd::OnCreate | ( | LPCREATESTRUCT | lpCreateStruct | ) | [protected] |
Definition at line 80 of file HFEWnd.cpp.
References CHFE_ListLog::Create(), CHFE_Address::Create(), m_wndListLog, and m_wndUrl.
| void CHFEWnd::OnDestroy | ( | ) | [protected] |
Definition at line 94 of file HFEWnd.cpp.
| void CHFEWnd::OnSize | ( | UINT | nType, | |
| int | cx, | |||
| int | cy | |||
| ) | [protected] |
| void CHFEWnd::OnHfeRefresh | ( | ) | [protected] |
Definition at line 321 of file HFEWnd.cpp.
References CHFE_ListLog::m_wndFileList, m_wndListLog, and CHFE_FileList::OnHfeRefresh().
| void CHFEWnd::OnHfeSettings | ( | ) | [protected] |
Definition at line 326 of file HFEWnd.cpp.
References CHFE_ListLog::m_wndFileList, m_wndListLog, and CHFE_FileList::OnHfeSettings().
| void CHFEWnd::OnHfeStop | ( | ) | [protected] |
Definition at line 331 of file HFEWnd.cpp.
References CHFE_ListLog::m_wndFileList, m_wndListLog, and CHFE_FileList::OnHfeStop().
| void CHFEWnd::OnHfeDownload | ( | ) | [protected] |
Definition at line 375 of file HFEWnd.cpp.
References CHFE_ListLog::m_wndFileList, m_wndListLog, and CHFE_FileList::OnHfeDownload().
| void CHFEWnd::OnHfeOpenfolder | ( | ) | [protected] |
Definition at line 380 of file HFEWnd.cpp.
References CHFE_ListLog::m_wndFileList, m_wndListLog, and CHFE_FileList::OnHfeOpenfolder().
| void CHFEWnd::OnHfeParentfolder | ( | ) | [protected] |
Definition at line 385 of file HFEWnd.cpp.
References CHFE_ListLog::m_wndFileList, m_wndListLog, and CHFE_FileList::OnHfeParentfolder().
| void CHFEWnd::OnHfeDisconnect | ( | ) | [protected] |
Definition at line 404 of file HFEWnd.cpp.
References CHFE_ListLog::m_wndFileList, m_wndListLog, and CHFE_FileList::OnHfeDisconnect().
| void CHFEWnd::OnSetFocus | ( | CWnd * | pOldWnd | ) | [protected] |
friend class CHFE_FileList [friend] |
fsEventsMgr CHFEWnd::m_evMgr [protected] |
Definition at line 70 of file HFEWnd.h.
Referenced by _EventsFunc(), CHFEWnd(), LogFailedMessage(), and CHFE_Log::OnClear().
fsInternetFileListMgr CHFEWnd::m_mgr [protected] |
Definition at line 73 of file HFEWnd.h.
Referenced by _EventsFunc(), _threadGoUrl(), CHFEWnd(), GetMgr(), and OnAppExit().
CHFE_ListLog CHFEWnd::m_wndListLog [protected] |
Definition at line 74 of file HFEWnd.h.
Referenced by _EventsFunc(), CHFEWnd(), LogFailedMessage(), OnCreate(), OnFilesListShowCol(), OnGo(), OnHfeDisconnect(), OnHfeDownload(), OnHfeOpenfolder(), OnHfeParentfolder(), OnHfeRefresh(), OnHfeSettings(), OnHfeStop(), OnLogShowCol(), OnShowLog(), OnSize(), OnUpdateMenu(), OnUpdateToolBar(), Plugin_GetMenuViewItems(), Plugin_SetLanguage(), SaveAll(), UpdateFilesListColMenu(), and UpdateLogColMenu().
CHFE_Address CHFEWnd::m_wndUrl [protected] |
Definition at line 75 of file HFEWnd.h.
Referenced by _EventsFunc(), _threadGoUrl(), ClearHistory(), CHFE_FileList::DownloadSelected(), OnCreate(), CHFE_FileList::OnHfeOpenfolder(), OnSetFocus(), OnSize(), CHFE_FileList::OnUpdateToolBar(), and Plugin_SetLanguage().
1.5.6