applets/swkbd: Address comments

This commit is contained in:
zhupengfei 2019-03-18 22:02:31 +08:00
parent 8078256a88
commit 25be09c7a3
No known key found for this signature in database
GPG key ID: DD129E108BD09378
3 changed files with 8 additions and 10 deletions

View file

@ -132,7 +132,7 @@ ValidationError SoftwareKeyboard::Finalize(const std::string& text, u8 button) {
return ValidationError::None;
}
bool SoftwareKeyboard::DataReady() {
bool SoftwareKeyboard::DataReady() const {
return data_ready;
}

View file

@ -93,7 +93,7 @@ public:
/**
* Whether the result data is ready to be received.
*/
bool DataReady();
bool DataReady() const;
/**
* Receives the current result data stored in the applet, and clears the ready state.