caps_ss.h 651 B

1234567891011121314151617181920212223242526
  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 IScreenShotService final : public ServiceFramework<IScreenShotService> {
  10. public:
  11. explicit IScreenShotService(Core::System& system_, std::shared_ptr<AlbumManager> album_manager);
  12. ~IScreenShotService() override;
  13. private:
  14. void SaveScreenShotEx0(HLERequestContext& ctx);
  15. void SaveEditedScreenShotEx1(HLERequestContext& ctx);
  16. std::shared_ptr<AlbumManager> manager;
  17. };
  18. } // namespace Service::Capture