1 # -*- coding: utf-8 -*-
3 # Copyright (C) 2012-2013 EDF
5 # This file is part of SALOME HYDRO module.
7 # SALOME HYDRO module is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation, either version 3 of the License, or
10 # (at your option) any later version.
12 # SALOME HYDRO module is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with SALOME HYDRO module. If not, see <http://www.gnu.org/licenses/>.
22 from Editeur.catadesc import CatalogDescription
23 from InterfaceQT4.configuration import configBase
25 class CONFIG(configBase):
27 def __init__(self, appli, repIni):
29 This class stores the configuration parameters for Eficas
31 configBase.__init__(self, appli, repIni)
33 # Configuration parameters
34 self.savedir = os.getenv("HOME")
35 self.catalogues = (CatalogDescription("telemac2d_V6",
36 os.path.join(repIni, "telemac2d_V6_cata.py")),)
39 def save_params(self):
42 def make_config(appli, rep):
43 return CONFIG(appli, rep)
45 def make_config_style(appli, rep):