Salome HOME
#2027 Sketcher Trim Feature: correction of compilation on Linux
[modules/shaper.git] / src / Model / Model_Document.h
index 1356f5c09fa18d4f125ddf89f1c26bbfbf11476e..639d84b0b572c84c30f2fea5de99b22699e14c92 100644 (file)
@@ -282,11 +282,14 @@ class Model_Document : public ModelAPI_Document
 
   /// Stores in the document boolean flags: states of the nodes in the object browser.
   /// Normally is called outside of the transaction, just before "save".
-  void storeNodesState(const std::list<bool>& theStates);
+  virtual void storeNodesState(const std::list<bool>& theStates);
 
   /// Returns the stored nodes states. Normally it is calles just after "open".
   /// Appends the values to theStates list.
-  void restoreNodesState(std::list<bool>& theStates) const;
+  virtual void restoreNodesState(std::list<bool>& theStates) const;
+
+  /// Label that constains structures for selection of constructions of another document
+  TDF_Label extConstructionsLabel() const;
 
   friend class Model_Application;
   friend class Model_Session;
@@ -298,6 +301,7 @@ class Model_Document : public ModelAPI_Document
   friend class Model_AttributeSelection;
   friend class Model_ResultPart;
   friend class Model_ResultCompSolid;
+  friend class Model_ResultConstruction;
   friend class Model_SelectionNaming;
   friend class DFBrowser;