]> Creatis software - cpPlugins.git/blobdiff - appli/examples/plugins/example_LoadPluginsDirectory.cxx
...
[cpPlugins.git] / appli / examples / plugins / example_LoadPluginsDirectory.cxx
index 4e9366db072ab0e5a137d4cd0833fdedfea5b88d..803d3909b89c2ad7b66a6a8a55c734e0ca7f6b4a 100644 (file)
@@ -23,6 +23,12 @@ int main( int argc, char* argv[] )
 
   } // yrt
 
+  // 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 )