forked from svn2github/FDM
-
Notifications
You must be signed in to change notification settings - Fork 4
/
BtDld_Files.h
57 lines (44 loc) · 1.33 KB
/
BtDld_Files.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
/*
Free Download Manager Copyright (c) 2003-2016 FreeDownloadManager.ORG
*/
#if !defined(AFX_BTDLD_FILES_H__405B1684_479A_4F03_BF6A_67DC3FACC03D__INCLUDED_)
#define AFX_BTDLD_FILES_H__405B1684_479A_4F03_BF6A_67DC3FACC03D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif
#include "resource.h"
#include "ColumnTreeCtrl.h"
class CBtDld_Files : public CPropertyPage
{
DECLARE_DYNCREATE(CBtDld_Files)
public:
DLDS_LIST* m_pvDlds;
CBtDld_Files();
~CBtDld_Files();
//{{AFX_DATA(CBtDld_Files)
enum { IDD = IDD_BTDLD_FILES };
CColumnTreeCtrl m_wndFiles;
//}}AFX_DATA
//{{AFX_VIRTUAL(CBtDld_Files)
public:
virtual BOOL OnApply();
protected:
virtual void DoDataExchange(CDataExchange* pDX);
//}}AFX_VIRTUAL
protected:
struct _inc_filesTreeData {
int nFileIndex;
int nFilePriority;
};
static void GetFilesPriorities (int *piPriorities, CTreeCtrl *pTreeCtrl, HTREEITEM hRoot);
afx_msg LRESULT OnCustTreeCheckBoxClicked(WPARAM, LPARAM lp);
void AddFiles (fs::ListTree <vmsBtDownloadManager::vmsFile>* pTree, CColumnTreeCtrl* pTreeCtrl, HTREEITEM hRoot);
std::vector <_inc_filesTreeData*> m_vToDelete;
//{{AFX_MSG(CBtDld_Files)
virtual BOOL OnInitDialog();
afx_msg void OnCheckUncheckAll();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
#endif