]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ExchangePlugin/ExchangePlugin_Plugin.cpp
Salome HOME
Issue #83: renamed PluginManager to Session
[modules/shaper.git] / src / ExchangePlugin / ExchangePlugin_Plugin.cpp
index 97d2b6e587fa4d413198470800e1ca886b42cf8d..b3256862a1c9e1c726bae79e19fec8e41d6477fc 100644 (file)
@@ -5,7 +5,7 @@
 #include <ExchangePlugin_Plugin.h>
 #include <ExchangePlugin_ImportFeature.h>
 
-#include <ModelAPI_PluginManager.h>
+#include <ModelAPI_Session.h>
 
 #include <boost/smart_ptr/shared_ptr.hpp>
 
@@ -17,7 +17,7 @@ static ExchangePlugin_Plugin* MY_INSTANCE = new ExchangePlugin_Plugin();
 ExchangePlugin_Plugin::ExchangePlugin_Plugin()
 {
   // register this plugin
-  ModelAPI_PluginManager::get()->registerPlugin(this);
+  ModelAPI_Session::get()->registerPlugin(this);
 }
 
 FeaturePtr ExchangePlugin_Plugin::createFeature(string theFeatureID)