summaryrefslogtreecommitdiffstats
path: root/src/core/frontend/applets
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-03-17 08:01:03 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2022-03-22 04:57:31 +0100
commite05e6853faf8563702963f384fb1486cda77c841 (patch)
tree6e18e446b74c4068e93428b09a604e204bb8043d /src/core/frontend/applets
parentMerge pull request #8067 from ameerj/qt-browser-include (diff)
downloadyuzu-e05e6853faf8563702963f384fb1486cda77c841.tar
yuzu-e05e6853faf8563702963f384fb1486cda77c841.tar.gz
yuzu-e05e6853faf8563702963f384fb1486cda77c841.tar.bz2
yuzu-e05e6853faf8563702963f384fb1486cda77c841.tar.lz
yuzu-e05e6853faf8563702963f384fb1486cda77c841.tar.xz
yuzu-e05e6853faf8563702963f384fb1486cda77c841.tar.zst
yuzu-e05e6853faf8563702963f384fb1486cda77c841.zip
Diffstat (limited to 'src/core/frontend/applets')
-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)>