Debian Codegraph @

src/av-cp/playlist-treeview.h

raw
1 /*
2 * Copyright (C) 2007 Zeeshan Ali (Khattak) <[email protected]>
3 *
4 * Authors: Zeeshan Ali (Khattak) <[email protected]>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 */
20
21 #ifndef __PLAYLISTTREEVIEW_H__
22 #define __PLAYLISTTREEVIEW_H__
23
24 #ifdef HAVE_CONFIG_H
25 #include <config.h>
26 #endif
27 #include <gtk/gtk.h>
28
29 #include <libgupnp/gupnp.h>
30 #include <libgupnp-av/gupnp-av.h>
31
32 typedef void (* MetadataFunc) (const char *metadata,
33 gpointer user_data);
34
35 void
36 setup_playlist_treeview (GtkBuilder *builder);
37
38 void
39 add_media_server (GUPnPDeviceProxy *proxy);
40
41 void
42 remove_media_server (GUPnPDeviceProxy *proxy);
43
44 gboolean
45 get_selected_object (MetadataFunc callback,
46 gpointer user_data);
47
48 void
49 select_next_object (void);
50
51 void
52 select_prev_object (void);
53
54 #endif /* __PLAYLISTTREEVIEW_H__ */
55