2017-10-15 04:18:42 +02:00
|
|
|
// Copyright 2017 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2017-10-19 03:41:24 +02:00
|
|
|
#include <vector>
|
|
|
|
#include "core/hle/kernel/client_port.h"
|
|
|
|
#include "core/hle/kernel/kernel.h"
|
2017-10-15 04:18:42 +02:00
|
|
|
#include "core/hle/service/service.h"
|
|
|
|
|
|
|
|
namespace Service {
|
|
|
|
namespace LM {
|
|
|
|
|
|
|
|
class LM final : public ServiceFramework<LM> {
|
|
|
|
public:
|
2017-12-28 21:27:30 +01:00
|
|
|
LM();
|
|
|
|
~LM() = default;
|
2017-10-15 04:18:42 +02:00
|
|
|
|
|
|
|
private:
|
|
|
|
void Initialize(Kernel::HLERequestContext& ctx);
|
2017-10-19 03:41:24 +02:00
|
|
|
|
|
|
|
std::vector<Kernel::SharedPtr<Kernel::ClientPort>> registered_loggers;
|
2017-10-15 04:18:42 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/// Registers all LM services with the specified service manager.
|
|
|
|
void InstallInterfaces(SM::ServiceManager& service_manager);
|
|
|
|
|
|
|
|
} // namespace LM
|
|
|
|
} // namespace Service
|