summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/library_applet_self_accessor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/am/library_applet_self_accessor.h')
-rw-r--r--src/core/hle/service/am/library_applet_self_accessor.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/core/hle/service/am/library_applet_self_accessor.h b/src/core/hle/service/am/library_applet_self_accessor.h
new file mode 100644
index 000000000..45b325b77
--- /dev/null
+++ b/src/core/hle/service/am/library_applet_self_accessor.h
@@ -0,0 +1,38 @@
+// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <deque>
+#include <vector>
+
+#include "core/hle/service/service.h"
+
+namespace Service::AM {
+
+class ILibraryAppletSelfAccessor final : public ServiceFramework<ILibraryAppletSelfAccessor> {
+public:
+ explicit ILibraryAppletSelfAccessor(Core::System& system_);
+ ~ILibraryAppletSelfAccessor() override;
+
+private:
+ void PopInData(HLERequestContext& ctx);
+ void PushOutData(HLERequestContext& ctx);
+ void GetLibraryAppletInfo(HLERequestContext& ctx);
+ void GetMainAppletIdentityInfo(HLERequestContext& ctx);
+ void ExitProcessAndReturn(HLERequestContext& ctx);
+ void GetCallerAppletIdentityInfo(HLERequestContext& ctx);
+ void GetDesirableKeyboardLayout(HLERequestContext& ctx);
+ void GetMainAppletAvailableUsers(HLERequestContext& ctx);
+ void ShouldSetGpuTimeSliceManually(HLERequestContext& ctx);
+
+ void PushInShowAlbum();
+ void PushInShowCabinetData();
+ void PushInShowMiiEditData();
+ void PushInShowSoftwareKeyboard();
+ void PushInShowController();
+
+ std::deque<std::vector<u8>> queue_data;
+};
+
+} // namespace Service::AM