2018-02-09 20:17:37 -08: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-19 18:41:44 -07:00
|
|
|
namespace Service::APM {
|
2018-02-09 20:17:37 -08:00
|
|
|
|
|
|
|
class APM final : public ServiceFramework<APM> {
|
|
|
|
public:
|
2018-07-19 09:05:48 -07:00
|
|
|
explicit APM(std::shared_ptr<Module> apm, const char* name);
|
2018-02-09 20:17:37 -08:00
|
|
|
~APM() = default;
|
|
|
|
|
|
|
|
private:
|
|
|
|
void OpenSession(Kernel::HLERequestContext& ctx);
|
|
|
|
|
|
|
|
std::shared_ptr<Module> apm;
|
|
|
|
};
|
|
|
|
|
2018-04-19 18:41:44 -07:00
|
|
|
} // namespace Service::APM
|