]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/ModelAPI_PluginManager.h
Salome HOME
Merge branch 'master' of newgeom:newgeom.git into BR_PORTING_CENTOS_6_3
[modules/shaper.git] / src / ModelAPI / ModelAPI_PluginManager.h
index f5236491913dd0f0b4776f01a9e004e5db237ee9..2b2f2fc277f002c79bc46b0d669a8ea86aeb3f41 100644 (file)
@@ -34,6 +34,9 @@ public:
   /// Returns the root document of the application (that may contains sub-documents)
   virtual std::shared_ptr<ModelAPI_Document> rootDocument() = 0;
 
+  /// Return true if root document has been already created
+  virtual bool hasRootDocument() = 0;
+
   /// Returns the current document that used for current work in the application
   virtual std::shared_ptr<ModelAPI_Document> currentDocument() = 0;