diff --git a/src/song_paint.h b/src/song_paint.h
index c4581aafc3ebd664b7de1a3ff91f3b04225216f0..808109517530240f32a8d5c512dd3429a5e95a19 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-2010 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 <stdbool.h>
+#include "config.h"
+#include "ncmpc_curses.h"
-#ifdef HAVE_NCURSESW_NCURSES_H
-#include <ncursesw/ncurses.h>
-#else
-#include <ncurses.h>
-#endif
+#include <stdbool.h>
struct mpd_song;
+struct hscroll;
/**
* Paints a song into a list window row. The cursor must be set to
* @param selected true if the row is selected
* @param highlight true if the row is highlighted
* @param song the song object
+ * @param hscroll an optional hscroll object
*/
void
paint_song_row(WINDOW *w, unsigned y, unsigned width,
- bool selected, bool highlight, const struct mpd_song *song);
+ bool selected, bool highlight, const struct mpd_song *song,
+ struct hscroll *hscroll);
#endif