diff --git a/src/screen_browser.h b/src/screen_browser.h
index 2b825c03a0e9985dedfc0dd2bc72ac78173880ac..1cc0b2744a5505dc85890e993e5b503d88fdb2be 100644 (file)
--- a/src/screen_browser.h
+++ b/src/screen_browser.h
/*
- * $Id$
- *
* (c) 2004 by Kalle Wallin <kaw@linux.se>
* Copyright (C) 2008 Max Kellermann <max@duempel.org>
*
struct screen_browser {
struct list_window *lw;
- struct list_window_state *lw_state;
mpdclient_filelist_t *filelist;
};
+#ifndef NCMPC_MINI
+
void
sync_highlights(mpdclient_t *c, mpdclient_filelist_t *fl);
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);
+#endif
-int
+const char *browser_lw_callback(unsigned index, bool *highlight, void *filelist);
+
+bool
browser_change_directory(struct screen_browser *browser, mpdclient_t *c,
filelist_entry_t *entry, const char *new_path);
bool
-browser_cmd(struct screen_browser *browser, struct screen *screen,
+browser_cmd(struct screen_browser *browser,
struct mpdclient *c, command_t cmd);
#endif