mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-16 21:27:49 +00:00
qt: implement RequestExit for applets
This commit is contained in:
parent
46f5e0a276
commit
eb8abae7eb
38 changed files with 250 additions and 69 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue