// SPDX-License-Identifier: MIT // // EmulationStation Desktop Edition // GuiAlternativeEmulators.h // // User interface to select between alternative emulators per system // based on configuration entries in es_systems.xml. // #ifndef ES_APP_GUIS_GUI_ALTERNATIVE_EMULATORS_H #define ES_APP_GUIS_GUI_ALTERNATIVE_EMULATORS_H #include "GuiComponent.h" #include "guis/GuiSettings.h" template class OptionListComponent; class GuiAlternativeEmulators : public GuiComponent { public: GuiAlternativeEmulators(Window* window); private: void updateMenu(const std::string& systemName, const std::string& label, bool defaultEmulator); void selectorWindow(SystemData* system); virtual bool input(InputConfig* config, Input input) override; virtual std::vector getHelpPrompts() override; HelpStyle getHelpStyle() override; MenuComponent mMenu; bool mHasSystems; std::map> mCommandRows; std::shared_ptr> mCommandSelection; }; #endif // ES_APP_GUIS_GUI_ALTERNATIVE_EMULATORS_H