-# Copyright (C) 2009-2015 EDF R&D
+# Copyright (C) 2009-2016 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
gui_xml_fr=hxxgui_xml_fr.substitute(component_name=self.name)
gui_xml_en=hxxgui_xml_en.substitute(component_name=self.name)
gui_salomeapp_gen=cppsalomeapp.substitute(module=self.name,
- lmodule=self.name.lower())
+ lmodule=self.name.lower(),
+ version="V0")
# for a salome component generated by hxx2salome from a c++ component,
# the documentation points at the c++ component documentation
salome_doc_path=os.path.join("%"+self.name+"_ROOT_DIR%","share",
services = self.getIdlServices()
from hxx_tmpl import interfaceidlhxx
Inherited=""
- if compo.use_medmem==True:
+ if self.use_medmem==True:
Inherited="Engines::EngineComponent,SALOME::MultiCommClass,SALOME_MED::MED_Gen_Driver"
else:
Inherited="Engines::EngineComponent"
- return interfaceidlhxx.substitute(component=compo.name,inherited=Inherited, services="\n".join(services))
+ return interfaceidlhxx.substitute(component=self.name,inherited=Inherited, services="\n".join(services))