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