drop libmpd dependency in favor of its own libmpdclient wrapper

This commit is contained in:
unknown
2008-08-17 21:23:21 +02:00
parent 7a6bd17396
commit 1c2ef6fc6a
12 changed files with 3772 additions and 389 deletions

View File

@@ -24,20 +24,13 @@
#include <algorithm>
#include "ncmpcpp.h"
#include "mpdpp.h"
#include "settings.h"
#include "song.h"
struct BrowsedItem
{
BrowsedItem() : hash(0) { }
string name;
MpdDataType type;
long long hash;
};
extern ncmpcpp_config Config;
bool SortSongsByTrack(const Song &, const Song &);
bool SortSongsByTrack(Song *, Song *);
bool CaseInsensitiveComparison(string, string);
void WindowTitle(const string &);
string TotalPlaylistLength();
@@ -46,7 +39,7 @@ void ShowMessage(const string &, int = Config.message_delay_time);
void GetDirectory(string);
bool GetSongInfo(Song &);
void PrepareSearchEngine(Song &s);
void Search(vector<Song> &, Song &);
void Search(SongList &, Song &);
#endif