summaryrefslogblamecommitdiffstats
path: root/src/core/hle/service/caps/caps_c.h
blob: 0ecdfa1147fe4bb2caabbca73f9a8fef35bda2fd (plain) (tree)
1
2
3
4
5
6
7
8

                                                               


            
                                        

                                     



                
                            
                   
                                    
 
                                                                                  
       


                                                                               

        

                                                                    

                                                    


                               
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

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

namespace Core {
class System;
}

namespace Service::Capture {
class AlbumManager;
enum class ShimLibraryVersion : u64;

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

private:
    Result SetShimLibraryVersion(ShimLibraryVersion library_version,
                                 ClientAppletResourceUserId aruid);

    std::shared_ptr<AlbumManager> manager = nullptr;
};

} // namespace Service::Capture