summaryrefslogtreecommitdiffstats
path: root/src/core/frontend/applets
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-11-11 22:41:31 +0100
committerZach Hilman <zachhilman@gmail.com>2018-11-18 16:53:47 +0100
commitfed6ab14c37f196f2a2fd378b46d7e5bd0118224 (patch)
tree9e199e88df8e5a35e1f18d7a2f2ca29373d90367 /src/core/frontend/applets
parentam: Deglobalize software keyboard applet (diff)
downloadyuzu-fed6ab14c37f196f2a2fd378b46d7e5bd0118224.tar
yuzu-fed6ab14c37f196f2a2fd378b46d7e5bd0118224.tar.gz
yuzu-fed6ab14c37f196f2a2fd378b46d7e5bd0118224.tar.bz2
yuzu-fed6ab14c37f196f2a2fd378b46d7e5bd0118224.tar.lz
yuzu-fed6ab14c37f196f2a2fd378b46d7e5bd0118224.tar.xz
yuzu-fed6ab14c37f196f2a2fd378b46d7e5bd0118224.tar.zst
yuzu-fed6ab14c37f196f2a2fd378b46d7e5bd0118224.zip
Diffstat (limited to 'src/core/frontend/applets')
-rw-r--r--src/core/frontend/applets/software_keyboard.cpp6
-rw-r--r--src/core/frontend/applets/software_keyboard.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/core/frontend/applets/software_keyboard.cpp b/src/core/frontend/applets/software_keyboard.cpp
index 41d81c293..05e2dc6b7 100644
--- a/src/core/frontend/applets/software_keyboard.cpp
+++ b/src/core/frontend/applets/software_keyboard.cpp
@@ -18,4 +18,10 @@ bool DefaultSoftwareKeyboardApplet::GetText(SoftwareKeyboardParameters parameter
return true;
}
+void DefaultSoftwareKeyboardApplet::SendTextCheckDialog(std::u16string error_message) const {
+ LOG_WARNING(Service_AM,
+ "(STUBBED) called - Default fallback software keyboard does not support text "
+ "check! (error_message={})",
+ Common::UTF16ToUTF8(error_message));
+}
} // namespace Core::Frontend
diff --git a/src/core/frontend/applets/software_keyboard.h b/src/core/frontend/applets/software_keyboard.h
index 2ea9db889..0a82aac0d 100644
--- a/src/core/frontend/applets/software_keyboard.h
+++ b/src/core/frontend/applets/software_keyboard.h
@@ -36,11 +36,13 @@ public:
virtual ~SoftwareKeyboardApplet();
virtual bool GetText(SoftwareKeyboardParameters parameters, std::u16string& text) const = 0;
+ virtual void SendTextCheckDialog(std::u16string error_message) const = 0;
};
class DefaultSoftwareKeyboardApplet final : public SoftwareKeyboardApplet {
public:
bool GetText(SoftwareKeyboardParameters parameters, std::u16string& text) const override;
+ void SendTextCheckDialog(std::u16string error_message) const override;
};
} // namespace Core::Frontend