diff options
author | Liam <byteslice@airmail.cc> | 2024-02-17 17:40:54 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-18 16:32:21 +0100 |
commit | 12926eb5dbe6916fc3721ee4c508629d658af923 (patch) | |
tree | 92369334bafeca601c08eb5bc3718faf818840d8 /src/core/hle/service/ns/application_version_interface.cpp | |
parent | ns: move IAccountProxyInterface (diff) | |
download | yuzu-12926eb5dbe6916fc3721ee4c508629d658af923.tar yuzu-12926eb5dbe6916fc3721ee4c508629d658af923.tar.gz yuzu-12926eb5dbe6916fc3721ee4c508629d658af923.tar.bz2 yuzu-12926eb5dbe6916fc3721ee4c508629d658af923.tar.lz yuzu-12926eb5dbe6916fc3721ee4c508629d658af923.tar.xz yuzu-12926eb5dbe6916fc3721ee4c508629d658af923.tar.zst yuzu-12926eb5dbe6916fc3721ee4c508629d658af923.zip |
Diffstat (limited to 'src/core/hle/service/ns/application_version_interface.cpp')
-rw-r--r-- | src/core/hle/service/ns/application_version_interface.cpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/core/hle/service/ns/application_version_interface.cpp b/src/core/hle/service/ns/application_version_interface.cpp new file mode 100644 index 000000000..b89e127db --- /dev/null +++ b/src/core/hle/service/ns/application_version_interface.cpp @@ -0,0 +1,33 @@ +// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "core/hle/service/ns/application_version_interface.h" + +namespace Service::NS { + +IApplicationVersionInterface::IApplicationVersionInterface(Core::System& system_) + : ServiceFramework{system_, "IApplicationVersionInterface"} { + // clang-format off + static const FunctionInfo functions[] = { + {0, nullptr, "GetLaunchRequiredVersion"}, + {1, nullptr, "UpgradeLaunchRequiredVersion"}, + {35, nullptr, "UpdateVersionList"}, + {36, nullptr, "PushLaunchVersion"}, + {37, nullptr, "ListRequiredVersion"}, + {800, nullptr, "RequestVersionList"}, + {801, nullptr, "ListVersionList"}, + {802, nullptr, "RequestVersionListData"}, + {900, nullptr, "ImportAutoUpdatePolicyJsonForDebug"}, + {901, nullptr, "ListDefaultAutoUpdatePolicy"}, + {902, nullptr, "ListAutoUpdatePolicyForSpecificApplication"}, + {1000, nullptr, "PerformAutoUpdate"}, + {1001, nullptr, "ListAutoUpdateSchedule"}, + }; + // clang-format on + + RegisterHandlers(functions); +} + +IApplicationVersionInterface::~IApplicationVersionInterface() = default; + +} // namespace Service::NS |