#include <UploadsWnd.h>
Public Member Functions | |
| CUploadsWnd () | |
| void | SaveAll () |
| void | ApplyLanguageToMenu (CMenu *menu) |
| BOOL | Create (CWnd *pWndParent) |
| virtual | ~CUploadsWnd () |
Static Public Member Functions | |
| static BOOL | LoadFumCoreDll (bool bShowUI=false) |
| static HMENU | Plugin_GetViewMenu () |
| static HMENU | Plugin_GetMainMenu () |
| static void | Plugin_SetLanguage (wgLanguage, HMENU hMenuMain, HMENU hMenuView) |
| static void | Plugin_GetPluginNames (LPCSTR *ppszLong, LPCSTR *ppszShort) |
| static void | Plugin_GetMenuViewItems (wgMenuViewItem **ppItems, int *) |
| static void | Plugin_GetMenuImages (fsSetImage **ppImages, int *pcImages) |
| static void | Plugin_GetToolBarInfo (wgTButtonInfo **ppButtons, int *pcButtons) |
| static HWND | Plugin_CreateMainWindow (HWND hWndParent) |
Public Attributes | |
| vmsUploadsDll::vmsUploadsWnd * | m_pwndUploads |
Protected Member Functions | |
| afx_msg void | OnUploadsCmd (UINT nCmd) |
| afx_msg void | OnLogShowCol (UINT nID) |
| afx_msg void | OnListShowCol (UINT nID) |
| void | UpdateListColMenu (CMenu *menu) |
| void | ApplyLanguageToMenuView (CMenu *menu) |
| void | UpdateLogColMenu (CMenu *menu) |
| afx_msg LRESULT | OnUpdateMenuView (WPARAM, LPARAM lp) |
| afx_msg LRESULT | OnInsert (WPARAM, LPARAM) |
| int | UpdateToolBar (UINT nID) |
| afx_msg LRESULT | OnUpdateToolBar (WPARAM wp, LPARAM) |
| void | UpdateMenu (CMenu *menu) |
| afx_msg LRESULT | OnUpdateMenu (WPARAM, LPARAM lp) |
| afx_msg LRESULT | OnAppQueryExit (WPARAM, LPARAM) |
| afx_msg LRESULT | OnAppExit (WPARAM, LPARAM) |
| afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
| afx_msg void | OnSize (UINT nType, int cx, int cy) |
Protected Attributes | |
| vmsUploadsDllCaller | m_udc |
Static Protected Attributes | |
| static HMODULE | m_hUploadsDll = NULL |
Definition at line 18 of file UploadsWnd.h.
| CUploadsWnd::CUploadsWnd | ( | ) |
| CUploadsWnd::~CUploadsWnd | ( | ) | [virtual] |
Definition at line 28 of file UploadsWnd.cpp.
| BOOL CUploadsWnd::LoadFumCoreDll | ( | bool | bShowUI = false |
) | [static] |
Definition at line 317 of file UploadsWnd.cpp.
References ASSERT, vmsUploadsDll::DLL_INTERFACE_VERSION, FALSE, fsGetFumProgramFilesFolder(), L_FDM_FUMCOREDLL_REQTOUPDATE, L_WARNING, LS, m_hUploadsDll, NULL, and TRUE.
Referenced by CMainFrame::LoadMenuImages(), and OnCreate().
| HMENU CUploadsWnd::Plugin_GetViewMenu | ( | ) | [static] |
Definition at line 306 of file UploadsWnd.cpp.
References IDM_UPLOADS_VIEW.
Referenced by fsPluginMgr::LoadBuiltIn().
| HMENU CUploadsWnd::Plugin_GetMainMenu | ( | ) | [static] |
Definition at line 300 of file UploadsWnd.cpp.
References vmsUploadsDll::vmsUploadsWnd::GetUploadsMenu(), m_pwndUploads, and NULL.
Referenced by fsPluginMgr::LoadBuiltIn().
| void CUploadsWnd::SaveAll | ( | ) |
Definition at line 233 of file UploadsWnd.cpp.
References m_pwndUploads, and vmsUploadsDll::vmsUploadsWnd::SaveAll().
Referenced by OnAppExit(), and CMainFrame::OnSaveall().
| void CUploadsWnd::ApplyLanguageToMenu | ( | CMenu * | menu | ) |
Definition at line 197 of file UploadsWnd.cpp.
References vmsUploadsDll::vmsUploadsWnd::ApplyLanguageToMenu(), L_UPLOADS, LS, and m_pwndUploads.
Referenced by Plugin_SetLanguage().
| void CUploadsWnd::Plugin_SetLanguage | ( | wgLanguage | , | |
| HMENU | hMenuMain, | |||
| HMENU | hMenuView | |||
| ) | [static] |
Definition at line 120 of file UploadsWnd.cpp.
References vmsUploadsDll::vmsUploadsWnd::ApplyLanguage(), ApplyLanguageToMenu(), ApplyLanguageToMenuView(), m_pwndUploads, and NULL.
Referenced by fsPluginMgr::LoadBuiltIn().
Definition at line 113 of file UploadsWnd.cpp.
References L_UPLOADS, and LSNP.
Referenced by fsPluginMgr::LoadBuiltIn().
| void CUploadsWnd::Plugin_GetMenuViewItems | ( | wgMenuViewItem ** | ppItems, | |
| int * | ||||
| ) | [static] |
Definition at line 108 of file UploadsWnd.cpp.
References NULL.
Referenced by fsPluginMgr::LoadBuiltIn().
| void CUploadsWnd::Plugin_GetMenuImages | ( | fsSetImage ** | ppImages, | |
| int * | pcImages | |||
| ) | [static] |
Definition at line 92 of file UploadsWnd.cpp.
References ID_UPL_CREATENEW, ID_UPL_DELETE, ID_UPL_PROPERTIES, ID_UPL_START, and ID_UPL_STOP.
Referenced by fsPluginMgr::LoadBuiltIn().
| void CUploadsWnd::Plugin_GetToolBarInfo | ( | wgTButtonInfo ** | ppButtons, | |
| int * | pcButtons | |||
| ) | [static] |
Definition at line 73 of file UploadsWnd.cpp.
References ID_UPL_CREATENEW, ID_UPL_START, ID_UPL_STOP, L_START_UPLOAD, L_STOP_UPLOAD, L_UPLOADFILES, LS, and wgTButtonInfo::pszToolTip.
Referenced by fsPluginMgr::LoadBuiltIn().
| HWND CUploadsWnd::Plugin_CreateMainWindow | ( | HWND | hWndParent | ) | [static] |
Definition at line 64 of file UploadsWnd.cpp.
References Create(), and fsnew1.
Referenced by fsPluginMgr::LoadBuiltIn().
| BOOL CUploadsWnd::Create | ( | CWnd * | pWndParent | ) |
Definition at line 53 of file UploadsWnd.cpp.
References FALSE, NULL, and TRUE.
Referenced by Plugin_CreateMainWindow().
| void CUploadsWnd::OnUploadsCmd | ( | UINT | nCmd | ) | [protected] |
Definition at line 311 of file UploadsWnd.cpp.
References vmsUploadsDll::vmsUploadsWnd::get_Wnd(), and m_pwndUploads.
Referenced by OnInsert().
| void CUploadsWnd::OnLogShowCol | ( | UINT | nID | ) | [protected] |
Definition at line 294 of file UploadsWnd.cpp.
References vmsUploadsDll::vmsUploadsWnd::ChangeListViewColumnVisibility(), ID_ULOG_1, vmsUploadsDll::LV_TASK_LOG, and m_pwndUploads.
| void CUploadsWnd::OnListShowCol | ( | UINT | nID | ) | [protected] |
Definition at line 288 of file UploadsWnd.cpp.
References vmsUploadsDll::vmsUploadsWnd::ChangeListViewColumnVisibility(), ID_ULLIST_1, vmsUploadsDll::LV_UPLOADS_TASKS, and m_pwndUploads.
| void CUploadsWnd::UpdateListColMenu | ( | CMenu * | menu | ) | [protected] |
Definition at line 272 of file UploadsWnd.cpp.
References ASSERT, BOOL, FALSE, vmsUploadsDll::vmsUploadsWnd::GetListViewColumnCount(), ID_ULLIST_1, vmsUploadsDll::vmsUploadsWnd::IsListViewColumnShown(), vmsUploadsDll::LV_UPLOADS_TASKS, and m_pwndUploads.
Referenced by OnUpdateMenuView().
| void CUploadsWnd::ApplyLanguageToMenuView | ( | CMenu * | menu | ) | [protected] |
Definition at line 257 of file UploadsWnd.cpp.
References ID_ULLIST_1, ID_ULLIST_2, ID_ULLIST_3, ID_ULLIST_4, ID_ULLIST_5, ID_ULLIST_6, ID_ULLIST_7, ID_ULOG_1, ID_ULOG_2, ID_ULOG_3, L_ADDED, L_DATE, L_INFORMATION, L_LISTOFUPLS, L_LOG, L_NAME, L_SIZE, L_SPEED, L_TIME, L_TIMELEFT, L_UPLOADED, and LS.
Referenced by Plugin_SetLanguage().
| void CUploadsWnd::UpdateLogColMenu | ( | CMenu * | menu | ) | [protected] |
Definition at line 239 of file UploadsWnd.cpp.
References ASSERT, BOOL, FALSE, vmsUploadsDll::vmsUploadsWnd::GetListViewColumnCount(), ID_ULOG_1, vmsUploadsDll::vmsUploadsWnd::IsListViewColumnShown(), vmsUploadsDll::LV_TASK_LOG, and m_pwndUploads.
Referenced by OnUpdateMenuView().
| LRESULT CUploadsWnd::OnUpdateMenuView | ( | WPARAM | , | |
| LPARAM | lp | |||
| ) | [protected] |
Definition at line 189 of file UploadsWnd.cpp.
References UpdateListColMenu(), and UpdateLogColMenu().
| LRESULT CUploadsWnd::OnInsert | ( | WPARAM | , | |
| LPARAM | ||||
| ) | [protected] |
| int CUploadsWnd::UpdateToolBar | ( | UINT | nID | ) | [protected] |
Definition at line 168 of file UploadsWnd.cpp.
References BOOL, vmsUploadsDll::vmsUploadsWnd::GetMenuCommandState(), m_pwndUploads, NULL, WGP_CMDITEMSTATE_CHECKED, WGP_CMDITEMSTATE_DISABLED, and WGP_CMDITEMSTATE_ENABLED.
Referenced by OnUpdateToolBar().
| LRESULT CUploadsWnd::OnUpdateToolBar | ( | WPARAM | wp, | |
| LPARAM | ||||
| ) | [protected] |
| void CUploadsWnd::UpdateMenu | ( | CMenu * | menu | ) | [protected] |
Definition at line 157 of file UploadsWnd.cpp.
References m_pwndUploads, and vmsUploadsDll::vmsUploadsWnd::UpdateMenu().
Referenced by OnUpdateMenu().
| LRESULT CUploadsWnd::OnUpdateMenu | ( | WPARAM | , | |
| LPARAM | lp | |||
| ) | [protected] |
| LRESULT CUploadsWnd::OnAppQueryExit | ( | WPARAM | , | |
| LPARAM | ||||
| ) | [protected] |
Definition at line 146 of file UploadsWnd.cpp.
| LRESULT CUploadsWnd::OnAppExit | ( | WPARAM | , | |
| LPARAM | ||||
| ) | [protected] |
Definition at line 128 of file UploadsWnd.cpp.
References FALSE, vmsUploadsDll::vmsUploadsWnd::get_UploadsStat(), vmsUploadsStat::IsUploadsRunning(), m_pwndUploads, NULL, SaveAll(), and vmsUploadsDll::vmsUploadsWnd::StopAllUploads().
| int CUploadsWnd::OnCreate | ( | LPCREATESTRUCT | lpCreateStruct | ) | [protected] |
Definition at line 205 of file UploadsWnd.cpp.
References ASSERT, FALSE, LoadFumCoreDll(), m_hUploadsDll, m_pwndUploads, m_udc, and NULL.
| void CUploadsWnd::OnSize | ( | UINT | nType, | |
| int | cx, | |||
| int | cy | |||
| ) | [protected] |
Definition at line 227 of file UploadsWnd.cpp.
References vmsUploadsDll::vmsUploadsWnd::get_Wnd(), and m_pwndUploads.
Definition at line 35 of file UploadsWnd.h.
Referenced by ApplyLanguageToMenu(), CMainFrame::ApplyLanguageToMenu(), CFDMUploader::CreateUpload(), CUploadsWnd(), CMainFrame::GetTumMenuPosition(), CFDMUploader::GetUploadPackageName(), CFDMUploader::GetUploadTargetUrl(), OnAppExit(), OnCreate(), OnListShowCol(), OnLogShowCol(), OnSize(), CMainFrame::OnUpldroptions(), OnUploadsCmd(), Plugin_GetMainMenu(), Plugin_SetLanguage(), SaveAll(), UpdateListColMenu(), UpdateLogColMenu(), UpdateMenu(), UpdateToolBar(), and CMainFrame::WindowProc().
HMODULE CUploadsWnd::m_hUploadsDll = NULL [static, protected] |
vmsUploadsDllCaller CUploadsWnd::m_udc [protected] |
1.5.6