yuzu/src/core/frontend/applets/mii_edit.h

25 lines
535 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>
namespace Core::Frontend {
2022-03-17 07:01:03 +00:00
class MiiEditApplet {
public:
using MiiEditCallback = std::function<void()>;
2022-03-17 07:01:03 +00:00
virtual ~MiiEditApplet();
virtual void ShowMiiEdit(const MiiEditCallback& callback) const = 0;
};
2022-03-17 07:01:03 +00:00
class DefaultMiiEditApplet final : public MiiEditApplet {
public:
void ShowMiiEdit(const MiiEditCallback& callback) const override;
};
} // namespace Core::Frontend