summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/display_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/am/display_controller.h')
-rw-r--r--src/core/hle/service/am/display_controller.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/hle/service/am/display_controller.h b/src/core/hle/service/am/display_controller.h
index 32f819294..75172580c 100644
--- a/src/core/hle/service/am/display_controller.h
+++ b/src/core/hle/service/am/display_controller.h
@@ -7,9 +7,11 @@
namespace Service::AM {
+struct Applet;
+
class IDisplayController final : public ServiceFramework<IDisplayController> {
public:
- explicit IDisplayController(Core::System& system_);
+ explicit IDisplayController(Core::System& system_, std::shared_ptr<Applet> applet_);
~IDisplayController() override;
private:
@@ -19,6 +21,10 @@ private:
void ReleaseLastForegroundCaptureSharedBuffer(HLERequestContext& ctx);
void AcquireCallerAppletCaptureSharedBuffer(HLERequestContext& ctx);
void ReleaseCallerAppletCaptureSharedBuffer(HLERequestContext& ctx);
+ void AcquireLastApplicationCaptureSharedBuffer(HLERequestContext& ctx);
+ void ReleaseLastApplicationCaptureSharedBuffer(HLERequestContext& ctx);
+
+ const std::shared_ptr<Applet> applet;
};
} // namespace Service::AM