output/Interface: add "attributes" map

These attributes are printed in the "outputs" response, and the new
command "outputset" allows setting new values.

No attributes are currently implemented.
This commit is contained in:
Max Kellermann
2017-12-19 08:45:34 +01:00
parent d05c3f4e4d
commit 86a06a7acc
13 changed files with 161 additions and 1 deletions

View File

@@ -35,6 +35,9 @@ handle_disableoutput(Client &client, Request request, Response &response);
CommandResult
handle_toggleoutput(Client &client, Request request, Response &response);
CommandResult
handle_outputset(Client &client, Request request, Response &response);
CommandResult
handle_devices(Client &client, Request request, Response &response);