summaryrefslogblamecommitdiffstats
path: root/src/core/hle/service/caps/caps_su.h
blob: 89e71f50682bcc72e2804620aba1b8682f1ccef5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                                                               




                                     



                
                            
                   
 
                                                                                                    
       

                                                                                        
                                              

        
                                                       



                                                   


                               
// 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 AlbumManager;

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

private:
    void SetShimLibraryVersion(HLERequestContext& ctx);
    void SaveScreenShotEx0(HLERequestContext& ctx);
    void SaveScreenShotEx1(HLERequestContext& ctx);

    std::shared_ptr<AlbumManager> manager;
};

} // namespace Service::Capture