mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-26 14:28:34 +00:00
InputCommon: Return error, if any, from ControlReference::SetExpression().
This commit is contained in:
parent
3cd4c56645
commit
cae741584b
2 changed files with 5 additions and 2 deletions
|
@ -38,7 +38,9 @@ public:
|
|||
ciface::ExpressionParser::ParseStatus GetParseStatus() const;
|
||||
void UpdateReference(ciface::ExpressionParser::ControlEnvironment& env);
|
||||
std::string GetExpression() const;
|
||||
void SetExpression(std::string expr);
|
||||
|
||||
// Returns a human-readable error description when the given expression is invalid.
|
||||
std::optional<std::string> SetExpression(std::string expr);
|
||||
|
||||
ControlState range;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue