mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-23 00:30:17 +00:00
2d2ba86f4f
* Interface.h: ensure that functions in the interface are not exported by other header files. This is generally harmless, except for the presence of default arguments, in which case the version with default arguments must come first. To avoid the issue, these functions are only ever exported in the Interface.h header file.
33 lines
1.3 KiB
C++
33 lines
1.3 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 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;
|
|
};
|