accessoryservices/accessoryserver/src/Server/AccSrvConnectionHandler.cpp
branchRCL_3
changeset 17 0b0048910c20
parent 0 4e1aa6a622a0
child 20 1ddbe54d0645
equal deleted inserted replaced
15:b2f9f823b5fb 17:0b0048910c20
   236     TAccPolGenericID& aGenericID, 
   236     TAccPolGenericID& aGenericID, 
   237     TBool aEvaluateConnectionRules, 
   237     TBool aEvaluateConnectionRules, 
   238     TBool aUpdatedConnection )
   238     TBool aUpdatedConnection )
   239     {
   239     {
   240     COM_TRACE_( "[AccFW:AccServer] CAccSrvConnectionHandler::StartConnectionHandling()" );
   240     COM_TRACE_( "[AccFW:AccServer] CAccSrvConnectionHandler::StartConnectionHandling()" );
       
   241     #define UNMASK_LINE_OUT(selectionListBitmask)  (selectionListBitmask & (~KASLineOut))
   241 
   242 
   242     iGenericID = aGenericID;
   243     iGenericID = aGenericID;
   243     iConnectionUpdate = aUpdatedConnection;
   244     iConnectionUpdate = aUpdatedConnection;
   244     
   245     
   245     //evaluate connection rules
   246     //evaluate connection rules
   307     			    }
   308     			    }
   308     		
   309     		
   309     			if ( accCount > 1 )
   310     			if ( accCount > 1 )
   310     			    {
   311     			    {
   311 	    			//if there is possible selection show UI
   312 	    			//if there is possible selection show UI
       
   313 	    			selectionListBitmask = UNMASK_LINE_OUT(selectionListBitmask);
   312 		    		SetupSelectionDialogL( selectionListBitmask );    			
   314 		    		SetupSelectionDialogL( selectionListBitmask );    			
   313     			    }
   315     			    }
   314     			else
   316     			else
   315     			    {
   317     			    {
   316     				//only one selection, don't show selection dialog
   318     				//only one selection, don't show selection dialog