00001 /* 00002 Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG 00003 Open Download Manager Copyright (c) 2008-2010 OpenDownloadManager.ORG 00004 */ 00005 00006 #if !defined(AFX_CREATEDOWNLOADFROMTORRENTFILEDLG_H__1959D54F_6F49_4254_A209_0F75D0BAC356__INCLUDED_) 00007 #define AFX_CREATEDOWNLOADFROMTORRENTFILEDLG_H__1959D54F_6F49_4254_A209_0F75D0BAC356__INCLUDED_ 00008 00009 #include "fsScheduleMgr.h" 00010 #if _MSC_VER > 1000 00011 #pragma once 00012 #endif 00013 00014 #include "DownloadsGroupsComboBox.h" 00015 #include "fsDownload.h" 00016 00017 class CCreateDownloadFromTorrentFileDlg : public CDialog 00018 { 00019 00020 public: 00021 00022 BOOL m_bPlaceToTop; 00023 00024 BOOL m_bScheduled; 00025 vmsDownloadSmartPtr m_dld; 00026 fsSchedule m_task; 00027 CCreateDownloadFromTorrentFileDlg(CWnd* pParent = NULL); 00028 00029 //{{AFX_DATA(CCreateDownloadFromTorrentFileDlg) 00030 enum { IDD = IDD_CREATETORRENTDOWNLOAD }; 00031 CDownloadsGroupsComboBox m_wndGroups; 00032 CButton m_btnSetTime; 00033 CButton m_btnSetDefaultFolder; 00034 CButton m_btnCreateGroup; 00035 CButton m_btnChooseFolder; 00036 CString m_strTorrentFile; 00037 //}}AFX_DATA 00038 00039 00040 //{{AFX_VIRTUAL(CCreateDownloadFromTorrentFileDlg) 00041 protected: 00042 virtual void DoDataExchange(CDataExchange* pDX); 00043 //}}AFX_VIRTUAL 00044 00045 protected: 00046 void UpdateEnabled(); 00047 void ApplyLanguage(); 00048 00049 00050 //{{AFX_MSG(CCreateDownloadFromTorrentFileDlg) 00051 virtual BOOL OnInitDialog(); 00052 afx_msg void OnUselogin(); 00053 afx_msg void OnCreategroup(); 00054 afx_msg void OnChoosefolder(); 00055 afx_msg void OnOutfolderSetdefault(); 00056 afx_msg void OnSettime(); 00057 afx_msg void OnAdvanced(); 00058 virtual void OnOK(); 00059 //}}AFX_MSG 00060 DECLARE_MESSAGE_MAP() 00061 }; 00062 00063 //{{AFX_INSERT_LOCATION}//}} 00064 00065 #endif
1.5.6