song: scrap pimpl

This commit is contained in:
Andrzej Rybczak
2012-08-29 15:51:35 +02:00
parent b06e620913
commit 09e2c9a714
2 changed files with 60 additions and 66 deletions

View File

@@ -77,10 +77,12 @@ struct Song
static const char FormatEscapeCharacter = 1;
private:
const char *getTag(mpd_tag_type type, unsigned idx) const;
std::string ParseFormat(std::string::const_iterator &it, const std::string &tag_separator,
const std::string &escape_chars) const;
std::shared_ptr<struct SongImpl> pimpl;
std::shared_ptr<mpd_song> m_song;
unsigned m_hash;
};
}