0025748: Parallel version of progress indicator
[occt.git] / src / ShapeProcess / ShapeProcess_Operator.hxx
index 7bc8248..d12586f 100644 (file)
@@ -21,9 +21,9 @@
 
 #include <Standard_Transient.hxx>
 #include <Standard_Boolean.hxx>
-class ShapeProcess_Context;
-
+#include <Message_ProgressRange.hxx>
 
+class ShapeProcess_Context;
 class ShapeProcess_Operator;
 DEFINE_STANDARD_HANDLE(ShapeProcess_Operator, Standard_Transient)
 
@@ -37,7 +37,9 @@ public:
   
   //! Performs operation and eventually records
   //! changes in the context
-  Standard_EXPORT virtual Standard_Boolean Perform (const Handle(ShapeProcess_Context)& context) = 0;
+  Standard_EXPORT virtual Standard_Boolean Perform
+                   (const Handle(ShapeProcess_Context)& context,
+                    const Message_ProgressRange& theProgress = Message_ProgressRange()) = 0;