Salome HOME
SALOME 9.1.0 Windows version
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_MeshEditPreview.h
index 5ae485a74216144a35718efdb61dc2106d7b45e2..6d58999adab417e621e242ec3fecd9a3d6c1ad17 100644 (file)
@@ -37,10 +37,8 @@ class SVTK_ViewWindow;
 class vtkTextActor;
 class vtkUnstructuredGrid;
 
-namespace SMESH
-{
-  class MeshPreviewStruct;
-}
+#include <SALOMEconfig.h>
+#include CORBA_SERVER_HEADER(SMESH_Mesh)
 
 /*!
  * \brief Displayer of the mesh edition preview
@@ -59,7 +57,7 @@ public:
   SMESHGUI_MeshEditPreview( SVTK_ViewWindow* );
   ~SMESHGUI_MeshEditPreview();
 
-  void                 SetData( const SMESH::MeshPreviewStruct* );
+  void                 SetData( const SMESH::MeshPreviewStruct_var );
 
   void                 SetVisibility( bool );
   void                 SetColor( double, double, double );