2017-10-14 22:18:42 -04:00
|
|
|
// Copyright 2017 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2017-10-18 21:41:24 -04:00
|
|
|
#include <vector>
|
|
|
|
#include "core/hle/kernel/client_port.h"
|
|
|
|
#include "core/hle/kernel/kernel.h"
|
2017-10-14 22:18:42 -04: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-18 21:41:24 -04:00
|
|
|
|
|
|
|
std::vector<Kernel::SharedPtr<Kernel::ClientPort>> registered_loggers;
|
2017-10-14 22:18:42 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
/// Registers all LM services with the specified service manager.
|
|
|
|
void InstallInterfaces(SM::ServiceManager& service_manager);
|
|
|
|
|
|
|
|
} // namespace LM
|
|
|
|
} // namespace Service
|