mirror of
https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
synced 2025-03-21 01:53:15 +00: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
|