#include <DlgExportHistory.h>
Public Types | |
| enum | { IDD = IDD_EXPHIST } |
Public Member Functions | |
| CDlgExportHistory (CWnd *pParent=NULL) | |
Static Public Member Functions | |
| static void | ExportHistory (int iWhich, BOOL bCompletedOnly, BOOL bAppend) |
Protected Member Functions | |
| virtual void | DoDataExchange (CDataExchange *pDX) |
| void | ApplyLanguage () |
| virtual BOOL | OnInitDialog () |
| virtual void | OnOK () |
Static Protected Member Functions | |
| static CString | TimeToStr (FILETIME &time) |
| static BOOL | ExportHistory (LPCSTR pszFile, fs::list< fsDLHistoryRecord * > &vpHist, BOOL bAppend) |
Definition at line 13 of file DlgExportHistory.h.
| anonymous enum |
| CDlgExportHistory::CDlgExportHistory | ( | CWnd * | pParent = NULL |
) |
Definition at line 18 of file DlgExportHistory.cpp.
| void CDlgExportHistory::ExportHistory | ( | int | iWhich, | |
| BOOL | bCompletedOnly, | |||
| BOOL | bAppend | |||
| ) | [static] |
Definition at line 91 of file DlgExportHistory.cpp.
References _DldsMgr, _DlgMgr, fsDLHistoryRecord::dateDownloaded, fsDialogsMgr::DoModal(), _FILETIME::dwHighDateTime, FALSE, fsDownloadsHistoryMgr::GetRecord(), fsDownloadsHistoryMgr::GetRecordCount(), L_HTMLFILES, LS, fsDownloadsMgr::m_histmgr, CDownloadsWnd::m_wndHistory, NULL, and pos().
Referenced by OnOK().
| void CDlgExportHistory::DoDataExchange | ( | CDataExchange * | pDX | ) | [protected, virtual] |
Definition at line 26 of file DlgExportHistory.cpp.
| CString CDlgExportHistory::TimeToStr | ( | FILETIME & | time | ) | [static, protected] |
Definition at line 263 of file DlgExportHistory.cpp.
References FileTimeToStr(), and TRUE.
Referenced by ExportHistory().
| BOOL CDlgExportHistory::ExportHistory | ( | LPCSTR | pszFile, | |
| fs::list< fsDLHistoryRecord * > & | vpHist, | |||
| BOOL | bAppend | |||
| ) | [static, protected] |
Definition at line 152 of file DlgExportHistory.cpp.
References BytesToString(), fsDLHistoryRecord::dateDownloaded, fsDLHistoryRecord::dateRecordAdded, _FILETIME::dwHighDateTime, FALSE, GetFileSize(), GetLastError(), L_DESC, L_DLDEDTOFILE, L_DLDWASCOMPLETED, L_DLDWASDELETED, L_FDMHIST, L_SIZEOFFILE, L_URLOFDOWNLOAD, LPSTR, LS, NULL, fsString::Replace(), fsDLHistoryRecord::strComment, fsDLHistoryRecord::strSavedTo, fsDLHistoryRecord::strURL, TimeToStr(), TRUE, and fsDLHistoryRecord::uFileSize.
| void CDlgExportHistory::ApplyLanguage | ( | ) | [protected] |
Definition at line 52 of file DlgExportHistory.cpp.
References _LngMgr, fsMFCLangMgr::ApplyLanguage(), fsLangMgr::GetStringNP(), IDC__EXPORT, IDC__EXPORTOPTS, IDC_ALL, IDC_ALLINLIST, IDC_APPEND, IDC_COMPLETEDONLY, IDC_SELECTED, L_APPENDIFFILEEXISTS, L_CANCEL, L_EXPORT, L_EXPORTALLENTRIES, L_EXPORTALLENTRIESINLIST, L_EXPORTCOMPENTRIESONLY, L_EXPORTDLHIST, L_EXPORTOPTIONS, and L_EXPORTSELECTEDENTRIES.
Referenced by OnInitDialog().
| BOOL CDlgExportHistory::OnInitDialog | ( | ) | [protected, virtual] |
Definition at line 39 of file DlgExportHistory.cpp.
References _App, ApplyLanguage(), fsAppSettings::Export_Hist_Append(), fsAppSettings::Export_Hist_CompletedOnly(), fsAppSettings::Export_WhichHist(), IDC_ALL, IDC_APPEND, IDC_COMPLETEDONLY, IDC_SELECTED, and TRUE.
| void CDlgExportHistory::OnOK | ( | ) | [protected, virtual] |
Definition at line 71 of file DlgExportHistory.cpp.
References _App, BOOL, fsAppSettings::Export_Hist_Append(), fsAppSettings::Export_Hist_CompletedOnly(), fsAppSettings::Export_WhichHist(), ExportHistory(), IDC_ALLINLIST, IDC_APPEND, IDC_COMPLETEDONLY, and IDC_SELECTED.
1.5.6