diff options
author | Liam <byteslice@airmail.cc> | 2024-02-17 17:43:40 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-18 16:32:21 +0100 |
commit | 44d2e9021778505e2da8edb23047999cffb4a93a (patch) | |
tree | ff69b7169ff0e04e4192f5018b5425ecfda75089 /src/core/hle/service/ns/ecommerce_interface.cpp | |
parent | ns: move IApplicationVersionInterface (diff) | |
download | yuzu-44d2e9021778505e2da8edb23047999cffb4a93a.tar yuzu-44d2e9021778505e2da8edb23047999cffb4a93a.tar.gz yuzu-44d2e9021778505e2da8edb23047999cffb4a93a.tar.bz2 yuzu-44d2e9021778505e2da8edb23047999cffb4a93a.tar.lz yuzu-44d2e9021778505e2da8edb23047999cffb4a93a.tar.xz yuzu-44d2e9021778505e2da8edb23047999cffb4a93a.tar.zst yuzu-44d2e9021778505e2da8edb23047999cffb4a93a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/ns/ecommerce_interface.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/core/hle/service/ns/ecommerce_interface.cpp b/src/core/hle/service/ns/ecommerce_interface.cpp new file mode 100644 index 000000000..76fc425f0 --- /dev/null +++ b/src/core/hle/service/ns/ecommerce_interface.cpp @@ -0,0 +1,27 @@ +// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "core/hle/service/ns/ecommerce_interface.h" + +namespace Service::NS { + +IECommerceInterface::IECommerceInterface(Core::System& system_) + : ServiceFramework{system_, "IECommerceInterface"} { + // clang-format off + static const FunctionInfo functions[] = { + {0, nullptr, "RequestLinkDevice"}, + {1, nullptr, "RequestCleanupAllPreInstalledApplications"}, + {2, nullptr, "RequestCleanupPreInstalledApplication"}, + {3, nullptr, "RequestSyncRights"}, + {4, nullptr, "RequestUnlinkDevice"}, + {5, nullptr, "RequestRevokeAllELicense"}, + {6, nullptr, "RequestSyncRightsBasedOnAssignedELicenses"}, + }; + // clang-format on + + RegisterHandlers(functions); +} + +IECommerceInterface::~IECommerceInterface() = default; + +} // namespace Service::NS |