0031353: TDocStd_Application does not have api to set progress indicator
[occt.git] / src / GeomTools / GeomTools_Curve2dSet.hxx
index 8111f6d..730317c 100644 (file)
@@ -60,48 +60,29 @@ public:
   
   //! Writes the content of  me  on the stream <OS> in a
   //! format that can be read back by Read.
-  Standard_EXPORT void Write (Standard_OStream& OS) const;
+  Standard_EXPORT void Write (Standard_OStream& OS,
+                              const Handle(Message_ProgressIndicator) &theProgress = NULL) const;
   
   //! Reads the content of me from the  stream  <IS>. me
   //! is first cleared.
-  Standard_EXPORT void Read (Standard_IStream& IS);
+  Standard_EXPORT void Read (Standard_IStream& IS,
+                             const Handle(Message_ProgressIndicator) &theProgress = NULL);
   
   //! Dumps the curve on the stream,  if compact is True
   //! use the compact format that can be read back.
-  Standard_EXPORT static void PrintCurve2d (const Handle(Geom2d_Curve)& C, Standard_OStream& OS, const Standard_Boolean compact = Standard_False);
+  Standard_EXPORT static void PrintCurve2d (const Handle(Geom2d_Curve)& C,
+                                            Standard_OStream& OS,
+                                            const Standard_Boolean compact = Standard_False);
   
   //! Reads the curve  from  the stream.  The  curve  is
   //! assumed   to have  been  written  with  the Print
   //! method (compact = True).
   Standard_EXPORT static Handle(Geom2d_Curve) ReadCurve2d (Standard_IStream& IS);
-  
-  Standard_EXPORT void SetProgress (const Handle(Message_ProgressIndicator)& PR);
-  
-  Standard_EXPORT Handle(Message_ProgressIndicator) GetProgress() const;
-
-
-
-
-protected:
-
-
-
-
 
 private:
 
-
-
   TColStd_IndexedMapOfTransient myMap;
-  Handle(Message_ProgressIndicator) myProgress;
-
 
 };
 
-
-
-
-
-
-
 #endif // _GeomTools_Curve2dSet_HeaderFile