170 lines
7.4 KiB
TeX
170 lines
7.4 KiB
TeX
\hypertarget{main_8c}{\section{Référence du fichier sources/main.c}
|
|
\label{main_8c}\index{sources/main.\-c@{sources/main.\-c}}
|
|
}
|
|
{\ttfamily \#include $<$stdio.\-h$>$}\\*
|
|
{\ttfamily \#include $<$stdlib.\-h$>$}\\*
|
|
{\ttfamily \#include $<$gtk/gtk.\-h$>$}\\*
|
|
{\ttfamily \#include \char`\"{}motifs/motifs.\-h\char`\"{}}\\*
|
|
{\ttfamily \#include \char`\"{}melodie/melodie.\-h\char`\"{}}\\*
|
|
{\ttfamily \#include \char`\"{}lecture/lecture.\-h\char`\"{}}\\*
|
|
Graphe des dépendances par inclusion de main.\-c\-:
|
|
\subsection*{Macros}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\#define \hyperlink{main_8c_a5b956416a06f4aa8665dd6a4af3e04e6}{D\-E\-F\-\_\-\-N\-B\-R\-\_\-\-T\-M\-P}~16
|
|
\item
|
|
\#define \hyperlink{main_8c_a24c48ef77929deff9e40e141a891dbb8}{M\-A\-X\-\_\-\-P\-A\-T\-T\-E\-R\-N\-S}~256
|
|
\end{DoxyCompactItemize}
|
|
\subsection*{Fonctions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\hyperlink{fmod_8h_a5e6281045c500b317fa3b60838542994}{void} \hyperlink{main_8c_aa014e8ed9cc5ef0372fce12f3351de71}{afficher\-Motif} (\hyperlink{motifs_8h_a1ad48e14f9d1942401858dab039b3449}{Motif} $\ast$m, int nbr\-Portees)
|
|
\item
|
|
\hyperlink{fmod_8h_a5e6281045c500b317fa3b60838542994}{void} \hyperlink{main_8c_a9bcfe57b5b800770950552a070472b3b}{debut} (\hyperlink{motifs_8h_a1ad48e14f9d1942401858dab039b3449}{Motif} $\ast$melodie\mbox{[}$\,$\mbox{]}, \hyperlink{motifs_8h_a1ad48e14f9d1942401858dab039b3449}{Motif} $\ast$liste, int nbr\-Portees)
|
|
\item
|
|
int \hyperlink{main_8c_a0ddf1224851353fc92bfbff6f499fa97}{main} (int argc, char $\ast$argv\mbox{[}$\,$\mbox{]})
|
|
\item
|
|
\hyperlink{fmod_8h_a5e6281045c500b317fa3b60838542994}{void} \hyperlink{main_8c_a12971de76b50d401b7b859c396194d8d}{fenetre\-Sample} (int argc, char $\ast$argv\mbox{[}$\,$\mbox{]})
|
|
\item
|
|
\hyperlink{fmod_8h_a5e6281045c500b317fa3b60838542994}{void} \hyperlink{main_8c_a96c80115d05a50996f87ad2fa66d8193}{fenetre\-Instrument} (int argc, char $\ast$argv\mbox{[}$\,$\mbox{]})
|
|
\item
|
|
\hyperlink{fmod_8h_a5e6281045c500b317fa3b60838542994}{void} \hyperlink{main_8c_a527c52ff5cf09f7fcd04e9209c590351}{fenetre\-Motif} (int argc, char $\ast$argv\mbox{[}$\,$\mbox{]})
|
|
\item
|
|
\hyperlink{fmod_8h_a5e6281045c500b317fa3b60838542994}{void} \hyperlink{main_8c_a13bb869ee82de1e97f7fa09e8b6157fc}{lancer\-Lecture} ()
|
|
\item
|
|
\hyperlink{fmod_8h_a5e6281045c500b317fa3b60838542994}{void} \hyperlink{main_8c_a984049078b71eba9bfa968627bc7d2ec}{quitter} ()
|
|
\end{DoxyCompactItemize}
|
|
|
|
|
|
\subsection{Description détaillée}
|
|
Programme principal du Ponytracker
|
|
|
|
\begin{DoxyVersion}{Version}
|
|
1.\-1
|
|
\end{DoxyVersion}
|
|
\begin{DoxyAuthor}{Auteur}
|
|
Module C\-S\-C3502 \-: Projet Informatique 1ère année T\-E\-L\-E\-C\-O\-M Sud\-Paris
|
|
\end{DoxyAuthor}
|
|
\begin{DoxyDate}{Date}
|
|
Mai 2014
|
|
\end{DoxyDate}
|
|
|
|
|
|
Définition dans le fichier \hyperlink{main_8c_source}{main.\-c}.
|
|
|
|
|
|
|
|
\subsection{Documentation des macros}
|
|
\hypertarget{main_8c_a5b956416a06f4aa8665dd6a4af3e04e6}{\index{main.\-c@{main.\-c}!D\-E\-F\-\_\-\-N\-B\-R\-\_\-\-T\-M\-P@{D\-E\-F\-\_\-\-N\-B\-R\-\_\-\-T\-M\-P}}
|
|
\index{D\-E\-F\-\_\-\-N\-B\-R\-\_\-\-T\-M\-P@{D\-E\-F\-\_\-\-N\-B\-R\-\_\-\-T\-M\-P}!main.c@{main.\-c}}
|
|
\subsubsection[{D\-E\-F\-\_\-\-N\-B\-R\-\_\-\-T\-M\-P}]{\setlength{\rightskip}{0pt plus 5cm}\#define D\-E\-F\-\_\-\-N\-B\-R\-\_\-\-T\-M\-P~16}}\label{main_8c_a5b956416a06f4aa8665dd6a4af3e04e6}
|
|
|
|
|
|
Définition à la ligne 32 du fichier main.\-c.
|
|
|
|
\hypertarget{main_8c_a24c48ef77929deff9e40e141a891dbb8}{\index{main.\-c@{main.\-c}!M\-A\-X\-\_\-\-P\-A\-T\-T\-E\-R\-N\-S@{M\-A\-X\-\_\-\-P\-A\-T\-T\-E\-R\-N\-S}}
|
|
\index{M\-A\-X\-\_\-\-P\-A\-T\-T\-E\-R\-N\-S@{M\-A\-X\-\_\-\-P\-A\-T\-T\-E\-R\-N\-S}!main.c@{main.\-c}}
|
|
\subsubsection[{M\-A\-X\-\_\-\-P\-A\-T\-T\-E\-R\-N\-S}]{\setlength{\rightskip}{0pt plus 5cm}\#define M\-A\-X\-\_\-\-P\-A\-T\-T\-E\-R\-N\-S~256}}\label{main_8c_a24c48ef77929deff9e40e141a891dbb8}
|
|
|
|
|
|
Définition à la ligne 33 du fichier main.\-c.
|
|
|
|
|
|
|
|
\subsection{Documentation des fonctions}
|
|
\hypertarget{main_8c_aa014e8ed9cc5ef0372fce12f3351de71}{\index{main.\-c@{main.\-c}!afficher\-Motif@{afficher\-Motif}}
|
|
\index{afficher\-Motif@{afficher\-Motif}!main.c@{main.\-c}}
|
|
\subsubsection[{afficher\-Motif}]{\setlength{\rightskip}{0pt plus 5cm}{\bf void} afficher\-Motif (
|
|
\begin{DoxyParamCaption}
|
|
\item[{{\bf Motif} $\ast$}]{m, }
|
|
\item[{int}]{nbr\-Portees}
|
|
\end{DoxyParamCaption}
|
|
)}}\label{main_8c_aa014e8ed9cc5ef0372fce12f3351de71}
|
|
|
|
|
|
Définition à la ligne 37 du fichier main.\-c.
|
|
|
|
\hypertarget{main_8c_a9bcfe57b5b800770950552a070472b3b}{\index{main.\-c@{main.\-c}!debut@{debut}}
|
|
\index{debut@{debut}!main.c@{main.\-c}}
|
|
\subsubsection[{debut}]{\setlength{\rightskip}{0pt plus 5cm}{\bf void} debut (
|
|
\begin{DoxyParamCaption}
|
|
\item[{{\bf Motif} $\ast$}]{melodie\mbox{[}$\,$\mbox{]}, }
|
|
\item[{{\bf Motif} $\ast$}]{liste, }
|
|
\item[{int}]{nbr\-Portees}
|
|
\end{DoxyParamCaption}
|
|
)}}\label{main_8c_a9bcfe57b5b800770950552a070472b3b}
|
|
|
|
|
|
Définition à la ligne 49 du fichier main.\-c.
|
|
|
|
\hypertarget{main_8c_a96c80115d05a50996f87ad2fa66d8193}{\index{main.\-c@{main.\-c}!fenetre\-Instrument@{fenetre\-Instrument}}
|
|
\index{fenetre\-Instrument@{fenetre\-Instrument}!main.c@{main.\-c}}
|
|
\subsubsection[{fenetre\-Instrument}]{\setlength{\rightskip}{0pt plus 5cm}{\bf void} fenetre\-Instrument (
|
|
\begin{DoxyParamCaption}
|
|
\item[{int}]{argc, }
|
|
\item[{char $\ast$}]{argv\mbox{[}$\,$\mbox{]}}
|
|
\end{DoxyParamCaption}
|
|
)}}\label{main_8c_a96c80115d05a50996f87ad2fa66d8193}
|
|
|
|
|
|
Définition à la ligne 171 du fichier main.\-c.
|
|
|
|
\hypertarget{main_8c_a527c52ff5cf09f7fcd04e9209c590351}{\index{main.\-c@{main.\-c}!fenetre\-Motif@{fenetre\-Motif}}
|
|
\index{fenetre\-Motif@{fenetre\-Motif}!main.c@{main.\-c}}
|
|
\subsubsection[{fenetre\-Motif}]{\setlength{\rightskip}{0pt plus 5cm}{\bf void} fenetre\-Motif (
|
|
\begin{DoxyParamCaption}
|
|
\item[{int}]{argc, }
|
|
\item[{char $\ast$}]{argv\mbox{[}$\,$\mbox{]}}
|
|
\end{DoxyParamCaption}
|
|
)}}\label{main_8c_a527c52ff5cf09f7fcd04e9209c590351}
|
|
|
|
|
|
Définition à la ligne 188 du fichier main.\-c.
|
|
|
|
\hypertarget{main_8c_a12971de76b50d401b7b859c396194d8d}{\index{main.\-c@{main.\-c}!fenetre\-Sample@{fenetre\-Sample}}
|
|
\index{fenetre\-Sample@{fenetre\-Sample}!main.c@{main.\-c}}
|
|
\subsubsection[{fenetre\-Sample}]{\setlength{\rightskip}{0pt plus 5cm}{\bf void} fenetre\-Sample (
|
|
\begin{DoxyParamCaption}
|
|
\item[{int}]{argc, }
|
|
\item[{char $\ast$}]{argv\mbox{[}$\,$\mbox{]}}
|
|
\end{DoxyParamCaption}
|
|
)}}\label{main_8c_a12971de76b50d401b7b859c396194d8d}
|
|
|
|
|
|
Définition à la ligne 154 du fichier main.\-c.
|
|
|
|
\hypertarget{main_8c_a13bb869ee82de1e97f7fa09e8b6157fc}{\index{main.\-c@{main.\-c}!lancer\-Lecture@{lancer\-Lecture}}
|
|
\index{lancer\-Lecture@{lancer\-Lecture}!main.c@{main.\-c}}
|
|
\subsubsection[{lancer\-Lecture}]{\setlength{\rightskip}{0pt plus 5cm}{\bf void} lancer\-Lecture (
|
|
\begin{DoxyParamCaption}
|
|
{}
|
|
\end{DoxyParamCaption}
|
|
)}}\label{main_8c_a13bb869ee82de1e97f7fa09e8b6157fc}
|
|
|
|
|
|
Définition à la ligne 205 du fichier main.\-c.
|
|
|
|
\hypertarget{main_8c_a0ddf1224851353fc92bfbff6f499fa97}{\index{main.\-c@{main.\-c}!main@{main}}
|
|
\index{main@{main}!main.c@{main.\-c}}
|
|
\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main (
|
|
\begin{DoxyParamCaption}
|
|
\item[{int}]{argc, }
|
|
\item[{char $\ast$}]{argv\mbox{[}$\,$\mbox{]}}
|
|
\end{DoxyParamCaption}
|
|
)}}\label{main_8c_a0ddf1224851353fc92bfbff6f499fa97}
|
|
|
|
|
|
Définition à la ligne 132 du fichier main.\-c.
|
|
|
|
\hypertarget{main_8c_a984049078b71eba9bfa968627bc7d2ec}{\index{main.\-c@{main.\-c}!quitter@{quitter}}
|
|
\index{quitter@{quitter}!main.c@{main.\-c}}
|
|
\subsubsection[{quitter}]{\setlength{\rightskip}{0pt plus 5cm}{\bf void} quitter (
|
|
\begin{DoxyParamCaption}
|
|
{}
|
|
\end{DoxyParamCaption}
|
|
)}}\label{main_8c_a984049078b71eba9bfa968627bc7d2ec}
|
|
|
|
|
|
Définition à la ligne 216 du fichier main.\-c.
|
|
|