-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathReadProgressDialog.h
43 lines (35 loc) · 1.01 KB
/
ReadProgressDialog.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
#pragma once
#include "CDController.h"
#include "LogWindow.h"
#include "readthread.h"
#include "afxcmn.h"
#include "afxwin.h"
class CReadProgressDialog : public CDialog
{
DECLARE_DYNAMIC(CReadProgressDialog)
public:
CReadProgressDialog(CWnd* pParent = nullptr);
~CReadProgressDialog() override;
enum { IDD = IDD_READPROGRESS };
protected:
void DoDataExchange(CDataExchange* pDX) override;
CReadThread m_Thread;
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedOk();
void ReadDisc(CCDController* cd, CLogWindow* logWnd, LPCSTR FileName);
void ReadTrack(CCDController* cd, CLogWindow* logWnd, LPCSTR FileName);
BOOL OnInitDialog() override;
CString m_Percent;
CProgressCtrl m_Progress;
CString m_Message;
afx_msg void OnBnClickedCancel();
CButton m_CancelButton;
afx_msg void OnBnClickedLog();
CString m_Multi;
afx_msg void OnWindowClose();
bool GetSuccessFlag(void);
bool m_NoConfirm;
bool m_Stopped;
afx_msg void OnUpdateDialog();
};