contentcontrolsrv/hscontentinfo/src/hscontentinfo.cpp
changeset 3 ff572005ac23
parent 0 79c6a41cd166
child 15 a0713522ab97
equal deleted inserted replaced
2:b7904b40483f 3:ff572005ac23
   374 EXPORT_C TTime CHsContentInfo::InstallationTime() const
   374 EXPORT_C TTime CHsContentInfo::InstallationTime() const
   375     {
   375     {
   376     return iInstallationTime;
   376     return iInstallationTime;
   377     }
   377     }
   378 
   378 
   379 // -----------------------------------------------------------------------
   379 // ---------------------------------------------------------------------------
   380 // CHsContentInfo::SetDescriptionL()
   380 // CHsContentInfo::SetDescriptionL
   381 // -----------------------------------------------------------------------
   381 // ---------------------------------------------------------------------------
   382 //   
   382 //
   383 EXPORT_C void CHsContentInfo::SetDescriptionL( const TDesC& aDescription )
   383 EXPORT_C void CHsContentInfo::SetDescriptionL( const TDesC8& aDescription )
   384     {
   384     {
   385     delete iDescription;
   385     delete iDescription;
   386     iDescription = NULL;
   386     iDescription = NULL;
   387     
   387     iDescription = CnvUtfConverter::ConvertToUnicodeFromUtf8L( aDescription );
       
   388     }
       
   389 
       
   390 // -----------------------------------------------------------------------
       
   391 // CHsContentInfo::SetDescriptionL()
       
   392 // -----------------------------------------------------------------------
       
   393 //   
       
   394 EXPORT_C void CHsContentInfo::SetDescriptionL( const TDesC& aDescription )
       
   395     {
       
   396     delete iDescription;
       
   397     iDescription = NULL;
   388     iDescription = aDescription.AllocL();
   398     iDescription = aDescription.AllocL();
   389     }
   399     }
   390 
   400 
   391 // -----------------------------------------------------------------------
   401 // -----------------------------------------------------------------------
   392 // CHsContentInfo::Description()
   402 // CHsContentInfo::Description()