mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-19 13:25:45 -04:00
HostInterface: Support per-controller-type settings
This commit is contained in:
@ -456,6 +456,11 @@ void SDLHostInterface::Shutdown()
|
||||
CommonHostInterface::Shutdown();
|
||||
}
|
||||
|
||||
std::string SDLHostInterface::GetSettingValue(const char* section, const char* key, const char* default_value /*= ""*/)
|
||||
{
|
||||
return m_settings_interface->GetStringValue(section, key, default_value);
|
||||
}
|
||||
|
||||
void SDLHostInterface::LoadSettings()
|
||||
{
|
||||
// Settings need to be loaded prior to creating the window for OpenGL bits.
|
||||
|
@ -34,6 +34,8 @@ public:
|
||||
bool Initialize() override;
|
||||
void Shutdown() override;
|
||||
|
||||
std::string GetSettingValue(const char* section, const char* key, const char* default_value = "") override;
|
||||
|
||||
void Run();
|
||||
|
||||
protected:
|
||||
|
Reference in New Issue
Block a user