terminalsecurity/SCP/SCPServer/src/SCPSession.cpp
branchRCL_3
changeset 14 9e9792ae22e3
parent 9 57a65a3a658c
child 59 13d7c31c74e0
equal deleted inserted replaced
13:06f47423ecee 14:9e9792ae22e3
   179                 // Acknowledgement received, now just wait for the actual 
   179                 // Acknowledgement received, now just wait for the actual 
   180                 // call to finish
   180                 // call to finish
   181                 Dprint( (_L("CSCPSession::AcknowledgeOperation( %d ): \
   181                 Dprint( (_L("CSCPSession::AcknowledgeOperation( %d ): \
   182                     Lock-op acknowledged"), aCommand ));
   182                     Lock-op acknowledged"), aCommand ));
   183                 iLockCommandState = ESCPLockCmdStateInProgressAcknowledged;
   183                 iLockCommandState = ESCPLockCmdStateInProgressAcknowledged;
   184                 iSettingHandler->AckReceived();
   184                 iNotificationHandler->AckReceived();
   185                                 
   185                                 
   186                 ret = ETrue;
   186                 ret = ETrue;
   187                 break;
   187                 break;
   188                 }
   188                 }
   189             
   189             
   433 
   433 
   434     // Don't create the notification handler if it won't be used 
   434     // Don't create the notification handler if it won't be used 
   435     // (because DOS lock won't be disabled)
   435     // (because DOS lock won't be disabled)
   436     if ( ( aLocked ) || ( ( !IsSMSLockActiveL() ) && ( !IsAutolockActive() ) ) )
   436     if ( ( aLocked ) || ( ( !IsSMSLockActiveL() ) && ( !IsAutolockActive() ) ) )
   437         {
   437         {
   438         iNotificationHandler = CSCPLockNotificationEventHandler::NewL( &iServer );
   438         iNotificationHandler = CSCPLockNotificationEventHandler::NewL( &iServer, this );
   439         }
   439         }
   440         
   440         
   441 #endif // WINS
   441 #endif // WINS
   442         
   442         
   443     iSettingHandler = CSCPLockSettingEventHandler::NewL( 
   443     iSettingHandler = CSCPLockSettingEventHandler::NewL(