]> Creatis software - cpPlugins.git/blobdiff - appli/ImageMPR/ImageMPR.cxx
load default plugins win32
[cpPlugins.git] / appli / ImageMPR / ImageMPR.cxx
index 69970b7ccd8b6c25e7592d25e61c2475a5b2b21c..cc9a01569b7efcaa2d8d926401e628752d4d3314 100644 (file)
@@ -33,8 +33,13 @@ ImageMPR( QWidget* parent )
   ImageMPR_ConnectAction( LoadPlugins );
   ImageMPR_ConnectAction( ShowPlugins );
 
-  // Try to load default plugins
-  this->m_Plugins->LoadPluginsConfigurationFile( "Plugins.cfg" );
+  // Try to load default plugins    
+#ifdef WIN32
+  this->m_Plugins->LoadPlugins("cpPluginsIO.dll");
+  this->m_Plugins->LoadPlugins("cpPluginsBasicFilters.dll");
+#else
+  this->m_Plugins->LoadPluginsConfigurationFile("Plugins.cfg");
+#endif
   this->m_Plugins->AssociatePluginsToMenu(
     this->m_UI->MenuFilters, this, SLOT( _execPlugin( ) )
     );