Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / ModelAPI / ModelAPI_PluginManager.h
index ef3fa80df5c0a489ece2004a08e5b99c5ecd6f47..6b25bf4a378dfc68758dc6f500b33ee692219054 100644 (file)
@@ -43,6 +43,10 @@ public:
   /// Defines the current document that used for current work in the application
   virtual void setCurrentDocument(boost::shared_ptr<ModelAPI_Document> theDoc) = 0;
 
+  /// Copies the document to the new one wit hthe given id
+  virtual boost::shared_ptr<ModelAPI_Document> copy(
+    boost::shared_ptr<ModelAPI_Document> theSource, std::string theID) = 0;
+
   /// Is needed for python wrapping by swig, call Get to get an instance
   ModelAPI_PluginManager();
 
@@ -58,4 +62,7 @@ protected:
   friend class Model_Document;
 };
 
+typedef boost::shared_ptr<ModelAPI_PluginManager> PluginManagerPtr;
+
+
 #endif