mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-17 04:25:47 -04:00
CommonHostInterface: Move save state on exit logic to base class
This commit is contained in:
@ -142,11 +142,6 @@ void HostInterface::ResetSystem()
|
||||
AddOSDMessage(TranslateStdString("OSDMessage", "System reset."));
|
||||
}
|
||||
|
||||
void HostInterface::PowerOffSystem()
|
||||
{
|
||||
DestroySystem();
|
||||
}
|
||||
|
||||
void HostInterface::PauseSystem(bool paused)
|
||||
{
|
||||
if (paused == System::IsPaused() || System::IsShutdown())
|
||||
|
@ -52,7 +52,6 @@ public:
|
||||
virtual void Shutdown();
|
||||
|
||||
virtual bool BootSystem(const SystemBootParameters& parameters);
|
||||
virtual void PowerOffSystem();
|
||||
virtual void PauseSystem(bool paused);
|
||||
virtual void ResetSystem();
|
||||
virtual void DestroySystem();
|
||||
|
Reference in New Issue
Block a user