diff options
Diffstat (limited to 'src/core/frontend')
-rw-r--r-- | src/core/frontend/applets/mii_edit.cpp (renamed from src/core/frontend/applets/mii.cpp) | 9 | ||||
-rw-r--r-- | src/core/frontend/applets/mii_edit.h (renamed from src/core/frontend/applets/mii.h) | 6 |
2 files changed, 8 insertions, 7 deletions
diff --git a/src/core/frontend/applets/mii.cpp b/src/core/frontend/applets/mii_edit.cpp index 1c05ff412..948d66f3d 100644 --- a/src/core/frontend/applets/mii.cpp +++ b/src/core/frontend/applets/mii_edit.cpp @@ -3,16 +3,17 @@ // Refer to the license.txt file included. #include "common/logging/log.h" -#include "core/frontend/applets/mii.h" +#include "core/frontend/applets/mii_edit.h" namespace Core::Frontend { -MiiApplet::~MiiApplet() = default; +MiiEditApplet::~MiiEditApplet() = default; -void DefaultMiiApplet::ShowMii( +void DefaultMiiEditApplet::ShowMii( const MiiParameters& parameters, const std::function<void(const Core::Frontend::MiiParameters& parameters)> callback) const { - LOG_INFO(Service_HID, "(STUBBED) called"); + LOG_WARNING(Service_AM, "(STUBBED) called"); + callback(parameters); } diff --git a/src/core/frontend/applets/mii.h b/src/core/frontend/applets/mii_edit.h index 11ba8a359..0d5bb69a2 100644 --- a/src/core/frontend/applets/mii.h +++ b/src/core/frontend/applets/mii_edit.h @@ -15,16 +15,16 @@ struct MiiParameters { Service::Mii::MiiInfo mii_data{}; }; -class MiiApplet { +class MiiEditApplet { public: - virtual ~MiiApplet(); + virtual ~MiiEditApplet(); virtual void ShowMii(const MiiParameters& parameters, const std::function<void(const Core::Frontend::MiiParameters& parameters)> callback) const = 0; }; -class DefaultMiiApplet final : public MiiApplet { +class DefaultMiiEditApplet final : public MiiEditApplet { public: void ShowMii(const MiiParameters& parameters, const std::function<void(const Core::Frontend::MiiParameters& parameters)> |