2 #include <cpPlugins/Interface.h>
4 int main( int argc, char* argv[] )
8 std::cerr << "Usage: " << argv[ 0 ] << " plugins_libraries" << std::endl;
14 cpPlugins::Interface interface;
15 for( int i = 1; i < argc; ++i )
19 interface.LoadPluginFile( argv[ i ] );
27 // Show loaded filters
28 auto filters = interface.GetFilters( );
29 for( auto cIt = filters.begin( ); cIt != filters.end( ); ++cIt )
31 std::cout << "Category: " << cIt->first << std::endl;
32 for( auto nIt = cIt->second.begin( ); nIt != cIt->second.end( ); ++nIt )
34 << "\tFilter: " << *nIt