Panda3DS/include/applets/applet_manager.hpp
2024-01-25 17:31:17 +02:00

26 lines
No EOL
617 B
C++

#pragma once
#include <optional>
#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<Applets::Parameter> nextParameter = std::nullopt;
public:
AppletManager(Memory& mem);
void reset();
AppletBase* getApplet(u32 id);
Applets::Parameter glanceParameter();
Applets::Parameter receiveParameter();
};
} // namespace Applets