actions: Separate data from action string
Modules now no longer need to manually parse the action string and extract data from it.
This commit is contained in:
parent
8acedeef87
commit
bc1b86c584
33 changed files with 124 additions and 142 deletions
include/modules
|
@ -28,7 +28,7 @@ namespace modules {
|
|||
static constexpr auto EVENT_CLOSE = "close";
|
||||
|
||||
protected:
|
||||
bool input(string&& action);
|
||||
bool input(string&& action, string&& data);
|
||||
|
||||
private:
|
||||
static constexpr auto TAG_LABEL_TOGGLE = "<label-toggle>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue