summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/lm/lm.h
blob: 05a92f712f60678d8fa3dc974abb99b86ceae75b (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
27
28
29
30
// Copyright 2017 Citra Emulator Project
// 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:
    explicit LM();
    ~LM();

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