summaryrefslogtreecommitdiffstats
path: root/src/core/frontend/applets/profile_select.h
blob: 5b2346e729b87f29c6d5fea9358cc12cf6c6cee9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// 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 "common/new_uuid.h"

namespace Core::Frontend {

class ProfileSelectApplet {
public:
    virtual ~ProfileSelectApplet();

    virtual void SelectProfile(
        std::function<void(std::optional<Common::NewUUID>)> callback) const = 0;
};

class DefaultProfileSelectApplet final : public ProfileSelectApplet {
public:
    void SelectProfile(std::function<void(std::optional<Common::NewUUID>)> callback) const override;
};

} // namespace Core::Frontend