contentstorage/casrv/cawidgetscanner/src/cawidgetdescription.cpp
changeset 107 b34d53f6acdf
parent 106 e78d6e055a5b
child 119 50e220be30d1
equal deleted inserted replaced
106:e78d6e055a5b 107:b34d53f6acdf
   159 
   159 
   160 // ----------------------------------------------------------------------------
   160 // ----------------------------------------------------------------------------
   161 //
   161 //
   162 // ----------------------------------------------------------------------------
   162 // ----------------------------------------------------------------------------
   163 //
   163 //
   164 TBool CCaWidgetDescription::Compare(
   164 CCaWidgetDescription *CCaWidgetDescription::CloneL()
       
   165     {   
       
   166     CCaWidgetDescription* clone = CCaWidgetDescription::NewL();
       
   167     
       
   168     clone->SetPathL( GetPath() );
       
   169     clone->SetMmcIdL( GetMmcId() );
       
   170     clone->SetStringidTitleL( GetStringIdTitle() );
       
   171     clone->SetLibraryL( GetLibrary() );
       
   172     clone->SetDescriptionL( GetDescription() );
       
   173     clone->SetStringIdDescriptionL( GetStringIdDescription() );
       
   174     clone->SetUriL( GetUri() );
       
   175     clone->SetIconUriL( GetIconUri() );
       
   176     clone->SetPreviewImageNameL( GetPreviewImageName() );
       
   177     clone->SetTitleL( GetTitle() );
       
   178     clone->SetTranslationFileNameL( GetTranslationFileName() );
       
   179     clone->SetLibraryL( GetLibrary() );
       
   180     clone->SetModificationTimeL( GetModificationTime() );
       
   181     clone->SetServiceXmlL( GetServiceXml() );
       
   182     clone->SetManifestFilePathNameL( GetManifestFilePathName() );
       
   183     
       
   184     return clone;
       
   185     }
       
   186 
       
   187 // ----------------------------------------------------------------------------
       
   188 //
       
   189 // ----------------------------------------------------------------------------
       
   190 //
       
   191 TBool CCaWidgetDescription::CompareUri(
   165         const CCaWidgetDescription& aFirst,const CCaWidgetDescription& aSecond)
   192         const CCaWidgetDescription& aFirst,const CCaWidgetDescription& aSecond)
   166     {
   193     {
   167     TBool result = EFalse;
   194     TBool result = EFalse;
   168     if( aFirst.GetUri() == aSecond.GetUri() )
   195     if( aFirst.GetUri() == aSecond.GetUri() )
   169         {
   196         {