~ubuntu-branches/ubuntu/oneiric/rhythmbox/oneiric

« back to all changes in this revision

Viewing changes to doc/reference/html/RBStaticPlaylistSource.html

  • Committer: Bazaar Package Importer
  • Author(s): Rico Tzschichholz
  • Date: 2011-07-29 16:41:38 UTC
  • mto: This revision was merged to the branch mainline in revision 191.
  • Revision ID: james.westby@ubuntu.com-20110729164138-wwicy8nqalm18ck7
Tags: upstream-2.90.1~20110802
Import upstream version 2.90.1~20110802

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
5
<title>RBStaticPlaylistSource</title>
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
 
7
<link rel="home" href="index.html" title="Rhythmbox Development Reference Manual">
 
8
<link rel="up" href="ch06.html" title="Sources">
 
9
<link rel="prev" href="RBSource.html" title="RBSource">
 
10
<link rel="next" href="RBStreamingSource.html" title="RBStreamingSource">
 
11
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
 
12
<link rel="stylesheet" href="style.css" type="text/css">
 
13
</head>
 
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 
16
<tr valign="middle">
 
17
<td><a accesskey="p" href="RBSource.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
18
<td><a accesskey="u" href="ch06.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 
20
<th width="100%" align="center">Rhythmbox Development Reference Manual</th>
 
21
<td><a accesskey="n" href="RBStreamingSource.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
22
</tr>
 
23
<tr><td colspan="5" class="shortcuts">
 
24
<a href="#RBStaticPlaylistSource.synopsis" class="shortcut">Top</a>
 
25
                   | 
 
26
                  <a href="#RBStaticPlaylistSource.description" class="shortcut">Description</a>
 
27
                   | 
 
28
                  <a href="#RBStaticPlaylistSource.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
29
                   | 
 
30
                  <a href="#RBStaticPlaylistSource.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
 
31
</td></tr>
 
32
</table>
 
33
<div class="refentry">
 
34
<a name="RBStaticPlaylistSource"></a><div class="titlepage"></div>
 
35
<div class="refnamediv"><table width="100%"><tr>
 
36
<td valign="top">
 
37
<h2><span class="refentrytitle"><a name="RBStaticPlaylistSource.top_of_page"></a>RBStaticPlaylistSource</span></h2>
 
38
<p>RBStaticPlaylistSource — Manually defined playlist class</p>
 
39
</td>
 
40
<td valign="top" align="right"></td>
 
41
</tr></table></div>
 
42
<div class="refsynopsisdiv">
 
43
<a name="RBStaticPlaylistSource.synopsis"></a><h2>Synopsis</h2>
 
44
<pre class="synopsis">struct              <a class="link" href="RBStaticPlaylistSource.html#RBStaticPlaylistSource-struct" title="struct RBStaticPlaylistSource">RBStaticPlaylistSource</a>;
 
45
struct              <a class="link" href="RBStaticPlaylistSource.html#RBStaticPlaylistSourceClass" title="struct RBStaticPlaylistSourceClass">RBStaticPlaylistSourceClass</a>;
 
46
<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *            <a class="link" href="RBStaticPlaylistSource.html#rb-static-playlist-source-new" title="rb_static_playlist_source_new ()">rb_static_playlist_source_new</a>       (<em class="parameter"><code><a class="link" href="RBShell.html" title="RBShell"><span class="type">RBShell</span></a> *shell</code></em>,
 
47
                                                         <em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
 
48
                                                         <em class="parameter"><code>const <span class="type">char</span> *sorting_name</code></em>,
 
49
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> local</code></em>,
 
50
                                                         <em class="parameter"><code><a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="type">RhythmDBEntryType</span></a> *entry_type</code></em>);
 
51
<a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *            <a class="link" href="RBStaticPlaylistSource.html#rb-static-playlist-source-new-from-xml" title="rb_static_playlist_source_new_from_xml ()">rb_static_playlist_source_new_from_xml</a>
 
52
                                                        (<em class="parameter"><code><a class="link" href="RBShell.html" title="RBShell"><span class="type">RBShell</span></a> *shell</code></em>,
 
53
                                                         <em class="parameter"><code><span class="type">xmlNodePtr</span> node</code></em>);
 
54
<span class="returnvalue">void</span>                <a class="link" href="RBStaticPlaylistSource.html#rb-static-playlist-source-load-from-xml" title="rb_static_playlist_source_load_from_xml ()">rb_static_playlist_source_load_from_xml</a>
 
55
                                                        (<em class="parameter"><code><a class="link" href="RBStaticPlaylistSource.html" title="RBStaticPlaylistSource"><span class="type">RBStaticPlaylistSource</span></a> *source</code></em>,
 
56
                                                         <em class="parameter"><code><span class="type">xmlNodePtr</span> node</code></em>);
 
57
<span class="returnvalue">void</span>                <a class="link" href="RBStaticPlaylistSource.html#rb-static-playlist-source-add-entry" title="rb_static_playlist_source_add_entry ()">rb_static_playlist_source_add_entry</a> (<em class="parameter"><code><a class="link" href="RBStaticPlaylistSource.html" title="RBStaticPlaylistSource"><span class="type">RBStaticPlaylistSource</span></a> *source</code></em>,
 
58
                                                         <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBEntry"><span class="type">RhythmDBEntry</span></a> *entry</code></em>,
 
59
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index</code></em>);
 
60
<span class="returnvalue">void</span>                <a class="link" href="RBStaticPlaylistSource.html#rb-static-playlist-source-remove-entry" title="rb_static_playlist_source_remove_entry ()">rb_static_playlist_source_remove_entry</a>
 
61
                                                        (<em class="parameter"><code><a class="link" href="RBStaticPlaylistSource.html" title="RBStaticPlaylistSource"><span class="type">RBStaticPlaylistSource</span></a> *source</code></em>,
 
62
                                                         <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBEntry"><span class="type">RhythmDBEntry</span></a> *entry</code></em>);
 
63
<span class="returnvalue">void</span>                <a class="link" href="RBStaticPlaylistSource.html#rb-static-playlist-source-add-location" title="rb_static_playlist_source_add_location ()">rb_static_playlist_source_add_location</a>
 
64
                                                        (<em class="parameter"><code><a class="link" href="RBStaticPlaylistSource.html" title="RBStaticPlaylistSource"><span class="type">RBStaticPlaylistSource</span></a> *source</code></em>,
 
65
                                                         <em class="parameter"><code>const <span class="type">char</span> *location</code></em>,
 
66
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index</code></em>);
 
67
<span class="returnvalue">void</span>                <a class="link" href="RBStaticPlaylistSource.html#rb-static-playlist-source-add-locations" title="rb_static_playlist_source_add_locations ()">rb_static_playlist_source_add_locations</a>
 
68
                                                        (<em class="parameter"><code><a class="link" href="RBStaticPlaylistSource.html" title="RBStaticPlaylistSource"><span class="type">RBStaticPlaylistSource</span></a> *source</code></em>,
 
69
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *locations</code></em>);
 
70
<span class="returnvalue">void</span>                <a class="link" href="RBStaticPlaylistSource.html#rb-static-playlist-source-remove-location" title="rb_static_playlist_source_remove_location ()">rb_static_playlist_source_remove_location</a>
 
71
                                                        (<em class="parameter"><code><a class="link" href="RBStaticPlaylistSource.html" title="RBStaticPlaylistSource"><span class="type">RBStaticPlaylistSource</span></a> *source</code></em>,
 
72
                                                         <em class="parameter"><code>const <span class="type">char</span> *location</code></em>);
 
73
<span class="returnvalue">void</span>                <a class="link" href="RBStaticPlaylistSource.html#rb-static-playlist-source-move-entry" title="rb_static_playlist_source_move_entry ()">rb_static_playlist_source_move_entry</a>
 
74
                                                        (<em class="parameter"><code><a class="link" href="RBStaticPlaylistSource.html" title="RBStaticPlaylistSource"><span class="type">RBStaticPlaylistSource</span></a> *source</code></em>,
 
75
                                                         <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBEntry"><span class="type">RhythmDBEntry</span></a> *entry</code></em>,
 
76
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index</code></em>);
 
77
</pre>
 
78
</div>
 
79
<div class="refsect1">
 
80
<a name="RBStaticPlaylistSource.object-hierarchy"></a><h2>Object Hierarchy</h2>
 
81
<pre class="synopsis">
 
82
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
83
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
 
84
         +----<a href="http://library.gnome.org/devel/gtk/GtkWidget.html">GtkWidget</a>
 
85
               +----<a href="http://library.gnome.org/devel/gtk/GtkContainer.html">GtkContainer</a>
 
86
                     +----<a href="http://library.gnome.org/devel/gtk/GtkBox.html">GtkBox</a>
 
87
                           +----<a href="http://library.gnome.org/devel/gtk/GtkHBox.html">GtkHBox</a>
 
88
                                 +----RBDisplayPage
 
89
                                       +----<a class="link" href="RBSource.html" title="RBSource">RBSource</a>
 
90
                                             +----<a class="link" href="RBPlaylistSource.html" title="RBPlaylistSource">RBPlaylistSource</a>
 
91
                                                   +----RBStaticPlaylistSource
 
92
                                                         +----<a class="link" href="RBPlayQueueSource.html" title="RBPlayQueueSource">RBPlayQueueSource</a>
 
93
</pre>
 
94
</div>
 
95
<div class="refsect1">
 
96
<a name="RBStaticPlaylistSource.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
 
97
<p>
 
98
RBStaticPlaylistSource implements
 
99
 AtkImplementorIface,  <a href="http://library.gnome.org/devel/gtk/GtkBuildable.html">GtkBuildable</a> and  <a href="http://library.gnome.org/devel/gtk/gtk3-Orientable.html#GtkOrientable">GtkOrientable</a>.</p>
 
100
</div>
 
101
<div class="refsect1">
 
102
<a name="RBStaticPlaylistSource.description"></a><h2>Description</h2>
 
103
<p>
 
104
Static playlists are not defined by a query, but instead by manually selected
 
105
and ordered tracks.
 
106
</p>
 
107
<p>
 
108
This class is used for static playlists built from the user's library, and is
 
109
also a base class for the play queue and for playlists on devices and network
 
110
shares.
 
111
</p>
 
112
<p>
 
113
It has some ability to track locations that are not yet present in the database
 
114
and to add them to the playlist once they are added.
 
115
</p>
 
116
</div>
 
117
<div class="refsect1">
 
118
<a name="RBStaticPlaylistSource.details"></a><h2>Details</h2>
 
119
<div class="refsect2">
 
120
<a name="RBStaticPlaylistSource-struct"></a><h3>struct RBStaticPlaylistSource</h3>
 
121
<pre class="programlisting">struct RBStaticPlaylistSource;</pre>
 
122
<p>
 
123
</p>
 
124
</div>
 
125
<hr>
 
126
<div class="refsect2">
 
127
<a name="RBStaticPlaylistSourceClass"></a><h3>struct RBStaticPlaylistSourceClass</h3>
 
128
<pre class="programlisting">struct RBStaticPlaylistSourceClass {
 
129
        RBPlaylistSourceClass parent;
 
130
};
 
131
</pre>
 
132
<p>
 
133
</p>
 
134
</div>
 
135
<hr>
 
136
<div class="refsect2">
 
137
<a name="rb-static-playlist-source-new"></a><h3>rb_static_playlist_source_new ()</h3>
 
138
<pre class="programlisting"><a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *                rb_static_playlist_source_new       (<em class="parameter"><code><a class="link" href="RBShell.html" title="RBShell"><span class="type">RBShell</span></a> *shell</code></em>,
 
139
                                                         <em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
 
140
                                                         <em class="parameter"><code>const <span class="type">char</span> *sorting_name</code></em>,
 
141
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> local</code></em>,
 
142
                                                         <em class="parameter"><code><a class="link" href="RhythmDBEntryType.html" title="RhythmDBEntryType"><span class="type">RhythmDBEntryType</span></a> *entry_type</code></em>);</pre>
 
143
<p>
 
144
Creates a new static playlist source.
 
145
</p>
 
146
<div class="variablelist"><table border="0">
 
147
<col align="left" valign="top">
 
148
<tbody>
 
149
<tr>
 
150
<td><p><span class="term"><em class="parameter"><code>shell</code></em> :</span></p></td>
 
151
<td>the <a class="link" href="RBShell.html" title="RBShell"><span class="type">RBShell</span></a>
 
152
</td>
 
153
</tr>
 
154
<tr>
 
155
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
 
156
<td>the playlist name</td>
 
157
</tr>
 
158
<tr>
 
159
<td><p><span class="term"><em class="parameter"><code>local</code></em> :</span></p></td>
 
160
<td>if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the playlist is local to the library</td>
 
161
</tr>
 
162
<tr>
 
163
<td><p><span class="term"><em class="parameter"><code>entry_type</code></em> :</span></p></td>
 
164
<td>type of database entries that can be added to the playlist.</td>
 
165
</tr>
 
166
<tr>
 
167
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
168
<td>new playlist.</td>
 
169
</tr>
 
170
</tbody>
 
171
</table></div>
 
172
</div>
 
173
<hr>
 
174
<div class="refsect2">
 
175
<a name="rb-static-playlist-source-new-from-xml"></a><h3>rb_static_playlist_source_new_from_xml ()</h3>
 
176
<pre class="programlisting"><a class="link" href="RBSource.html" title="RBSource"><span class="returnvalue">RBSource</span></a> *                rb_static_playlist_source_new_from_xml
 
177
                                                        (<em class="parameter"><code><a class="link" href="RBShell.html" title="RBShell"><span class="type">RBShell</span></a> *shell</code></em>,
 
178
                                                         <em class="parameter"><code><span class="type">xmlNodePtr</span> node</code></em>);</pre>
 
179
<p>
 
180
Constructs a new playlist from the given XML document node.
 
181
</p>
 
182
<div class="variablelist"><table border="0">
 
183
<col align="left" valign="top">
 
184
<tbody>
 
185
<tr>
 
186
<td><p><span class="term"><em class="parameter"><code>shell</code></em> :</span></p></td>
 
187
<td>the <a class="link" href="RBShell.html" title="RBShell"><span class="type">RBShell</span></a>
 
188
</td>
 
189
</tr>
 
190
<tr>
 
191
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
 
192
<td>XML node containing playlist entries</td>
 
193
</tr>
 
194
<tr>
 
195
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
196
<td>playlist read from XML</td>
 
197
</tr>
 
198
</tbody>
 
199
</table></div>
 
200
</div>
 
201
<hr>
 
202
<div class="refsect2">
 
203
<a name="rb-static-playlist-source-load-from-xml"></a><h3>rb_static_playlist_source_load_from_xml ()</h3>
 
204
<pre class="programlisting"><span class="returnvalue">void</span>                rb_static_playlist_source_load_from_xml
 
205
                                                        (<em class="parameter"><code><a class="link" href="RBStaticPlaylistSource.html" title="RBStaticPlaylistSource"><span class="type">RBStaticPlaylistSource</span></a> *source</code></em>,
 
206
                                                         <em class="parameter"><code><span class="type">xmlNodePtr</span> node</code></em>);</pre>
 
207
<p>
 
208
Loads the playlist contents from the specified XML document node.
 
209
</p>
 
210
<div class="variablelist"><table border="0">
 
211
<col align="left" valign="top">
 
212
<tbody>
 
213
<tr>
 
214
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
 
215
<td>an <a class="link" href="RBStaticPlaylistSource.html" title="RBStaticPlaylistSource"><span class="type">RBStaticPlaylistSource</span></a>
 
216
</td>
 
217
</tr>
 
218
<tr>
 
219
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
 
220
<td>XML node to load from</td>
 
221
</tr>
 
222
</tbody>
 
223
</table></div>
 
224
</div>
 
225
<hr>
 
226
<div class="refsect2">
 
227
<a name="rb-static-playlist-source-add-entry"></a><h3>rb_static_playlist_source_add_entry ()</h3>
 
228
<pre class="programlisting"><span class="returnvalue">void</span>                rb_static_playlist_source_add_entry (<em class="parameter"><code><a class="link" href="RBStaticPlaylistSource.html" title="RBStaticPlaylistSource"><span class="type">RBStaticPlaylistSource</span></a> *source</code></em>,
 
229
                                                         <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBEntry"><span class="type">RhythmDBEntry</span></a> *entry</code></em>,
 
230
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index</code></em>);</pre>
 
231
<p>
 
232
Adds the specified entry to the playlist.
 
233
</p>
 
234
<div class="variablelist"><table border="0">
 
235
<col align="left" valign="top">
 
236
<tbody>
 
237
<tr>
 
238
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
 
239
<td>an <a class="link" href="RBStaticPlaylistSource.html" title="RBStaticPlaylistSource"><span class="type">RBStaticPlaylistSource</span></a>
 
240
</td>
 
241
</tr>
 
242
<tr>
 
243
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
 
244
<td>entry to add to the playlist</td>
 
245
</tr>
 
246
<tr>
 
247
<td><p><span class="term"><em class="parameter"><code>index</code></em> :</span></p></td>
 
248
<td>position at which to add it (-1 to add at the end)</td>
 
249
</tr>
 
250
</tbody>
 
251
</table></div>
 
252
</div>
 
253
<hr>
 
254
<div class="refsect2">
 
255
<a name="rb-static-playlist-source-remove-entry"></a><h3>rb_static_playlist_source_remove_entry ()</h3>
 
256
<pre class="programlisting"><span class="returnvalue">void</span>                rb_static_playlist_source_remove_entry
 
257
                                                        (<em class="parameter"><code><a class="link" href="RBStaticPlaylistSource.html" title="RBStaticPlaylistSource"><span class="type">RBStaticPlaylistSource</span></a> *source</code></em>,
 
258
                                                         <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBEntry"><span class="type">RhythmDBEntry</span></a> *entry</code></em>);</pre>
 
259
<p>
 
260
Removes the specified entry from the playlist.
 
261
</p>
 
262
<div class="variablelist"><table border="0">
 
263
<col align="left" valign="top">
 
264
<tbody>
 
265
<tr>
 
266
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
 
267
<td>an <a class="link" href="RBStaticPlaylistSource.html" title="RBStaticPlaylistSource"><span class="type">RBStaticPlaylistSource</span></a>
 
268
</td>
 
269
</tr>
 
270
<tr>
 
271
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
 
272
<td>the entry to remove</td>
 
273
</tr>
 
274
</tbody>
 
275
</table></div>
 
276
</div>
 
277
<hr>
 
278
<div class="refsect2">
 
279
<a name="rb-static-playlist-source-add-location"></a><h3>rb_static_playlist_source_add_location ()</h3>
 
280
<pre class="programlisting"><span class="returnvalue">void</span>                rb_static_playlist_source_add_location
 
281
                                                        (<em class="parameter"><code><a class="link" href="RBStaticPlaylistSource.html" title="RBStaticPlaylistSource"><span class="type">RBStaticPlaylistSource</span></a> *source</code></em>,
 
282
                                                         <em class="parameter"><code>const <span class="type">char</span> *location</code></em>,
 
283
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index</code></em>);</pre>
 
284
<p>
 
285
If the location matches an entry in the database, the entry is added
 
286
to the playlist.  Otherwise, if it identifies a directory, the contents
 
287
of that directory are added.
 
288
</p>
 
289
<div class="variablelist"><table border="0">
 
290
<col align="left" valign="top">
 
291
<tbody>
 
292
<tr>
 
293
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
 
294
<td>an <a class="link" href="RBStaticPlaylistSource.html" title="RBStaticPlaylistSource"><span class="type">RBStaticPlaylistSource</span></a>
 
295
</td>
 
296
</tr>
 
297
<tr>
 
298
<td><p><span class="term"><em class="parameter"><code>location</code></em> :</span></p></td>
 
299
<td>location (URI) to add to the playlist</td>
 
300
</tr>
 
301
<tr>
 
302
<td><p><span class="term"><em class="parameter"><code>index</code></em> :</span></p></td>
 
303
<td>position at which to add the location (-1 to add at the end)</td>
 
304
</tr>
 
305
</tbody>
 
306
</table></div>
 
307
</div>
 
308
<hr>
 
309
<div class="refsect2">
 
310
<a name="rb-static-playlist-source-add-locations"></a><h3>rb_static_playlist_source_add_locations ()</h3>
 
311
<pre class="programlisting"><span class="returnvalue">void</span>                rb_static_playlist_source_add_locations
 
312
                                                        (<em class="parameter"><code><a class="link" href="RBStaticPlaylistSource.html" title="RBStaticPlaylistSource"><span class="type">RBStaticPlaylistSource</span></a> *source</code></em>,
 
313
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *locations</code></em>);</pre>
 
314
<p>
 
315
Adds the locations specified in <em class="parameter"><code>locations</code></em> to the playlist.
 
316
See <em class="parameter"><code>rb_static_playlist_source_add_location</code></em> for details.
 
317
</p>
 
318
<div class="variablelist"><table border="0">
 
319
<col align="left" valign="top">
 
320
<tbody>
 
321
<tr>
 
322
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
 
323
<td>an <a class="link" href="RBStaticPlaylistSource.html" title="RBStaticPlaylistSource"><span class="type">RBStaticPlaylistSource</span></a>
 
324
</td>
 
325
</tr>
 
326
<tr>
 
327
<td><p><span class="term"><em class="parameter"><code>locations</code></em> :</span></p></td>
 
328
<td>URI strings to add. <span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> utf8][<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span>
 
329
</td>
 
330
</tr>
 
331
</tbody>
 
332
</table></div>
 
333
</div>
 
334
<hr>
 
335
<div class="refsect2">
 
336
<a name="rb-static-playlist-source-remove-location"></a><h3>rb_static_playlist_source_remove_location ()</h3>
 
337
<pre class="programlisting"><span class="returnvalue">void</span>                rb_static_playlist_source_remove_location
 
338
                                                        (<em class="parameter"><code><a class="link" href="RBStaticPlaylistSource.html" title="RBStaticPlaylistSource"><span class="type">RBStaticPlaylistSource</span></a> *source</code></em>,
 
339
                                                         <em class="parameter"><code>const <span class="type">char</span> *location</code></em>);</pre>
 
340
<p>
 
341
Removes the specified location from the playlist.  This affects both
 
342
the location map and the query model, whether an entry exists for the
 
343
location or not.
 
344
</p>
 
345
<div class="variablelist"><table border="0">
 
346
<col align="left" valign="top">
 
347
<tbody>
 
348
<tr>
 
349
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
 
350
<td>an <a class="link" href="RBStaticPlaylistSource.html" title="RBStaticPlaylistSource"><span class="type">RBStaticPlaylistSource</span></a>
 
351
</td>
 
352
</tr>
 
353
<tr>
 
354
<td><p><span class="term"><em class="parameter"><code>location</code></em> :</span></p></td>
 
355
<td>location to remove</td>
 
356
</tr>
 
357
</tbody>
 
358
</table></div>
 
359
</div>
 
360
<hr>
 
361
<div class="refsect2">
 
362
<a name="rb-static-playlist-source-move-entry"></a><h3>rb_static_playlist_source_move_entry ()</h3>
 
363
<pre class="programlisting"><span class="returnvalue">void</span>                rb_static_playlist_source_move_entry
 
364
                                                        (<em class="parameter"><code><a class="link" href="RBStaticPlaylistSource.html" title="RBStaticPlaylistSource"><span class="type">RBStaticPlaylistSource</span></a> *source</code></em>,
 
365
                                                         <em class="parameter"><code><a class="link" href="RhythmDB.html#RhythmDBEntry"><span class="type">RhythmDBEntry</span></a> *entry</code></em>,
 
366
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index</code></em>);</pre>
 
367
<p>
 
368
Moves an entry within the playlist.
 
369
</p>
 
370
<div class="variablelist"><table border="0">
 
371
<col align="left" valign="top">
 
372
<tbody>
 
373
<tr>
 
374
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
 
375
<td>an <a class="link" href="RBStaticPlaylistSource.html" title="RBStaticPlaylistSource"><span class="type">RBStaticPlaylistSource</span></a>
 
376
</td>
 
377
</tr>
 
378
<tr>
 
379
<td><p><span class="term"><em class="parameter"><code>entry</code></em> :</span></p></td>
 
380
<td>the entry to move</td>
 
381
</tr>
 
382
<tr>
 
383
<td><p><span class="term"><em class="parameter"><code>index</code></em> :</span></p></td>
 
384
<td>new location for the entry</td>
 
385
</tr>
 
386
</tbody>
 
387
</table></div>
 
388
</div>
 
389
</div>
 
390
</div>
 
391
<div class="footer">
 
392
<hr>
 
393
          Generated by GTK-Doc V1.17</div>
 
394
</body>
 
395
</html>
 
 
b'\\ No newline at end of file'