summaryrefslogtreecommitdiffstats
path: root/dialog.h
blob: e112c216efb06ce8a157928ea1509a6fb4e5e219 (plain)
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
#ifndef dialog_h
#define dialog_h

#include <wx/log.h>
#include "dialog_ui.h"

class Dialog : public DialogUI
{
public:
	Dialog(wxWindow *parent);
	void RefreshDrives(void);
	void SetProgress(size_t current, size_t total, const char *filename);

protected:
	wxLogTextCtrl *m_log;
	void UpdateStartButton(void);

	void OnRefreshDrives(wxCommandEvent& event);
	void OnStartButton(wxCommandEvent& event);
	void OnCancelButton(wxCommandEvent& event);
	void OnIsoChange(wxFileDirPickerEvent &event);
	void OnTargetChange(wxCommandEvent& event);
};

#endif