#pragma once #include #include #include enum CommandLineParseResult { CommandLineOk, CommandLineError, CommandLineVersionRequested, CommandLineHelpRequested }; struct CommandLineParsedOptions { CommandLineParseResult result; QString error_message; QString outbox_filename; }; CommandLineParsedOptions parse_command_line(QCommandLineParser &parser, QApplication &app);