mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-11-19 04:08:45 +00:00
6051bc55d0
Changes to ease code compilation in GCC. Disk_t and HDD contain a std::string and for this reason they need a proper constructor, ZeroMemory is not guaranteed to work.
34 lines
955 B
C++
34 lines
955 B
C++
#pragma once
|
|
|
|
#include "IPropertySheetPage.h"
|
|
#include "../Tfe/Uilib.h"
|
|
|
|
class CPageConfigTfe : private IPropertySheetPage
|
|
{
|
|
public:
|
|
CPageConfigTfe()
|
|
{
|
|
CPageConfigTfe::ms_this = this;
|
|
}
|
|
virtual ~CPageConfigTfe(){}
|
|
|
|
static BOOL CALLBACK DlgProc(HWND window, UINT message, WPARAM wparam, LPARAM lparam);
|
|
|
|
protected:
|
|
// IPropertySheetPage
|
|
virtual BOOL DlgProcInternal(HWND window, UINT message, WPARAM wparam, LPARAM lparam);
|
|
virtual void DlgOK(HWND window);
|
|
virtual void DlgCANCEL(HWND window);
|
|
|
|
private:
|
|
BOOL CPageConfigTfe::get_tfename(int number, char **ppname, char **ppdescription);
|
|
int CPageConfigTfe::gray_ungray_items(HWND hwnd);
|
|
void CPageConfigTfe::init_tfe_dialog(HWND hwnd);
|
|
void CPageConfigTfe::save_tfe_dialog(HWND hwnd);
|
|
|
|
static CPageConfigTfe* ms_this;
|
|
static uilib_localize_dialog_param ms_dialog[];
|
|
static uilib_dialog_group ms_leftgroup[];
|
|
static uilib_dialog_group ms_rightgroup[];
|
|
};
|