Updated Macedonian Translation <arangela@cvs.gnome.org>
[rhythmbox.git] / sources / rb-library-source.h
blobc0255dde78e14bc57e8ed77a4ca62c71c2d4ac61
1 /*
2 * arch-tag: Header for local file source object
4 * Copyright (C) 2002 Jorn Baayen <jorn@nl.linux.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_LIBRARY_SOURCE_H
23 #define __RB_LIBRARY_SOURCE_H
25 #include <gtk/gtkwindow.h>
26 #include <gtk/gtkactiongroup.h>
28 #include "rb-shell.h"
29 #include "rb-browser-source.h"
30 #include "rhythmdb.h"
32 G_BEGIN_DECLS
34 #define RB_TYPE_LIBRARY_SOURCE (rb_library_source_get_type ())
35 #define RB_LIBRARY_SOURCE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), RB_TYPE_LIBRARY_SOURCE, RBLibrarySource))
36 #define RB_LIBRARY_SOURCE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), RB_TYPE_LIBRARY_SOURCE, RBLibrarySourceClass))
37 #define RB_IS_LIBRARY_SOURCE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), RB_TYPE_LIBRARY_SOURCE))
38 #define RB_IS_LIBRARY_SOURCE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), RB_TYPE_LIBRARY_SOURCE))
39 #define RB_LIBRARY_SOURCE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), RB_TYPE_LIBRARY_SOURCE, RBLibrarySourceClass))
42 typedef struct RBLibrarySourcePrivate RBLibrarySourcePrivate;
44 typedef struct
46 RBBrowserSource parent;
48 RBLibrarySourcePrivate *priv;
49 } RBLibrarySource;
51 typedef struct
53 RBBrowserSourceClass parent;
54 } RBLibrarySourceClass;
56 GType rb_library_source_get_type (void);
58 RBSource * rb_library_source_new (RBShell *shell);
60 void rb_library_source_add_location (RBLibrarySource *source, GtkWindow *win);
63 G_END_DECLS
65 #endif /* __RB_LIBRARY_SOURCE_H */