homesync/contentmanager/cmserver/cmfillmanager/src/cmfmdownloadproxy.cpp
changeset 32 3785f754ee62
parent 0 7f85d04be362
equal deleted inserted replaced
27:03808033c9a2 32:3785f754ee62
   215     LOG(_L("[FILL MNGR]\t CCmFmDownloadProxy::CreateNewSessionL()"));
   215     LOG(_L("[FILL MNGR]\t CCmFmDownloadProxy::CreateNewSessionL()"));
   216     
   216     
   217     CCmFmDownloadMngr* mngr = CCmFmDownloadMngr::NewL( aAVController, aObserver,
   217     CCmFmDownloadMngr* mngr = CCmFmDownloadMngr::NewL( aAVController, aObserver,
   218        *(*aDevices)[aSessionCount], aSessionCount );
   218        *(*aDevices)[aSessionCount], aSessionCount );
   219     CleanupStack::PushL( mngr );
   219     CleanupStack::PushL( mngr );
   220     iDownloadSessions.Append( mngr );            
   220     iDownloadSessions.AppendL( mngr );            
   221     CleanupStack::Pop( mngr );
   221     CleanupStack::Pop( mngr );
   222     iDownloadSessionCount++;             
   222     iDownloadSessionCount++;             
   223     TCmFmDownloadSessionIndexes index;
   223     TCmFmDownloadSessionIndexes index;
   224     index.iDeviceIndex = aSessionCount;   
   224     index.iDeviceIndex = aSessionCount;   
   225     index.iSessionIndex = ( iDownloadSessions.Count() - 1 );
   225     index.iSessionIndex = ( iDownloadSessions.Count() - 1 );
   226     iSessionIndexes.Append( index );
   226     iSessionIndexes.AppendL( index );
   227     aSessionIndex = index.iSessionIndex;     
   227     aSessionIndex = index.iSessionIndex;     
   228     }
   228     }
   229      
   229      
   230 // End of file
   230 // End of file
   231 
   231