diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-12-30 18:38:50 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-12-30 22:33:22 +0100 |
commit | 5799070fea8f11ced32d57c6c38017c7671b0773 (patch) | |
tree | be1eb88c4a77572de7e26e102aa6420a7825c98b /tag.h | |
parent | 2e2221b2eda1c089688b3e87b42b0dc6720f6c59 (diff) |
Added an ID3 tag reader.
Diffstat (limited to 'tag.h')
-rw-r--r-- | tag.h | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -0,0 +1,21 @@ +#ifndef TAG_H +#define TAG_H + +#include <string> +#include <map> + +class Tag { + public: + typedef std::map<std::string, std::string> Fields; + Fields fields; +}; + +class ID3Tag : public Tag { + private: + void tag_add_string(struct id3_tag *id3tag, const char *type, const char *id); + + public: + ID3Tag(const std::string filename); +}; + +#endif |