1554 |
1553 |
1555 // ----------------------------------------------------------------------------- |
1554 // ----------------------------------------------------------------------------- |
1556 // CPhSrvUssdManager::NotifyCount() |
1555 // CPhSrvUssdManager::NotifyCount() |
1557 // ----------------------------------------------------------------------------- |
1556 // ----------------------------------------------------------------------------- |
1558 // |
1557 // |
1559 TInt CPhSrvUssdManager:: NotifyCount() |
1558 TInt CPhSrvUssdManager::NotifyCount() |
1560 { |
1559 { |
1561 return iNotifyArray->Count(); |
1560 if( iNotifyArray ) |
|
1561 { |
|
1562 return iNotifyArray->Count(); |
|
1563 } |
|
1564 else |
|
1565 { |
|
1566 return 0; |
|
1567 } |
1562 } |
1568 } |
1563 |
1569 |
1564 // ----------------------------------------------------------------------------- |
1570 // ----------------------------------------------------------------------------- |
1565 // CPhSrvUssdManager::UpdateNotifyMessage() |
1571 // CPhSrvUssdManager::UpdateNotifyMessage() |
1566 // ----------------------------------------------------------------------------- |
1572 // ----------------------------------------------------------------------------- |
1567 // |
1573 // |
1568 void CPhSrvUssdManager:: UpdateNotifyMessage() |
1574 void CPhSrvUssdManager::UpdateNotifyMessage() |
1569 { |
1575 { |
1570 _DDPRINT( 4, "PhSrv.UpdateNotifyMessage.Start, clear: ", iClearArray ); // debug print |
1576 _DDPRINT( 4, "PhSrv.UpdateNotifyMessage.Start, clear: ", iClearArray ); // debug print |
1571 if (NotifyCount() > 1 && !iClearArray ) |
1577 if (NotifyCount() > 1 && !iClearArray ) |
1572 { |
1578 { |
1573 _DPRINT( 4, "PhSrv.UpdateNotifyMessage" ); // debug print |
1579 _DPRINT( 4, "PhSrv.UpdateNotifyMessage" ); // debug print |