Package lyntin :: Module config
[show private | hide private]
[frames | no frames]

Module lyntin.config

This module holds the configuration manager as well as a series of configuration type classes. It also holds some global variables that get computed at boot.

config_change_hook:
  This hook notifies registered functions that the value of a 
  config item has just been changed.

  Arg mapping: { "session": Session, "name": string, "oldvalue": string, "newvalue": string }

  session - The session of the config item that got changed.  If the
            session is None, then this is a global config item.

  name - the name of the config item

  oldvalue - the old value of the config item or None if there was
            no previous value.

  newvalue - the new value of the config item

Classes
BoolConfig Holds a boolean value.
CharConfig Holds a single character.
ConfigBase A ConfigDataBase subclass encapsulates a piece of configuration.
ConfigManager Holds all the configuration pieces for Lyntin.
IntConfig Holds an int.
StringConfig Holds a string.

Function Summary
  bv(bool)

Variable Summary
list lyntinmodules = []
dict options = {'ui': 'text', 'datadir': '', 'moduledir': [],...

Variable Details

lyntinmodules

Type:
list
Value:
[]                                                                     

options

Type:
dict
Value:
{'datadir': '',
 'moduledir': [],
 'readfile': [],
 'snoopdefault': 1,
 'ui': 'text'}                                                         

Generated by Epydoc 2.1 on Mon Aug 9 09:17:42 2004 http://epydoc.sf.net