annotate src/audlegacy/ui_playlist_widget.h @ 4862:7ec3621a9f9b

We only need the results of the stat once, do not bother with a variable at all. From code analysis, unique ID uYRsrf.
author Tony Vroon <chainsaw@gentoo.org>
date Sun, 19 Apr 2009 23:26:48 +0100
parents 7bf7f83a217e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4728
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
1 /* Audacious - Cross-platform multimedia player
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
2 * Copyright (C) 2008 Tomasz Moń <desowin@gmail.com>
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
3 *
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
4 * This program is free software; you can redistribute it and/or modify
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
5 * it under the terms of the GNU General Public License as published by
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
6 * the Free Software Foundation; under version 3 of the License.
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
7 *
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
8 * This program is distributed in the hope that it will be useful,
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
11 * GNU General Public License for more details.
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
12 *
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
13 * You should have received a copy of the GNU General Public License
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
14 * along with this program. If not, see <http://www.gnu.org/licenses>.
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
15 *
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
16 * The Audacious team does not consider modular code linking to
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
17 * Audacious or using our public API to be a derived work.
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
18 */
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
19
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
20 #ifndef UI_PLAYLIST_WIDGET_H
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
21 #define UI_PLAYLIST_WIDGET_H
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
22
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
23 #include <gtk/gtk.h>
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
24
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
25 void ui_playlist_widget_set_current(GtkWidget *treeview, gint pos);
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
26 void ui_playlist_widget_update(GtkWidget *widget);
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
27 GtkWidget * ui_playlist_widget_new(void);
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
28
ab79ddbdcf42 introduce new playlist widget
Tomasz Mon <desowin@gmail.com>
parents:
diff changeset
29 #endif