mint.h 888 B

1234567891011121314151617181920212223242526272829
  1. // Copyright 2016 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include "core/hle/applets/applet.h"
  6. #include "core/hle/kernel/shared_memory.h"
  7. namespace HLE {
  8. namespace Applets {
  9. class Mint final : public Applet {
  10. public:
  11. explicit Mint(Service::APT::AppletId id) : Applet(id) {}
  12. ResultCode ReceiveParameter(const Service::APT::MessageParameter& parameter) override;
  13. ResultCode StartImpl(const Service::APT::AppletStartupParameter& parameter) override;
  14. void Update() override;
  15. private:
  16. /// This SharedMemory will be created when we receive the Request message.
  17. /// It holds the framebuffer info retrieved by the application with
  18. /// GSPGPU::ImportDisplayCaptureInfo
  19. Kernel::SharedPtr<Kernel::SharedMemory> framebuffer_memory;
  20. };
  21. } // namespace Applets
  22. } // namespace HLE