2 * Copyright (C) 2006 Jonathan Matthew <jonathan@kaolin.wh9.net>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #ifndef __RB_STREAMING_SOURCE_H
21 #define __RB_STREAMING_SOURCE_H
23 #include "rb-source.h"
27 #define RB_TYPE_STREAMING_SOURCE (rb_streaming_source_get_type ())
28 #define RB_STREAMING_SOURCE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), RB_TYPE_STREAMING_SOURCE, RBStreamingSource))
29 #define RB_STREAMING_SOURCE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), RB_TYPE_STREAMING_SOURCE, RBStreamingSourceClass))
30 #define RB_IS_STREAMING_SOURCE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), RB_TYPE_STREAMING_SOURCE))
31 #define RB_IS_STREAMING_SOURCE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), RB_TYPE_STREAMING_SOURCE))
32 #define RB_STREAMING_SOURCE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), RB_TYPE_STREAMING_SOURCE, RBStreamingSourceClass))
34 typedef struct RBStreamingSourcePrivate RBStreamingSourcePrivate
;
40 RBStreamingSourcePrivate
*priv
;
46 } RBStreamingSourceClass
;
48 GType
rb_streaming_source_get_type (void);
50 /* methods for subclasses */
51 void rb_streaming_source_get_progress (RBStreamingSource
*source
,
54 void rb_streaming_source_set_streaming_title (RBStreamingSource
*source
,
56 void rb_streaming_source_set_streaming_artist (RBStreamingSource
*source
,
58 void rb_streaming_source_set_streaming_album (RBStreamingSource
*source
,
63 #endif /* __RB_STREAMING_SOURCE_H */