CoTech decision: move MEDWrapper from MED to SMESH

MED.idl no more exists

SALOME_MED::MedFileInfo -> SMESH::MedFileInfo
This commit is contained in:
eap 2013-06-25 11:56:49 +00:00
parent c5add157d7
commit 1500689577
4 changed files with 5 additions and 5 deletions

View File

@ -29,7 +29,7 @@
#include <QLabel>
#include <QLineEdit>
SMESHGUI_FileInfoDlg::SMESHGUI_FileInfoDlg( QWidget* parent, SALOME_MED::MedFileInfo* inf )
SMESHGUI_FileInfoDlg::SMESHGUI_FileInfoDlg( QWidget* parent, SMESH::MedFileInfo* inf )
: QtxDialog( parent, true, true, QtxDialog::OK )
{
setWindowTitle( tr( "CAPTION" ) );

View File

@ -27,14 +27,14 @@
#include <QtxDialog.h>
#include <SALOMEconfig.h>
#include CORBA_CLIENT_HEADER(MED)
#include CORBA_CLIENT_HEADER(SMESH_Mesh)
class SMESHGUI_FileInfoDlg : public QtxDialog
{
Q_OBJECT
public:
SMESHGUI_FileInfoDlg( QWidget*, SALOME_MED::MedFileInfo* );
SMESHGUI_FileInfoDlg( QWidget*, SMESH::MedFileInfo* );
virtual ~SMESHGUI_FileInfoDlg();
};

View File

@ -2244,7 +2244,7 @@ void SMESHGUI_AddInfo::meshInfo( SMESH::SMESH_Mesh_ptr mesh, QTreeWidgetItem* pa
{
// type
GEOM::GEOM_Object_var shape = mesh->GetShapeToMesh();
SALOME_MED::MedFileInfo* inf = mesh->GetMEDFileInfo();
SMESH::MedFileInfo* inf = mesh->GetMEDFileInfo();
QTreeWidgetItem* typeItem = createItem( parent, Bold );
typeItem->setText( 0, tr( "TYPE" ) );
if ( !CORBA::is_nil( shape ) ) {

View File

@ -653,7 +653,7 @@ bool SMESHGUI_Selection::isImported( const int ind ) const
SMESH::SMESH_Mesh_var aMesh = SMESH::SMESH_Mesh::_narrow( SMESH::SObjectToObject( SO ) );
if( !aMesh->_is_nil() )
{
SALOME_MED::MedFileInfo_var inf = aMesh->GetMEDFileInfo();
SMESH::MedFileInfo_var inf = aMesh->GetMEDFileInfo();
res = strlen( (char*)inf->fileName ) > 0;
}
}