27 using Selection::Selection;
28 void readCurrentValue()
override { this->setValue(FlashStorage::defaultStartupSongMode); }
29 void writeCurrentValue()
override { FlashStorage::defaultStartupSongMode = this->getValue<StartupSongMode>(); }
30 deluge::vector<std::string_view> getOptions(OptType optType)
override {
32 return {l10n::getView(l10n::String::STRING_FOR_DEFAULT_UI_DEFAULT_STARTUP_SONG_MODE_BLANK),
33 l10n::getView(l10n::String::STRING_FOR_DEFAULT_UI_DEFAULT_STARTUP_SONG_MODE_TEMPLATE),
34 l10n::getView(l10n::String::STRING_FOR_DEFAULT_UI_DEFAULT_STARTUP_SONG_MODE_LAST_OPENED),
35 l10n::getView(l10n::String::STRING_FOR_DEFAULT_UI_DEFAULT_STARTUP_SONG_MODE_LAST_SAVED)};