| Home | Trees | Indices | Help |
|
|---|
|
|
1 # -*- coding: utf-8 -*-
2
3 # Copyright (C) 2010-2011 by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
4 #
5 # Python X2go is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # Python X2go is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the
17 # Free Software Foundation, Inc.,
18 # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
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 import copy
30
31 # Python X2go modules
32 from x2go.defaults import X2GO_SESSIONPROFILES_CONFIGFILES
33 from x2go.defaults import X2GO_SESSIONPROFILE_DEFAULTS
34 import x2go.inifiles as inifiles
35 import x2go.log as log
36 import x2go.utils as hostname
37
38 from x2go.x2go_exceptions import X2goProfileException
39
40
42
43 defaultSessionProfile = X2GO_SESSIONPROFILE_DEFAULTS
44 _non_profile_sections = ('embedded')
45
46 - def __init__(self, config_files=X2GO_SESSIONPROFILES_CONFIGFILES, defaults=None, session_profile_defaults=None, logger=None, loglevel=log.loglevel_DEFAULT):
47 """\
48 STILL UNDOCUMENTED
49
50 """
51 raise X2goNotImplementedYetException('GCONF backend support is not implemented yet')
52
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Dec 12 09:31:14 2011 | http://epydoc.sourceforge.net |