-
Notifications
You must be signed in to change notification settings - Fork 29
/
CreateDownloadListDlg.h
104 lines (83 loc) · 2.58 KB
/
CreateDownloadListDlg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/*
Free Download Manager Copyright (c) 2003-2016 FreeDownloadManager.ORG
*/
#if !defined(AFX_CREATEDOWNLOADLISTDLG_H__35ED3550_E981_4ED4_BF94_94F8132856EB__INCLUDED_)
#define AFX_CREATEDOWNLOADLISTDLG_H__35ED3550_E981_4ED4_BF94_94F8132856EB__INCLUDED_
#include "fsScheduleMgr.h"
#include "DownloadsGroupsComboBox.h"
#if _MSC_VER > 1000
#pragma once
#endif
class CCreateDownloadListDlg : public CDialog
{
public:
fs::list <fsString>* m_pvUrls;
fs::list <fsString>* m_pvReferers;
fs::list <fsString>* m_pvComments;
fs::list <fsString>* m_pvCookies;
class CFdmUiWindow* m_pUiWindow;
CCreateDownloadListDlg(CWnd* pParent = NULL);
//{{AFX_DATA(CCreateDownloadListDlg)
enum { IDD = IDD_CREATEURLLIST };
CListCtrl m_wndUrlList;
CDownloadsGroupsComboBox m_wndGroups;
CButton m_btnSetTime;
CButton m_btnCreateGroup;
CButton m_btnChooseFolder;
//}}AFX_DATA
//{{AFX_VIRTUAL(CCreateDownloadListDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX);
//}}AFX_VIRTUAL
protected:
DLDS_LIST* GenerateDownloads(BOOL bCheckDldExistance = TRUE);
static DWORD WINAPI _threadCalculateSize(LPVOID lp);
static DWORD WINAPI _threadCalcSize(LPVOID lp);
void UpdateEnabled ();
void DeleteSelectedUrls();
void WriteUrlsToDialog();
BOOL AddDownloads();
BOOL ReadAuth();
void OnChangeGroups();
BOOL m_bScheduled;
void ReadAutostart();
int m_iAutostart;
BOOL m_bAuthChanged;
BOOL m_bGroupChanged;
BOOL m_bAutoStart;
fsScheduleEx m_schScheduleParam;
vmsDownloadSmartPtr m_dld;
void PrepareCHMgr(CPoint point);
void ApplyLanguage();
//{{AFX_MSG(CCreateDownloadListDlg)
virtual BOOL OnInitDialog();
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
afx_msg void OnWhatisthis();
virtual void OnOK();
afx_msg void OnKeydownUrllist(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDelselected();
afx_msg void OnItemchangedUrllist(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnSelchangeGroups();
afx_msg void OnCreategroup();
afx_msg void OnChoosefolder();
afx_msg void OnSettime();
afx_msg void OnAdvanced();
afx_msg void OnQuerysize();
afx_msg void OnStartnow();
afx_msg void OnStartmanual();
afx_msg void OnStartschedule();
afx_msg void OnUselogin();
afx_msg void OnFilter();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
protected:
bool m_bIsFirstHit;
bool m_bUsernameChanged;
bool m_bPasswordChanged;
public:
afx_msg void OnEnChangeUser();
afx_msg void OnEnChangePassword();
};
//{{AFX_INSERT_LOCATION}}
#endif