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