]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
CoTech decision: move MEDWrapper from MED to SMESH
authoreap <eap@opencascade.com>
Tue, 25 Jun 2013 11:56:49 +0000 (11:56 +0000)
committereap <eap@opencascade.com>
Tue, 25 Jun 2013 11:56:49 +0000 (11:56 +0000)
MED.idl no more exists

SALOME_MED::MedFileInfo -> SMESH::MedFileInfo

src/SMESHGUI/SMESHGUI_FileInfoDlg.cxx
src/SMESHGUI/SMESHGUI_FileInfoDlg.h
src/SMESHGUI/SMESHGUI_MeshInfo.cxx
src/SMESHGUI/SMESHGUI_Selection.cxx

index 881cf5970a145be4b26b6fbf29a881c61d2fc9ba..498a72dad9aff3aedf291bb0f69ae41f6040ee50 100644 (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" ) );
index a1264d9a242a1387051e3e0fc27010654deaeddc..2cab5a95bbc5f08737bedf0b320eba4ecbce0bfd 100644 (file)
 #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();
 };
 
index 4d7a1c38f4d3420cef380d6ae06ae52500ab9808..574fd58a9a7e40e9bc07d4dfe5b667addaedf59a 100644 (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 ) ) {
index 8c7ebc2c2b989bc4dff57f69d5a56c6ee1bce265..4b8c433f9e70f6ee3d5a13740e6bc9d900b8f324 100644 (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;
     }
   }