diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2016-04-26 16:42:15 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2016-04-26 16:42:15 +0000 |
| commit | eb89e79122c587b4abdc18570d46c81bbbe65aa9 (patch) | |
| tree | 4661ed4d66928f5931f78a83f2ae904e0e002af8 /src/plugins/Input/flac/flacmetadatamodel.h | |
| parent | 6bc7fa9112f3f22efb87ed8e1c7c990ce0c55cb5 (diff) | |
| download | qmmp-eb89e79122c587b4abdc18570d46c81bbbe65aa9.tar.gz qmmp-eb89e79122c587b4abdc18570d46c81bbbe65aa9.tar.bz2 qmmp-eb89e79122c587b4abdc18570d46c81bbbe65aa9.zip | |
flac: fixed windows support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6268 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/flac/flacmetadatamodel.h')
| -rw-r--r-- | src/plugins/Input/flac/flacmetadatamodel.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/Input/flac/flacmetadatamodel.h b/src/plugins/Input/flac/flacmetadatamodel.h index da2b0f6e9..c21a0afa9 100644 --- a/src/plugins/Input/flac/flacmetadatamodel.h +++ b/src/plugins/Input/flac/flacmetadatamodel.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2009-2012 by Ilya Kotov * + * Copyright (C) 2009-2016 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -40,12 +40,13 @@ public: private: QString m_path; QList<TagModel* > m_tags; + TagLib::File *m_file; }; class VorbisCommentModel : public TagModel { public: - VorbisCommentModel(const QString &path); + VorbisCommentModel(TagLib::Ogg::XiphComment *tag, TagLib::File *file); ~VorbisCommentModel(); const QString name(); const QString value(Qmmp::MetaData key); @@ -53,8 +54,7 @@ public: void save(); private: - TagLib::FLAC::File *m_file; - TagLib::Ogg::FLAC::File *m_ogg_file; + TagLib::File *m_file; TagLib::Ogg::XiphComment *m_tag; }; |
