diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-08-05 08:21:43 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-08-05 08:21:43 +0000 |
| commit | 8d146b246e3da5d26b9501ca509a43ef4112e27d (patch) | |
| tree | c2f6afa22262a836e2178786fdd43b6b269c21c0 /src/plugins/Input/flac/flacmetadatamodel.h | |
| parent | b662d3c4f6c525f401d08ec710f4a76b0c30b0b7 (diff) | |
| download | qmmp-8d146b246e3da5d26b9501ca509a43ef4112e27d.tar.gz qmmp-8d146b246e3da5d26b9501ca509a43ef4112e27d.tar.bz2 qmmp-8d146b246e3da5d26b9501ca509a43ef4112e27d.zip | |
fixed remaing plugins
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8229 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/flac/flacmetadatamodel.h')
| -rw-r--r-- | src/plugins/Input/flac/flacmetadatamodel.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/plugins/Input/flac/flacmetadatamodel.h b/src/plugins/Input/flac/flacmetadatamodel.h index 4dac83e2e..4116126a0 100644 --- a/src/plugins/Input/flac/flacmetadatamodel.h +++ b/src/plugins/Input/flac/flacmetadatamodel.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2009-2016 by Ilya Kotov * + * Copyright (C) 2009-2018 by Ilya Kotov * * forkotov02@ya.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -24,23 +24,24 @@ #include <taglib/flacfile.h> #include <taglib/oggflacfile.h> #include <taglib/xiphcomment.h> +#include <taglib/tfilestream.h> #include <qmmp/metadatamodel.h> class FLACMetaDataModel : public MetaDataModel { Q_OBJECT public: - FLACMetaDataModel(const QString &path, QObject *parent); + FLACMetaDataModel(const QString &path, bool readOnly, QObject *parent); ~FLACMetaDataModel(); - QHash<QString, QString> audioProperties(); - QList<TagModel* > tags(); - QPixmap cover(); - QString coverPath(); + QList<TagModel* > tags() const override; + QPixmap cover() const override; + QString coverPath() const override; private: QString m_path; QList<TagModel* > m_tags; TagLib::File *m_file; + TagLib::FileStream *m_stream; }; class VorbisCommentModel : public TagModel |
