pimappservices/calendar/server/src/agssess.cpp
branchRCL_3
changeset 31 97232defd20e
parent 30 bd7edf625bdd
equal deleted inserted replaced
30:bd7edf625bdd 31:97232defd20e
   279 * Check to see if an operation can be performed due to backup\restore process
   279 * Check to see if an operation can be performed due to backup\restore process
   280 * @return ETrue, if the operation can not be performed, EFalse otherwise. 
   280 * @return ETrue, if the operation can not be performed, EFalse otherwise. 
   281 */
   281 */
   282 TBool CAgnServerSession::CheckBackupRestore()
   282 TBool CAgnServerSession::CheckBackupRestore()
   283     {
   283     {
   284     if(iBackupRestoreLock  
   284     if((iBackupRestoreLock || iAgnServer.BackupRestoreInProgress()) 
   285     //All opeerations apart from the following ones are not allowed when Backup\Restore is in progress. 
   285     //All opeerations apart from the following ones are not allowed when Backup\Restore is in progress. 
   286     && iMessage.Function() != ECloseAgenda
   286     && iMessage.Function() != ECloseAgenda
   287     && iMessage.Function() != ECancelChangeNotification
   287     && iMessage.Function() != ECancelChangeNotification
   288     && iMessage.Function() != EDisableChangeBroadcast
   288     && iMessage.Function() != EDisableChangeBroadcast
   289     && iMessage.Function() != ETransmitBuffer
   289     && iMessage.Function() != ETransmitBuffer