]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
-#ifdef WITH_SMESH_CANCEL_COMPUTE
authoreap <eap@opencascade.com>
Tue, 18 Dec 2012 12:08:39 +0000 (12:08 +0000)
committereap <eap@opencascade.com>
Tue, 18 Dec 2012 12:08:39 +0000 (12:08 +0000)
src/BLSURFPlugin/BLSURFPlugin_BLSURF.hxx

index cbee8aeb2daf32b00810418d9a75ba6135faa667..9e57a22877ac3394241a1b83acc793ce33e0ecff 100644 (file)
@@ -88,10 +88,8 @@ class BLSURFPlugin_BLSURF: public SMESH_2D_Algo {
 
     virtual bool Compute(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape);
 
-#ifdef WITH_SMESH_CANCEL_COMPUTE
     virtual void CancelCompute();
     bool computeCanceled() { return _compute_canceled; }
-#endif
 
     virtual bool Evaluate(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape,
                           MapShapeNbElems& aResMap);
@@ -115,9 +113,7 @@ class BLSURFPlugin_BLSURF: public SMESH_2D_Algo {
       SALOMEDS::Study_var myStudy;
       SMESH_Gen_i*        smeshGen_i;
 
-#ifdef WITH_SMESH_CANCEL_COMPUTE
       volatile bool _compute_canceled;
-#endif
 };
 
 #endif