secureswitools/swisistools/source/interpretsislib/is_utils.h
branchRCL_3
changeset 81 42552535c1ac
parent 62 5cc91383ab1e
equal deleted inserted replaced
73:79647526f98c 81:42552535c1ac
     1 /*
     1 /*
     2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2006-2009 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".
    73 
    73 
    74 	bool CheckSisRegistryDirPresent(const std::wstring& aDrivePath, TUint32 aUid);
    74 	bool CheckSisRegistryDirPresent(const std::wstring& aDrivePath, TUint32 aUid);
    75 
    75 
    76 	int GetStat(const std::wstring& aFile, struct stat*);
    76 	int GetStat(const std::wstring& aFile, struct stat*);
    77 
    77 
    78 	void ConvertToPlatformSpecificPath( TUint16* aIn, TUint32 len );
       
    79 	#ifdef __TOOLS2_LINUX__
       
    80 	void ConvertToForwardSlash( std::wstring& aIn);
       
    81 	#endif
       
    82 	void ConvertToLocalPath(
    78 	void ConvertToLocalPath(
    83 		std::wstring& aIn,
    79 		std::wstring& aIn,
    84 		const std::wstring& aDrivePath);
    80 		const std::wstring& aDrivePath);
    85 
    81 
    86 	int FoldedCompare(const std::wstring& aLeft, const std::wstring& aRight);
    82 	int FoldedCompare(const std::wstring& aLeft, const std::wstring& aRight);
   142 			dp18,  dp19,  dp20,  dp21,  dp22,  dp23,  dp24,  dp25,  dp26,  dp27,  
   138 			dp18,  dp19,  dp20,  dp21,  dp22,  dp23,  dp24,  dp25,  dp26,  dp27,  
   143 			dp28,  dp29,  dp30,  dp31,  dp32,  dp33,  dp34,  dp35,  dp36,  dp37,  
   139 			dp28,  dp29,  dp30,  dp31,  dp32,  dp33,  dp34,  dp35,  dp36,  dp37,  
   144 			dp38,  dp39,  dp40,  dp41,  dp42,  dp43,  dp44,  dp45};
   140 			dp38,  dp39,  dp40,  dp41,  dp42,  dp43,  dp44,  dp45};
   145 	 
   141 	 
   146 	void GetEquivalentLanguageList(CSISLanguage::TLanguage aLang, TLanguagePath& aEquivalents); 
   142 	void GetEquivalentLanguageList(CSISLanguage::TLanguage aLang, TLanguagePath& aEquivalents); 
       
   143 	std::string wstring2string (const std::wstring& aWide);
       
   144 
       
   145 	std::wstring string2wstring (const std::string& aNarrow);
   147 
   146 
   148 	const std::wstring IntegerToWideString(int aInt);
   147 	const std::wstring IntegerToWideString(int aInt);
   149 
   148 
   150 	std::wstring Int64ToWideString(TInt64 aInt);
   149 	std::wstring Int64ToWideString(TInt64 aInt);
   151 
   150