# -*- coding: utf-8 -*-\r
-# CONFIGURATION MANAGEMENT OF EDF VERSION\r
-# ======================================================================\r
-# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG\r
-# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY\r
-# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY\r
-# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR\r
-# (AT YOUR OPTION) ANY LATER VERSION.\r
+# Copyright (C) 2007-2013 EDF R&D\r
#\r
-# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT\r
-# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF\r
-# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU\r
-# GENERAL PUBLIC LICENSE FOR MORE DETAILS.\r
+# This library is free software; you can redistribute it and/or\r
+# modify it under the terms of the GNU Lesser General Public\r
+# License as published by the Free Software Foundation; either\r
+# version 2.1 of the License.\r
#\r
-# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE\r
-# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,\r
-# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.\r
+# This library is distributed in the hope that it will be useful,\r
+# but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r
+# Lesser General Public License for more details.\r
#\r
+# You should have received a copy of the GNU Lesser General Public\r
+# License along with this library; if not, write to the Free Software\r
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\r
+#\r
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com\r
#\r
-# ======================================================================\r
"""\r
Ce module sert pour charger les paramètres de configuration d'EFICAS\r
"""\r
def __init__(self,appli,repIni):\r
#-----------------------------------\r
\r
- configuration.CONFIG_BASE.__init__(self,appli,repIni,'.Eficas_Carmel3D')\r
+ self.labels_user=['exec_acrobat', 'catalogues','savedir']\r
+ self.labels_eficas=['path_doc','exec_acrobat','lang','rep_cata','catalogues']\r
+\r
self.INSTALLDIR =os.path.dirname(__file__)\r
- self.REPINI =os.path.dirname(__file__)\r
-\r
- self.labels_user=['exec_acrobat', 'catalogues','savedir','path_doc',]\r
- self.labels_eficas=["rep_user","INSTALLDIR","path_doc","exec_acrobat"]\r
- self.labels_eficas=self.labels_eficas+["rep_cata","initialdir","savedir","catalogues"]\r
- self.cataFile="editeur.ini"\r
- self.setValeurs()\r
-\r
- #---------------------------------------\r
- def lecture_fichier_ini_standard(self):\r
- #---------------------------------------\r
- configuration.CONFIG_BASE.lecture_fichier_ini_standard(self)\r
-\r
- #---------------------------------------\r
- def lecture_fichier_ini_utilisateur(self):\r
- #---------------------------------------\r
- configuration.CONFIG_BASE.lecture_fichier_ini_utilisateur(self)\r
+ configuration.CONFIG_BASE.__init__(self,appli,repIni)\r
+\r
\r
def make_config(appli,rep):\r
return CONFIG(appli,rep)\r