From: Max Kellermann Date: Thu, 18 Sep 2008 21:35:11 +0000 (+0200) Subject: renamed screen_browse.h to screen_browser.h X-Git-Tag: v0.12_alpha1~239 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b7d7beeed8cab78bcc7c3df2f63a93bf682f84ca;p=ncmpc.git renamed screen_browse.h to screen_browser.h --- diff --git a/src/Makefile.am b/src/Makefile.am index b652ede..f156c44 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -28,7 +28,7 @@ ncmpc_headers = \ 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 0798210..2f77966 100644 --- a/src/screen_artist.c +++ b/src/screen_artist.c @@ -30,7 +30,7 @@ #include "command.h" #include "screen.h" #include "screen_utils.h" -#include "screen_browse.h" +#include "screen_browser.h" #include "gcc.h" #include diff --git a/src/screen_browse.h b/src/screen_browse.h deleted file mode 100644 index 0726d0b..0000000 --- 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 new file mode 100644 index 0000000..0726d0b --- /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 06cd28e..5b66d6f 100644 --- a/src/screen_file.c +++ b/src/screen_file.c @@ -27,7 +27,7 @@ #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 7e971f5..8a7f9b1 100644 --- a/src/screen_search.c +++ b/src/screen_search.c @@ -30,7 +30,7 @@ #include "screen.h" #include "utils.h" #include "screen_utils.h" -#include "screen_browse.h" +#include "screen_browser.h" #include "gcc.h" #include