mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-01-09 16:03:21 +00:00
28 lines
687 B
C++
28 lines
687 B
C++
![]() |
// Copyright 2018 yuzu emulator team
|
||
|
// Licensed under GPLv2 or any later version
|
||
|
// Refer to the license.txt file included.
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <functional>
|
||
|
#include <optional>
|
||
|
#include "core/hle/service/acc/profile_manager.h"
|
||
|
|
||
|
namespace Core::Frontend {
|
||
|
|
||
|
class ProfileSelectApplet {
|
||
|
public:
|
||
|
virtual ~ProfileSelectApplet();
|
||
|
|
||
|
virtual void SelectProfile(
|
||
|
std::function<void(std::optional<Service::Account::UUID>)> callback) const = 0;
|
||
|
};
|
||
|
|
||
|
class DefaultProfileSelectApplet final : public ProfileSelectApplet {
|
||
|
public:
|
||
|
void SelectProfile(
|
||
|
std::function<void(std::optional<Service::Account::UUID>)> callback) const override;
|
||
|
};
|
||
|
|
||
|
} // namespace Core::Frontend
|