Changeset View
Changeset View
Standalone View
Standalone View
src/extractors/taglibextractor.h
Show All 19 Lines | |||||
20 | 20 | | |||
21 | #ifndef TAGLIBEXTRACTOR_H | 21 | #ifndef TAGLIBEXTRACTOR_H | ||
22 | #define TAGLIBEXTRACTOR_H | 22 | #define TAGLIBEXTRACTOR_H | ||
23 | 23 | | |||
24 | #include "extractorplugin.h" | 24 | #include "extractorplugin.h" | ||
25 | #include <tstring.h> | 25 | #include <tstring.h> | ||
26 | #include <tstringlist.h> | 26 | #include <tstringlist.h> | ||
27 | #include <tfilestream.h> | 27 | #include <tfilestream.h> | ||
28 | 28 | | |||
bruns: Side note - I think `tfilestream.h` is no longer needed. | |||||
astippich: Is it okay if I push this directly? | |||||
29 | namespace TagLib | 29 | namespace TagLib | ||
30 | { | 30 | { | ||
31 | namespace ASF { | ||||
32 | class Tag; | ||||
33 | } | ||||
31 | namespace ID3v2 { | 34 | namespace ID3v2 { | ||
32 | class Tag; | 35 | class Tag; | ||
33 | } | 36 | } | ||
34 | namespace MP4 { | 37 | namespace MP4 { | ||
35 | class Tag; | 38 | class Tag; | ||
36 | } | 39 | } | ||
37 | namespace APE { | 40 | namespace APE { | ||
38 | class Tag; | 41 | class Tag; | ||
▲ Show 20 Lines • Show All 45 Lines • ▼ Show 20 Line(s) | 64 | struct ExtractedData { | |||
84 | QVariant discNumber; | 87 | QVariant discNumber; | ||
85 | QVariant opus; | 88 | QVariant opus; | ||
86 | QVariant rating; | 89 | QVariant rating; | ||
87 | }; | 90 | }; | ||
88 | void extractId3Tags(TagLib::ID3v2::Tag* id3Tags, ExtractedData& data); | 91 | void extractId3Tags(TagLib::ID3v2::Tag* id3Tags, ExtractedData& data); | ||
89 | void extractMp4Tags(TagLib::MP4::Tag* mp4Tags, ExtractedData& data); | 92 | void extractMp4Tags(TagLib::MP4::Tag* mp4Tags, ExtractedData& data); | ||
90 | void extractApeTags(TagLib::APE::Tag* apeTags, ExtractedData& data); | 93 | void extractApeTags(TagLib::APE::Tag* apeTags, ExtractedData& data); | ||
91 | void extractVorbisTags(TagLib::Ogg::XiphComment* vorbisTags, ExtractedData& data); | 94 | void extractVorbisTags(TagLib::Ogg::XiphComment* vorbisTags, ExtractedData& data); | ||
95 | void extractAsfTags(TagLib::ASF::Tag* asfTags, ExtractedData& data); | ||||
92 | }; | 96 | }; | ||
93 | 97 | | |||
94 | } | 98 | } | ||
95 | 99 | | |||
96 | #endif // TAGLIBEXTRACTOR_H | 100 | #endif // TAGLIBEXTRACTOR_H |
Side note - I think tfilestream.h is no longer needed.