From 78ed12063bf290ffea513c76f0aa000810d0f93c Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Fri, 17 Jul 2015 09:56:43 +0200 Subject: Updated --- MODULE_HACKING | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'MODULE_HACKING') diff --git a/MODULE_HACKING b/MODULE_HACKING index 4ed3af1..55c8d25 100644 --- a/MODULE_HACKING +++ b/MODULE_HACKING @@ -65,6 +65,12 @@ Said that you have to: Some share code is into ManaTools::Shared modules, such as Locales to manage localization or Module back-ends for instance. +A module template example is into extras/module_templete/ directory, where +extras/module_templete/mana_mt is the example script that use and run +the module, while the module itself is +extras/module_templete/ManaTools/Module/ModuleTemplate.pm +The module just show a MessageBox and exit. + - ManaTools configuration (how to run a module) mpan can be run using a "name" parameter and eventually by forcing a configuration @@ -93,12 +99,12 @@ _______________ --------------- Layout can change in future though. -Let's see an example +Let's see an example of a category configuration Hardware /usr/share/icons/configuration_section.png - ManaTools::Module::AdminMouse + ManaTools::Module::Services Module name @@ -107,7 +113,8 @@ Let's see an example -First module is a perl ManaTools::Module extension (AdminMouse), -latter is an external one, as you can see could be a script -as well as an executable command. +First module is a perl ManaTools::Module extension (Services), +latter is an external one, called "module" and with a full pathname. + +As you can see it could be a script, as well as an executable command. Look at settings.conf and categories.conf for details. -- cgit v1.2.1