upnpharvester/common/cmlibrary/src/cmstorelistitem.cpp
changeset 32 3785f754ee62
parent 0 7f85d04be362
equal deleted inserted replaced
27:03808033c9a2 32:3785f754ee62
    79 //
    79 //
    80 EXPORT_C void CCmStoreListItem::SetDevId( const TUint8 aId, 
    80 EXPORT_C void CCmStoreListItem::SetDevId( const TUint8 aId, 
    81     TCmListItemStatus aStatus )
    81     TCmListItemStatus aStatus )
    82     {
    82     {
    83     iDeviceIds.Append( aId );
    83     iDeviceIds.Append( aId );
    84     iStatusValues.Append( aStatus );
    84     iStatusValues.AppendL( aStatus );
    85     }    
    85     }    
    86     
    86     
    87 // ---------------------------------------------------------------------------
    87 // ---------------------------------------------------------------------------
    88 // CCmStoreListItem::ListId
    88 // CCmStoreListItem::ListId
    89 // ---------------------------------------------------------------------------
    89 // ---------------------------------------------------------------------------
   163         }
   163         }
   164     count = aStream.ReadUint16L();
   164     count = aStream.ReadUint16L();
   165     iStatusValues.Reset();
   165     iStatusValues.Reset();
   166     for( TInt i = 0; i < count; i++ )
   166     for( TInt i = 0; i < count; i++ )
   167         {
   167         {
   168         iStatusValues.Append( (TCmListItemStatus) aStream.ReadInt16L() );
   168         iStatusValues.AppendL( (TCmListItemStatus) aStream.ReadInt16L() );
   169         }        
   169         }        
   170     CCmBaseListItem::InternalizeL(aStream);               
   170     CCmBaseListItem::InternalizeL(aStream);               
   171     }
   171     }
   172         
   172         
   173 // ---------------------------------------------------------------------------
   173 // ---------------------------------------------------------------------------