contextframework/cfwplugins/PSStateSourcePlugIn/src/psstatesourceplugin.cpp
branchRCL_3
changeset 18 0818dd463d41
parent 0 2e3d3ce01487
child 19 924385140d98
equal deleted inserted replaced
17:5e7d68cc22e0 18:0818dd463d41
     1 /*
     1 /*
     2 * Copyright (c) 2006-2006 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). 
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   245             }
   245             }
   246 
   246 
   247 		TInt psValue;
   247 		TInt psValue;
   248 		
   248 		
   249 		TLex lex( psValueDesc );
   249 		TLex lex( psValueDesc );
   250 		lex.Val(psValue);
   250 		User::LeaveIfError( lex.Val(psValue) );
   251 
   251 
   252 		intmapper->AddMappingL(psValue, contextValue);
   252 		intmapper->AddMappingL(psValue, contextValue);
   253         }
   253         }
   254 	}
   254 	}
   255 
   255