Salome HOME
Restore selection in the viewer by multi selector widget activation.
[modules/shaper.git] / src / Model / Model_Session.h
index ac1e4e1b0e3f3b5f0d182233b9a7622f86a3d62a..47e40262e3ae4cab165f84103d1467b9856724da 100644 (file)
@@ -119,7 +119,9 @@ class Model_Session : public ModelAPI_Session, public Events_Listener
   void LoadPluginsInfo();
 
   /// Creates the feature object using plugins functionality
-  virtual FeaturePtr createFeature(std::string theFeatureID);
+  FeaturePtr createFeature(std::string theFeatureID, Model_Document* theDocOwner);
+
+  friend class Model_Document;
 };
 
 #endif