ponytracker/documentation/html/samples_8c.html

360 lines
19 KiB
HTML
Raw Normal View History

2014-05-20 13:17:26 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>PonyTracker: Référence du fichier sources/samples/samples.c</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="vinyl.png"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">PonyTracker
</div>
<div id="projectbrief">Un projet de tracker de musique</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Généré par Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Page&#160;principale</span></a></li>
<li><a href="namespaces.html"><span>Espaces&#160;de&#160;nommage</span></a></li>
<li><a href="annotated.html"><span>Structures&#160;de&#160;données</span></a></li>
<li class="current"><a href="files.html"><span>Fichiers</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Recherche" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
<li><a href="globals.html"><span>Variables&#160;globale</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Structures de données</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Espaces de nommage</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Définitions de type</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Énumérations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Valeurs énumérées</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Pages</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_08d237fc27d4ecd563f71c5d52f2fecc.html">sources</a></li><li class="navelem"><a class="el" href="dir_85a2efd190f987707dadaed0dafb12be.html">samples</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#func-members">Fonctions</a> </div>
<div class="headertitle">
<div class="title">Référence du fichier samples.c</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="samples_8h_source.html">samples.h</a>&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Graphe des dépendances par inclusion de samples.c:</div>
<div class="dyncontent">
<div class="center"><img src="samples_8c__incl.png" border="0" usemap="#sources_2samples_2samples_8c" alt=""/></div>
<map name="sources_2samples_2samples_8c" id="sources_2samples_2samples_8c">
</map>
</div>
</div>
<p><a href="samples_8c_source.html">Aller au code source de ce fichier.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Fonctions</h2></td></tr>
<tr class="memitem:a4133b353534c6767dc6e58ba19410d83"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="samples_8c.html#a4133b353534c6767dc6e58ba19410d83">doitEtreSauvegarde</a> (<a class="el" href="samples_8h.html#ad0ca612b35eebe718a131db33f4fa089">Sample</a> *tab[], int i)</td></tr>
<tr class="separator:a4133b353534c6767dc6e58ba19410d83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3829e0358f85979b2d9e1ccc53ee0311"><td class="memItemLeft" align="right" valign="top"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="samples_8c.html#a3829e0358f85979b2d9e1ccc53ee0311">setSauvegarde</a> (<a class="el" href="samples_8h.html#ad0ca612b35eebe718a131db33f4fa089">Sample</a> *tab[], int i)</td></tr>
<tr class="separator:a3829e0358f85979b2d9e1ccc53ee0311"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ff33b007a5c904aaf993d747879cdfa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="samples_8c.html#a7ff33b007a5c904aaf993d747879cdfa">ajouterSample</a> (<a class="el" href="samples_8h.html#ad0ca612b35eebe718a131db33f4fa089">Sample</a> *tab[], int i, char *chemin)</td></tr>
<tr class="separator:a7ff33b007a5c904aaf993d747879cdfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3508dbac9b8370605a1e1d6b6d0b00a5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="samples_8c.html#a3508dbac9b8370605a1e1d6b6d0b00a5">supprimerSample</a> (<a class="el" href="samples_8h.html#ad0ca612b35eebe718a131db33f4fa089">Sample</a> *tab[], int i, <a class="el" href="samples_8h.html#af75b81f3c071fe183fbffe115d43a22a">Poubelle</a> **poub)</td></tr>
<tr class="separator:a3508dbac9b8370605a1e1d6b6d0b00a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e652dc39891e23a37e4bcad22e1977d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="samples_8c.html#a3e652dc39891e23a37e4bcad22e1977d">setNom</a> (<a class="el" href="samples_8h.html#ad0ca612b35eebe718a131db33f4fa089">Sample</a> *sample, char nom[])</td></tr>
<tr class="separator:a3e652dc39891e23a37e4bcad22e1977d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f9efeffb63bd507521749a80f7a63ae"><td class="memItemLeft" align="right" valign="top"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="samples_8c.html#a1f9efeffb63bd507521749a80f7a63ae">setHauteur</a> (<a class="el" href="samples_8h.html#ad0ca612b35eebe718a131db33f4fa089">Sample</a> *sample, <a class="el" href="fmod_8h.html#aeb841aa4b4b5f444b5d739d865b420af">float</a> hauteur)</td></tr>
<tr class="separator:a1f9efeffb63bd507521749a80f7a63ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c9ea6b79c132397eae4fed664a351ce"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="samples_8c.html#a8c9ea6b79c132397eae4fed664a351ce">getNom</a> (<a class="el" href="samples_8h.html#ad0ca612b35eebe718a131db33f4fa089">Sample</a> *sample)</td></tr>
<tr class="separator:a8c9ea6b79c132397eae4fed664a351ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcdecc1e86108d125d248b640491d705"><td class="memItemLeft" align="right" valign="top"><a class="el" href="fmod_8h.html#aeb841aa4b4b5f444b5d739d865b420af">float</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="samples_8c.html#abcdecc1e86108d125d248b640491d705">getHauteur</a> (<a class="el" href="samples_8h.html#ad0ca612b35eebe718a131db33f4fa089">Sample</a> *sample)</td></tr>
<tr class="separator:abcdecc1e86108d125d248b640491d705"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Description détaillée</h2>
<div class="textblock"><p>Implémentation de <a class="el" href="samples_8h.html">samples.h</a></p>
<dl class="section version"><dt>Version</dt><dd>1 </dd></dl>
<dl class="section author"><dt>Auteur</dt><dd>Guy </dd></dl>
<dl class="section date"><dt>Date</dt><dd>Mai 2014 </dd></dl>
<p>Définition dans le fichier <a class="el" href="samples_8c_source.html">samples.c</a>.</p>
</div><h2 class="groupheader">Documentation des fonctions</h2>
<a class="anchor" id="a7ff33b007a5c904aaf993d747879cdfa"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a> ajouterSample </td>
<td>(</td>
<td class="paramtype"><a class="el" href="samples_8h.html#ad0ca612b35eebe718a131db33f4fa089">Sample</a> *&#160;</td>
<td class="paramname"><em>tab</em>[], </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>i</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char *&#160;</td>
<td class="paramname"><em>chemin</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Définition à la ligne <a class="el" href="samples_8c_source.html#l00021">21</a> du fichier <a class="el" href="samples_8c_source.html">samples.c</a>.</p>
</div>
</div>
<a class="anchor" id="a4133b353534c6767dc6e58ba19410d83"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int doitEtreSauvegarde </td>
<td>(</td>
<td class="paramtype"><a class="el" href="samples_8h.html#ad0ca612b35eebe718a131db33f4fa089">Sample</a> *&#160;</td>
<td class="paramname"><em>tab</em>[], </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>i</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Cette fonction à valeur booléenne détermine si le fichier doit être copié dans le dossier de sauvegarde. </p>
<p>Définition à la ligne <a class="el" href="samples_8c_source.html#l00013">13</a> du fichier <a class="el" href="samples_8c_source.html">samples.c</a>.</p>
</div>
</div>
<a class="anchor" id="abcdecc1e86108d125d248b640491d705"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="fmod_8h.html#aeb841aa4b4b5f444b5d739d865b420af">float</a> getHauteur </td>
<td>(</td>
<td class="paramtype"><a class="el" href="samples_8h.html#ad0ca612b35eebe718a131db33f4fa089">Sample</a> *&#160;</td>
<td class="paramname"><em>sample</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Définition à la ligne <a class="el" href="samples_8c_source.html#l00048">48</a> du fichier <a class="el" href="samples_8c_source.html">samples.c</a>.</p>
</div>
</div>
<a class="anchor" id="a8c9ea6b79c132397eae4fed664a351ce"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char* getNom </td>
<td>(</td>
<td class="paramtype"><a class="el" href="samples_8h.html#ad0ca612b35eebe718a131db33f4fa089">Sample</a> *&#160;</td>
<td class="paramname"><em>sample</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Définition à la ligne <a class="el" href="samples_8c_source.html#l00044">44</a> du fichier <a class="el" href="samples_8c_source.html">samples.c</a>.</p>
</div>
</div>
<a class="anchor" id="a1f9efeffb63bd507521749a80f7a63ae"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a> setHauteur </td>
<td>(</td>
<td class="paramtype"><a class="el" href="samples_8h.html#ad0ca612b35eebe718a131db33f4fa089">Sample</a> *&#160;</td>
<td class="paramname"><em>sample</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="fmod_8h.html#aeb841aa4b4b5f444b5d739d865b420af">float</a>&#160;</td>
<td class="paramname"><em>hauteur</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Définition à la ligne <a class="el" href="samples_8c_source.html#l00040">40</a> du fichier <a class="el" href="samples_8c_source.html">samples.c</a>.</p>
</div>
</div>
<a class="anchor" id="a3e652dc39891e23a37e4bcad22e1977d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a> setNom </td>
<td>(</td>
<td class="paramtype"><a class="el" href="samples_8h.html#ad0ca612b35eebe718a131db33f4fa089">Sample</a> *&#160;</td>
<td class="paramname"><em>sample</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char&#160;</td>
<td class="paramname"><em>nom</em>[]&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Définition à la ligne <a class="el" href="samples_8c_source.html#l00036">36</a> du fichier <a class="el" href="samples_8c_source.html">samples.c</a>.</p>
</div>
</div>
<a class="anchor" id="a3829e0358f85979b2d9e1ccc53ee0311"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a> setSauvegarde </td>
<td>(</td>
<td class="paramtype"><a class="el" href="samples_8h.html#ad0ca612b35eebe718a131db33f4fa089">Sample</a> *&#160;</td>
<td class="paramname"><em>tab</em>[], </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>i</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Cette procédure définit le statut du fichier comme déjà copié dans la sauvegarde. </p>
<p>Définition à la ligne <a class="el" href="samples_8c_source.html#l00017">17</a> du fichier <a class="el" href="samples_8c_source.html">samples.c</a>.</p>
</div>
</div>
<a class="anchor" id="a3508dbac9b8370605a1e1d6b6d0b00a5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="fmod_8h.html#a5e6281045c500b317fa3b60838542994">void</a> supprimerSample </td>
<td>(</td>
<td class="paramtype"><a class="el" href="samples_8h.html#ad0ca612b35eebe718a131db33f4fa089">Sample</a> *&#160;</td>
<td class="paramname"><em>tab</em>[], </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>i</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="samples_8h.html#af75b81f3c071fe183fbffe115d43a22a">Poubelle</a> **&#160;</td>
<td class="paramname"><em>poub</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Définition à la ligne <a class="el" href="samples_8c_source.html#l00026">26</a> du fichier <a class="el" href="samples_8c_source.html">samples.c</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Généré le Vendredi 16 Mai 2014 12:37:44 pour PonyTracker par &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>