76 lines
2.8 KiB
XML
76 lines
2.8 KiB
XML
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
|
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_main_8c" xml:lang="en-US">
|
|
<title>src/main.c File Reference</title>
|
|
<indexterm><primary>src/main.c</primary></indexterm>
|
|
<para>
|
|
|
|
<para>Gem-graph-client main file. </para>
|
|
|
|
</para>
|
|
<programlisting linenumbering="unnumbered">#include "../include/fsm.h"<?linebreak?>#include "../include/signal.h"<?linebreak?>#include "../include/widget.h"<?linebreak?></programlisting><simplesect>
|
|
<title>Functions </title>
|
|
<itemizedlist>
|
|
<listitem><para>int <link linkend="_main_8c_1a3c04138a5bfe5d72780bb7e82a18e627">main</link> (int argc, char **argv)</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</simplesect>
|
|
<section>
|
|
<title>Detailed Description</title>
|
|
|
|
<para>Gem-graph-client main file. </para>
|
|
|
|
<para>This file is part of Gem-graph. It contains only the main function.</para>
|
|
|
|
<para>The function <link linkend="_main_8c_1a3c04138a5bfe5d72780bb7e82a18e627">main()</link> initialises the log, the finite state machine (fsm), the application and the windows. The main window is opened on the 'synthetic view' page of the current model by default. The main function closes all the elements it opened at the end of program execution. </para>
|
|
</section>
|
|
<section>
|
|
<title>Function Documentation</title>
|
|
<anchor xml:id="_main_8c_1a3c04138a5bfe5d72780bb7e82a18e627"/><section>
|
|
<title>main()</title>
|
|
<indexterm><primary>main</primary><secondary>main.c</secondary></indexterm>
|
|
<indexterm><primary>main.c</primary><secondary>main</secondary></indexterm>
|
|
<para><computeroutput>int main (int argc, char ** argv)</computeroutput></para>
|
|
<para><formalpara><title>Since</title>
|
|
|
|
<para>2024-04</para>
|
|
</formalpara>
|
|
<formalpara><title>See also</title>
|
|
|
|
<para>src/fsm/dispatch/fsm_init() </para>
|
|
|
|
<para>src/widget/dispatch/on_windows_activation(app)</para>
|
|
</formalpara>
|
|
|
|
<formalpara>
|
|
<title>
|
|
Parameters</title>
|
|
<para>
|
|
<table frame="all">
|
|
<tgroup cols="2" align="left" colsep="1" rowsep="1">
|
|
<colspec colwidth="1*"/>
|
|
<colspec colwidth="4*"/>
|
|
<tbody>
|
|
<row>
|
|
<entry>argc</entry><entry>
|
|
<para></para>
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>**argv</entry><entry>
|
|
<para></para>
|
|
</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</para>
|
|
</formalpara>
|
|
<formalpara><title>Returns</title>
|
|
|
|
<para>status, the program errorlevel </para>
|
|
</formalpara>
|
|
</para>
|
|
</section>
|
|
</section>
|
|
</section>
|