btobexprofiles/obexsendservices/obexservicesendutils/src/BTSOPPController.cpp
changeset 42 b72428996822
parent 32 19bd632b5100
equal deleted inserted replaced
32:19bd632b5100 42:b72428996822
   216                 {
   216                 {
   217                 iListPtr->AddObjectL( imgparam.iFile);
   217                 iListPtr->AddObjectL( imgparam.iFile);
   218                 }            
   218                 }            
   219             }
   219             }
   220         }
   220         }
   221     iObserverPtr->LaunchProgressNoteL( iClient, iListPtr->ObjectListSizeL(),iListPtr->ObjectCount() );
   221     iObserverPtr->LaunchProgressNoteL( iClient, iListPtr->ObjectCount() );
   222     iFileIndex = 0;
   222     iFileIndex = 0;
   223     UpdateProgressNoteL();    
   223     UpdateProgressNoteL();    
   224     Send();
   224     Send();
   225     }
   225     }
   226 
   226 
   228 void CBTSOPPController::UpdateProgressNoteL()
   228 void CBTSOPPController::UpdateProgressNoteL()
   229     {
   229     {
   230     TInt size;
   230     TInt size;
   231     RBuf filename;
   231     RBuf filename;
   232     iListPtr->ObjectAtL( iFileIndex ).Size(size);
   232     iListPtr->ObjectAtL( iFileIndex ).Size(size);
   233     filename.CreateL(255);
   233     filename.CreateL(KMaxFileName);
   234     iListPtr->ObjectAtL( iFileIndex ).Name(filename);
   234     iListPtr->ObjectAtL( iFileIndex ).Name(filename);
   235     iObserverPtr->UpdateProgressNoteL(size,iFileIndex,filename);
   235     iObserverPtr->UpdateProgressNoteL(size,iFileIndex,filename);
   236     filename.Close();
   236     filename.Close();
   237     }
   237     }
   238 
   238