2012-05-06 22:14:03 +00:00
|
|
|
#pragma once
|
2020-11-11 21:15:27 +00:00
|
|
|
|
|
|
|
#include "Common.h"
|
2012-05-06 22:14:03 +00:00
|
|
|
|
2015-02-13 22:40:53 +00:00
|
|
|
class CConfigNeedingRestart;
|
|
|
|
|
2020-12-20 15:32:51 +00:00
|
|
|
class IPropertySheet
|
2012-05-06 22:14:03 +00:00
|
|
|
{
|
2020-12-20 15:32:51 +00:00
|
|
|
public:
|
|
|
|
virtual void Init(void) = 0;
|
|
|
|
virtual DWORD GetVolumeMax(void) = 0; // TODO:TC: Move out of here
|
|
|
|
virtual bool SaveStateSelectImage(HWND hWindow, bool bSave) = 0; // TODO:TC: Move out of here
|
|
|
|
virtual void ApplyNewConfig(const CConfigNeedingRestart& ConfigNew, const CConfigNeedingRestart& ConfigOld) = 0;
|
2021-09-17 19:43:10 +00:00
|
|
|
virtual void ApplyNewConfigFromSnapshot(const CConfigNeedingRestart& ConfigNew) = 0;
|
2020-12-20 15:32:51 +00:00
|
|
|
virtual void ConfigSaveApple2Type(eApple2Type apple2Type) = 0;
|
2012-05-06 22:14:03 +00:00
|
|
|
|
2020-12-20 15:32:51 +00:00
|
|
|
virtual UINT GetScrollLockToggle(void) = 0;
|
|
|
|
virtual void SetScrollLockToggle(UINT uValue) = 0;
|
|
|
|
virtual UINT GetJoystickCursorControl(void) = 0;
|
|
|
|
virtual void SetJoystickCursorControl(UINT uValue) = 0;
|
|
|
|
virtual UINT GetJoystickCenteringControl(void) = 0;
|
|
|
|
virtual void SetJoystickCenteringControl(UINT uValue) = 0;
|
|
|
|
virtual UINT GetAutofire(UINT uButton) = 0;
|
|
|
|
virtual void SetAutofire(UINT uValue) = 0;
|
|
|
|
virtual bool GetButtonsSwapState(void) = 0;
|
|
|
|
virtual void SetButtonsSwapState(bool value) = 0;
|
|
|
|
virtual UINT GetMouseShowCrosshair(void) = 0;
|
|
|
|
virtual void SetMouseShowCrosshair(UINT uValue) = 0;
|
|
|
|
virtual UINT GetMouseRestrictToWindow(void) = 0;
|
|
|
|
virtual void SetMouseRestrictToWindow(UINT uValue) = 0;
|
|
|
|
virtual UINT GetTheFreezesF8Rom(void) = 0;
|
|
|
|
virtual void SetTheFreezesF8Rom(UINT uValue) = 0;
|
2012-05-06 22:14:03 +00:00
|
|
|
};
|