2018-02-10 05:17:37 +01:00
|
|
|
// Copyright 2018 yuzu emulator team
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "core/hle/service/service.h"
|
|
|
|
|
2018-04-20 03:41:44 +02:00
|
|
|
namespace Service::APM {
|
2018-02-10 05:17:37 +01:00
|
|
|
|
|
|
|
class APM final : public ServiceFramework<APM> {
|
|
|
|
public:
|
2018-07-19 18:05:48 +02:00
|
|
|
explicit APM(std::shared_ptr<Module> apm, const char* name);
|
2018-02-10 05:17:37 +01:00
|
|
|
~APM() = default;
|
|
|
|
|
|
|
|
private:
|
|
|
|
void OpenSession(Kernel::HLERequestContext& ctx);
|
|
|
|
|
|
|
|
std::shared_ptr<Module> apm;
|
|
|
|
};
|
|
|
|
|
2018-04-20 03:41:44 +02:00
|
|
|
} // namespace Service::APM
|