-// Copyright (C) 2011-2013 CEA/DEN, EDF R&D
+// Copyright (C) 2011-2019 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
#ifndef HOMARDQTCOMMUN_H
#define HOMARDQTCOMMUN_H
+#include "HOMARDGUI_Exports.hxx"
#include <SALOMEconfig.h>
#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)
namespace HOMARD_QT_COMMUN
{
- QString PushNomFichier(bool avertir=true);
- QString LireNomMaillage(int Medidt,int MeshId);
- QString LireNomMaillage(QString aFile);
+ HOMARD_EXPORT QString PushNomFichier(bool avertir, QString TypeFichier="");
+ HOMARD_EXPORT QString LireNomMaillage(QString aFile);
+ HOMARD_EXPORT QString LireNomMaillage2(med_idt Medidt,int MeshId);
- int OuvrirFichier(QString aFile);
+ HOMARD_EXPORT med_idt OuvrirFichier(QString aFile);
- std::list<QString> GetListeChamps(QString aFile);
- std::list<QString> GetListeComposants(QString aFile, QString aChamp);
+ HOMARD_EXPORT std::list<QString> GetListeChamps(QString aFile);
+ HOMARD_EXPORT std::list<QString> GetListeComposants(QString aFile, QString aChamp);
- QString SelectionArbreEtude(QString commentaire, int grave );
- QString SelectionCasEtude();
+ HOMARD_EXPORT QString SelectionArbreEtude(QString commentaire, int grave );
+ HOMARD_EXPORT QString SelectionCasEtude();
};