diff options
author | Liam <byteslice@airmail.cc> | 2023-03-25 18:29:08 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-03-25 19:49:43 +0100 |
commit | 50a59487eb49baa229d553dd9a3c00aef20f799f (patch) | |
tree | 49ed16c5614ad4772f5183ac7bbbb911ce092c1a /src/core/frontend/applets/cabinet.h | |
parent | applets: implement RequestExit (diff) | |
download | yuzu-50a59487eb49baa229d553dd9a3c00aef20f799f.tar yuzu-50a59487eb49baa229d553dd9a3c00aef20f799f.tar.gz yuzu-50a59487eb49baa229d553dd9a3c00aef20f799f.tar.bz2 yuzu-50a59487eb49baa229d553dd9a3c00aef20f799f.tar.lz yuzu-50a59487eb49baa229d553dd9a3c00aef20f799f.tar.xz yuzu-50a59487eb49baa229d553dd9a3c00aef20f799f.tar.zst yuzu-50a59487eb49baa229d553dd9a3c00aef20f799f.zip |
Diffstat (limited to 'src/core/frontend/applets/cabinet.h')
-rw-r--r-- | src/core/frontend/applets/cabinet.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/frontend/applets/cabinet.h b/src/core/frontend/applets/cabinet.h index c28a235c1..74dc5a4f6 100644 --- a/src/core/frontend/applets/cabinet.h +++ b/src/core/frontend/applets/cabinet.h @@ -4,6 +4,7 @@ #pragma once #include <functional> +#include "core/frontend/applets/applet.h" #include "core/hle/service/nfp/nfp_types.h" namespace Service::NFP { @@ -20,7 +21,7 @@ struct CabinetParameters { using CabinetCallback = std::function<void(bool, const std::string&)>; -class CabinetApplet { +class CabinetApplet : public Applet { public: virtual ~CabinetApplet(); virtual void ShowCabinetApplet(const CabinetCallback& callback, @@ -30,6 +31,7 @@ public: class DefaultCabinetApplet final : public CabinetApplet { public: + void Close() const override; void ShowCabinetApplet(const CabinetCallback& callback, const CabinetParameters& parameters, std::shared_ptr<Service::NFP::NfpDevice> nfp_device) const override; }; |