Salome HOME
Appliquer et/ou fermer pour les zones et les frontières analytiques
[modules/homard.git] / src / HOMARDGUI / HomardQtCommun.h
index 83d5417c77005399fae458797b2dd505d40a5b92..00408a539442e487c412b60329db9a89cd46cf0d 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2011-2013  CEA/DEN, EDF R&D
+// Copyright (C) 2011-2016  CEA/DEN, 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
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -26,6 +26,8 @@
 #include "SALOME_Selection.h"
 #include <SalomeApp_Module.h>
 
+#include <med.h>
+
 #include CORBA_CLIENT_HEADER(SALOMEDS_Attributes)
 #include CORBA_CLIENT_HEADER(HOMARD_Gen)
 #include CORBA_CLIENT_HEADER(HOMARD_Cas)
@@ -39,11 +41,11 @@ class QComboBox;
 
 namespace HOMARD_QT_COMMUN
 {
-    HOMARD_EXPORT QString PushNomFichier(bool avertir=true);
-    HOMARD_EXPORT QString LireNomMaillage(int Medidt,int MeshId);
+    HOMARD_EXPORT QString PushNomFichier(bool avertir, QString TypeFichier="");
     HOMARD_EXPORT QString LireNomMaillage(QString aFile);
+    HOMARD_EXPORT QString LireNomMaillage2(med_idt Medidt,int MeshId);
 
-    HOMARD_EXPORT int     OuvrirFichier(QString aFile);
+    HOMARD_EXPORT med_idt OuvrirFichier(QString aFile);
 
     HOMARD_EXPORT std::list<QString> GetListeChamps(QString aFile);
     HOMARD_EXPORT std::list<QString> GetListeComposants(QString aFile, QString aChamp);