equal
deleted
inserted
replaced
547 |
547 |
548 TBool CMdSServer::BackupOrRestoreRunning() const |
548 TBool CMdSServer::BackupOrRestoreRunning() const |
549 { |
549 { |
550 return iBackupOrRestoreRunning; |
550 return iBackupOrRestoreRunning; |
551 } |
551 } |
552 |
552 |
|
553 TBool CMdSServer::ShutdownInProgress() const |
|
554 { |
|
555 return iShutdown; |
|
556 } |
|
557 |
553 // ----------------------------------------------------------------------------- |
558 // ----------------------------------------------------------------------------- |
554 // CMdSServer::ShutdownNotification |
559 // CMdSServer::ShutdownNotification |
555 // ----------------------------------------------------------------------------- |
560 // ----------------------------------------------------------------------------- |
556 // |
561 // |
557 void CMdSServer::ShutdownNotification() |
562 void CMdSServer::ShutdownNotification() |
558 { |
563 { |
559 |
|
560 |
|
561 if (!iShutdown) |
564 if (!iShutdown) |
562 { |
565 { |
563 CActiveScheduler::Stop(); |
566 CActiveScheduler::Stop(); |
564 iShutdown = ETrue; |
567 iShutdown = ETrue; |
565 } |
568 } |
566 |
|
567 } |
569 } |
568 |
570 |
569 // ----------------------------------------------------------------------------- |
571 // ----------------------------------------------------------------------------- |
570 // CMdSServer::ShutdownNotification |
572 // CMdSServer::ShutdownNotification |
571 // ----------------------------------------------------------------------------- |
573 // ----------------------------------------------------------------------------- |