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",
gui_salomeapp_file.close()
list_of_gui_names.append(gui_salomeapp_file_name)
return list_of_gui_names
+
+ def getIdlInterfaces(self):
+ services = self.getIdlServices()
+ from hxx_tmpl import interfaceidlhxx
+ Inherited=""
+ if self.use_medmem==True:
+ Inherited="Engines::EngineComponent,SALOME::MultiCommClass,SALOME_MED::MED_Gen_Driver"
+ else:
+ Inherited="Engines::EngineComponent"
+ return interfaceidlhxx.substitute(component=self.name,inherited=Inherited, services="\n".join(services))
+