~ubuntu-branches/ubuntu/quantal/totem-pl-parser/quantal

« back to all changes in this revision

Viewing changes to docs/reference/html/totem-pl-parser-totem-disc.html

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2008-03-10 13:48:17 UTC
  • mto: (1.3.1 experimental) (50.1.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: james.westby@ubuntu.com-20080310134817-m8ds5eaaozb35pwi
Tags: upstream-2.22.1
ImportĀ upstreamĀ versionĀ 2.22.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
<th width="100%" align="center">totem-pl-parser Reference Manual</th>
21
21
<td>&#160;</td>
22
22
</tr>
23
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id363658" class="shortcut">Top</a>
 
23
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id370059" class="shortcut">Top</a>
24
24
                  &#160;|&#160;
25
 
                  <a href="#id349838" class="shortcut">Description</a></nobr></td></tr>
 
25
                  <a href="#id349836" class="shortcut">Description</a></nobr></td></tr>
26
26
</table>
27
27
<div class="refentry" lang="en">
28
28
<a name="totem-pl-parser-totem-disc"></a><div class="titlepage"></div>
29
29
<div class="refnamediv"><table width="100%"><tr>
30
30
<td valign="top">
31
31
<h2>
32
 
<a name="id363658"></a><span class="refentrytitle">totem-disc</span>
 
32
<a name="id370059"></a><span class="refentrytitle">totem-disc</span>
33
33
</h2>
34
34
<p>totem-disc &#8212; disc utility functions</p>
35
35
</td>
71
71
</pre>
72
72
</div>
73
73
<div class="refsect1" lang="en">
74
 
<a name="id349838"></a><h2>Description</h2>
 
74
<a name="id349836"></a><h2>Description</h2>
75
75
<p>
76
76
This file has various different disc utility functions for getting
77
77
the media types and labels of discs.</p>
80
80
</p>
81
81
</div>
82
82
<div class="refsect1" lang="en">
83
 
<a name="id349858"></a><h2>Details</h2>
 
83
<a name="id349857"></a><h2>Details</h2>
84
84
<div class="refsect2" lang="en">
85
 
<a name="id349158"></a><h3>
 
85
<a name="id349157"></a><h3>
86
86
<a name="TotemDiscMediaType"></a>enum TotemDiscMediaType</h3>
87
 
<a class="indexterm" name="id349170"></a><pre class="programlisting">typedef enum {
 
87
<a class="indexterm" name="id349169"></a><pre class="programlisting">typedef enum {
88
88
  MEDIA_TYPE_ERROR = -1,
89
89
  MEDIA_TYPE_DATA = 1,
90
90
  MEDIA_TYPE_CDDA,
143
143
</div>
144
144
<hr>
145
145
<div class="refsect2" lang="en">
146
 
<a name="id347248"></a><h3>
 
146
<a name="id348782"></a><h3>
147
147
<a name="totem-cd-detect-type"></a>totem_cd_detect_type ()</h3>
148
 
<a class="indexterm" name="id347260"></a><pre class="programlisting"><a class="link" href="totem-pl-parser-totem-disc.html#TotemDiscMediaType">TotemDiscMediaType</a>  totem_cd_detect_type                (const char *device,
 
148
<a class="indexterm" name="id348794"></a><pre class="programlisting"><a class="link" href="totem-pl-parser-totem-disc.html#TotemDiscMediaType">TotemDiscMediaType</a>  totem_cd_detect_type                (const char *device,
149
149
                                                         <a
150
150
href="../glib/glib-Error-Reporting.html#GError"
151
151
>GError</a> **error);</pre>
181
181
</div>
182
182
<hr>
183
183
<div class="refsect2" lang="en">
184
 
<a name="id347370"></a><h3>
 
184
<a name="id348904"></a><h3>
185
185
<a name="totem-cd-detect-type-with-url"></a>totem_cd_detect_type_with_url ()</h3>
186
 
<a class="indexterm" name="id347381"></a><pre class="programlisting"><a class="link" href="totem-pl-parser-totem-disc.html#TotemDiscMediaType">TotemDiscMediaType</a>  totem_cd_detect_type_with_url       (const char *device,
 
186
<a class="indexterm" name="id348915"></a><pre class="programlisting"><a class="link" href="totem-pl-parser-totem-disc.html#TotemDiscMediaType">TotemDiscMediaType</a>  totem_cd_detect_type_with_url       (const char *device,
187
187
                                                         char **url,
188
188
                                                         <a
189
189
href="../glib/glib-Error-Reporting.html#GError"
229
229
</div>
230
230
<hr>
231
231
<div class="refsect2" lang="en">
232
 
<a name="id344852"></a><h3>
 
232
<a name="id344877"></a><h3>
233
233
<a name="totem-cd-detect-type-from-dir"></a>totem_cd_detect_type_from_dir ()</h3>
234
 
<a class="indexterm" name="id344863"></a><pre class="programlisting"><a class="link" href="totem-pl-parser-totem-disc.html#TotemDiscMediaType">TotemDiscMediaType</a>  totem_cd_detect_type_from_dir       (const char *dir,
 
234
<a class="indexterm" name="id344888"></a><pre class="programlisting"><a class="link" href="totem-pl-parser-totem-disc.html#TotemDiscMediaType">TotemDiscMediaType</a>  totem_cd_detect_type_from_dir       (const char *dir,
235
235
                                                         char **url,
236
236
                                                         <a
237
237
href="../glib/glib-Error-Reporting.html#GError"
277
277
</div>
278
278
<hr>
279
279
<div class="refsect2" lang="en">
280
 
<a name="id345018"></a><h3>
 
280
<a name="id345043"></a><h3>
281
281
<a name="totem-cd-get-human-readable-name"></a>totem_cd_get_human_readable_name ()</h3>
282
 
<a class="indexterm" name="id345031"></a><pre class="programlisting">const char*         totem_cd_get_human_readable_name    (<a class="link" href="totem-pl-parser-totem-disc.html#TotemDiscMediaType">TotemDiscMediaType</a> type);</pre>
 
282
<a class="indexterm" name="id345055"></a><pre class="programlisting">const char*         totem_cd_get_human_readable_name    (<a class="link" href="totem-pl-parser-totem-disc.html#TotemDiscMediaType">TotemDiscMediaType</a> type);</pre>
283
283
<p>
284
284
Returns the human-readable name for the given
285
285
<a class="link" href="totem-pl-parser-totem-disc.html#TotemDiscMediaType"><span class="type">TotemDiscMediaType</span></a>.</p>
306
306
</div>
307
307
<hr>
308
308
<div class="refsect2" lang="en">
309
 
<a name="id345115"></a><h3>
 
309
<a name="id345139"></a><h3>
310
310
<a name="totem-cd-mrl-from-type"></a>totem_cd_mrl_from_type ()</h3>
311
 
<a class="indexterm" name="id345127"></a><pre class="programlisting">char*               totem_cd_mrl_from_type              (const char *scheme,
 
311
<a class="indexterm" name="id345151"></a><pre class="programlisting">char*               totem_cd_mrl_from_type              (const char *scheme,
312
312
                                                         const char *dir);</pre>
313
313
<p>
314
314
Builds an MRL using the scheme <em class="parameter"><code>scheme</code></em> and the given URI <em class="parameter"><code>dir</code></em>,
340
340
</div>
341
341
<hr>
342
342
<div class="refsect2" lang="en">
343
 
<a name="id345225"></a><h3>
 
343
<a name="id345249"></a><h3>
344
344
<a name="totem-cd-has-medium"></a>totem_cd_has_medium ()</h3>
345
 
<a class="indexterm" name="id345237"></a><pre class="programlisting"><a
 
345
<a class="indexterm" name="id345261"></a><pre class="programlisting"><a
346
346
href="../glib/glib-Basic-Types.html#gboolean"
347
347
>gboolean</a>            totem_cd_has_medium                 (const char *device);</pre>
348
348
<p>