phonebookui/Phonebook2/ccapplication/ccapp/ccaclient/src/ccaconnection.cpp
branchRCL_3
changeset 3 04ab22b956c2
parent 0 e686773b3f54
child 64 c1e8ba0c2b16
equal deleted inserted replaced
0:e686773b3f54 3:04ab22b956c2
   241         CloseParameter();
   241         CloseParameter();
   242         TRAP_IGNORE( iObserver->CCASimpleNotifyL( MCCAObserver::EExitEvent, aReason ));
   242         TRAP_IGNORE( iObserver->CCASimpleNotifyL( MCCAObserver::EExitEvent, aReason ));
   243         iObserver = NULL;
   243         iObserver = NULL;
   244         }
   244         }
   245 
   245 
       
   246     iClosePending = EFalse; 
       
   247     
   246     //Kill us if not soft exit requested
   248     //Kill us if not soft exit requested
   247     if(!(flags & MCCAParameter::ESoftExit))    
   249     if(!(flags & MCCAParameter::ESoftExit))    
   248         {
   250         {
   249 		//Kill this process, i.e. the application running ccaclient
   251 		//Kill this process, i.e. the application running ccaclient
   250 	    // Following call ends application if aReason == EAknCmdExit (and does nothing else)
   252 	    // Following call ends application if aReason == EAknCmdExit (and does nothing else)
   251         MAknServerAppExitObserver::HandleServerAppExit( aReason );
   253         MAknServerAppExitObserver::HandleServerAppExit( aReason );
   252         }
   254         }
   253 
   255 
   254    iClosePending = EFalse; 
   256    
   255    CCA_DP(KCCAClientLoggerFile, CCA_L( "<-CCCAConnection::HandleServerAppExit"));
   257    CCA_DP(KCCAClientLoggerFile, CCA_L( "<-CCCAConnection::HandleServerAppExit"));
   256     }
   258     }
   257 
   259 
   258 // --------------------------------------------------------------------------
   260 // --------------------------------------------------------------------------
   259 // CCCAConnection::DisconnectServerApplication
   261 // CCCAConnection::DisconnectServerApplication