TuttleOFX  1
main.cpp
Go to the documentation of this file.
00001 #include <tuttle/common/utils/global.hpp>
00002 
00003 #include <tuttle/host/Graph.hpp>
00004 
00005 #include <boost/foreach.hpp>
00006 
00007 #include <iostream>
00008 
00009 int main( int argc, char** argv )
00010 {
00011         boost::shared_ptr<tuttle::common::formatters::Formatter> formatter( tuttle::common::formatters::Formatter::get() );
00012         boost::shared_ptr<tuttle::common::Color>                 color( tuttle::common::Color::get() );
00013         formatter->init_logging();
00014         color->disable();
00015         
00016         using namespace tuttle::host;
00017         core().preload();
00018 
00019         BOOST_FOREACH( ofx::OfxhPlugin* plugin, core().getPluginCache().getPlugins() )
00020         {
00021                 TUTTLE_LOG_INFO( " - plugin: " << plugin->getIdentifier() );
00022         }
00023         return 0;
00024 }
00025