2 #include <cpPlugins/Interface/Loader.h>
3 #include <cpPlugins/OS/FileSystem.h>
5 int main( int argc, char* argv[] )
8 std::string error_message = "";
9 cpPlugins::Interface::Loader loader;
10 loader.GuessEnvironment( cpPlugins::OS::FileSystem::CanonicalPath( "." ) );
12 // Show loader information
13 std::cout << "---------------------------" << std::endl;
14 std::cout << loader << std::endl;
15 std::cout << "---------------------------" << std::endl;
17 // Close connection to loaded plugins file
18 loader.UnRegisterAll( );
21 std::cout << "---------------------------" << std::endl;
22 std::cout << loader << std::endl;
23 std::cout << "---------------------------" << std::endl;