phoneapp/phoneuistates/src/cphonecallsetup.cpp
branchRCL_3
changeset 19 544e34b3255a
parent 0 5f000ab63145
child 58 40a3f856b14d
equal deleted inserted replaced
17:38529f706030 19:544e34b3255a
    29 #include "cphonemainresourceresolver.h"
    29 #include "cphonemainresourceresolver.h"
    30 #include "phonelogger.h"
    30 #include "phonelogger.h"
    31 #include "cphonegeneralgsmmessageshandler.h"
    31 #include "cphonegeneralgsmmessageshandler.h"
    32 #include "cphonemediatorfactory.h"
    32 #include "cphonemediatorfactory.h"
    33 #include "cphonemediatorsender.h"
    33 #include "cphonemediatorsender.h"
       
    34 #include "mphonesecuritymodeobserver.h"
    34 
    35 
    35 // ================= MEMBER FUNCTIONS =======================
    36 // ================= MEMBER FUNCTIONS =======================
    36 
    37 
    37 // C++ default constructor can NOT contain any code, that
    38 // C++ default constructor can NOT contain any code, that
    38 // might leave.
    39 // might leave.
   100     switch ( aMessage )
   101     switch ( aMessage )
   101         {
   102         {
   102         case MEngineMonitor::EPEMessageConnecting:
   103         case MEngineMonitor::EPEMessageConnecting:
   103             HandleConnectingL( aCallId );
   104             HandleConnectingL( aCallId );
   104             break;
   105             break;
       
   106 		
       
   107 		case MEngineMonitor::EPEMessageShowVersion:
       
   108 			{
       
   109 			if ( iStateMachine->SecurityMode()->IsSecurityMode() )
       
   110 				{
       
   111 				// Do nothing if security mode is enabled.
       
   112 				return;
       
   113 				}
       
   114 			}
       
   115 		// Fall through
   105 
   116 
   106         // fall through.    
   117         // fall through.    
   107         case MEngineMonitor::EPEMessageIssuingSSRequest:
   118         case MEngineMonitor::EPEMessageIssuingSSRequest:
   108         case MEngineMonitor::EPEMessageCallBarred:
   119         case MEngineMonitor::EPEMessageCallBarred:
   109         case MEngineMonitor::EPEMessageShowVersion:
       
   110         case MEngineMonitor::EPEMessageIssuedSSRequest:
   120         case MEngineMonitor::EPEMessageIssuedSSRequest:
   111         case MEngineMonitor::EPEMessageTempClirActivationUnsuccessful:
   121         case MEngineMonitor::EPEMessageTempClirActivationUnsuccessful:
   112         case MEngineMonitor::EPEMessageIncCallIsForw:
   122         case MEngineMonitor::EPEMessageIncCallIsForw:
   113         case MEngineMonitor::EPEMessageIncCallForwToC:
   123         case MEngineMonitor::EPEMessageIncCallForwToC:
   114         case MEngineMonitor::EPEMessageOutCallForwToC:
   124         case MEngineMonitor::EPEMessageOutCallForwToC: