summaryrefslogtreecommitdiffstats
path: root/src/core/frontend/applets/profile_select.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-03-25 18:29:08 +0100
committerLiam <byteslice@airmail.cc>2023-03-25 19:49:43 +0100
commit50a59487eb49baa229d553dd9a3c00aef20f799f (patch)
tree49ed16c5614ad4772f5183ac7bbbb911ce092c1a /src/core/frontend/applets/profile_select.h
parentapplets: implement RequestExit (diff)
downloadyuzu-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/profile_select.h')
-rw-r--r--src/core/frontend/applets/profile_select.h5
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;
};