aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_browser.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-18 23:35:11 +0200
committerMax Kellermann <max@duempel.org>2008-09-18 23:35:11 +0200
commitb7d7beeed8cab78bcc7c3df2f63a93bf682f84ca (patch)
tree224e12b558e5402ebb8883b297dd7fcbbe1b818a /src/screen_browser.h
parenta8cf6c4f3ebad251ec0f28f9c6b0e3880528c950 (diff)
downloadmpd-b7d7beeed8cab78bcc7c3df2f63a93bf682f84ca.tar.gz
mpd-b7d7beeed8cab78bcc7c3df2f63a93bf682f84ca.tar.xz
mpd-b7d7beeed8cab78bcc7c3df2f63a93bf682f84ca.zip
renamed screen_browse.h to screen_browser.h
Diffstat (limited to 'src/screen_browser.h')
-rw-r--r--src/screen_browser.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/screen_browser.h b/src/screen_browser.h
new file mode 100644
index 000000000..0726d0b35
--- /dev/null
+++ b/src/screen_browser.h
@@ -0,0 +1,34 @@
+
+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);
+
+
+const char *browse_lw_callback(unsigned index, int *highlight, void *filelist);
+
+int browse_handle_select(screen_t *screen,
+ mpdclient_t *c,
+ list_window_t *lw,
+ mpdclient_filelist_t *filelist);
+int browse_handle_select_all (screen_t *screen,
+ mpdclient_t *c,
+ list_window_t *lw,
+ mpdclient_filelist_t *filelist);
+int browse_handle_enter(screen_t *screen,
+ mpdclient_t *c,
+ list_window_t *lw,
+ mpdclient_filelist_t *filelist);
+
+#ifdef HAVE_GETMOUSE
+int browse_handle_mouse_event(screen_t *screen,
+ mpdclient_t *c,
+ list_window_t *lw,
+ mpdclient_filelist_t *filelist);
+#else
+#define browse_handle_mouse_event(s,c,lw,filelist) (0)
+#endif
+
+
+