skins/AknSkins/srvsrc/AknsSrvClient.cpp
changeset 42 2398a337fa76
parent 21 4ab28fdd25ad
child 107 9f95a5546443
equal deleted inserted replaced
21:4ab28fdd25ad 42:2398a337fa76
   587 
   587 
   588 // -----------------------------------------------------------------------------
   588 // -----------------------------------------------------------------------------
   589 // RAknsSrvSession::SetSlideSetWallpaper
   589 // RAknsSrvSession::SetSlideSetWallpaper
   590 // -----------------------------------------------------------------------------
   590 // -----------------------------------------------------------------------------
   591 //
   591 //
   592 EXPORT_C TInt RAknsSrvSession::SetSlideSetWallpaper(const CDesCArray& /*aFilenameArray*/)
   592 EXPORT_C TInt RAknsSrvSession::SetSlideSetWallpaper(const CDesCArray& aFilenameArray)
   593     {
   593     {
   594     //deprecated for 9.2 page specific wallpaper
   594     SendReceive(EAknSkinSrvStopSSIniFileObserver);
   595     return KErrNotSupported;  
   595     TRAPD(error, DoWriteInifileL(aFilenameArray));
       
   596     if (error)
       
   597         {
       
   598         return error;
       
   599         }
       
   600     if (aFilenameArray.MdcaCount() == 1)
       
   601         {
       
   602         return KErrNone;
       
   603         }
       
   604     return SendReceive(EAknSkinSrvSetSlideSetWP);
   596     }
   605     }
   597 
   606 
   598 // -----------------------------------------------------------------------------
   607 // -----------------------------------------------------------------------------
   599 // RAknsSrvSession::FreeUnnecessaryLayoutBitmaps
   608 // RAknsSrvSession::FreeUnnecessaryLayoutBitmaps
   600 // -----------------------------------------------------------------------------
   609 // -----------------------------------------------------------------------------