summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nfc/nfc_interface.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2024-02-23 19:38:43 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2024-02-24 01:58:50 +0100
commit015d666a4d1b38a0f4b9f66e55613881c0908f37 (patch)
tree094038539bef5bc7f1d02a6fa60a145e3e5580b0 /src/core/hle/service/nfc/nfc_interface.h
parentservice: npns: Add ListenTo and GetReceiveEvent for QLaunch (diff)
downloadyuzu-015d666a4d1b38a0f4b9f66e55613881c0908f37.tar
yuzu-015d666a4d1b38a0f4b9f66e55613881c0908f37.tar.gz
yuzu-015d666a4d1b38a0f4b9f66e55613881c0908f37.tar.bz2
yuzu-015d666a4d1b38a0f4b9f66e55613881c0908f37.tar.lz
yuzu-015d666a4d1b38a0f4b9f66e55613881c0908f37.tar.xz
yuzu-015d666a4d1b38a0f4b9f66e55613881c0908f37.tar.zst
yuzu-015d666a4d1b38a0f4b9f66e55613881c0908f37.zip
Diffstat (limited to 'src/core/hle/service/nfc/nfc_interface.h')
-rw-r--r--src/core/hle/service/nfc/nfc_interface.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/service/nfc/nfc_interface.h b/src/core/hle/service/nfc/nfc_interface.h
index 08be174d8..5cc0d8ec0 100644
--- a/src/core/hle/service/nfc/nfc_interface.h
+++ b/src/core/hle/service/nfc/nfc_interface.h
@@ -7,6 +7,10 @@
#include "core/hle/service/nfc/nfc_types.h"
#include "core/hle/service/service.h"
+namespace Service::Set {
+class ISystemSettingsServer;
+}
+
namespace Service::NFC {
class DeviceManager;
@@ -29,6 +33,7 @@ public:
void AttachActivateEvent(HLERequestContext& ctx);
void AttachDeactivateEvent(HLERequestContext& ctx);
void ReadMifare(HLERequestContext& ctx);
+ void SetNfcEnabled(HLERequestContext& ctx);
void WriteMifare(HLERequestContext& ctx);
void SendCommandByPassThrough(HLERequestContext& ctx);
@@ -44,6 +49,7 @@ protected:
BackendType backend_type;
State state{State::NonInitialized};
std::shared_ptr<DeviceManager> device_manager = nullptr;
+ std::shared_ptr<Service::Set::ISystemSettingsServer> m_set_sys;
};
} // namespace Service::NFC