X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FRWObj%2FRWObj_Reader.hxx;h=ee37022b1bfc2bd5bc8321ec309674bcf038f0f5;hb=7e785937b3e65df86f35364e1036e446d6339cec;hpb=99289bed0a3c89d0fe9d2025d3452c0f66c7c9e1 diff --git a/src/RWObj/RWObj_Reader.hxx b/src/RWObj/RWObj_Reader.hxx index b6c93b3c46..ee37022b1b 100644 --- a/src/RWObj/RWObj_Reader.hxx +++ b/src/RWObj/RWObj_Reader.hxx @@ -20,7 +20,7 @@ #include #include #include -#include +#include #include #include #include @@ -54,7 +54,7 @@ public: //! Unicode paths can be given in UTF-8 encoding. //! Returns true if success, false on error or user break. Standard_Boolean Read (const TCollection_AsciiString& theFile, - const Handle(Message_ProgressIndicator)& theProgress) + const Message_ProgressRange& theProgress) { return read (theFile, theProgress, Standard_False); } @@ -66,7 +66,7 @@ public: //! @return TRUE if success, FALSE on error or user break. //! @sa FileComments(), ExternalFiles(), NbProbeNodes(), NbProbeElems(). Standard_Boolean Probe (const TCollection_AsciiString& theFile, - const Handle(Message_ProgressIndicator)& theProgress) + const Message_ProgressRange& theProgress) { return read (theFile, theProgress, Standard_True); } @@ -110,7 +110,7 @@ protected: //! Unicode paths can be given in UTF-8 encoding. //! Returns true if success, false on error or user break. Standard_EXPORT Standard_Boolean read (const TCollection_AsciiString& theFile, - const Handle(Message_ProgressIndicator)& theProgress, + const Message_ProgressRange& theProgress, const Standard_Boolean theToProbe); //! @name interface methods which should be implemented by sub-class