summaryrefslogtreecommitdiff
path: root/tag.h
diff options
context:
space:
mode:
Diffstat (limited to 'tag.h')
-rw-r--r--tag.h21
1 files changed, 21 insertions, 0 deletions
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 <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