~ubuntu-branches/ubuntu/utopic/rhythmbox/utopic-proposed

« back to all changes in this revision

Viewing changes to shell/rb-statusbar.h

Tags: upstream-0.9.2
ImportĀ upstreamĀ versionĀ 0.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 *
20
20
 */
21
21
 
22
 
#include <gtk/gtkhbox.h>
 
22
#include <gtk/gtkstatusbar.h>
 
23
#include <gtk/gtkactiongroup.h>
23
24
 
24
25
#include "rb-shell-player.h"
25
26
#include "rb-source.h"
41
42
 
42
43
typedef struct
43
44
{
44
 
        GtkHBox parent;
 
45
        GtkStatusbar parent;
45
46
 
46
47
        RBStatusbarPrivate *priv;
47
48
} RBStatusbar;
48
49
 
49
50
typedef struct
50
51
{
51
 
        GtkHBoxClass parent_class;
 
52
        GtkStatusbarClass parent_class;
52
53
} RBStatusbarClass;
53
54
 
54
55
GType                   rb_statusbar_get_type   (void);
55
56
 
56
57
RBStatusbar *           rb_statusbar_new        (RhythmDB *db,
57
 
                                                 BonoboUIComponent *component,
 
58
                                                 GtkActionGroup *actiongroup,
58
59
                                                 RBShellPlayer *player);
59
60
 
60
61
void                    rb_statusbar_set_source (RBStatusbar *bar,
61
62
                                                 RBSource *player);
62
63
 
63
 
void                    rb_statusbar_set_progress(RBStatusbar *bar, double progress);
 
64
void                    rb_statusbar_set_progress(RBStatusbar *bar, 
 
65
                                                  double progress,
 
66
                                                  const char *text);
 
67
 
64
68
void                    rb_statusbar_sync_state (RBStatusbar *statusbar);
65
69
 
66
70
G_END_DECLS