summaryrefslogtreecommitdiffstats
path: root/src/core/frontend/applets/mii_edit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/frontend/applets/mii_edit.h')
-rw-r--r--src/core/frontend/applets/mii_edit.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/core/frontend/applets/mii_edit.h b/src/core/frontend/applets/mii_edit.h
index 247ccd461..cca0e931d 100644
--- a/src/core/frontend/applets/mii_edit.h
+++ b/src/core/frontend/applets/mii_edit.h
@@ -6,29 +6,18 @@
#include <functional>
-#include "core/hle/service/mii/types.h"
-
namespace Core::Frontend {
-struct MiiParameters {
- bool is_editable;
- Service::Mii::MiiInfo mii_data{};
-};
-
class MiiEditApplet {
public:
virtual ~MiiEditApplet();
- virtual void ShowMii(const MiiParameters& parameters,
- const std::function<void(const Core::Frontend::MiiParameters& parameters)>
- callback) const = 0;
+ virtual void ShowMiiEdit(const std::function<void()>& callback) const = 0;
};
class DefaultMiiEditApplet final : public MiiEditApplet {
public:
- void ShowMii(const MiiParameters& parameters,
- const std::function<void(const Core::Frontend::MiiParameters& parameters)>
- callback) const override;
+ void ShowMiiEdit(const std::function<void()>& callback) const override;
};
} // namespace Core::Frontend