Salome HOME
Make automatic/manual rebuild property and connect the "Rebuild" button
[modules/shaper.git] / src / Model / Model_Session.h
index dca8f220be8ce09e73458f41e904029ae31f47b1..e691cea306f281d799c829a38cb0f3e35f9de2c4 100644 (file)
@@ -75,6 +75,9 @@ class Model_Session : public ModelAPI_Session, public Events_Listener
   /// Defines the current document that used for current work in the application
   MODEL_EXPORT virtual void setActiveDocument(boost::shared_ptr<ModelAPI_Document> theDoc);
 
+  /// Returns all the opened documents of the session (without postponed)
+  MODEL_EXPORT virtual std::list<boost::shared_ptr<ModelAPI_Document> > allOpenedDocuments();
+
   /// Registers the plugin that creates features.
   /// It is obligatory for each plugin to call this function on loading to be found by 
   /// the plugin manager on call of the feature)