From 7290b282a2509ee2b79af381a325c229adb0026a Mon Sep 17 00:00:00 2001 From: Paul-Vincent Roll Date: Sat, 6 Feb 2016 21:07:07 +0100 Subject: [PATCH] Updated Module System Proposal (asciidoc) --- Module-System-Proposal.asciidoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Module-System-Proposal.asciidoc b/Module-System-Proposal.asciidoc index a532962..0482a25 100644 --- a/Module-System-Proposal.asciidoc +++ b/Module-System-Proposal.asciidoc @@ -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. ***