X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_PluginManager.h;h=8fc49bdf2c6e9ccb84c136360b34c33a91bd933b;hb=053481dcc854e8f47d2674bf2cf04b424f773cde;hp=6da805cfa54e5aa27dad46dda311f96ec9cd944c;hpb=cf6ecce56482c1e15c6381d76b553004f87d3dd3;p=modules%2Fshaper.git diff --git a/src/Model/Model_PluginManager.h b/src/Model/Model_PluginManager.h index 6da805cfa..8fc49bdf2 100644 --- a/src/Model/Model_PluginManager.h +++ b/src/Model/Model_PluginManager.h @@ -30,6 +30,9 @@ public: /// Returns the root document of the application (that may contains sub-documents) MODEL_EXPORT virtual std::shared_ptr rootDocument(); + /// Return true if root document has been already created + MODEL_EXPORT virtual bool hasRootDocument(); + /// Returns the current document that used for current work in the application MODEL_EXPORT virtual std::shared_ptr currentDocument();