diff --git a/src/XCAFDoc/XCAFDoc_Note.hxx b/src/XCAFDoc/XCAFDoc_Note.hxx index 524e2d6346..736e6f1802 100644 --- a/src/XCAFDoc/XCAFDoc_Note.hxx +++ b/src/XCAFDoc/XCAFDoc_Note.hxx @@ -44,6 +44,13 @@ public: //! Finds a reference attribute on the given label and returns it, if it is found Standard_EXPORT static Handle(XCAFDoc_Note) Get(const TDF_Label& theLabel); + //! Sets the user name and the timestamp of the note. + //! \param [in] theUserName - the user associated with the note. + //! \param [in] theTimeStamp - timestamp of the note. + //! \return A handle to the attribute instance. + Standard_EXPORT void Set(const TCollection_ExtendedString& theUserName, + const TCollection_ExtendedString& theTimeStamp); + //! Returns the user name, who created the note. Standard_EXPORT const TCollection_ExtendedString& UserName() const; @@ -63,13 +70,6 @@ public: protected: - //! Sets the user name and the timestamp of the note. - //! \param [in] theUserName - the user associated with the note. - //! \param [in] theTimeStamp - timestamp of the note. - //! \return A handle to the attribute instance. - Standard_EXPORT void Set(const TCollection_ExtendedString& theUserName, - const TCollection_ExtendedString& theTimeStamp); - //! Creates an empty note. Standard_EXPORT XCAFDoc_Note();