Updated Module System Proposal (asciidoc)

Paul-Vincent Roll 2016-02-06 21:07:07 +01:00
parent d5afbda6ee
commit 7290b282a2

@ -45,7 +45,9 @@ Any helper scrips (php) should be in the module folder, and should not affect an
`function restoreRegion(region) { ... }` - Function to restore regions to their original state. Also add an `all` input to restore all regions changed by the plugin.
Maybe it would be better to implement some kind of general multiuser system, so that in config.js you can specify different module sets for different users. Modules could than be used to switch them by providing face, speech or whatever recognition .
Maybe it would be better to implement some kind of general multiuser system, so that in config.js you can specify different module sets for different users. Modules could than be used to switch them by providing face, speech or whatever recognition.
`function changeLayout(layout) { ... }` - Function to change the current layout used by the UI. Modules should be aware of which user (or no user) is logged in or which layout is active so informations can also be changed.
***