caps_su.h 808 B

1234567891011121314151617181920212223242526272829
  1. // SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #include "core/hle/service/service.h"
  5. namespace Core {
  6. class System;
  7. }
  8. namespace Service::Capture {
  9. class AlbumManager;
  10. class IScreenShotApplicationService final : public ServiceFramework<IScreenShotApplicationService> {
  11. public:
  12. explicit IScreenShotApplicationService(Core::System& system_,
  13. std::shared_ptr<AlbumManager> album_manager);
  14. ~IScreenShotApplicationService() override;
  15. private:
  16. void SetShimLibraryVersion(HLERequestContext& ctx);
  17. void SaveScreenShotEx0(HLERequestContext& ctx);
  18. void SaveScreenShotEx1(HLERequestContext& ctx);
  19. std::shared_ptr<AlbumManager> manager;
  20. };
  21. } // namespace Service::Capture