2
# Copyright 2001-2005 Free Software Foundation
4
# This file is part of GNU Enterprise
6
# GNU Enterprise is free software; you can redistribute it
7
# and/or modify it under the terms of the GNU General Public
8
# License as published by the Free Software Foundation; either
9
# version 2, or (at your option) any later version.
11
# GNU Enterprise is distributed in the hope that it will be
12
# useful, but WITHOUT ANY WARRANTY; without even the implied
13
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14
# PURPOSE. See the GNU General Public License for more details.
16
# You should have received a copy of the GNU General Public
17
# License along with program; see the file COPYING. If not,
18
# write to the Free Software Foundation, Inc., 59 Temple Place
19
# - Suite 330, Boston, MA 02111-1307, USA.
21
# $Id: GCConfig.py 7050 2005-02-21 14:13:54Z kilo $
24
Valid configuration options that apply to all GNUe tools
25
(appears under [common] section in gnue.conf or
26
can appear in each individual tool section)
29
from gnue.common.formatting import GTypecast
32
{ 'Name' : 'textEncoding',
34
'Comment' : 'Encoding for XML headers and for fonts in forms. '
35
+ 'Like iso8859-1, iso8859-13.',
36
'Description': 'Encoding for XML headers and for fonts in forms. '
37
+ 'Like iso8859-1, iso8859-13.',
38
'Typecast' : GTypecast.text,
39
'Default' : 'iso8859-1' },
41
{ 'Name' : 'ImportPath',
43
'Comment' : 'Locations added to the python search path',
44
'Description': 'A comma-separated list of directories to be added '
45
+ 'to the python search path to add custom functionality.',
46
'Typecast' : GTypecast.text,
49
{ 'Name' : 'StoreTriggersAsCDATA',
51
'Comment' : 'If set to true, then store trigger definitions in '
52
+ '<![CDATA[ .. ]]> blocks, instead of encoding with < etc.',
53
'Description': 'If set to true, then store trigger definitions in '
54
+ '<![CDATA[ .. ]]> blocks, instead of encoding with < etc.',
55
'Typecast' : GTypecast.boolean,
58
{ 'Name' : 'useParameters',
60
'Comment' : 'Use parameters in DBSIG2 database drivers',
61
'Description': 'Use parameters in DBSIG2 database drivers. '
62
+ '1 = use parameters, 0 = do not use them (deprecated)',
63
'Typecast' : GTypecast.boolean,
64
'Default' : 1 }, # Default 0 is transformed to '0'