mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-09 14:18:08 -05:00
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
25 lines
608 B
C++
25 lines
608 B
C++
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <functional>
|
|
#include <optional>
|
|
#include "common/uuid.h"
|
|
|
|
namespace Core::Frontend {
|
|
|
|
class ProfileSelectApplet {
|
|
public:
|
|
virtual ~ProfileSelectApplet();
|
|
|
|
virtual void SelectProfile(std::function<void(std::optional<Common::UUID>)> callback) const = 0;
|
|
};
|
|
|
|
class DefaultProfileSelectApplet final : public ProfileSelectApplet {
|
|
public:
|
|
void SelectProfile(std::function<void(std::optional<Common::UUID>)> callback) const override;
|
|
};
|
|
|
|
} // namespace Core::Frontend
|