Mercurial > hg > svcore
comparison data/fileio/MP3FileReader.h @ 632:a4b8ad0f1a8f
* Some sketchy track lookup code
author | Chris Cannam |
---|---|
date | Fri, 19 Mar 2010 12:21:59 +0000 |
parents | 183ee2a55fc7 |
children | f3cda3280398 59e7fe1b1003 |
comparison
equal
deleted
inserted
replaced
631:3a5ee4b6c9ad | 632:a4b8ad0f1a8f |
---|---|
47 virtual QString getError() const { return m_error; } | 47 virtual QString getError() const { return m_error; } |
48 | 48 |
49 virtual QString getLocation() const { return m_source.getLocation(); } | 49 virtual QString getLocation() const { return m_source.getLocation(); } |
50 virtual QString getTitle() const { return m_title; } | 50 virtual QString getTitle() const { return m_title; } |
51 virtual QString getMaker() const { return m_maker; } | 51 virtual QString getMaker() const { return m_maker; } |
52 virtual TagMap getTags() const { return m_tags; } | |
52 | 53 |
53 static void getSupportedExtensions(std::set<QString> &extensions); | 54 static void getSupportedExtensions(std::set<QString> &extensions); |
54 static bool supportsExtension(QString ext); | 55 static bool supportsExtension(QString ext); |
55 static bool supportsContentType(QString type); | 56 static bool supportsContentType(QString type); |
56 static bool supports(FileSource &source); | 57 static bool supports(FileSource &source); |
68 FileSource m_source; | 69 FileSource m_source; |
69 QString m_path; | 70 QString m_path; |
70 QString m_error; | 71 QString m_error; |
71 QString m_title; | 72 QString m_title; |
72 QString m_maker; | 73 QString m_maker; |
74 TagMap m_tags; | |
73 size_t m_fileSize; | 75 size_t m_fileSize; |
74 double m_bitrateNum; | 76 double m_bitrateNum; |
75 size_t m_bitrateDenom; | 77 size_t m_bitrateDenom; |
76 int m_completion; | 78 int m_completion; |
77 bool m_done; | 79 bool m_done; |