mirror of
https://github.com/taglib/taglib.git
synced 2025-12-21 00:32:50 -05:00
Continuing going through my pile-o-patches:
Make it possible to save files using the save() with a tag mask without stripping the tags that do not fit the mask. I still need to do a little testing on this to make sure that the offsets are still computed correctly. BUG:96460 git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@437380 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
@ -144,6 +144,18 @@ namespace TagLib {
|
||||
*/
|
||||
bool save(int tags);
|
||||
|
||||
/*!
|
||||
* Save the file. This will attempt to save all of the tag types that are
|
||||
* specified by OR-ing together TagTypes values. The save() method above
|
||||
* uses AllTags. This returns true if saving was successful.
|
||||
*
|
||||
* If \a stripOthers is true this strips all tags not included in the mask,
|
||||
* but does not modify them in memory, so later calls to save() which make
|
||||
* use of these tags will remain valid. This also strips empty tags.
|
||||
*/
|
||||
// BIC: combine with the above method
|
||||
bool save(int tags, bool stripOthers);
|
||||
|
||||
/*!
|
||||
* Returns a pointer to the ID3v2 tag of the file.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user