]> Creatis software - cpPlugins.git/blobdiff - appli/examples/plugins/example_GuessPlugins.cxx
...
[cpPlugins.git] / appli / examples / plugins / example_GuessPlugins.cxx
index 6d2f7a1cd70cfb7b50f28d366b52a98ca2fa7586..8a54b748f16077fa582fb2a49d411a9531772098 100644 (file)
@@ -7,6 +7,12 @@ int main( int argc, char* argv[] )
   cpPlugins::Interface interface;
   interface.GuessAccesiblePlugins( );
 
+  // Show loaded plugins
+  auto plugins = interface.GetPlugins( );
+  for( auto pIt = plugins.begin( ); pIt != plugins.end( ); ++pIt )
+    std::cout << "Plugin: " << *pIt << std::endl;
+  std::cout << std::endl;
+
   // Show loaded filters
   auto filters = interface.GetFilters( );
   for( auto cIt = filters.begin( ); cIt != filters.end( ); ++cIt )