libsaria: Give access to pause_count
Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
This commit is contained in:
parent
9d271740aa
commit
dc57109d9e
|
@ -27,6 +27,7 @@ namespace libsaria
|
|||
void tracks_removed(list<Track> &);
|
||||
void set_pause_type(AutoPauseType, unsigned int);
|
||||
AutoPauseType get_pause_type();
|
||||
unsigned short get_pause_count();
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ static unsigned int num_static = 0;
|
|||
static void (*on_new_playlist)(libsaria::Playlist *) = NULL;
|
||||
|
||||
static AutoPauseType pause_type;
|
||||
static unsigned int pause_count = 0;
|
||||
static unsigned short pause_count = 0;
|
||||
|
||||
static list<libsaria::Playlist *> playlist_deck;
|
||||
static libsaria::List recent_plist("Recent", PL_STATIC | PL_NO_DRAIN);
|
||||
|
@ -186,4 +186,9 @@ namespace libsaria
|
|||
return pause_type;
|
||||
}
|
||||
|
||||
unsigned short deck::get_pause_count()
|
||||
{
|
||||
return pause_count;
|
||||
}
|
||||
|
||||
}; /* Namespace: libsaria */
|
||||
|
|
Loading…
Reference in New Issue