diff -r ccb4f6b3db21 -r 8cb079868133 devicesrv_plat/syslangutil_api/inc/syslangutil.h --- a/devicesrv_plat/syslangutil_api/inc/syslangutil.h Tue Aug 31 16:29:05 2010 +0300 +++ b/devicesrv_plat/syslangutil_api/inc/syslangutil.h Wed Sep 01 12:34:26 2010 +0100 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2000-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2000-2007 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -84,67 +84,13 @@ IMPORT_C static TInt RestoreSIMLanguage( TInt &aLanguage, RFs* aFileServerSession = NULL ); - - /** - * Changes the Language to the one which is passed as an argument. - * @param aLanguageCode Language to be set . - * - * @return returns KErrNone if everything is OK, otherwise returns - * errorcode. - */ - IMPORT_C static TInt SysLangUtil::ChangeLanguage(const TInt aLanguageCode); - - /** - * Changes the region to the one which is passed as an argument. - * @param aRegionCode region code to be set . - * - * @return returns KErrNone if everything is OK, otherwise returns - * errorcode. - */ - IMPORT_C static TInt SysLangUtil::ChangeRegion(const TInt aRegionCode); - - /** - * Changes the collation to the one which is passed as an argument. - * @param aCollationCode collation to be set . - * - * @return returns KErrNone if everything is OK, otherwise returns - * errorcode. - */ - - IMPORT_C static TInt SysLangUtil::ChangeCollation(const TInt aCollationCode); - - /** - * Checks and returns installed regions in a param given. - * @param aRegions Symbian regions as a arrayfixflat, ownership - * given to user, so user must take care of proper cleanup! - * @param aFileServerSession Optional file server session handle. If - * omitted, new one will be created. - * @return returns KErrNone if everything went OK, otherwise returns - * the errorcode. - */ - IMPORT_C static TInt SysLangUtil::GetInstalledRegions(CArrayFixFlat*& aRegions, - RFs* aFileServerSession = NULL ); - - /** - * Checks and returns installed collations in a param given. - * @param aRegions Symbian collations as a arrayfixflat, ownership - * given to user, so user must take care of proper cleanup! - * @param aFileServerSession Optional file server session handle. If - * omitted, new one will be created. - * @return returns KErrNone if everything went OK, otherwise returns - * the errorcode. - */ - - IMPORT_C static TInt SysLangUtil::GetInstalledCollations(CArrayFixFlat*& aCollations, - RFs* aFileServerSession = NULL ); private: // Utility: static RFs* CheckFS( RFs* aRFs, TBool &aExist, TInt &aErr ); - static void LoadDllL( const TUint32 aCategory,const TInt aCode, const TDesC& aDllNameBase ); - static void ReadFileL(CArrayFixFlat*& aArray, const TDesC& aFilePath, RFs* aFileServerSession = NULL ); + }; #endif // SYSLANGUTIL_H