1 '''
2 Profile constants.
3
4 @var DEFAULT_PROFILE: Name of the default profile to use when none is specified
5 @type DEFAULT_PROFILE: string
6 @var BUILTIN_PROFILES: Names of built-in, protected profiles
7 @type BUILTIN_PROFILES: list of string
8 @var DEFAULT_ASSOCIATIONS: Mapping from built-in profile name to L{AEUserInterface}s
9 that ship with SUE that should be part of the profile by default
10 @type DEFAULT_ASSOCIATIONS: dictionary
11 @var GENERATE_PROFILES: Names of profiles to which generated L{AEScript <AEScript.AEScript>}s should be
12 added automatically
13 @type GENERATE_PROFILES: list of string
14
15 @author: Peter Parente
16 @organization: IBM Corporation
17 @copyright: Copyright (c) 2005, 2007 IBM Corporation
18 @license: The BSD License
19
20 @author: Frank Zenker
21 @organization: IT Science Center Ruegen gGmbH, Germany
22 @copyright: Copyright (c) 2007, 2008 ITSC Ruegen
23 @license: The BSD License
24
25 All rights reserved. This program and the accompanying materials are made
26 available under the terms of the BSD license which accompanies
27 this distribution, and is available at
28 U{http://www.opensource.org/licenses/bsd-license.php}
29 '''
30
31
32 DEFAULT_ASSOCIATIONS = {
33 'user': ['Keyboard',
34 'EspeakSpeech',
35 'BrlAPIDevice',
36 'SueScript',
37 'ReviewScript',
38 'BasicSpeechScript',
39 'BasicBrailleScript',
40 'BookmarkScript',
41 'DefaultDialogScript',
42 'AltShiftScript',
43 'MetacityScript',
44 'GaimScript',
45 'PidginScript',
46 'GTerminalScript',
47 'FirefoxScript',
48 'SearchScript',
49 'GKeybindingScript',
50 'GCalcScript',
51 'GEditScript',
52 'EvolutionScript',
53 'GPanelScript',
54 'UpdateNotifierScript'],
55 'developer' :
56 ['Keyboard',
57 'EspeakSpeech',
58 'BrlAPIDevice',
59 'SueScript',
60 'ReviewScript',
61 'BasicSpeechScript',
62 'BasicBrailleScript',
63 'BookmarkScript',
64 'DefaultDialogScript',
65 'AltShiftScript',
66 'DeveloperScript',
67 'MetacityScript',
68 'GaimScript',
69 'GTerminalScript',
70 'FirefoxScript',
71 'RawEventMonitor',
72 'TaskMonitor',
73 'IOMonitor',
74 'SearchScript',
75 'GKeybindingScript',
76 'GCalcScript',
77 'GEditScript',
78 'EvolutionScript'],
79 'monitors' :
80 ['RawEventMonitor',
81 'TaskMonitor',
82 'IOMonitor',
83 'Keyboard',
84 'ReviewScript',
85 'SueScript',
86 'BasicSpeechScript',
87 'BasicBrailleScript',
88 'DefaultDialogScript',
89 'AltShiftScript',
90 'DeveloperScript',
91 'MetacityScript',
92 'GaimScript',
93 'GTerminalScript',
94 'FirefoxScript',
95 'GKeybindingScript',
96 'GCalcScript',
97 'GEditScript'],
98 'autotest' :
99 ['TestLogMonitor',
100 'Keyboard',
101 'ReviewScript',
102 'SueScript',
103 'BasicSpeechScript',
104 'BookmarkScript',
105 'DefaultDialogScript',
106 'AltShiftScript',
107 'MetacityScript',
108 'GaimScript',
109 'GTerminalScript'
110 'FirefoxScript',
111 'GKeybindingScript',
112 'GCalcScript',
113 'GEditScript'],
114 'login' :
115 ['Keyboard',
116 'EspeakSpeech',
117 'BrlAPIDevice',
118 'SueScript',
119 'ReviewScript',
120 'BasicSpeechScript',
121 'BasicBrailleScript',
122 'AltShiftScript',
123 'GdmScript',
124 'SearchScript'],
125 'mag' :
126 ['Keyboard',
127 'GnomeMagDevice',
128 'SueScript',
129 'BasicMagScript',
130 'DefaultDialogScript',
131 'AltShiftScript']
132 }
133
134 BUILTIN_PROFILES = DEFAULT_ASSOCIATIONS.keys()
135 DEFAULT_PROFILE = 'user'
136 GENERATE_PROFILES = ['user', 'developer']
137