equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003-2008 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2003-2008 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 "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
5 * under the terms of "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.symbianfoundation.org/legal/licencesv10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
8 * |
8 * |
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
1257 * @param aNewPhrase New phrase to be added to phrase dictionary. |
1257 * @param aNewPhrase New phrase to be added to phrase dictionary. |
1258 * @return KErrNone or system wide error code. |
1258 * @return KErrNone or system wide error code. |
1259 */ |
1259 */ |
1260 IMPORT_C TInt AddPhrase(const TDesC& aNewPhrase); |
1260 IMPORT_C TInt AddPhrase(const TDesC& aNewPhrase); |
1261 |
1261 |
1262 #ifdef __DUAL_LANGUAGE_SUPPORT__ |
1262 #ifdef FF_DUAL_LANGUAGE_SUPPORT |
1263 /** |
1263 /** |
1264 * Activates specified secondary input language in current input mode. |
1264 * Activates specified secondary input language in current input mode. |
1265 * |
1265 * |
1266 * @since S60 V5.0 |
1266 * @since S60 V5.0 |
1267 * @param aEpocLanguageID Language to be activated. |
1267 * @param aEpocLanguageID Language to be activated. |
1268 * @return KErrNone if success or system wide error code. |
1268 * @return KErrNone if success or system wide error code. |
1269 */ |
1269 */ |
1270 IMPORT_C TInt SetSecondaryInputL(TInt aEpocLanguageID); |
1270 IMPORT_C TInt SetSecondaryInputL(TInt aEpocLanguageID); |
1271 #endif //__DUAL_LANGUAGE_SUPPORT__ |
1271 #endif //FF_DUAL_LANGUAGE_SUPPORT |
1272 private: |
1272 private: |
1273 CPtiEngine(); |
1273 CPtiEngine(); |
1274 void ConstructL(TBool aUseDefaultUserDictionary); |
1274 void ConstructL(TBool aUseDefaultUserDictionary); |
1275 void ConstructL(const TUid aCoreUid, TBool aUseDefaultUserDictionary); |
1275 void ConstructL(const TUid aCoreUid, TBool aUseDefaultUserDictionary); |
1276 |
1276 |