Salome HOME
Nettoyage des menus
[modules/hydrosolver.git] / src / salome_hydro / param_study / eficas / configuration_telemac2d.py
1 # -*- coding: utf-8 -*-
2 #
3 #  Copyright (C) 2012-2013 EDF
4 #
5 #  This file is part of SALOME HYDRO module.
6 #
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.
11 #
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.
16 #
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/>.
19
20 import os
21
22 from Editeur.catadesc import CatalogDescription
23 from InterfaceQT4.configuration import configBase
24
25 class CONFIG(configBase):
26
27     def __init__(self, appli, repIni):
28         """
29         This class stores the configuration parameters for Eficas
30         """
31         configBase.__init__(self, appli, repIni)
32
33         # Configuration parameters
34         self.savedir    = os.getenv("HOME")
35         self.catalogues = (CatalogDescription("param_study",
36                                               os.path.join(repIni, "param_study_cata.py")),)
37         self.lang = 'fr'
38
39     def save_params(self):
40         pass
41
42 def make_config(appli, rep):
43     return CONFIG(appli, rep)
44
45 def make_config_style(appli, rep):
46     return None