phonebookui/Phonebook2/ccapplication/ccacontactorservice/src/ccacontactorserviceoperator.cpp
branchRCL_3
changeset 21 b3431bff8c19
parent 0 e686773b3f54
child 64 c1e8ba0c2b16
equal deleted inserted replaced
15:e8e3147d53eb 21:b3431bff8c19
   102         TRAP(err, result = &iPopupHandler->LaunchPopupL(
   102         TRAP(err, result = &iPopupHandler->LaunchPopupL(
   103             iParameter->iContactLinkArray,
   103             iParameter->iContactLinkArray,
   104             CommunicationEnumMapper(iParameter->iCommTypeSelector),
   104             CommunicationEnumMapper(iParameter->iCommTypeSelector),
   105             useDefaults));
   105             useDefaults));
   106         
   106         
       
   107         if (result != NULL)
       
   108         	{
       
   109         	isSelected = ETrue;
       
   110         	}
       
   111         
   107         if (KErrNone != err)
   112         if (KErrNone != err)
   108             {
   113             {
   109             CCA_DP(KCCAContactorServiceLoggerFile, CCA_L("CCCAContactorServiceOperator::ExecuteL: LaunchPopupL: Leaves %d."), err);
   114             CCA_DP(KCCAContactorServiceLoggerFile, CCA_L("CCCAContactorServiceOperator::ExecuteL: LaunchPopupL: Leaves %d."), err);
   110             return;
   115             return;
   111             }
   116             }
   136         }
   141         }
   137 
   142 
   138     CCA_DP(KCCAContactorServiceLoggerFile, CCA_L("CCCAContactorServiceOperator::Execute: Done."));
   143     CCA_DP(KCCAContactorServiceLoggerFile, CCA_L("CCCAContactorServiceOperator::Execute: Done."));
   139     }
   144     }
   140 
   145 
       
   146 
       
   147 TBool CCCAContactorServiceOperator::IsSelected()
       
   148 	{
       
   149 	return isSelected;
       
   150 	}
   141 // --------------------------------------------------------------------------
   151 // --------------------------------------------------------------------------
   142 // CCCAContactorServiceOperator::CCCAContactorServiceOperator
   152 // CCCAContactorServiceOperator::CCCAContactorServiceOperator
   143 // --------------------------------------------------------------------------
   153 // --------------------------------------------------------------------------
   144 //
   154 //
   145 CCCAContactorServiceOperator::CCCAContactorServiceOperator():
   155 CCCAContactorServiceOperator::CCCAContactorServiceOperator():
   146     iServiceId((TUint32)KErrNotFound)
   156     iServiceId((TUint32)KErrNotFound),
       
   157     isSelected(EFalse)
   147     {
   158     {
   148     }
   159     }
   149 
   160 
   150 // --------------------------------------------------------------------------
   161 // --------------------------------------------------------------------------
   151 // CCCAContactorServiceOperator::ConstructL
   162 // CCCAContactorServiceOperator::ConstructL