summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/theme
diff options
context:
space:
mode:
authorOliver Tappe2008-02-23 19:44:04 +0100
committerOliver Tappe2008-02-23 19:44:04 +0100
commit494241071bd94d5e4b87ba113753642e57090af8 (patch)
tree3da20fea677f6be344826c3b599528022e8ad590 /os-plugins/plugins/theme
parent* Instead of giving up when a plugin folder does not contain the corresponding (diff)
downloadcore-494241071bd94d5e4b87ba113753642e57090af8.tar.gz
core-494241071bd94d5e4b87ba113753642e57090af8.tar.xz
core-494241071bd94d5e4b87ba113753642e57090af8.zip
* adjusted plugin-API according to recent discussion with Volker:
+ dropped pre- and post-methods as they are not really needed, since ... + we now bind-mount /opt/openslx into /mnt/openslx of the vendor-OS chroot, so plugins can copy any required files from there * cleaned up existing plugin implementations * improved documentation for plugin developers (available via 'perldoc os-plugins/OpenSLX/OSPlugins/Base.pm'). git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1570 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/theme')
-rw-r--r--os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm8
1 files changed, 1 insertions, 7 deletions
diff --git a/os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm b/os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm
index 4bd83c69..11bef626 100644
--- a/os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm
+++ b/os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm
@@ -49,15 +49,10 @@ sub getInfo
}
sub getAttrInfo
-{ # returns a hash-ref with information about all attributes supported
- # by this specific plugin
+{
my $self = shift;
- # This default configuration will be added as attributes to the default
- # system, such that it can be overruled for any specific system by means
- # of slxconfig.
return {
- # attribute 'active' is mandatory for all plugins
'theme::active' => {
applies_to_systems => 1,
applies_to_clients => 0,
@@ -68,7 +63,6 @@ sub getAttrInfo
content_descr => '1 means active - 0 means inactive',
default => '1',
},
- # attribute 'precedence' is mandatory for all plugins
'theme::precedence' => {
applies_to_systems => 1,
applies_to_clients => 0,