Updated Macedonian Translation <arangela@cvs.gnome.org>
[rhythmbox.git] / sources / rb-ipod-source.h
blob09bc4e54a7b7bcae5dbb5991c5116c1daa1dc946
1 /*
2 * arch-tag: Header for iPod source object
4 * Copyright (C) 2004 Christophe Fergeau <teuf@gnome.org>
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_IPOD_SOURCE_H
23 #define __RB_IPOD_SOURCE_H
25 #include "rb-shell.h"
26 #include "rb-removable-media-source.h"
27 #include "rhythmdb.h"
29 G_BEGIN_DECLS
31 #define RB_TYPE_IPOD_SOURCE (rb_ipod_source_get_type ())
32 #define RB_IPOD_SOURCE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), RB_TYPE_IPOD_SOURCE, RBiPodSource))
33 #define RB_IPOD_SOURCE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), RB_TYPE_IPOD_SOURCE, RBiPodSourceClass))
34 #define RB_IS_IPOD_SOURCE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), RB_TYPE_IPOD_SOURCE))
35 #define RB_IS_IPOD_SOURCE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), RB_TYPE_IPOD_SOURCE))
36 #define RB_IPOD_SOURCE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), RB_TYPE_IPOD_SOURCE, RBiPodSourceClass))
38 typedef struct
40 RBRemovableMediaSource parent;
41 } RBiPodSource;
43 typedef struct
45 RBRemovableMediaSourceClass parent;
46 } RBiPodSourceClass;
48 RBRemovableMediaSource * rb_ipod_source_new (RBShell *shell, GnomeVFSVolume *volume);
49 GType rb_ipod_source_get_type (void);
50 GType rb_ipod_source_register_type (GTypeModule *module);
52 gboolean rb_ipod_is_volume_ipod (GnomeVFSVolume *volume);
54 G_END_DECLS
56 #endif /* __RB_IPOD_SOURCE_H */