am: Add the basic skeleton for the tcap service
Added based off information provided by Switchbrew.master
parent
edb1c36a87
commit
5ea4cfd499
@ -0,0 +1,23 @@
|
|||||||
|
// Copyright 2018 yuzu emulator team
|
||||||
|
// Licensed under GPLv2 or any later version
|
||||||
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
|
#include "core/hle/service/am/tcap.h"
|
||||||
|
|
||||||
|
namespace Service::AM {
|
||||||
|
|
||||||
|
TCAP::TCAP() : ServiceFramework{"tcap"} {
|
||||||
|
// clang-format off
|
||||||
|
static const FunctionInfo functions[] = {
|
||||||
|
{0, nullptr, "GetContinuousHighSkinTemperatureEvent"},
|
||||||
|
{1, nullptr, "SetOperationMode"},
|
||||||
|
{2, nullptr, "LoadAndApplySettings"},
|
||||||
|
};
|
||||||
|
// clang-format on
|
||||||
|
|
||||||
|
RegisterHandlers(functions);
|
||||||
|
}
|
||||||
|
|
||||||
|
TCAP::~TCAP() = default;
|
||||||
|
|
||||||
|
} // namespace Service::AM
|
@ -0,0 +1,17 @@
|
|||||||
|
// 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::AM {
|
||||||
|
|
||||||
|
class TCAP final : public ServiceFramework<TCAP> {
|
||||||
|
public:
|
||||||
|
explicit TCAP();
|
||||||
|
~TCAP() override;
|
||||||
|
};
|
||||||
|
|
||||||
|
} // namespace Service::AM
|
Loading…
Reference in New Issue