aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_browser.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-18 23:35:12 +0200
committerMax Kellermann <max@duempel.org>2008-09-18 23:35:12 +0200
commit92cf0efffffeb95fbefc57505d778e6fdbd772d4 (patch)
tree153b81b6b0903d1a32a00ab6d4d71816e49b9924 /src/screen_browser.h
parentcde030e211b3d9ea517403b5d5547b6d374fc470 (diff)
downloadmpd-92cf0efffffeb95fbefc57505d778e6fdbd772d4.tar.gz
mpd-92cf0efffffeb95fbefc57505d778e6fdbd772d4.tar.xz
mpd-92cf0efffffeb95fbefc57505d778e6fdbd772d4.zip
screen_browser: moved code to browser_playlist_changed()
Merge code from all 3 browser screens into one generic browser function.
Diffstat (limited to '')
-rw-r--r--src/screen_browser.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/screen_browser.h b/src/screen_browser.h
index fbe131c58..a867eda0a 100644
--- a/src/screen_browser.h
+++ b/src/screen_browser.h
@@ -36,12 +36,12 @@ struct screen_browser {
mpdclient_filelist_t *filelist;
};
-void clear_highlights(mpdclient_filelist_t *filelist);
-void sync_highlights(mpdclient_t *c, mpdclient_filelist_t *filelist);
-void set_highlight(mpdclient_filelist_t *filelist,
- mpd_Song *song,
- int highlight);
+void
+sync_highlights(mpdclient_t *c, mpdclient_filelist_t *fl);
+void
+browser_playlist_changed(struct screen_browser *browser, mpdclient_t *c,
+ int event, gpointer data);
const char *browser_lw_callback(unsigned index, int *highlight, void *filelist);