mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-03 12:27:21 +12:00
[Applets] Proper glance/receiveParameter sorta
This commit is contained in:
parent
1f7fc2274a
commit
135c8cb508
4 changed files with 75 additions and 32 deletions
|
@ -1,3 +1,6 @@
|
|||
#pragma once
|
||||
#include <optional>
|
||||
|
||||
#include "applets/mii_selector.hpp"
|
||||
#include "applets/software_keyboard.hpp"
|
||||
#include "helpers.hpp"
|
||||
|
@ -8,10 +11,14 @@ namespace Applets {
|
|||
class AppletManager {
|
||||
MiiSelectorApplet miiSelector;
|
||||
SoftwareKeyboardApplet swkbd;
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue