]> granicus.if.org Git - taglib/commitdiff
It doesn't make sense to set the factory after construction
authorScott Wheeler <scott@directededge.com>
Mon, 18 May 2015 12:21:55 +0000 (14:21 +0200)
committerScott Wheeler <scott@directededge.com>
Mon, 18 May 2015 12:21:55 +0000 (14:21 +0200)
Closes #259

taglib/flac/flacfile.h
taglib/mpeg/mpegfile.h
taglib/trueaudio/trueaudiofile.h

index 0963f4af602759ff3fbdf793dde374429a80987c..3eef1730f6a9a654fbb28c1458cf369c54d9809b 100644 (file)
@@ -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);
 
index a03887a3e6c6b0099010b20d03e8ae4242fd7432..8c598ab87f49637403a817fd4f8211d4a51ce4a2 100644 (file)
@@ -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);
 
index dbaafcdb910d628c8b8c4c5315418242fe048dd3..1d109e8dc7df9eb9fdaa6263935de3bcd76cfb16 100644 (file)
@@ -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);