WinMain()function, but when you use Rogus as an application framework, you only need to supply your parser code. If you like, you can think of the Rogus application framework as a library that includes a rather general-purpose example application.
When you use Rogus as a library, be sure to remember to define the
"Rogus McBogus main.cpp"into your project. When the program runs, it will create a menu of parsers which you have registered with ParserRegistration objects.
To make sure that your parsers get linked in, you should reference
them from the file
"fooFinder.cpp". Also, there
are three preference variables in
"fooFinder.cpp" which you can modify:
bool statistics_on = 1; const char* default_input = "sound blaster"; const char* default_output = "sound blaster";The
statistics_onvariable determines whether Rogus gathers statistics on each parser used and writes them to the file
default_outputvariables specify what nodes should be the default for input and output.