diff --git a/taglib/flac/flacproperties.h b/taglib/flac/flacproperties.h index 59dfcd7c..9ac67664 100644 --- a/taglib/flac/flacproperties.h +++ b/taglib/flac/flacproperties.h @@ -78,6 +78,9 @@ namespace TagLib { int sampleWidth() const; private: + Properties(const Properties &); + Properties &operator=(const Properties &); + void read(); class PropertiesPrivate; diff --git a/taglib/mpc/mpcproperties.h b/taglib/mpc/mpcproperties.h index 2835f24b..bdbc887b 100644 --- a/taglib/mpc/mpcproperties.h +++ b/taglib/mpc/mpcproperties.h @@ -71,6 +71,9 @@ namespace TagLib { int mpcVersion() const; private: + Properties(const Properties &); + Properties &operator=(const Properties &); + void read(); class PropertiesPrivate; diff --git a/taglib/mpeg/id3v2/frames/uniquefileidentifierframe.h b/taglib/mpeg/id3v2/frames/uniquefileidentifierframe.h index 6f1dedb0..158241c4 100644 --- a/taglib/mpeg/id3v2/frames/uniquefileidentifierframe.h +++ b/taglib/mpeg/id3v2/frames/uniquefileidentifierframe.h @@ -99,6 +99,9 @@ namespace TagLib { virtual ByteVector renderFields() const; private: + UniqueFileIdentifierFrame(const UniqueFileIdentifierFrame &); + UniqueFileIdentifierFrame &operator=(UniqueFileIdentifierFrame &); + UniqueFileIdentifierFrame(const ByteVector &data, Header *h); class UniqueFileIdentifierFramePrivate; diff --git a/taglib/mpeg/xingheader.h b/taglib/mpeg/xingheader.h index 9d6b4ba0..1ffc03dd 100644 --- a/taglib/mpeg/xingheader.h +++ b/taglib/mpeg/xingheader.h @@ -49,47 +49,50 @@ namespace TagLib { class TAGLIB_EXPORT XingHeader { - public: - /*! - * Parses a Xing header based on \a data. The data must be at least 16 - * bytes long (anything longer than this is discarded). - */ - XingHeader(const ByteVector &data); + public: + /*! + * Parses a Xing header based on \a data. The data must be at least 16 + * bytes long (anything longer than this is discarded). + */ + XingHeader(const ByteVector &data); - /*! - * Destroy this XingHeader instance. - */ - virtual ~XingHeader(); + /*! + * Destroy this XingHeader instance. + */ + virtual ~XingHeader(); - /*! - * Returns true if the data was parsed properly and if there is a valid - * Xing header present. - */ - bool isValid() const; + /*! + * Returns true if the data was parsed properly and if there is a valid + * Xing header present. + */ + bool isValid() const; - /*! - * Returns the total number of frames. - */ - uint totalFrames() const; + /*! + * Returns the total number of frames. + */ + uint totalFrames() const; - /*! - * Returns the total size of stream in bytes. - */ - uint totalSize() const; + /*! + * Returns the total size of stream in bytes. + */ + uint totalSize() const; - /*! - * Returns the offset for the start of this Xing header, given the - * version and channels of the frame - */ - // BIC: rename to offset() - static int xingHeaderOffset(TagLib::MPEG::Header::Version v, - TagLib::MPEG::Header::ChannelMode c); + /*! + * Returns the offset for the start of this Xing header, given the + * version and channels of the frame + */ + // BIC: rename to offset() + static int xingHeaderOffset(TagLib::MPEG::Header::Version v, + TagLib::MPEG::Header::ChannelMode c); - private: - void parse(const ByteVector &data); + private: + XingHeader(const XingHeader &); + XingHeader &operator=(const XingHeader &); - class XingHeaderPrivate; - XingHeaderPrivate *d; + void parse(const ByteVector &data); + + class XingHeaderPrivate; + XingHeaderPrivate *d; }; } } diff --git a/taglib/trueaudio/trueaudioproperties.h b/taglib/trueaudio/trueaudioproperties.h index 7c67bc10..e92462c3 100644 --- a/taglib/trueaudio/trueaudioproperties.h +++ b/taglib/trueaudio/trueaudioproperties.h @@ -79,6 +79,9 @@ namespace TagLib { int ttaVersion() const; private: + Properties(const Properties &); + Properties &operator=(const Properties &); + void read(); class PropertiesPrivate; diff --git a/taglib/wavpack/wavpackproperties.h b/taglib/wavpack/wavpackproperties.h index 3610e182..c380bfe7 100644 --- a/taglib/wavpack/wavpackproperties.h +++ b/taglib/wavpack/wavpackproperties.h @@ -80,6 +80,9 @@ namespace TagLib { int version() const; private: + Properties(const Properties &); + Properties &operator=(const Properties &); + void read(); class PropertiesPrivate;