2018-01-13 13:22:39 -08:00
|
|
|
// Copyright 2018 yuzu emulator team
|
2017-10-14 19:50:04 -07:00
|
|
|
// 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 {
|
2017-10-14 19:50:04 -07:00
|
|
|
|
2018-01-15 14:19:32 -08:00
|
|
|
enum class PerformanceMode : u8 {
|
|
|
|
Handheld = 0,
|
|
|
|
Docked = 1,
|
|
|
|
};
|
|
|
|
|
2018-02-09 20:17:37 -08:00
|
|
|
class Module final {
|
2017-10-14 19:50:04 -07:00
|
|
|
public:
|
2018-02-09 20:17:37 -08:00
|
|
|
Module() = default;
|
|
|
|
~Module() = default;
|
2017-10-14 19:50:04 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
/// Registers all AM services with the specified service manager.
|
|
|
|
void InstallInterfaces(SM::ServiceManager& service_manager);
|
|
|
|
|
2018-04-19 18:41:44 -07:00
|
|
|
} // namespace Service::APM
|