diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-07-08 18:43:31 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-07-08 18:43:31 +0200 |
commit | ce1ae490f2c6b2d967aa4b47c69846ed2365d9d9 (patch) | |
tree | c77ee7c7c556d7d890afac898e9902f653272207 /playlist.h | |
parent | 1197343dd5a9ed3964cdb610a294ed18d541bb09 (diff) |
moved all playlist_current handling into playlist module
Diffstat (limited to 'playlist.h')
-rw-r--r-- | playlist.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -14,7 +14,8 @@ typedef struct playItem_s { extern playItem_t *playlist_head; // head of linked list extern playItem_t *playlist_tail; // tail of linked list -extern playItem_t *playlist_current; +extern playItem_t *playlist_current_ptr; // pointer to a real current playlist item +extern playItem_t playlist_current; // copy of playlist item being played (stays in memory even if removed from playlist) int ps_add_file (const char *fname); @@ -43,4 +44,7 @@ ps_get_idx_of (playItem_t *it); int ps_add_cue (const char *cuename); +void +ps_set_current (playItem_t *it); + #endif // __PLAYLIST_H |