From ed61ec21a21378e55dcfa87c04b2a6823e74e67f Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Sun, 6 Dec 2009 19:17:33 +0100 Subject: column sorting --- playlist.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'playlist.h') diff --git a/playlist.h b/playlist.h index ec2b8ecd..5a4d5208 100644 --- a/playlist.h +++ b/playlist.h @@ -170,7 +170,7 @@ pl_get_item_duration (playItem_t *it); // returns number of characters printed, not including trailing 0 // [a]rtist, [t]itle, al[b]um, [l]ength, track[n]umber int -pl_format_title (playItem_t *it, char *s, int size, const char *fmt); +pl_format_title (playItem_t *it, char *s, int size, int id, const char *fmt); void pl_reset_cursor (void); @@ -211,4 +211,7 @@ pl_move_items (int iter, playItem_t *drop_before, uint32_t *indexes, int count); int pl_process_search (const char *text); +void +pl_sort (int id, const char *format, int ascending); + #endif // __PLAYLIST_H -- cgit v1.2.3