2006-10-30 James Livingston <doclivingston@gmail.com>
[rhythmbox.git] / shell / rb-shell-preferences.h
blob30029f539c70d4cfac92db67a89b5110112dfd1e
1 /*
2 * arch-tag: Header for preferences dialog 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 #include <gtk/gtkdialog.h>
23 #include "rb-preferences.h"
25 #ifndef __RB_SHELL_PREFERENCES_H
26 #define __RB_SHELL_PREFERENCES_H
28 G_BEGIN_DECLS
30 #define RB_TYPE_SHELL_PREFERENCES (rb_shell_preferences_get_type ())
31 #define RB_SHELL_PREFERENCES(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), RB_TYPE_SHELL_PREFERENCES, RBShellPreferences))
32 #define RB_SHELL_PREFERENCES_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), RB_TYPE_SHELL_PREFERENCES, RBShellPreferencesClass))
33 #define RB_IS_SHELL_PREFERENCES(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), RB_TYPE_SHELL_PREFERENCES))
34 #define RB_IS_SHELL_PREFERENCES_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), RB_TYPE_SHELL_PREFERENCES))
35 #define RB_SHELL_PREFERENCES_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), RB_TYPE_SHELL_PREFERENCES, RBShellPreferencesClass))
37 typedef struct RBShellPreferencesPrivate RBShellPreferencesPrivate;
39 typedef struct
41 GtkDialog parent;
43 RBShellPreferencesPrivate *priv;
44 } RBShellPreferences;
46 typedef struct
48 GtkDialogClass parent_class;
49 } RBShellPreferencesClass;
51 GType rb_shell_preferences_get_type (void);
53 GtkWidget *rb_shell_preferences_new (GList *views);
54 void rb_shell_preferences_append_page (RBShellPreferences *prefs,
55 const char *name,
56 GtkWidget *widget);
58 G_END_DECLS
60 #endif /* __RB_SHELL_PREFERENCES_H */