summaryrefslogtreecommitdiffstats
path: root/src/core/frontend/applets/mii_edit.h
blob: d828f06ecfb376b1e41894a5cdf36be80ea1dbf8 (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
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#include <functional>

namespace Core::Frontend {

class MiiEditApplet {
public:
    using MiiEditCallback = std::function<void()>;

    virtual ~MiiEditApplet();

    virtual void ShowMiiEdit(const MiiEditCallback& callback) const = 0;
};

class DefaultMiiEditApplet final : public MiiEditApplet {
public:
    void ShowMiiEdit(const MiiEditCallback& callback) const override;
};

} // namespace Core::Frontend