X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_Document.h;h=598c3b633f674c283e69f89c7b1edaff4f75341b;hb=7b76b534d04e5d50f1ad319e58e0e22c6bb742a3;hp=7b407252052d97afed27e17a523034b7a5fe7e50;hpb=438ad7d69d7349d5dc0468453ed1675a7d9b75fd;p=modules%2Fshaper.git diff --git a/src/Model/Model_Document.h b/src/Model/Model_Document.h index 7b4072520..598c3b633 100644 --- a/src/Model/Model_Document.h +++ b/src/Model/Model_Document.h @@ -86,6 +86,9 @@ class Model_Document : public ModelAPI_Document //! Adds a new sub-document by the identifier, or returns existing one if it is already exist MODEL_EXPORT virtual boost::shared_ptr subDocument(std::string theDocID); + //! Internal sub-document by ID + MODEL_EXPORT virtual boost::shared_ptr subDoc(std::string theDocID); + ///! Returns the id of hte document MODEL_EXPORT virtual const std::string& id() const { @@ -160,7 +163,7 @@ class Model_Document : public ModelAPI_Document void updateResults(FeaturePtr theFeature); friend class Model_Application; - friend class Model_PluginManager; + friend class Model_Session; friend class DFBrowser; private: