secureswitools/swisistools/source/sisxlibrary/sisproperties.cpp
changeset 26 04d4a7bbc3e0
parent 0 ba25891c3a9e
equal deleted inserted replaced
25:98b66e4fb0be 26:04d4a7bbc3e0
    23 */
    23 */
    24 
    24 
    25 
    25 
    26 #include "sisproperties.h"
    26 #include "sisproperties.h"
    27 
    27 
    28 void CSISProperties::AddPackageEntry(std::wostream& aStream, bool aVerbose) const
    28 void CSISProperties::AddPackageEntry(std::wostream& aStream, bool aVerbose, bool aCompatible) const
    29 	{
    29 	{
    30 	TUint32 propertiesCount = iProperty.size();
    30 	TUint32 propertiesCount = iProperty.size();
    31 	if (propertiesCount == 0)
    31 	if (propertiesCount == 0)
    32 		{
    32 		{
    33 		return;
    33 		return;
    38 		}
    38 		}
    39 	aStream << L"+(";
    39 	aStream << L"+(";
    40 	TUint32 i = 0;
    40 	TUint32 i = 0;
    41 	do
    41 	do
    42 		{
    42 		{
    43 		iProperty[i].AddPackageEntry(aStream, aVerbose);
    43 		iProperty[i].AddPackageEntry(aStream, aVerbose, aCompatible);
    44 		if (++i < propertiesCount)
    44 		if (++i < propertiesCount)
    45 			{
    45 			{
    46 			aStream << L", ";
    46 			aStream << L", ";
    47 			}
    47 			}
    48 		} while (i < propertiesCount);
    48 		} while (i < propertiesCount);