From: Scott Wheeler Date: Mon, 18 May 2015 12:21:55 +0000 (+0200) Subject: It doesn't make sense to set the factory after construction X-Git-Tag: v1.10beta~106 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0739dd232ac506675fbc9b2a5834799d6aa87b83;p=taglib It doesn't make sense to set the factory after construction Closes #259 --- 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);