epoc32/include/bautils.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    41 */
    41 */
    42 typedef TLanguage TLanguagePath[KMaxDowngradeLanguages + 1];
    42 typedef TLanguage TLanguagePath[KMaxDowngradeLanguages + 1];
    43 
    43 
    44 class RFs;
    44 class RFs;
    45 class CBaflFileSortTable;
    45 class CBaflFileSortTable;
       
    46 class TDigitizerCalibration;
    46 
    47 
    47 
    48 
    48 class BaflUtils
    49 class BaflUtils
    49 /** 
    50 /** 
    50 Provides simple-to-use file system utilities.
    51 Provides simple-to-use file system utilities.
   102 	IMPORT_C static TInt PersistHAL();
   103 	IMPORT_C static TInt PersistHAL();
   103 	IMPORT_C static void PersistScreenCalibration(const TDigitizerCalibration& aScreenCalibration);
   104 	IMPORT_C static void PersistScreenCalibration(const TDigitizerCalibration& aScreenCalibration);
   104 	IMPORT_C static void InitialiseScreenCalibration(RFs& aFs);
   105 	IMPORT_C static void InitialiseScreenCalibration(RFs& aFs);
   105 	IMPORT_C static void InitialiseHAL(RFs& aFs);
   106 	IMPORT_C static void InitialiseHAL(RFs& aFs);
   106 	IMPORT_C static void InitialiseLocale(RFs& aFs);
   107 	IMPORT_C static void InitialiseLocale(RFs& aFs);
       
   108 	IMPORT_C static void GetEquivalentLanguageList(TLanguage aLang, TLanguagePath& aEquivalents);
       
   109 	IMPORT_C static void NearestLanguageFileV2(const RFs& aFs,TFileName& aName, TLanguage& aLanguage);
       
   110 
   107 private:
   111 private:
   108 	static void DoCopyFileL(RFs& aFs, const TDesC& aSourceFullName, const TDesC& aTargetFullName, TUint aSwitch);
   112 	static void DoCopyFileL(RFs& aFs, const TDesC& aSourceFullName, const TDesC& aTargetFullName, TUint aSwitch);
   109 	static void DoRenameFileL(RFs& aFs, const TDesC& aOldFullName, const TDesC& aNewFullName, TUint aSwitch);
   113 	static void DoRenameFileL(RFs& aFs, const TDesC& aOldFullName, const TDesC& aNewFullName, TUint aSwitch);
   110 	static void DoDeleteFileL(RFs& aFs, const TDesC& aSourceFullName, TUint aSwitch);
   114 	static void DoDeleteFileL(RFs& aFs, const TDesC& aSourceFullName, TUint aSwitch);
   111 	};
   115 	};