summaryrefslogblamecommitdiffstats
path: root/src/core/frontend/applets/profile_select.h
blob: 8d6ee527947fe4ab6fdf28a302831a2589574f41 (plain) (tree)
1
2
3
4
5
6
7
8

                                                               




                     
                        






                                   
                                                                                                    



                                                                     
                                                                                                 


                             
// 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