diff options
| author | Zach Hilman <zachhilman@gmail.com> | 2018-11-11 16:39:25 -0500 |
|---|---|---|
| committer | Zach Hilman <zachhilman@gmail.com> | 2018-11-18 10:53:47 -0500 |
| commit | efced53d38edaa7490fcc6ed3f3f6c3bb2b08e86 (patch) | |
| tree | 79222d795725ba7b19f0aa9326041e236f9a22d8 /src/core/frontend/applets/software_keyboard.cpp | |
| parent | b9c5a8bcf640c13c192968ede5ae94ee13585752 (diff) | |
am: Deglobalize software keyboard applet
Diffstat (limited to 'src/core/frontend/applets/software_keyboard.cpp')
| -rw-r--r-- | src/core/frontend/applets/software_keyboard.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/core/frontend/applets/software_keyboard.cpp b/src/core/frontend/applets/software_keyboard.cpp index c1bacefef3..41d81c2934 100644 --- a/src/core/frontend/applets/software_keyboard.cpp +++ b/src/core/frontend/applets/software_keyboard.cpp @@ -3,16 +3,19 @@ // Refer to the license.txt file included. #include "common/logging/backend.h" -#include "common/string_util.h" #include "core/frontend/applets/software_keyboard.h" -namespace Frontend { -bool DefaultSoftwareKeyboardApplet::GetText(Parameters parameters, std::u16string& text) { +namespace Core::Frontend { +SoftwareKeyboardApplet::~SoftwareKeyboardApplet() = default; + +bool DefaultSoftwareKeyboardApplet::GetText(SoftwareKeyboardParameters parameters, + std::u16string& text) const { if (parameters.initial_text.empty()) - text = Common::UTF8ToUTF16("yuzu"); + text = u"yuzu"; else text = parameters.initial_text; return true; } -} // namespace Frontend + +} // namespace Core::Frontend |
