2 * Copyright (C) 2002 Jorn Baayen <jorn@nl.linux.org>
3 * Copyright (C) 2003,2004 Colin Walters <walters@redhat.com>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
22 * Header for play queue source class
25 #ifndef __RB_PLAY_QUEUE_SOURCE_H
26 #define __RB_PLAY_QUEUE_SOURCE_H
28 #include "rb-static-playlist-source.h"
32 #define RB_TYPE_PLAY_QUEUE_SOURCE (rb_play_queue_source_get_type ())
33 #define RB_PLAY_QUEUE_SOURCE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), RB_TYPE_PLAY_QUEUE_SOURCE, RBPlayQueueSource))
34 #define RB_PLAY_QUEUE_SOURCE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), RB_TYPE_PLAY_QUEUE_SOURCE, RBPlayQueueSourceClass))
35 #define RB_IS_PLAY_QUEUE_SOURCE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), RB_TYPE_PLAY_QUEUE_SOURCE))
36 #define RB_IS_PLAY_QUEUE_SOURCE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), RB_TYPE_PLAY_QUEUE_SOURCE))
37 #define RB_PLAY_QUEUE_SOURCE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), RB_TYPE_PLAY_QUEUE_SOURCE, RBPlayQueueSourceClass))
41 RBStaticPlaylistSource parent
;
46 RBStaticPlaylistSourceClass parent
;
47 } RBPlayQueueSourceClass
;
49 GType
rb_play_queue_source_get_type (void);
51 RBSource
* rb_play_queue_source_new (RBShell
*shell
);
53 void rb_play_queue_source_sidebar_song_info (RBPlayQueueSource
*source
);
54 void rb_play_queue_source_sidebar_delete (RBPlayQueueSource
*source
);
55 void rb_play_queue_source_clear_queue (RBPlayQueueSource
*source
);
59 #endif /* __RB_PLAY_QUEUE_SOURCE_H */