group various functions more logically

This commit is contained in:
Andrzej Rybczak
2009-02-10 15:51:55 +01:00
parent 256bb429b5
commit d82577e357
22 changed files with 896 additions and 825 deletions

View File

@@ -32,34 +32,25 @@ class CaseInsensitiveSorting
{
public:
bool operator()(std::string, std::string);
bool operator()(Song *, Song *);
bool operator()(MPD::Song *, MPD::Song *);
bool operator()(const MPD::Item &, const MPD::Item &);
};
template <class T> void GenericDisplayer(const T &t, void *, Menu<T> *menu)
{
*menu << t;
}
bool SortSongsByTrack(MPD::Song *, MPD::Song *);
bool SortSongsByTrack(Song *, Song *);
void UpdateSongList(Menu<Song> *);
void UpdateSongList(Menu<MPD::Song> *);
bool Keypressed(int, const int *);
void WindowTitle(const std::string &);
void EscapeUnallowedChars(std::string &);
Window &operator<<(Window &, mpd_TagItems);
std::string IntoStr(mpd_TagItems);
std::string FindSharedDir(const std::string &, const std::string &);
void DisplayTotalPlaylistLength(Window &);
void DisplayStringPair(const StringPair &, void *, Menu<StringPair> *);
std::string DisplayColumns(std::string);
void DisplaySongInColumns(const Song &, void *, Menu<Song> *);
void DisplaySong(const Song &, void * = &Config.song_list_format, Menu<Song> * = NULL);
void GetInfo(Song &, Scrollpad &);
void GetInfo(MPD::Song &, Scrollpad &);
std::string GetLineValue(std::string &, char = '"', char = '"', bool = 0);
Window &Statusbar();