#pragma once #include #include "applets/error_applet.hpp" #include "applets/mii_selector.hpp" #include "applets/software_keyboard.hpp" #include "helpers.hpp" #include "memory.hpp" #include "result/result.hpp" namespace Applets { class AppletManager { MiiSelectorApplet miiSelector; SoftwareKeyboardApplet swkbd; ErrorApplet error; std::optional nextParameter = std::nullopt; public: AppletManager(Memory& mem); void reset(); AppletBase* getApplet(u32 id); Applets::Parameter glanceParameter(); Applets::Parameter receiveParameter(); }; } // namespace Applets