phonebookui/Phonebook2/ccapplication/ccacontactorservice/src/ccacontactorpopuphandler.cpp
branchRCL_3
changeset 57 2666d9724c76
parent 0 e686773b3f54
child 64 c1e8ba0c2b16
equal deleted inserted replaced
45:34879f5cfc63 57:2666d9724c76
    86         TAiwVariant(TAiwSingleItemSelectionDataV3Pckg(data))));
    86         TAiwVariant(TAiwSingleItemSelectionDataV3Pckg(data))));
    87 
    87 
    88     // Set contactlink
    88     // Set contactlink
    89     inParamList.AppendL(TAiwGenericParam(EGenericParamContactLinkArray,
    89     inParamList.AppendL(TAiwGenericParam(EGenericParamContactLinkArray,
    90         TAiwVariant(aContactLinkArray)));
    90         TAiwVariant(aContactLinkArray)));
       
    91     
       
    92     //Append the current status pane id
       
    93     //this will also be used by Pbk2ServerApplication
       
    94     //This is kind of a new implementation which will pave way
       
    95     //for the applications to use the required statuspane that they
       
    96     //prefer. 
       
    97     //since its not feasible to add any new AIW functionality
       
    98     //we will follow this approach.
       
    99     CEikStatusPane* statusPane =
       
   100             CEikonEnv::Static()->AppUiFactory()->StatusPane();
       
   101     
       
   102     if ( statusPane )
       
   103         {
       
   104         TInt currentstatuspane = statusPane->CurrentLayoutResId();        
       
   105         TBuf<KCCAMAXBUFFSIZE> numBuf;
       
   106         numBuf.AppendNum( currentstatuspane );
       
   107         
       
   108         inParamList.AppendL(TAiwGenericParam(EGenericParamUnspecified,
       
   109                     TAiwVariant( numBuf )));
       
   110         }
       
   111         
    91 
   112 
    92     iServiceHandler->ExecuteServiceCmdL(KAiwCmdSelect, inParamList,
   113     iServiceHandler->ExecuteServiceCmdL(KAiwCmdSelect, inParamList,
    93         iServiceHandler->OutParamListL(), 0, this);
   114         iServiceHandler->OutParamListL(), 0, this);
    94 
   115 
    95     CAknInputBlock* inputBlock = CAknInputBlock::NewCancelHandlerLC( this );
   116     CAknInputBlock* inputBlock = CAknInputBlock::NewCancelHandlerLC( this );