2 #include <cpPlugins/Interface.h>
4 int main( int argc, char* argv[] )
7 cpPlugins::Interface interface;
8 interface.GuessAccesiblePlugins( );
10 // Show loaded plugins
11 auto plugins = interface.GetPlugins( );
12 for( auto pIt = plugins.begin( ); pIt != plugins.end( ); ++pIt )
13 std::cout << "Plugin: " << *pIt << std::endl;
14 std::cout << std::endl;
16 // Show loaded filters
17 auto filters = interface.GetFilters( );
18 for( auto cIt = filters.begin( ); cIt != filters.end( ); ++cIt )
20 std::cout << "Category: " << cIt->first << std::endl;
21 for( auto nIt = cIt->second.begin( ); nIt != cIt->second.end( ); ++nIt )
23 << "\tFilter: " << *nIt