summaryrefslogblamecommitdiffstats
path: root/src/core/hle/service/lm/lm.h
blob: 4b954bdb2e8647c379cc00c665099da6e78075a4 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                    




                                            


                                        






                                              

                    


                                                    

                                                                          






                                                                 
// Copyright 2018 yuzu emulator team
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#pragma once

#include <vector>
#include "core/hle/kernel/client_port.h"
#include "core/hle/kernel/kernel.h"
#include "core/hle/service/service.h"

namespace Service {
namespace LM {

class LM final : public ServiceFramework<LM> {
public:
    LM();
    ~LM() = default;

private:
    void Initialize(Kernel::HLERequestContext& ctx);

    std::vector<Kernel::SharedPtr<Kernel::ClientPort>> registered_loggers;
};

/// Registers all LM services with the specified service manager.
void InstallInterfaces(SM::ServiceManager& service_manager);

} // namespace LM
} // namespace Service