Mark some variables and functions deprecated.

ByteVector::null, ByteVector::isNull(), String::null, String::isNull() have got marked deprecated.
It's dangerous to use them, and they will be removed in taglib2.
This commit is contained in:
Tsuda Kageyu 2015-11-18 10:29:25 +09:00
parent 76de4234a1
commit 4f3844114a
2 changed files with 12 additions and 0 deletions

View File

@ -265,7 +265,10 @@ namespace TagLib {
* method to check if the vector is empty.
*
* \see isEmpty()
*
* \deprecated
*/
// BIC: remove
bool isNull() const;
/*!
@ -570,7 +573,10 @@ namespace TagLib {
*
* \warning Do not modify this variable. It will mess up the internal state
* of TagLib.
*
* \deprecated
*/
// BIC: remove
static ByteVector null;
/*!

View File

@ -336,7 +336,10 @@ namespace TagLib {
* check if the string is empty.
*
* \see isEmpty()
*
* \deprecated
*/
// BIC: remove
bool isNull() const;
/*!
@ -513,7 +516,10 @@ namespace TagLib {
*
* \warning Do not modify this variable. It will mess up the internal state
* of TagLib.
*
* \deprecated
*/
// BIC: remove
static String null;
protected: