Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git]
/
src
/
ModelAPI
/
ModelAPI_PluginManager.h
diff --git
a/src/ModelAPI/ModelAPI_PluginManager.h
b/src/ModelAPI/ModelAPI_PluginManager.h
index ef3fa80df5c0a489ece2004a08e5b99c5ecd6f47..6b25bf4a378dfc68758dc6f500b33ee692219054 100644
(file)
--- 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<ModelAPI_Document> theDoc) = 0;
/// 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();
/// Is needed for python wrapping by swig, call Get to get an instance
ModelAPI_PluginManager();
@@
-58,4
+62,7
@@
protected:
friend class Model_Document;
};
friend class Model_Document;
};
+typedef boost::shared_ptr<ModelAPI_PluginManager> PluginManagerPtr;
+
+
#endif
#endif