|
|
|
@ -887,8 +887,6 @@ void Database::SetEntry(const std::string& code, const std::string& name, const
|
|
|
|
m_entries.emplace(code, entry);
|
|
|
|
m_entries.emplace(code, entry);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
std::optional<std::string> Entry::GetValueForKey(const std::string_view& key) const
|
|
|
|
std::optional<std::string> Entry::GetValueForKey(const std::string_view& key) const
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return GetEntryValueForKey(*this, key);
|
|
|
|
return GetEntryValueForKey(*this, key);
|
|
|
|
@ -899,6 +897,8 @@ void Entry::SetValueForKey(const std::string_view& key, const std::optional<std:
|
|
|
|
SetEntryValueForKey(*this, key, value);
|
|
|
|
SetEntryValueForKey(*this, key, value);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
void Entry::ApplySettings(bool display_osd_messages) const
|
|
|
|
void Entry::ApplySettings(bool display_osd_messages) const
|
|
|
|
{
|
|
|
|
{
|
|
|
|
constexpr float osd_duration = 10.0f;
|
|
|
|
constexpr float osd_duration = 10.0f;
|
|
|
|
|