![]() |
![]() |
![]() |
Rhythmbox Development Reference Manual | ![]() |
---|---|---|---|---|
typedef RBPlayOrderPrivate; void rb_play_order_playing_source_changed (RBPlayOrder *porder, RBSource *source); gboolean rb_play_order_has_next (RBPlayOrder *porder); RhythmDBEntry* rb_play_order_get_next (RBPlayOrder *porder); void rb_play_order_go_next (RBPlayOrder *porder); gboolean rb_play_order_has_previous (RBPlayOrder *porder); RhythmDBEntry* rb_play_order_get_previous (RBPlayOrder *porder); void rb_play_order_go_previous (RBPlayOrder *porder); RBShellPlayer* rb_play_order_get_player (RBPlayOrder *porder); RBSource* rb_play_order_get_source (RBPlayOrder *porder); RhythmDB* rb_play_order_get_db (RBPlayOrder *porder); RhythmDBEntry* rb_play_order_get_playing_entry (RBPlayOrder *porder); gboolean rb_play_order_player_is_playing (RBPlayOrder *porder);
void rb_play_order_playing_source_changed (RBPlayOrder *porder, RBSource *source);
Sets the playing RBSource for the play order. Should be called
by RBShellPlayer when the active source changes. Subclasses
should implement playing_source_changed()
to make any necessary
changes.
|
RBPlayOrder instance |
|
New playing RBSource |
gboolean rb_play_order_has_next (RBPlayOrder *porder);
If there is no current playing entry, returns true if the play order is non-empty.
|
RBPlayOrder instance. |
Returns : |
true if there is an entry after the current playing entry in the play order. |
RhythmDBEntry* rb_play_order_get_next (RBPlayOrder *porder);
|
RBPlayOrder instance |
Returns : |
the next entry in the play order, or the first if not currently playing. |
void rb_play_order_go_next (RBPlayOrder *porder);
Moves to the next entry in the play order. If not currently playing, sets the first entry in the play order as the playing entry.
|
RBPlayOrder instance |
gboolean rb_play_order_has_previous (RBPlayOrder *porder);
|
RBPlayOrder instance |
Returns : |
true if there is an entry before the current entry in the play order. If not currently playing, returns false. |
RhythmDBEntry* rb_play_order_get_previous (RBPlayOrder *porder);
|
RBPlayOrder instance |
Returns : |
the previous entry in the play order, or NULL if not currently playing. |
void rb_play_order_go_previous (RBPlayOrder *porder);
Moves to the previous entry in the play order. If not currently playing, does nothing.
|
RBPlayOrder instance |
RBShellPlayer* rb_play_order_get_player (RBPlayOrder *porder);
Only for use by RBPlayOrder subclasses.
|
RBPlayOrder instance |
Returns : |
RBShellPlayer instance |
RBSource* rb_play_order_get_source (RBPlayOrder *porder);
Only for use by RBPlayOrder subclasses.
|
RBPlayOrder instance |
Returns : |
the playing RBSource instance. |
RhythmDB* rb_play_order_get_db (RBPlayOrder *porder);
Only for use by RBPlayOrder subclasses.
|
RBPlayOrder instance |
Returns : |
the RhythmDB instance. |
RhythmDBEntry* rb_play_order_get_playing_entry (RBPlayOrder *porder);
|
RBPlayOrder instance |
Returns : |
the current playing entry in the play order. |
gboolean rb_play_order_player_is_playing (RBPlayOrder *porder);
|
RBPlayOrder instance |
Returns : |
true if there is a current playing entry in the play order. |