]> SALOME platform Git repositories - modules/shaper.git/blob - src/ModelAPI/ModelAPI_PluginManager.cxx
Salome HOME
Auto-formatting according to the defined code standard.
[modules/shaper.git] / src / ModelAPI / ModelAPI_PluginManager.cxx
1 // File:        ModelAPI_PluginManager.hxx
2 // Created:     20 Mar 2014
3 // Author:      Mikhail PONIKAROV
4
5 #include <ModelAPI_PluginManager.hxx>
6 // to avoid unresolved ModelAPI_Document()
7 #include <ModelAPI_Document.hxx>
8 // to avoid unresolved ModelAPI_Feature()
9 #include <ModelAPI_Feature.hxx>
10
11 /// Manager that will be initialized from Model package, one per application
12 boost::shared_ptr<ModelAPI_PluginManager> MY_MANAGER;
13
14 ModelAPI_PluginManager::ModelAPI_PluginManager()
15 {
16 }
17
18 boost::shared_ptr<ModelAPI_PluginManager> ModelAPI_PluginManager::Get()
19 {
20   return MY_MANAGER;
21 }
22
23 void ModelAPI_PluginManager::SetPluginManager(boost::shared_ptr<ModelAPI_PluginManager> theManager)
24 {
25   MY_MANAGER = theManager;
26 }