diff -r b7e5ed8c1342 -r e71858845f73 ocrsrv_stub/inc/languageconvertor.h --- a/ocrsrv_stub/inc/languageconvertor.h Tue Sep 07 08:19:48 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,73 +0,0 @@ -/* -* Copyright (c) 2002 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" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: Language convertor definitions -* -*/ - - -#ifndef OCRLANGUAGECONVERTOR_H -#define OCRLANGUAGECONVERTOR_H - -// INCLUDE FILES -#include - -/** - * Language utils - * - * Offering language utilities - * - * @lib ocrsrv.lib - * @since S60 v3.1 - */ -class ConvertLanguage - { - public: - - /** - * Convert vendor language defination to Symbian's language definitions - * @since S60 v3.1 - * @param aLanguage A language to be converted - * @return The language converted - */ - static TLanguage ConvertToSymbian(const TInt aLanguage); - - /** - * Convert Symbian language defination to Vendor's language definitions - * @since S60 v3.1 - * @param aLanguage A language to be converted - * @return The language converted - */ - static TInt ConvertToVendor(const TLanguage aLanguage); - - /** - * Test if the language refer to multiple symbian's language definitions - * @since S60 v3.1 - * @param aLanguage A language to be tested - * @return ETrue if it is - */ - static TBool IsForMutiLanguage(const TInt aLanguage); - - /** - * Get symbian's full language list for the language - * @since S60 v3.1 - * @param aLanguage A language to be specified - * @param aArray Symbian's full language list - * @return None - */ - static void GetMutiLanguage(const TInt aLanguage, RArray& aArray); - }; - -#endif // OCRLANGUAGECONVERTOR_H - -// End of file