73 lines
1.4 KiB
Groff
73 lines
1.4 KiB
Groff
.TH "src/main.c" 3 "Version 0.1.0" "Gem-graph" \" -*- nroff -*-
|
|
.ad l
|
|
.nh
|
|
.SH NAME
|
|
src/main.c \- Gem-graph-client main file\&.
|
|
|
|
.SH SYNOPSIS
|
|
.br
|
|
.PP
|
|
\fC#include '\&.\&./include/fsm\&.h'\fP
|
|
.br
|
|
\fC#include '\&.\&./include/signal\&.h'\fP
|
|
.br
|
|
\fC#include '\&.\&./include/widget\&.h'\fP
|
|
.br
|
|
|
|
.SS "Functions"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "int \fBmain\fP (int argc, char **argv)"
|
|
.br
|
|
.in -1c
|
|
.SH "Detailed Description"
|
|
.PP
|
|
Gem-graph-client main file\&.
|
|
|
|
This file is part of Gem-graph\&. It contains only the \fBmain()\fP function\&.
|
|
.PP
|
|
.PP
|
|
.PP
|
|
The \fBmain()\fP function \fBinitialises\fP the log, the finite state machine (fsm), the application and the windows and \fBcloses\fP all the elements it opened before the end of program execution\&.
|
|
.PP
|
|
By default, the main window opens on the overview page of the current model as specified in: src/widget/main_window/designer/widget_design_main_window()\&.
|
|
.PP
|
|
About code organization, see src/readme\&.dox
|
|
.PP
|
|
.PP
|
|
|
|
.SH "Function Documentation"
|
|
.PP
|
|
.SS "int main (int argc, char ** argv)"
|
|
|
|
.PP
|
|
\fBSince\fP
|
|
.RS 4
|
|
2024-04
|
|
.RE
|
|
.PP
|
|
\fBSee also\fP
|
|
.RS 4
|
|
src/fsm/dispatch/fsm_init()
|
|
.PP
|
|
src/widget/dispatch/on_windows_activation(app)
|
|
.RE
|
|
.PP
|
|
\fBParameters\fP
|
|
.RS 4
|
|
\fIargc\fP
|
|
.br
|
|
\fI**argv\fP
|
|
.RE
|
|
.PP
|
|
\fBReturns\fP
|
|
.RS 4
|
|
status, the program errorlevel
|
|
.RE
|
|
.PP
|
|
|
|
.SH "Author"
|
|
.PP
|
|
Generated automatically by Doxygen for Gem-graph from the source code\&.
|