aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Horizon/Sdk/Ts/IMeasurementServer.cs
blob: ba9c2a748da472300d69f410a34f633ef6642bc3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using Ryujinx.Horizon.Common;
using Ryujinx.Horizon.Sdk.Sf;

namespace Ryujinx.Horizon.Sdk.Ts
{
    interface IMeasurementServer : IServiceObject
    {
        Result GetTemperatureRange(out int minimumTemperature, out int maximumTemperature, Location location);
        Result GetTemperature(out int temperature, Location location);
        Result SetMeasurementMode(Location location, byte measurementMode);
        Result GetTemperatureMilliC(out int temperatureMilliC, Location location);
        Result OpenSession(out ISession session, DeviceCode deviceCode);
    }
}