-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathMergeDialog.h
More file actions
45 lines (32 loc) · 810 Bytes
/
MergeDialog.h
File metadata and controls
45 lines (32 loc) · 810 Bytes
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
#ifndef __MergeDialog__
#define __MergeDialog__
#include "HLMWADFrames.h"
class MergeDialog : public BaseMergeDialog
{
public:
MergeDialog( wxWindow* parent );
void SetBaseWAD(const wxString& fileName)
{
m_baseFilePicker->SetFileName(fileName);
}
wxString GetBaseWAD()
{
return m_baseFilePicker->GetFileName().GetFullPath();
}
void SetPatchWAD(const wxString& fileName)
{
m_patchFilePicker->SetFileName(fileName);
}
wxString GetPatchWAD()
{
return m_patchFilePicker->GetFileName().GetFullPath();
}
void OnRestoreClicked(wxCommandEvent& event);
bool TransferDataFromWindow();
bool ConfirmBackup();
void CheckBackup();
wxString GetBackupFileName() const;
private:
bool m_backupAvailable;
};
#endif // __MergeDialog__