new feature: outputs screen

This commit is contained in:
Andrzej Rybczak
2009-05-26 22:07:08 +02:00
parent 049d0d9b35
commit 5a2853b36a
11 changed files with 245 additions and 4 deletions

View File

@@ -64,9 +64,12 @@ namespace MPD
bool StatusFlags:1;
};
typedef std::pair<std::string, bool> Output;
typedef std::vector<Item> ItemList;
typedef std::vector<Song *> SongList;
typedef std::vector<std::string> TagList;
typedef std::vector<Output> OutputList;
void FreeSongList(SongList &);
void FreeItemList(ItemList &);
@@ -177,6 +180,10 @@ namespace MPD
void GetSongs(const std::string &, SongList &) const;
void GetDirectories(const std::string &, TagList &) const;
void GetOutputs(OutputList &) const;
bool EnableOutput(int);
bool DisableOutput(int);
private:
int CheckForErrors();