Salome HOME
remove adjusting pointers for covariant returns
[modules/smesh.git] / src / SMESH_I / SMESH_MEDMesh_i.hxx
index 9e9814e20860342b4947b5cbb91c367b430de5c5..ee482b0c8bef658092638f5c9799fe2e2b451727 100644 (file)
@@ -29,6 +29,7 @@
 
 #include <SALOMEconfig.h>
 #include CORBA_SERVER_HEADER(MED)
+#include CORBA_SERVER_HEADER(SALOME_Comm)
 #include <string>
 #include <vector>
 #include <map>
@@ -43,8 +44,8 @@
 
 class SMESH_Mesh_i;
 
-class SMESH_MEDMesh_i:
-       public POA_SALOME_MED::MESH, public PortableServer::RefCountServantBase
+class SMESH_MEDMesh_i: virtual public POA_SALOME_MED::MESH, 
+                      virtual public PortableServer::RefCountServantBase
 {
   public: private: protected:
        // C++ object containing values
@@ -74,7 +75,12 @@ class SMESH_MEDMesh_i:
        SMESH_MEDMesh_i(SMESH_Mesh_i * m);
        ~SMESH_MEDMesh_i();
 
-       // IDL Methods 
+       // IDL Methods
+       void setProtocol(SALOME::TypeOfCommunication typ) {}
+       void release() {}
+       SALOME::Sender_ptr getSenderForCoordinates(long int) {return SALOME::Sender::_nil();}
+       SALOME::Sender_ptr getSenderForConnectivity(long int, long int, long int, long int) {return SALOME::Sender::_nil();}
+       
        char *getName() throw(SALOME::SALOME_Exception);
        CORBA::Long getSpaceDimension() throw(SALOME::SALOME_Exception);
 
@@ -211,6 +217,8 @@ class SMESH_MEDMesh_i:
         SALOME_MED::MESH::meshInfos * getMeshGlobal()
          throw (SALOME::SALOME_Exception);
 
+       bool areEquals(SALOME_MED::MESH_ptr other) { return false;};
+
         SALOME_MED::MESH::coordinateInfos * getCoordGlobal()
          throw (SALOME::SALOME_Exception);