Salome HOME
Fix on floating bug on abort of parameter creation
[modules/shaper.git] / src / ModelAPI / ModelAPI_Session.h
index 5c927e7d3eec56226d1b56c43e9e9cbe23acf550..47f6071810e4980069cec0671d47fde61f3e3bf1 100644 (file)
@@ -93,6 +93,9 @@ class MODELAPI_EXPORT ModelAPI_Session
   /// Returns all the opened documents of the session (without postponed)
   virtual std::list<std::shared_ptr<ModelAPI_Document> > allOpenedDocuments() = 0;
 
+  /// Returns true if document is not loaded yet
+  virtual bool isLoadByDemand(const std::string theDocID) = 0;
+
   /// Copies the document to the new one with the given id
   virtual std::shared_ptr<ModelAPI_Document> copy(std::shared_ptr<ModelAPI_Document> theSource,
                                                     std::string theID) = 0;