diff options
| author | Liam <byteslice@airmail.cc> | 2023-03-25 13:29:08 -0400 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2023-03-25 14:49:43 -0400 |
| commit | 50a59487eb49baa229d553dd9a3c00aef20f799f (patch) | |
| tree | 49ed16c5614ad4772f5183ac7bbbb911ce092c1a /src/core/frontend/applets/profile_select.h | |
| parent | 950db851eae1b3428af7bde93605cd045fea058a (diff) | |
qt: implement RequestExit for applets
Diffstat (limited to 'src/core/frontend/applets/profile_select.h')
| -rw-r--r-- | src/core/frontend/applets/profile_select.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/frontend/applets/profile_select.h b/src/core/frontend/applets/profile_select.h index 138429533..76e963535 100644 --- a/src/core/frontend/applets/profile_select.h +++ b/src/core/frontend/applets/profile_select.h @@ -7,9 +7,11 @@ #include <optional> #include "common/uuid.h" +#include "core/frontend/applets/applet.h" + namespace Core::Frontend { -class ProfileSelectApplet { +class ProfileSelectApplet : public Applet { public: using SelectProfileCallback = std::function<void(std::optional<Common::UUID>)>; @@ -20,6 +22,7 @@ public: class DefaultProfileSelectApplet final : public ProfileSelectApplet { public: + void Close() const override; void SelectProfile(SelectProfileCallback callback) const override; }; |
