diff options
| author | Liam <byteslice@airmail.cc> | 2023-12-30 20:51:23 -0500 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2024-01-29 18:43:45 -0500 |
| commit | 7de6b410305fcfcd34078e62fbe0ceedb43663f9 (patch) | |
| tree | b5f3dc0d7631852a64466f3765e62e0707b8d0c8 /src/core/hle/service/am/window_controller.h | |
| parent | 8ddfecfbaea7b08e300350fd2f14fb6b2e79634b (diff) | |
service: split am into components
Diffstat (limited to 'src/core/hle/service/am/window_controller.h')
| -rw-r--r-- | src/core/hle/service/am/window_controller.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/core/hle/service/am/window_controller.h b/src/core/hle/service/am/window_controller.h new file mode 100644 index 000000000..07b0e0e17 --- /dev/null +++ b/src/core/hle/service/am/window_controller.h @@ -0,0 +1,21 @@ +// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +#include "core/hle/service/service.h" + +namespace Service::AM { + +class IWindowController final : public ServiceFramework<IWindowController> { +public: + explicit IWindowController(Core::System& system_); + ~IWindowController() override; + +private: + void GetAppletResourceUserId(HLERequestContext& ctx); + void GetAppletResourceUserIdOfCallerApplet(HLERequestContext& ctx); + void AcquireForegroundRights(HLERequestContext& ctx); +}; + +} // namespace Service::AM |
