27 using Selection::Selection;
28 void beginSession(MenuItem* navigatedBackwardFrom =
nullptr)
override;
29 deluge::vector<std::string_view> getOptions(OptType optType)
override {
30 using enum l10n::String;
32 l10n::getView(STRING_FOR_IN),
33 l10n::getView(STRING_FOR_OUT),
37 void writeCurrentValue()
override { whichDirection = this->getValue(); }
39 uint8_t whichDirection;
40 [[nodiscard]] std::string_view
getTitle()
const override {
41 return whichDirection ? l10n::getView(l10n::String::STRING_FOR_MPE_OUTPUT)
42 : l10n::getView(l10n::String::STRING_FOR_MPE_INPUT);