X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_PluginManager.h;h=34e5cca94d86107731235dd0cc50172140ca623d;hb=69fae9d94ffa0fd9c37a756bf8d4736522f06214;hp=b53a66336d512b13dd815dcdb6bbd3318f6c8190;hpb=1a0a0306f6d0f56c009b29cba0b53e8d1abd4edf;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_PluginManager.h b/src/ModelAPI/ModelAPI_PluginManager.h index b53a66336..34e5cca94 100644 --- a/src/ModelAPI/ModelAPI_PluginManager.h +++ b/src/ModelAPI/ModelAPI_PluginManager.h @@ -37,6 +37,12 @@ public: /// Returns the root document of the application (that may contains sub-documents) virtual std::shared_ptr rootDocument() = 0; + /// Returns the current document that used for current work in the application + virtual std::shared_ptr currentDocument() = 0; + + /// Defines the current document that used for current work in the application + virtual void setCurrentDocument(std::shared_ptr theDoc) = 0; + /// loads the library with specific name, appends "lib*.dll" or "*.so" depending on the platform static void ModelAPI_PluginManager::loadLibrary(const std::string theLibName);