28 lines
627 B
C++
Raw Normal View History

// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <functional>
2023-03-25 13:29:08 -04:00
#include "core/frontend/applets/applet.h"
namespace Core::Frontend {
2023-03-25 13:29:08 -04:00
class MiiEditApplet : public Applet {
public:
using MiiEditCallback = std::function<void()>;
2022-03-17 03:01:03 -04:00
virtual ~MiiEditApplet();
virtual void ShowMiiEdit(const MiiEditCallback& callback) const = 0;
};
2022-03-17 03:01:03 -04:00
class DefaultMiiEditApplet final : public MiiEditApplet {
public:
2023-03-25 13:29:08 -04:00
void Close() const override;
void ShowMiiEdit(const MiiEditCallback& callback) const override;
};
} // namespace Core::Frontend