Updated Finnish translation
[rhythmbox.git] / daapsharing / rb-daap-share.h
bloba95e5c74b6aef1bae47aba6a04888a90a06e4067
1 /*
2 * Header for DAAP (iTunes Music Sharing) sharing
4 * Copyright (C) 2005 Charles Schmidt <cschmidt2@emich.edu>
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_DAAP_SHARE_H
23 #define __RB_DAAP_SHARE_H
25 #include <glib-object.h>
26 #include "rhythmdb.h"
27 #include "rb-playlist-manager.h"
29 G_BEGIN_DECLS
31 #define RB_TYPE_DAAP_SHARE (rb_daap_share_get_type ())
32 #define RB_DAAP_SHARE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), RB_TYPE_DAAP_SHARE, RBDAAPShare))
33 #define RB_DAAP_SHARE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), RB_TYPE_DAAP_SHARE, RBDAAPShareClass))
34 #define RB_IS_DAAP_SHARE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), RB_TYPE_DAAP_SHARE))
35 #define RB_IS_DAAP_SHARE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), RB_TYPE_DAAP_SHARE))
36 #define RB_DAAP_SHARE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), RB_TYPE_DAAP_SHARE, RBDAAPShareClass))
38 typedef struct RBDAAPSharePrivate RBDAAPSharePrivate;
40 typedef struct {
41 GObject parent;
43 RBDAAPSharePrivate *priv;
44 } RBDAAPShare;
46 typedef struct {
47 GObjectClass parent;
48 } RBDAAPShareClass;
50 GType rb_daap_share_get_type (void);
52 RBDAAPShare * rb_daap_share_new (const char *name,
53 const char *password,
54 RhythmDB *db,
55 RBPlaylistManager *playlist_manager);
57 #endif /* __RB_DAAP_SHARE_H */
59 G_END_DECLS