From 5799070fea8f11ced32d57c6c38017c7671b0773 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Thu, 30 Dec 2010 18:38:50 +0100 Subject: Added an ID3 tag reader. --- tag.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tag.h (limited to 'tag.h') diff --git a/tag.h b/tag.h new file mode 100644 index 0000000..83a1f6d --- /dev/null +++ b/tag.h @@ -0,0 +1,21 @@ +#ifndef TAG_H +#define TAG_H + +#include +#include + +class Tag { + public: + typedef std::map 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 -- cgit v1.2.3