#include <CreateDownloadFromTorrentFileDlg.h>
Public Types | |
| enum | { IDD = IDD_CREATETORRENTDOWNLOAD } |
Public Member Functions | |
| CCreateDownloadFromTorrentFileDlg (CWnd *pParent=NULL) | |
Public Attributes | |
| BOOL | m_bPlaceToTop |
| BOOL | m_bScheduled |
| vmsDownloadSmartPtr | m_dld |
| fsSchedule | m_task |
| CDownloadsGroupsComboBox | m_wndGroups |
| CButton | m_btnSetTime |
| CButton | m_btnSetDefaultFolder |
| CButton | m_btnCreateGroup |
| CButton | m_btnChooseFolder |
| CString | m_strTorrentFile |
Protected Member Functions | |
| virtual void | DoDataExchange (CDataExchange *pDX) |
| void | UpdateEnabled () |
| void | ApplyLanguage () |
| virtual BOOL | OnInitDialog () |
| afx_msg void | OnUselogin () |
| afx_msg void | OnCreategroup () |
| afx_msg void | OnChoosefolder () |
| afx_msg void | OnOutfolderSetdefault () |
| afx_msg void | OnSettime () |
| afx_msg void | OnAdvanced () |
| virtual void | OnOK () |
Definition at line 17 of file CreateDownloadFromTorrentFileDlg.h.
| anonymous enum |
| CCreateDownloadFromTorrentFileDlg::CCreateDownloadFromTorrentFileDlg | ( | CWnd * | pParent = NULL |
) |
Definition at line 21 of file CreateDownloadFromTorrentFileDlg.cpp.
References FALSE, m_bPlaceToTop, m_bScheduled, and m_strTorrentFile.
| void CCreateDownloadFromTorrentFileDlg::DoDataExchange | ( | CDataExchange * | pDX | ) | [protected, virtual] |
Definition at line 32 of file CreateDownloadFromTorrentFileDlg.cpp.
References IDC_CHOOSEFOLDER, IDC_CREATEGROUP, IDC_GROUPS, IDC_OUTFOLDER_SETDEFAULT, IDC_SETTIME, IDC_TORRENTFILE, m_btnChooseFolder, m_btnCreateGroup, m_btnSetDefaultFolder, m_btnSetTime, m_strTorrentFile, and m_wndGroups.
| void CCreateDownloadFromTorrentFileDlg::UpdateEnabled | ( | ) | [protected] |
Definition at line 139 of file CreateDownloadFromTorrentFileDlg.cpp.
References BOOL, IDC__PASSWORD, IDC__USER, IDC_PASSWORD, IDC_USELOGIN, and IDC_USER.
Referenced by OnInitDialog(), and OnUselogin().
| void CCreateDownloadFromTorrentFileDlg::ApplyLanguage | ( | ) | [protected] |
Definition at line 112 of file CreateDownloadFromTorrentFileDlg.cpp.
References _LngMgr, fsMFCLangMgr::ApplyLanguage(), IDC__COMMENT, IDC__FILE, IDC__GROUP, IDC__PASSWORD, IDC__SAVETO, IDC__START, IDC__USER, IDC_ADVANCED, IDC_PLACEATTOP, IDC_STARTMANUAL, IDC_STARTNOW, IDC_STARTSCHEDULE, IDC_USELOGIN, L_ADVANCED, L_AUTOMATICALLY, L_CANCEL, L_COMMENT, L_CREATENEWTORRENTDLD, L_GROUP, L_MANUALLY, L_PASSWORD, L_PLACEDLDATTOP, L_SAVETO, L_SCHEDULE, L_START, L_TORRENTFILE, L_TRACKERLOGINREQ, L_USER, and TRUE.
Referenced by OnInitDialog().
| BOOL CCreateDownloadFromTorrentFileDlg::OnInitDialog | ( | ) | [protected, virtual] |
Definition at line 56 of file CreateDownloadFromTorrentFileDlg.cpp.
References _App, _DldsGrps, _LastFolders, ApplyLanguage(), fsSchedule::dwFlags, _FILETIME::dwHighDateTime, _FILETIME::dwLowDateTime, fsWhenToStart::enType, FALSE, CDownloadsGroupsComboBox::Fill(), vmsDownloadsGroupsMgr::FindGroupByExt(), fsCmdHistoryMgr::GetRecord(), fsCmdHistoryMgr::GetRecordCount(), CDownloadsGroupsComboBox::GetSelectedGroup(), GRP_OTHER_ID, fsSchedule::hts, HTS_ONCE, IDC_OUTFOLDER, IDC_STARTMANUAL, IDC_STARTNOW, IDC_STARTSCHEDULE, IDI_CHOOSEFOLDER, IDI_CREATEGROUP, IDI_SETFOLDERDEFAULT, IDI_SETTIME, fsWhenToStart::last, fsAppSettings::Last_Autostart(), m_btnChooseFolder, m_btnCreateGroup, m_btnSetDefaultFolder, m_btnSetTime, m_task, m_wndGroups, mfcSetForegroundWindow(), fsAppSettings::NewDL_GroupId(), fsWhenToStart::next, NULL, SCHEDULE_ENABLED, CDownloadsGroupsComboBox::SelectGroup(), CDownloadsGroupsComboBox::SelectGroupById(), SICO, TRUE, UpdateEnabled(), and fsSchedule::uWaitForConfirmation.
| void CCreateDownloadFromTorrentFileDlg::OnUselogin | ( | ) | [protected] |
| void CCreateDownloadFromTorrentFileDlg::OnCreategroup | ( | ) | [protected] |
Definition at line 149 of file CreateDownloadFromTorrentFileDlg.cpp.
References CDownloadsGroupsComboBox::CreateNewGroup(), CDownloadsGroupsComboBox::GetSelectedGroup(), IDC_OUTFOLDER, and m_wndGroups.
| void CCreateDownloadFromTorrentFileDlg::OnChoosefolder | ( | ) | [protected] |
Definition at line 157 of file CreateDownloadFromTorrentFileDlg.cpp.
References CFolderBrowser::Create(), CFolderBrowser::GetPath(), IDC_OUTFOLDER, L_CHOOSEOUTFOLDER, LS, and NULL.
| void CCreateDownloadFromTorrentFileDlg::OnOutfolderSetdefault | ( | ) | [protected] |
Definition at line 173 of file CreateDownloadFromTorrentFileDlg.cpp.
References CCreateDownloadDlg::_SetDownloadOutputFolderAsDefault(), CDownloadsGroupsComboBox::GetSelectedGroup(), IDC_OUTFOLDER, and m_wndGroups.
| void CCreateDownloadFromTorrentFileDlg::OnSettime | ( | ) | [protected] |
Definition at line 181 of file CreateDownloadFromTorrentFileDlg.cpp.
References _DlgMgr, fsDialogsMgr::DoModal(), FALSE, IDC_STARTNOW, IDC_STARTSCHEDULE, CScheduleSheet::Init(), L_SCHEDULEDLDS, LS, and m_task.
| void CCreateDownloadFromTorrentFileDlg::OnAdvanced | ( | ) | [protected] |
Definition at line 195 of file CreateDownloadFromTorrentFileDlg.cpp.
References _DlgMgr, BTDS_MISC_PAGE, fsDialogsMgr::DoModal(), CBtDldSheet::Init(), L_ADVANCED, LS, and m_dld.
| void CCreateDownloadFromTorrentFileDlg::OnOK | ( | ) | [protected, virtual] |
Definition at line 204 of file CreateDownloadFromTorrentFileDlg.cpp.
References _App, CCreateDownloadDlg::_CheckFolderName(), _DldsGrps, _LastFolders, fsCmdHistoryMgr::AddRecord(), vmsBtDownloadManager::CreateByTorrentFile(), FALSE, vmsDownloadsGroupsMgr::FindGroup(), fsPathToGoodPath(), vmsBtDownloadManager::get_TorrentComment(), CDownloadsGroupsComboBox::GetSelectedGroup(), IDC_COMMENT, IDC_OUTFOLDER, IDC_PASSWORD, IDC_PLACEATTOP, IDC_STARTNOW, IDC_STARTSCHEDULE, IDC_USELOGIN, IDC_USER, fsString::IsEmpty(), L_ENTERFLRNAME, L_ERR, L_FAILEDTOADDTHISTORRENT, L_INPERR, fsAppSettings::Last_Autostart(), LPSTR, LS, m_bPlaceToTop, m_bScheduled, m_dld, m_strTorrentFile, m_wndGroups, fsAppSettings::NewDL_GroupId(), fsAppSettings::NewGrp_SelectWay(), NGSW_USE_ALWAYS_SAME_GROUP_WITH_OUTFOLDER_AUTO_UPDATE, NULL, CDownloadsGroupsComboBox::RememberSelectedGroup(), and vmsBtDownloadManager::set_TrackerLogin().
Definition at line 22 of file CreateDownloadFromTorrentFileDlg.h.
Referenced by CCreateDownloadFromTorrentFileDlg(), CDownloadsWnd::CreateBtDownloadFromFile(), and OnOK().
Definition at line 24 of file CreateDownloadFromTorrentFileDlg.h.
Referenced by CCreateDownloadFromTorrentFileDlg(), CDownloadsWnd::CreateBtDownloadFromFile(), and OnOK().
Definition at line 25 of file CreateDownloadFromTorrentFileDlg.h.
Referenced by CDownloadsWnd::CreateBtDownloadFromFile(), OnAdvanced(), and OnOK().
Definition at line 26 of file CreateDownloadFromTorrentFileDlg.h.
Referenced by CDownloadsWnd::CreateBtDownloadFromFile(), OnInitDialog(), and OnSettime().
Definition at line 31 of file CreateDownloadFromTorrentFileDlg.h.
Referenced by DoDataExchange(), OnCreategroup(), OnInitDialog(), OnOK(), and OnOutfolderSetdefault().
Definition at line 32 of file CreateDownloadFromTorrentFileDlg.h.
Referenced by DoDataExchange(), and OnInitDialog().
Definition at line 33 of file CreateDownloadFromTorrentFileDlg.h.
Referenced by DoDataExchange(), and OnInitDialog().
Definition at line 34 of file CreateDownloadFromTorrentFileDlg.h.
Referenced by DoDataExchange(), and OnInitDialog().
Definition at line 35 of file CreateDownloadFromTorrentFileDlg.h.
Referenced by DoDataExchange(), and OnInitDialog().
Definition at line 36 of file CreateDownloadFromTorrentFileDlg.h.
Referenced by CCreateDownloadFromTorrentFileDlg(), CDownloadsWnd::CreateBtDownloadFromFile(), DoDataExchange(), and OnOK().
1.5.6