X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_PluginManager.h;h=6b25bf4a378dfc68758dc6f500b33ee692219054;hb=4e60e46af3ebb4d1d8e1709e7806ed134edd4be7;hp=ef3fa80df5c0a489ece2004a08e5b99c5ecd6f47;hpb=009748938269b60a5195a288513092b25b09e8d9;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_PluginManager.h b/src/ModelAPI/ModelAPI_PluginManager.h index ef3fa80df..6b25bf4a3 100644 --- a/src/ModelAPI/ModelAPI_PluginManager.h +++ b/src/ModelAPI/ModelAPI_PluginManager.h @@ -43,6 +43,10 @@ public: /// Defines the current document that used for current work in the application virtual void setCurrentDocument(boost::shared_ptr theDoc) = 0; + /// Copies the document to the new one wit hthe given id + virtual boost::shared_ptr copy( + boost::shared_ptr 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 PluginManagerPtr; + + #endif