1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 """\
21 L{X2GoSessionProfiles} class - managing x2goclient session profiles.
22
23 L{X2GoSessionProfiles} is a public API class. Use this class in your Python X2Go based
24 applications.
25
26 """
27 __NAME__ = 'x2gosessionprofiles-pylib'
28
29
30 from x2go.defaults import X2GO_SESSIONPROFILES_CONFIGFILES
31 from x2go.defaults import X2GO_SESSIONPROFILE_DEFAULTS
32 import x2go.inifiles as inifiles
33 import x2go.log as log
34
35 from x2go.x2go_exceptions import X2GoNotImplementedYetException
36
38
39 defaultSessionProfile = X2GO_SESSIONPROFILE_DEFAULTS
40 _non_profile_sections = ('embedded')
41
43 """\
44 Retrieve X2Go session profiles from the Windows registry.
45
46 @param session_profile_defaults: a default session profile
47 @type session_profile_defaults: C{dict}
48 @param logger: you can pass an L{X2GoLogger} object to the
49 L{X2GoSessionProfilesWINREG} constructor
50 @type logger: L{X2GoLogger} instance
51 @param loglevel: if no L{X2GoLogger} object has been supplied a new one will be
52 constructed with the given loglevel
53 @type loglevel: C{int}
54
55 """
56 raise X2GoNotImplementedYetException('WINREG backend support is not implemented yet')
57