-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathFileExtract.h
142 lines (120 loc) · 3.46 KB
/
FileExtract.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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
#if !defined(AFX_FILEEXTRACT_H__AD932AED_3D7E_4320_B66E_222C14765E86__INCLUDED_)
#define AFX_FILEEXTRACT_H__AD932AED_3D7E_4320_B66E_222C14765E86__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FileExtract.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CFileExtract dialog
class CFileExtract : public CDialog
{
// Construction
public:
CFileExtract(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CFileExtract)
enum { IDD = IDD_EXTRACT };
CComboBox m_bifname_control;
CComboBox m_filetype_control;
CString m_filemask;
BOOL m_override;
//}}AFX_DATA
unsigned short m_filetype;
unsigned short m_bifidx;
int m_num_extract;
bool extract_or_search;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFileExtract)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CToolTipCtrl m_tooltip;
void do_copy_file(CString key, CString ext, loc_entry fileloc);
int extract_files(int restype, CString extension, CStringMapLocEntry &refs);
// Generated message map functions
//{{AFX_MSG(CFileExtract)
virtual void OnOK();
virtual BOOL OnInitDialog();
afx_msg void OnCloseupBifname();
afx_msg void OnKillfocusFilemask();
afx_msg void OnOverride();
afx_msg void OnSelchangeFiletype();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CFileExtract2 dialog
class CFileExtract2 : public CDialog
{
// Construction
public:
CFileExtract2(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CFileExtract2)
enum { IDD = IDD_EXTRACT2 };
CString m_text;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFileExtract2)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CFileExtract2)
afx_msg void OnYes();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CFileExtract3 dialog
class CFileExtract3 : public CDialog
{
// Construction
public:
CFileExtract3(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CFileExtract3)
enum { IDD = IDD_SAVHANDLE };
CButton m_openfile;
CComboBox m_filetype_control;
BOOL m_override;
CString m_filename;
CString m_filemask;
//}}AFX_DATA
CString m_filetype;
CString m_savname;
int m_num_extract;
bool cbf_or_sav;
bool skim_sav;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFileExtract3)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// int do_copy_file(CString key, CString ext, int finput, int &maxlen);
// Generated message map functions
//{{AFX_MSG(CFileExtract3)
afx_msg void OnOpenfile();
afx_msg void OnKillfocusFilemask();
afx_msg void OnOverride();
afx_msg void OnSelchangeFiletype();
virtual void OnOK();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FILEEXTRACT_H__AD932AED_3D7E_4320_B66E_222C14765E86__INCLUDED_)