2 * arch-tag: Header for status display widget
4 * Copyright (C) 2003 Colin Walters <walters@verbum.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/gtkstatusbar.h>
23 #include <gtk/gtkactiongroup.h>
25 #include "rb-source.h"
28 #ifndef __RB_STATUSBAR_H
29 #define __RB_STATUSBAR_H
33 #define RB_TYPE_STATUSBAR (rb_statusbar_get_type ())
34 #define RB_STATUSBAR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), RB_TYPE_STATUSBAR, RBStatusbar))
35 #define RB_STATUSBAR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), RB_TYPE_STATUSBAR, RBStatusbarClass))
36 #define RB_IS_STATUSBAR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), RB_TYPE_STATUSBAR))
37 #define RB_IS_STATUSBAR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), RB_TYPE_STATUSBAR))
38 #define RB_STATUSBAR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), RB_TYPE_STATUSBAR, RBStatusbarClass))
40 typedef struct RBStatusbarPrivate RBStatusbarPrivate
;
46 RBStatusbarPrivate
*priv
;
51 GtkStatusbarClass parent_class
;
54 GType
rb_statusbar_get_type (void);
56 RBStatusbar
* rb_statusbar_new (RhythmDB
*db
,
57 GtkActionGroup
*actiongroup
);
59 void rb_statusbar_set_source (RBStatusbar
*bar
,
62 void rb_statusbar_set_progress(RBStatusbar
*bar
,
68 #endif /* __RB_STATUSBAR_H */