diff options
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/nfc/mifare_interface.h (renamed from src/core/hle/service/nfc/mifare_user.h) | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/core/hle/service/nfc/mifare_user.h b/src/core/hle/service/nfc/mifare_interface.h index 9701f1d7f..698c8a6b6 100644 --- a/src/core/hle/service/nfc/mifare_user.h +++ b/src/core/hle/service/nfc/mifare_interface.h @@ -13,16 +13,10 @@ namespace Service::NFC { class NfcDevice; -class MFIUser final : public ServiceFramework<MFIUser> { +class MFInterface : public ServiceFramework<MFInterface> { public: - explicit MFIUser(Core::System& system_); - ~MFIUser(); - -private: - enum class State : u32 { - NonInitialized, - Initialized, - }; + explicit MFInterface(Core::System& system_, const char* name); + ~MFInterface(); void Initialize(HLERequestContext& ctx); void Finalize(HLERequestContext& ctx); @@ -39,6 +33,12 @@ private: void GetNpadId(HLERequestContext& ctx); void GetAvailabilityChangeEventHandle(HLERequestContext& ctx); +private: + enum class State : u32 { + NonInitialized, + Initialized, + }; + std::optional<std::shared_ptr<NfcDevice>> GetNfcDevice(u64 handle); KernelHelpers::ServiceContext service_context; |