23 lines
529 B
C++
23 lines
529 B
C++
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include "common/common_types.h"
|
|
#include "core/hle/service/service.h"
|
|
|
|
namespace Service::PTM {
|
|
|
|
class TS final : public ServiceFramework<TS> {
|
|
public:
|
|
explicit TS(Core::System& system_);
|
|
~TS() override;
|
|
|
|
private:
|
|
void GetTemperature(HLERequestContext& ctx);
|
|
void GetTemperatureMilliC(HLERequestContext& ctx);
|
|
void OpenSession(HLERequestContext& ctx);
|
|
};
|
|
|
|
} // namespace Service::PTM
|