summaryrefslogtreecommitdiff
path: root/src/core/frontend/applets/cabinet.cpp
diff options
context:
space:
mode:
authorGravatar german772022-11-13 11:07:48 -0600
committerGravatar german772022-11-13 11:07:48 -0600
commitfb57cd26a1219a5c91d2cb4dec402528f8ba308e (patch)
treeb9120fd3ea1a5572687025aa70e6e6ff4bccdacb /src/core/frontend/applets/cabinet.cpp
parentinput_common: Add amiibo applet functions (diff)
downloadyuzu-fb57cd26a1219a5c91d2cb4dec402528f8ba308e.tar.gz
yuzu-fb57cd26a1219a5c91d2cb4dec402528f8ba308e.tar.xz
yuzu-fb57cd26a1219a5c91d2cb4dec402528f8ba308e.zip
service: am: Implement cabinet applet backend
Diffstat (limited to 'src/core/frontend/applets/cabinet.cpp')
-rw-r--r--src/core/frontend/applets/cabinet.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/core/frontend/applets/cabinet.cpp b/src/core/frontend/applets/cabinet.cpp
new file mode 100644
index 000000000..5ade75de0
--- /dev/null
+++ b/src/core/frontend/applets/cabinet.cpp
@@ -0,0 +1,20 @@
1// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#include "common/logging/log.h"
5#include "core/frontend/applets/cabinet.h"
6
7#include <thread>
8
9namespace Core::Frontend {
10
11CabinetApplet::~CabinetApplet() = default;
12
13void DefaultCabinetApplet::ShowCabinetApplet(
14 std::function<void(bool, const std::string&)> callback, const CabinetParameters& parameters,
15 std::shared_ptr<Service::NFP::NfpDevice> nfp_device) const {
16 LOG_WARNING(Service_AM, "(STUBBED) called");
17 callback(false, {});
18}
19
20} // namespace Core::Frontend