25 lines
535 B
C++
25 lines
535 B
C++
// 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
|