summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a8cf6c4)
raw | patch | inline | side by side (parent: a8cf6c4)
author | Max Kellermann <max@duempel.org> | |
Thu, 18 Sep 2008 21:35:11 +0000 (23:35 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Thu, 18 Sep 2008 21:35:11 +0000 (23:35 +0200) |
src/Makefile.am | patch | blob | history | |
src/screen_artist.c | patch | blob | history | |
src/screen_browse.h | [deleted file] | patch | blob | history |
src/screen_browser.h | [new file with mode: 0644] | patch | blob |
src/screen_file.c | patch | blob | history | |
src/screen_search.c | patch | blob | history |
diff --git a/src/Makefile.am b/src/Makefile.am
index b652ede98b89d723b5049bb276e48de3d96cacd9..f156c44460fee8a8e974fa9581f9cf28def7a0c2 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
strfsong.h\
utils.h\
ncmpc.h\
- screen_browse.h\
+ screen_browser.h \
lyrics.h \
str_pool.h \
gcc.h
diff --git a/src/screen_artist.c b/src/screen_artist.c
index 0798210b5b3e6331bc909c543a95a53a03da0e9b..2f77966773db379f8a170d0df1f6e70f19637d88 100644 (file)
--- a/src/screen_artist.c
+++ b/src/screen_artist.c
#include "command.h"
#include "screen.h"
#include "screen_utils.h"
-#include "screen_browse.h"
+#include "screen_browser.h"
#include "gcc.h"
#include <ctype.h>
diff --git a/src/screen_browse.h b/src/screen_browse.h
--- a/src/screen_browse.h
+++ /dev/null
@@ -1,34 +0,0 @@
-
-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
-
-
-
diff --git a/src/screen_browser.h b/src/screen_browser.h
--- /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
+
+
+
diff --git a/src/screen_file.c b/src/screen_file.c
index 06cd28ede74590f22dcff5fe59c257f04e6a852d..5b66d6f52417a24ea615ebb393ddd344ff5f6ee2 100644 (file)
--- a/src/screen_file.c
+++ b/src/screen_file.c
#include "command.h"
#include "screen.h"
#include "screen_utils.h"
-#include "screen_browse.h"
+#include "screen_browser.h"
#include "screen_play.h"
#include "gcc.h"
diff --git a/src/screen_search.c b/src/screen_search.c
index 7e971f50124269655fb55e4e13a191380efc1aef..8a7f9b1df5b5f400d06b1a5e081c31c668da47cf 100644 (file)
--- a/src/screen_search.c
+++ b/src/screen_search.c
#include "screen.h"
#include "utils.h"
#include "screen_utils.h"
-#include "screen_browse.h"
+#include "screen_browser.h"
#include "gcc.h"
#include <ctype.h>