mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 03:48:23 -05:00
am: Implement text check software keyboard mode
Allows the game to verify and send a message to the frontend.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user