mirror of
https://github.com/taglib/taglib.git
synced 2025-07-18 21:14:23 -04:00
Semantic and style cleanups. render() should be const. Use for() loops to
loop through lists rather than while, fix bracket style. git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@358627 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
@ -35,8 +35,9 @@ namespace TagLib {
|
||||
/*!
|
||||
* This class provides the features of items in the APEv2 standard.
|
||||
*/
|
||||
struct Item
|
||||
class Item
|
||||
{
|
||||
public:
|
||||
/*!
|
||||
* Enum of types an Item can have. The value of 3 is reserved.
|
||||
*/
|
||||
@ -93,10 +94,15 @@ namespace TagLib {
|
||||
StringList toStringList() const;
|
||||
|
||||
/*!
|
||||
* Render the item to a ByteVector
|
||||
* \deprecated Use the const version.
|
||||
*/
|
||||
ByteVector render();
|
||||
|
||||
/*!
|
||||
* Render the item to a ByteVector
|
||||
*/
|
||||
ByteVector render() const;
|
||||
|
||||
/*!
|
||||
* Parse the item from the ByteVector \a data
|
||||
*/
|
||||
|
Reference in New Issue
Block a user