-Prints a message describing the usage of the application. The default version
-will blame the programmer for being lazy.
-
-@param reason Why the function was called
-@param argv0 The value of argv[0], to be used in the message
-@param brief Whether to print a brief or long usage message
-*/
-void Application::usage(const char *reason, const char *, bool)
-{
- if(reason)
- cerr<<"UsageError: "<<reason<<'\n';
- cerr<<"The programmer was lazy and didn't write a usage() function for this application.\n";
-}
-
-Application::Application():
- exit_code(0),
- loop_mode_(TICK_SLEEP)
-{ }
-
-/**
-Default main loop. Behavior depends on loop_mode_. A custom main loop should
-monitor the done member variable and return exit_code.
+Default main loop. Calls tick() repeatedly until exit() is called. A custom
+main loop should monitor the done member variable and return exit_code.