mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
InputCommon: Return error, if any, from ControlReference::SetExpression().
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user