mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-27 13:56:27 -05:00
99ceb03a1c
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
25 lines
717 B
C++
25 lines
717 B
C++
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#include "core/hle/service/am/idle.h"
|
|
|
|
namespace Service::AM {
|
|
|
|
IdleSys::IdleSys(Core::System& system_) : ServiceFramework{system_, "idle:sys"} {
|
|
// clang-format off
|
|
static const FunctionInfo functions[] = {
|
|
{0, nullptr, "GetAutoPowerDownEvent"},
|
|
{1, nullptr, "IsAutoPowerDownRequested"},
|
|
{2, nullptr, "Unknown2"},
|
|
{3, nullptr, "SetHandlingContext"},
|
|
{4, nullptr, "LoadAndApplySettings"},
|
|
{5, nullptr, "ReportUserIsActive"},
|
|
};
|
|
// clang-format on
|
|
|
|
RegisterHandlers(functions);
|
|
}
|
|
|
|
IdleSys::~IdleSys() = default;
|
|
|
|
} // namespace Service::AM
|