summaryrefslogtreecommitdiffstats
path: root/src/core/frontend/applets/mii_edit.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-03-23 05:56:42 +0100
committerGitHub <noreply@github.com>2022-03-23 05:56:42 +0100
commit749efbb84b67043fb3aa1ce7832bf798bf393b59 (patch)
treeb38842bf7cbba447224cfce4f16d4de6aac59e9f /src/core/frontend/applets/mii_edit.h
parentMerge pull request #8070 from yuzu-emu/revert-8016-kill-mem-use (diff)
parentapplets/mii: Remove unused include (diff)
downloadyuzu-749efbb84b67043fb3aa1ce7832bf798bf393b59.tar
yuzu-749efbb84b67043fb3aa1ce7832bf798bf393b59.tar.gz
yuzu-749efbb84b67043fb3aa1ce7832bf798bf393b59.tar.bz2
yuzu-749efbb84b67043fb3aa1ce7832bf798bf393b59.tar.lz
yuzu-749efbb84b67043fb3aa1ce7832bf798bf393b59.tar.xz
yuzu-749efbb84b67043fb3aa1ce7832bf798bf393b59.tar.zst
yuzu-749efbb84b67043fb3aa1ce7832bf798bf393b59.zip
Diffstat (limited to 'src/core/frontend/applets/mii_edit.h')
-rw-r--r--src/core/frontend/applets/mii_edit.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/core/frontend/applets/mii_edit.h b/src/core/frontend/applets/mii_edit.h
new file mode 100644
index 000000000..cca0e931d
--- /dev/null
+++ b/src/core/frontend/applets/mii_edit.h
@@ -0,0 +1,23 @@
+// 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 {
+
+class MiiEditApplet {
+public:
+ virtual ~MiiEditApplet();
+
+ virtual void ShowMiiEdit(const std::function<void()>& callback) const = 0;
+};
+
+class DefaultMiiEditApplet final : public MiiEditApplet {
+public:
+ void ShowMiiEdit(const std::function<void()>& callback) const override;
+};
+
+} // namespace Core::Frontend