diff --git a/src/song_paint.h b/src/song_paint.h
index 86cdfd9780842c5a33a12ce331ff4563bec24478..46fbfe8bd653cf37438dcfe4ff6ca870c6a90f05 100644 (file)
--- a/src/song_paint.h
+++ b/src/song_paint.h
/* ncmpc (Ncurses MPD Client)
- * (c) 2004-2009 The Music Player Daemon Project
+ * (c) 2004-2017 The Music Player Daemon Project
* Project homepage: http://musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-*/
+ */
#ifndef NCMPC_SONG_PAINT_H
#define NCMPC_SONG_PAINT_H
#include "config.h"
+#include "ncmpc_curses.h"
#include <stdbool.h>
-#ifdef HAVE_NCURSESW_NCURSES_H
-#include <ncursesw/ncurses.h>
-#else
-#include <ncurses.h>
-#endif
-
struct mpd_song;
struct hscroll;
* @param highlight true if the row is highlighted
* @param song the song object
* @param hscroll an optional hscroll object
+ * @param format the song format
*/
void
paint_song_row(WINDOW *w, unsigned y, unsigned width,
bool selected, bool highlight, const struct mpd_song *song,
- struct hscroll *hscroll);
+ struct hscroll *hscroll, const char *format);
#endif