mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-01-16 08:01:56 -08:00
28 lines
627 B
C++
28 lines
627 B
C++
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <functional>
|
|
|
|
#include "core/frontend/applets/applet.h"
|
|
|
|
namespace Core::Frontend {
|
|
|
|
class MiiEditApplet : public Applet {
|
|
public:
|
|
using MiiEditCallback = std::function<void()>;
|
|
|
|
virtual ~MiiEditApplet();
|
|
|
|
virtual void ShowMiiEdit(const MiiEditCallback& callback) const = 0;
|
|
};
|
|
|
|
class DefaultMiiEditApplet final : public MiiEditApplet {
|
|
public:
|
|
void Close() const override;
|
|
void ShowMiiEdit(const MiiEditCallback& callback) const override;
|
|
};
|
|
|
|
} // namespace Core::Frontend
|