# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2013 EDF R&D
+# Copyright (C) 2007-2017 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
# permet de lancer EFICAS en n affichant rien
+try :
+ from builtins import object
+except : pass
-class appliEficasSSIhm:
+class appliEficasSSIhm(object):
def __init__ (self,code):
self.VERSION_EFICAS="Sans Ihm"
self.code=code
configuration=__import__(nameConf)
self.CONFIGURATION = configuration.make_config(self,prefsCode.repIni)
-class QWParentSSIhm:
- def __init__(self,code,appliEficas,version_code,ssCode=None):
+class QWParentSSIhm(object):
+ def __init__(self,code,version_code):
self.ihm="QT"
self.code=code
self.version_code=version_code
- self.ssCode=ssCode
- if ssCode != None :
- self.format_fichier= ssCode #par defaut
- #prefsCode.NAME_SCHEME=ssCode
- else :
- self.format_fichier="python" #par defaut
- self.appliEficas=appliEficas
- self.appliEficas.ssCode=ssCode
+ self.format_fichier="python" #par defaut