udapted vi.po
[rhythmbox.git] / plugins / audioscrobbler / rb-lastfm-source.h
blobdcd2e7b49cc8976e9b8fc546cf8943e60770ab2a
1 /*
2 * arch-tag: Header for last.fm station source
4 * Copyright (C) 2006 Matt Novenstern <fisxoj@gmail.com>
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.
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.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
22 #ifndef __RB_LASTFM_SOURCE_H
23 #define __RB_LASTFM_SOURCE_H
25 #include "rb-shell.h"
26 #include "rb-streaming-source.h"
28 G_BEGIN_DECLS
30 #define RB_TYPE_LASTFM_SOURCE (rb_lastfm_source_get_type ())
31 #define RB_LASTFM_SOURCE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), RB_TYPE_LASTFM_SOURCE, RBLastfmSource))
32 #define RB_LASTFM_SOURCE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), RB_TYPE_LASTFM_SOURCE, RBLastfmSourceClass))
33 #define RB_IS_LASTFM_SOURCE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), RB_TYPE_LASTFM_SOURCE))
34 #define RB_IS_LASTFM_SOURCE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), RB_TYPE_LASTFM_SOURCE))
35 #define RB_LASTFM_SOURCE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), RB_TYPE_LASTFM_SOURCE, RBLastfmSourceClass))
37 typedef struct RBLastfmSourcePrivate RBLastfmSourcePrivate;
39 typedef struct
41 RBStreamingSource parent;
43 RBLastfmSourcePrivate *priv;
44 } RBLastfmSource;
46 typedef struct
48 RBStreamingSourceClass parent;
49 } RBLastfmSourceClass;
51 GType rb_lastfm_source_get_type (void);
52 GType rb_lastfm_source_register_type (GTypeModule *module);
54 RBSource * rb_lastfm_source_new (RBShell *shell);
56 G_END_DECLS
58 #endif /* __RB_LASTFM_SOURCE_H */