WriterImplBase: Add _AddStringAttributeList()

... and simplify some code by using it.
This commit is contained in:
Ingo Weinhold
2013-05-25 01:12:38 +02:00
parent a11b0003ec
commit a3e070a7ff
2 changed files with 26 additions and 35 deletions
@@ -169,6 +169,9 @@ private:
inline PackageAttribute* _AddStringAttributeIfNotEmpty(
BHPKGAttributeID id, const BString& value,
DoublyLinkedList<PackageAttribute>& list);
void _AddStringAttributeList(BHPKGAttributeID id,
const BStringList& value,
DoublyLinkedList<PackageAttribute>& list);
void _WritePackageAttributes(
const PackageAttributeList& attributes);