diff options
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 @@ | |||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | #include <functional> | 6 | #include <functional> |
| 7 | #include "core/frontend/applets/applet.h" | ||
| 7 | #include "core/hle/service/nfp/nfp_types.h" | 8 | #include "core/hle/service/nfp/nfp_types.h" |
| 8 | 9 | ||
| 9 | namespace Service::NFP { | 10 | namespace Service::NFP { |
| @@ -20,7 +21,7 @@ struct CabinetParameters { | |||
| 20 | 21 | ||
| 21 | using CabinetCallback = std::function<void(bool, const std::string&)>; | 22 | using CabinetCallback = std::function<void(bool, const std::string&)>; |
| 22 | 23 | ||
| 23 | class CabinetApplet { | 24 | class CabinetApplet : public Applet { |
| 24 | public: | 25 | public: |
| 25 | virtual ~CabinetApplet(); | 26 | virtual ~CabinetApplet(); |
| 26 | virtual void ShowCabinetApplet(const CabinetCallback& callback, | 27 | virtual void ShowCabinetApplet(const CabinetCallback& callback, |
| @@ -30,6 +31,7 @@ public: | |||
| 30 | 31 | ||
| 31 | class DefaultCabinetApplet final : public CabinetApplet { | 32 | class DefaultCabinetApplet final : public CabinetApplet { |
| 32 | public: | 33 | public: |
| 34 | void Close() const override; | ||
| 33 | void ShowCabinetApplet(const CabinetCallback& callback, const CabinetParameters& parameters, | 35 | void ShowCabinetApplet(const CabinetCallback& callback, const CabinetParameters& parameters, |
| 34 | std::shared_ptr<Service::NFP::NfpDevice> nfp_device) const override; | 36 | std::shared_ptr<Service::NFP::NfpDevice> nfp_device) const override; |
| 35 | }; | 37 | }; |