|
|
@ -45,6 +45,7 @@ class AppletMessageQueue {
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
enum class AppletMessage : u32 {
|
|
|
|
enum class AppletMessage : u32 {
|
|
|
|
NoMessage = 0,
|
|
|
|
NoMessage = 0,
|
|
|
|
|
|
|
|
ExitRequested = 4,
|
|
|
|
FocusStateChanged = 15,
|
|
|
|
FocusStateChanged = 15,
|
|
|
|
OperationModeChanged = 30,
|
|
|
|
OperationModeChanged = 30,
|
|
|
|
PerformanceModeChanged = 31,
|
|
|
|
PerformanceModeChanged = 31,
|
|
|
@ -59,6 +60,7 @@ public:
|
|
|
|
AppletMessage PopMessage();
|
|
|
|
AppletMessage PopMessage();
|
|
|
|
std::size_t GetMessageCount() const;
|
|
|
|
std::size_t GetMessageCount() const;
|
|
|
|
void OperationModeChanged();
|
|
|
|
void OperationModeChanged();
|
|
|
|
|
|
|
|
void RequestExit();
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
std::queue<AppletMessage> messages;
|
|
|
|
std::queue<AppletMessage> messages;
|
|
|
|