diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2009-02-13 17:24:06 +0100 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2009-02-13 17:24:06 +0100 |
commit | 8ba72bc78ae92d1ed5b4cdfb81e4879680362961 (patch) | |
tree | 18bcc32991a8a8dc6872d7c8dc45eb58d229bd46 /src/ncmpcpp.h | |
parent | 29301aefd5a9dae4163c29db37a069eef8004cc8 (diff) |
separate some code from ncmpcpp.cpp
Diffstat (limited to 'src/ncmpcpp.h')
-rw-r--r-- | src/ncmpcpp.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ncmpcpp.h b/src/ncmpcpp.h index e65b3e80..b6465bee 100644 --- a/src/ncmpcpp.h +++ b/src/ncmpcpp.h @@ -26,6 +26,12 @@ #include "scrollpad.h" #include "misc.h" +#define CLEAR_FIND_HISTORY \ + do { \ + found_pos = -1; \ + vFoundPositions.clear(); \ + } while (0) + typedef std::pair<std::string, std::string> string_pair; enum NcmpcppScreen @@ -33,14 +39,20 @@ enum NcmpcppScreen csHelp, csPlaylist, csBrowser, +# ifdef HAVE_TAGLIB_H csTinyTagEditor, +# endif // HAVE_TAGLIB_H csInfo, csSearcher, csLibrary, csLyrics, csPlaylistEditor, +# ifdef HAVE_TAGLIB_H csTagEditor, +# endif // HAVE_TAGLIB_H +# ifdef ENABLE_CLOCK csClock, +# endif // ENABLE_CLOCK csOther }; @@ -48,5 +60,7 @@ const int ncmpcpp_window_timeout = 500; const std::string home_folder = getenv("HOME") ? getenv("HOME") : ""; +const char * const message_part_of_songs_added = "Only part of requested songs' list added to playlist!"; + #endif |