2017-10-15 02:18:42 +00: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 01:41:24 +00:00
|
|
|
#include <vector>
|
|
|
|
#include "core/hle/kernel/client_port.h"
|
|
|
|
#include "core/hle/kernel/kernel.h"
|
2017-10-15 02:18:42 +00:00
|
|
|
#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);
|
2017-10-19 01:41:24 +00:00
|
|
|
|
|
|
|
std::vector<Kernel::SharedPtr<Kernel::ClientPort>> registered_loggers;
|
2017-10-15 02:18:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/// Registers all LM services with the specified service manager.
|
|
|
|
void InstallInterfaces(SM::ServiceManager& service_manager);
|
|
|
|
|
|
|
|
} // namespace LM
|
|
|
|
} // namespace Service
|