Salome HOME
Switch Wireframe/Shading with closing of context
[modules/shaper.git] / src / Model / Model_ResultPart.h
index 2df33884e46b12f74e898415f8ff648c5fbf3b19..8397a9766969df1b7f1561410ff00dd7ee34717b 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        ModelAPI_ResultPart.hxx
 // Created:     07 Jul 2014
 // Author:      Mikhail PONIKAROV
@@ -33,6 +35,9 @@ protected:
   /// Sets the data manager of an object (document does), here also attributes are initialized
   virtual void setData(std::shared_ptr<ModelAPI_Data> theData);
 
+  /// Returns true if document is activated (loaded into the memory)
+  virtual bool isActivated();
+
   friend class Model_Document;
 };