secureswitools/swianalysistoolkit/source/chainvalidityandinstallfilestatustools/dumpinstallfilestatustool/options.cpp
branchRCL_3
changeset 25 7333d7932ef7
parent 0 ba25891c3a9e
child 26 8b7f4e561641
equal deleted inserted replaced
24:5cc91383ab1e 25:7333d7932ef7
     1 /*
     1 /*
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2005-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 the License "Eclipse Public License v1.0"
     5 * under the terms of the License "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".
   261 		
   261 		
   262 			for (int i = 0; i < KNumberOfCaps; i++)
   262 			for (int i = 0; i < KNumberOfCaps; i++)
   263 				{
   263 				{
   264 					if(capabilities.compare(listOfCapabilities[i])==0)
   264 					if(capabilities.compare(listOfCapabilities[i])==0)
   265 					{
   265 					{
   266 					userCaps += pow(2,i);
   266 					userCaps += pow((double)2,i);
   267 					}
   267 					}
   268 				}
   268 				}
   269 			}
   269 			}
   270 		}
   270 		}
   271 	return  userCaps;
   271 	return  userCaps;