summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/caps/caps_ss.h
blob: a7e9972ab2ca7dfd0cb0556622cfae720ecfcac3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#include "core/hle/service/service.h"

namespace Core {
class System;
}

namespace Service::Capture {

class IScreenShotService final : public ServiceFramework<IScreenShotService> {
public:
    explicit IScreenShotService(Core::System& system_, std::shared_ptr<AlbumManager> album_manager);
    ~IScreenShotService() override;

private:
    void SaveScreenShotEx0(HLERequestContext& ctx);
    void SaveEditedScreenShotEx1(HLERequestContext& ctx);

    std::shared_ptr<AlbumManager> manager;
};

} // namespace Service::Capture