terminalsecurity/SCP/SCPServer/src/SCPLockNotificationEventHandler.cpp
changeset 24 bf47f3b79154
parent 22 19fb38abab1d
equal deleted inserted replaced
22:19fb38abab1d 24:bf47f3b79154
    44             CSCPServer* aServer,
    44             CSCPServer* aServer,
    45             CSCPSession* aSession
    45             CSCPSession* aSession
    46             )
    46             )
    47 	        : CSCPLockEventHandler( aServer ),
    47 	        : CSCPLockEventHandler( aServer ),
    48 	        iQueryState(ESCPLNQueryStateNotification),
    48 	        iQueryState(ESCPLNQueryStateNotification),
    49 	        iSession (aSession),
    49 	        iAckReceived (EFalse),
    50 	        iAckReceived (EFalse)
    50 			iSession (aSession)
    51     {
    51     {
    52     Dprint( (_L("--> CSCPLockNotificationEventHandler::\
    52     Dprint( (_L("--> CSCPLockNotificationEventHandler::\
    53 	      CSCPLockNotificationEventHandler()") ));
    53 	      CSCPLockNotificationEventHandler()") ));
    54 	
    54 	
    55     Dprint( (_L("<-- CSCPLockNotificationEventHandler::\
    55     Dprint( (_L("<-- CSCPLockNotificationEventHandler::\
   211    
   211    
   212     switch ( iQueryState )
   212     switch ( iQueryState )
   213         {
   213         {
   214         case ( ESCPLNQueryStateNotification ):
   214         case ( ESCPLNQueryStateNotification ):
   215             {                        
   215             {                        
   216             // Event received
   216             // Event received from Session, queryAdminCmd
   217              if (iAckReceived)
   217              if (iAckReceived)
   218                  {
   218                  {
   219                  VerifyPass();
   219                  VerifyPass();
   220                  }
   220                  }
   221              else if ( iEvent == RMobilePhone::EPhonePasswordRequired )
   221              else if ( iEvent == RMobilePhone::EPhonePasswordRequired )