hayai_posix_main.cpp
Go to the documentation of this file.
00001 #include <hayai/hayai_main.hpp>
00002 
00003 
00004 int main(int argc, char** argv)
00005 {
00006     // Set up the main runner.
00007     ::hayai::MainRunner runner;
00008 
00009     // Parse the arguments.
00010     int result = runner.ParseArgs(argc, argv);
00011     if (result)
00012     {
00013         return result;
00014     }
00015 
00016     // Execute based on the selected mode.
00017     return runner.Run();
00018 }


hayai
Author(s): Nick Bruun
autogenerated on Thu Jun 6 2019 18:13:43