2018-10-20 17:22:15 -04: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"
|
|
|
|
|
|
|
|
namespace Service::SM {
|
|
|
|
class ServiceManager;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace Service::PSM {
|
|
|
|
|
|
|
|
class PSM final : public ServiceFramework<PSM> {
|
|
|
|
public:
|
|
|
|
explicit PSM();
|
|
|
|
~PSM() override;
|
2018-10-20 17:23:43 -04:00
|
|
|
|
|
|
|
private:
|
|
|
|
void GetBatteryChargePercentage(Kernel::HLERequestContext& ctx);
|
2018-10-20 17:22:15 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
void InstallInterfaces(SM::ServiceManager& sm);
|
|
|
|
|
|
|
|
} // namespace Service::PSM
|