AppleWin/source/Configuration/IPropertySheet.h
TomCh ed298b4fd9
Improve save-state card management (PR #983)
Initially all cards are removed before loading save-state.

Use new Registry "Configuration/Slot 2" location to save SSC's port name.
Use new Registry "Configuration/Slot 7" location to save HDV's image names.
Use new Registry "Configuration/Slot n" (and "Configuration/Slot Auxiliary") locations to save all other card types.

Command line: -s<slot> (eg. -s7 empty) now get persisted to the Registry.

Only update 'HDV Starting Directory' for slot7 & drive1.
2021-09-17 20:43:10 +01:00

34 lines
1.4 KiB
C++

#pragma once
#include "Common.h"
class CConfigNeedingRestart;
class IPropertySheet
{
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;
virtual void ApplyNewConfigFromSnapshot(const CConfigNeedingRestart& ConfigNew) = 0;
virtual void ConfigSaveApple2Type(eApple2Type apple2Type) = 0;
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;
};