• Main Page
  • Namespaces
  • Data Structures
  • Files
  • File List

/www/proggenOrg/dedupe/export/trunk/userinterface/cli/main.cpp

00001 
00008 #include <iostream>
00009 #include <kernel.h>
00010 #include <cli.h>
00011 
00012 
00013 int main( int argc, char* argv[] )
00014 {
00015   try
00016   {
00017    //Add the kernel object
00018    Dedupe::Core::Kernel CoreProgram( "Dedupe_Dataholding.dbs", 0, std::cout );
00019 
00020    //Give the Kernelobject to the commandline object
00021    Dedupe::CLI::Cli Commandline( argc, argv, CoreProgram, std::cout );
00022 
00023     //And Action ;-)
00024    Commandline.Run();
00025   }
00026   catch( std::exception &e )
00027   {
00028     std::cerr << e.what() << std::endl;
00029     return 1;
00030   }
00031 
00032 
00033   return 0;
00034 
00035 }

Generated on Mon Mar 11 2013 12:04:52 for Dedupe by  doxygen 1.7.1