phoneclientserver/phoneserver/Src/Ussd/CPhSrvUssdManager.cpp
branchRCL_3
changeset 3 a4a774cb6ea7
parent 0 ff3b6d0fd310
child 9 71e7b994dff4
equal deleted inserted replaced
0:ff3b6d0fd310 3:a4a774cb6ea7
   706     AsyncProcessMoAcks();
   706     AsyncProcessMoAcks();
   707     
   707     
   708     // debug print
   708     // debug print
   709     _DPRINT( 4, "PhSrv.UssdNetworkObserverHandleSendEventL.End" );
   709     _DPRINT( 4, "PhSrv.UssdNetworkObserverHandleSendEventL.End" );
   710     }
   710     }
   711 
       
   712 
   711 
   713 // -----------------------------------------------------------------------------
   712 // -----------------------------------------------------------------------------
   714 // CPhSrvUssdManager::UssdAppTaskExists
   713 // CPhSrvUssdManager::UssdAppTaskExists
   715 //
   714 //
   716 //
   715 //
  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