summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/lm/lm.h
blob: a86798f191ef9da7cd5e49a23e5f6ac79de34a78 (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:
    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