#include "guihandler.h"
Go to the source code of this file.
Functions | |
bool | showUsage_and_setTracingVerbosity (int argc, char **argv) |
Function that show the program usage, invoked by command line. | |
int | main (int argc, char **argv) |
Main function of the program. | |
Variables | |
unsigned int | MASK = 1 |
Using a bit mask (MASK) to activate specified function(s) (Eg. |
Definition in file SMLabyrinth.c.
int main | ( | int | argc, | |
char ** | argv | |||
) |
Main function of the program.
Check if the user has invoked the program passing some kind of arguments using the function showUsage_and_setTracingVerbosity, then exit. Otherwise, if the user has called the program without arguments start the gui function to generate the Graphic User Interface; user will decide later when exit.
Definition at line 143 of file SMLabyrinth.c.
References D1, D2, D3, D4, D5, D6, D7, D8, gui(), ID1, ID2, ID3, ID4, ID5, ID6, ID7, ID8, MASK, and showUsage_and_setTracingVerbosity().
bool showUsage_and_setTracingVerbosity | ( | int | argc, | |
char ** | argv | |||
) |
Function that show the program usage, invoked by command line.
If no arguments, starts the graphic user interface.
argc | The same of main function (int) | |
argv | The same of main function (char **) |
Definition at line 185 of file SMLabyrinth.c.
References MASK, PRGAIMS, PRGAUTH, PRGCPYR, PRGLICS, PRGNAME, PRGVERS, and PRGWBLK.
Referenced by main().
unsigned int MASK = 1 |
Using a bit mask (MASK) to activate specified function(s) (Eg.
255 = all, ... ,3=D1 & D2, 2 = D2, 1 = D1 , 0 = none) The value of MASK is set in main function and can be changed by user using appropriate command.
Definition at line 121 of file SMLabyrinth.c.
Referenced by main(), and showUsage_and_setTracingVerbosity().