]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue 295: skip closed documents on save, but still copy not-activated parts as files
authormpv <mikhail.ponikarov@opencascade.com>
Tue, 23 Dec 2014 13:03:28 +0000 (16:03 +0300)
committermpv <mikhail.ponikarov@opencascade.com>
Tue, 23 Dec 2014 13:03:28 +0000 (16:03 +0300)
src/ModelAPI/ModelAPI_ResultPart.h

index 64be92e3cea9428496ff22a7eeaa11c185c5c0e4..ce1ea03af1c9ad6c4a0a79b4670e0d96b39e02eb 100644 (file)
@@ -46,6 +46,9 @@ class ModelAPI_ResultPart : public ModelAPI_Result
 
   /// Sets this document as current and if it is not loaded yet, loads it
   virtual void activate() = 0;
+
+  /// Returns true if document is activated (loaded into the memory)
+  virtual bool isActivated() = 0;
 };
 
 //! Pointer on feature object