diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-01-30 20:38:00 +0100 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-04-15 07:53:16 +0200 |
commit | 0f40c8c6340aa858cd2e2ffe2e6c54885e0a3649 (patch) | |
tree | 64577d64b355f354ab35e058b077f17be358f303 /src/core/frontend/applets/software_keyboard.cpp | |
parent | Merge pull request #6199 from lioncash/log-ns (diff) | |
download | yuzu-0f40c8c6340aa858cd2e2ffe2e6c54885e0a3649.tar yuzu-0f40c8c6340aa858cd2e2ffe2e6c54885e0a3649.tar.gz yuzu-0f40c8c6340aa858cd2e2ffe2e6c54885e0a3649.tar.bz2 yuzu-0f40c8c6340aa858cd2e2ffe2e6c54885e0a3649.tar.lz yuzu-0f40c8c6340aa858cd2e2ffe2e6c54885e0a3649.tar.xz yuzu-0f40c8c6340aa858cd2e2ffe2e6c54885e0a3649.tar.zst yuzu-0f40c8c6340aa858cd2e2ffe2e6c54885e0a3649.zip |
Diffstat (limited to 'src/core/frontend/applets/software_keyboard.cpp')
-rw-r--r-- | src/core/frontend/applets/software_keyboard.cpp | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/src/core/frontend/applets/software_keyboard.cpp b/src/core/frontend/applets/software_keyboard.cpp index 856ed33da..73e7a89b9 100644 --- a/src/core/frontend/applets/software_keyboard.cpp +++ b/src/core/frontend/applets/software_keyboard.cpp @@ -2,28 +2,10 @@ // Licensed under GPLv2 or any later version // 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 Core::Frontend { -SoftwareKeyboardApplet::~SoftwareKeyboardApplet() = default; - -void DefaultSoftwareKeyboardApplet::RequestText( - std::function<void(std::optional<std::u16string>)> out, - SoftwareKeyboardParameters parameters) const { - if (parameters.initial_text.empty()) - out(u"yuzu"); - out(parameters.initial_text); -} +SoftwareKeyboardApplet::~SoftwareKeyboardApplet() = default; -void DefaultSoftwareKeyboardApplet::SendTextCheckDialog( - std::u16string error_message, std::function<void()> finished_check) const { - LOG_WARNING(Service_AM, - "(STUBBED) called - Default fallback software keyboard does not support text " - "check! (error_message={})", - Common::UTF16ToUTF8(error_message)); - finished_check(); -} } // namespace Core::Frontend |