From e94084ab46412950b49f82805a43c378dd365ac9 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 10 Feb 2016 11:27:33 +0000 Subject: fixed support of taglib versions less than 1.10 git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6127 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/rgscan/rgscandialog.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/plugins/General/rgscan/rgscandialog.h') diff --git a/src/plugins/General/rgscan/rgscandialog.h b/src/plugins/General/rgscan/rgscandialog.h index 6b2d23afa..1500796c2 100644 --- a/src/plugins/General/rgscan/rgscandialog.h +++ b/src/plugins/General/rgscan/rgscandialog.h @@ -24,6 +24,7 @@ #include #include #include +#include #include #include "ui_rgscandialog.h" @@ -47,10 +48,12 @@ namespace TagLib { class XiphComment; } +#if (TAGLIB_MAJOR_VERSION > 1) || ((TAGLIB_MAJOR_VERSION == 1) && (TAGLIB_MINOR_VERSION >= 10)) namespace MP4 { class Tag; } +#endif } /** @@ -80,7 +83,9 @@ private: void writeAPETag(TagLib::APE::Tag *tag, ReplayGainInfoItem *item); void writeID3v2Tag(TagLib::ID3v2::Tag *tag, ReplayGainInfoItem *item); void writeVorbisComment(TagLib::Ogg::XiphComment *tag, ReplayGainInfoItem *item); +#if (TAGLIB_MAJOR_VERSION > 1) || ((TAGLIB_MAJOR_VERSION == 1) && (TAGLIB_MINOR_VERSION >= 10)) void writeMP4Tag(TagLib::MP4::Tag *tag, ReplayGainInfoItem *item); +#endif Ui::RGScanDialog m_ui; QList m_scanners; QList m_replayGainItemList; -- cgit v1.2.3-13-gbd6f