-
Notifications
You must be signed in to change notification settings - Fork 7
/
getid3.h
41 lines (27 loc) · 787 Bytes
/
getid3.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
tag::read::ID3
copyright (c) 2004, 2005 squell <[email protected]>
use, modification, copying and distribution of this software is permitted
under the conditions described in the file 'COPYING'.
Usage:
The read::ID3 class implements the reader interface for ID3 tags
*/
#ifndef __ZF_GETID3
#define __ZF_GETID3
#include <string>
#include "set_base.h"
#include "id3v1.h"
namespace tag {
namespace read {
class ID3 : public metadata {
public:
ID3v1 const tag;
typedef metadata::factory<ID3> factory;
explicit ID3(const char* fn);
value_string operator[](ID3field field) const;
array listing() const;
operator bool() const { return tag.TAG[0]; }
};
}
}
#endif