2022-02-27 23:18:37 -06:00
|
|
|
// Copyright 2022 yuzu Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <functional>
|
|
|
|
|
|
|
|
namespace Core::Frontend {
|
|
|
|
|
2022-03-17 03:01:03 -04:00
|
|
|
class MiiEditApplet {
|
2022-02-27 23:18:37 -06:00
|
|
|
public:
|
2022-03-17 03:01:03 -04:00
|
|
|
virtual ~MiiEditApplet();
|
2022-02-27 23:18:37 -06:00
|
|
|
|
2022-03-17 05:19:25 -04:00
|
|
|
virtual void ShowMiiEdit(const std::function<void()>& callback) const = 0;
|
2022-02-27 23:18:37 -06:00
|
|
|
};
|
|
|
|
|
2022-03-17 03:01:03 -04:00
|
|
|
class DefaultMiiEditApplet final : public MiiEditApplet {
|
2022-02-27 23:18:37 -06:00
|
|
|
public:
|
2022-03-17 05:19:25 -04:00
|
|
|
void ShowMiiEdit(const std::function<void()>& callback) const override;
|
2022-02-27 23:18:37 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace Core::Frontend
|