BibleTime
|
Functions | |
int | parseCommandLine (bool &showDebugMessages, bool &ignoreSession, QString &openBibleKey) |
void | printHelp (const QString &executable) |
void | registerMetaTypes () |
int anonymous_namespace{main.cpp}::parseCommandLine | ( | bool & | showDebugMessages, |
bool & | ignoreSession, | ||
QString & | openBibleKey | ||
) |
Parses all command-line arguments.
[out] | ignoreSession | Whether –ignore-session was specified. |
[out] | openBibleKey | Will be set to –open-default-bible if specified. |
-1 | Parsing was successful, the application should exit with EXIT_SUCCESS. |
0 | Parsing was successful. |
1 | Parsing failed, the application should exit with EXIT_FAILURE. |
Definition at line 77 of file main.cpp.
References printHelp().
Referenced by main().
void anonymous_namespace{main.cpp}::printHelp | ( | const QString & | executable | ) |
Prints command-line help text for BibleTime when –help is used.
[in] | executable | The executed file name (argv[0]). |
Definition at line 43 of file main.cpp.
Referenced by parseCommandLine().
void anonymous_namespace{main.cpp}::registerMetaTypes | ( | ) |