481 iProfileList->At( itemnum ).iProfileId, |
481 iProfileList->At( itemnum ).iProfileId, |
482 iProfileList->At( itemnum ).iBearer,fotanote ) ); |
482 iProfileList->At( itemnum ).iBearer,fotanote ) ); |
483 if(error == KErrNone) {} |
483 if(error == KErrNone) {} |
484 } |
484 } |
485 |
485 |
|
486 void DmInfo::sync(int aProfileId) |
|
487 { |
|
488 int itemNum = findProfile(aProfileId); |
|
489 if(itemNum!=KErrNotFound) |
|
490 { |
|
491 synchronize(itemNum); |
|
492 } |
|
493 } |
|
494 |
486 void DmInfo::synccomplete(int jobstatus) |
495 void DmInfo::synccomplete(int jobstatus) |
487 { |
496 { |
488 if (jobstatus == ENSmlSyncComplete) |
497 if (jobstatus == ENSmlSyncComplete) |
489 { |
498 { |
490 //iSyncProfileList->ReadProfileItemsL(); |
499 //iSyncProfileList->ReadProfileItemsL(); |
491 //Update profile list |
500 //Update profile list |
492 refreshProfileList(); |
501 refreshProfileList(); |
493 } |
502 } |
494 serversView->syncCompleted(jobstatus); |
503 if(serversView!=NULL) |
|
504 { |
|
505 serversView->syncCompleted(jobstatus); |
|
506 } |
495 iDbEventsBlocked = EFalse; |
507 iDbEventsBlocked = EFalse; |
496 } |
508 } |
497 |
509 |
498 // ----------------------------------------------------------------------------- |
510 // ----------------------------------------------------------------------------- |
499 // HandleDbEventL |
511 // HandleDbEventL |