From 0739dd232ac506675fbc9b2a5834799d6aa87b83 Mon Sep 17 00:00:00 2001 From: Scott Wheeler Date: Mon, 18 May 2015 14:21:55 +0200 Subject: [PATCH] It doesn't make sense to set the factory after construction Closes #259 --- taglib/flac/flacfile.h | 1 + taglib/mpeg/mpegfile.h | 1 + taglib/trueaudio/trueaudiofile.h | 1 + 3 files changed, 3 insertions(+) diff --git a/taglib/flac/flacfile.h b/taglib/flac/flacfile.h index 0963f4af..3eef1730 100644 --- a/taglib/flac/flacfile.h +++ b/taglib/flac/flacfile.h @@ -221,6 +221,7 @@ namespace TagLib { * when * * \see ID3v2FrameFactory + * \deprecated This value should be passed in via the constructor */ void setID3v2FrameFactory(const ID3v2::FrameFactory *factory); diff --git a/taglib/mpeg/mpegfile.h b/taglib/mpeg/mpegfile.h index a03887a3..8c598ab8 100644 --- a/taglib/mpeg/mpegfile.h +++ b/taglib/mpeg/mpegfile.h @@ -319,6 +319,7 @@ namespace TagLib { * Set the ID3v2::FrameFactory to something other than the default. * * \see ID3v2FrameFactory + * \deprecated This value should be passed in via the constructor */ void setID3v2FrameFactory(const ID3v2::FrameFactory *factory); diff --git a/taglib/trueaudio/trueaudiofile.h b/taglib/trueaudio/trueaudiofile.h index dbaafcdb..1d109e8d 100644 --- a/taglib/trueaudio/trueaudiofile.h +++ b/taglib/trueaudio/trueaudiofile.h @@ -164,6 +164,7 @@ namespace TagLib { * Set the ID3v2::FrameFactory to something other than the default. * * \see ID3v2FrameFactory + * \deprecated This value should be passed in via the constructor */ void setID3v2FrameFactory(const ID3v2::FrameFactory *factory);