diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-03-17 10:19:25 +0100 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-03-22 04:57:31 +0100 |
commit | bcca849d0c68d50690711fe17480cfcda624f2c2 (patch) | |
tree | 88bf826c3734d718eb47567c59c61147327754a5 /src/core | |
parent | applets/mii: Cleanup MiiEdit applet implementation (diff) | |
download | yuzu-bcca849d0c68d50690711fe17480cfcda624f2c2.tar yuzu-bcca849d0c68d50690711fe17480cfcda624f2c2.tar.gz yuzu-bcca849d0c68d50690711fe17480cfcda624f2c2.tar.bz2 yuzu-bcca849d0c68d50690711fe17480cfcda624f2c2.tar.lz yuzu-bcca849d0c68d50690711fe17480cfcda624f2c2.tar.xz yuzu-bcca849d0c68d50690711fe17480cfcda624f2c2.tar.zst yuzu-bcca849d0c68d50690711fe17480cfcda624f2c2.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/frontend/applets/mii_edit.cpp | 6 | ||||
-rw-r--r-- | src/core/frontend/applets/mii_edit.h | 15 |
2 files changed, 4 insertions, 17 deletions
diff --git a/src/core/frontend/applets/mii_edit.cpp b/src/core/frontend/applets/mii_edit.cpp index 948d66f3d..fadb5fb15 100644 --- a/src/core/frontend/applets/mii_edit.cpp +++ b/src/core/frontend/applets/mii_edit.cpp @@ -9,12 +9,10 @@ namespace Core::Frontend { MiiEditApplet::~MiiEditApplet() = default; -void DefaultMiiEditApplet::ShowMii( - const MiiParameters& parameters, - const std::function<void(const Core::Frontend::MiiParameters& parameters)> callback) const { +void DefaultMiiEditApplet::ShowMiiEdit(const std::function<void()>& callback) const { LOG_WARNING(Service_AM, "(STUBBED) called"); - callback(parameters); + callback(); } } // namespace Core::Frontend 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 |