textinput/GSLangPlugin/inc/GSLangPlugin.hrh
changeset 0 eb1f2e154e89
equal deleted inserted replaced
-1:000000000000 0:eb1f2e154e89
       
     1 /*
       
     2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0""
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Contains definitions GSLangPlugin.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef GSLANGPLUGIN_HRH
       
    19 #define GSLANGPLUGIN_HRH
       
    20 
       
    21 // GSUi's commands
       
    22 
       
    23 // Setting items for GSLangPlugin main view.
       
    24 enum TGSLangPluginItems
       
    25     {
       
    26     EGSLangIdDTL,
       
    27     EGSLangIdITL,
       
    28     EGSLangAHNumberMode,
       
    29     EGSLangHindiNumberMode,
       
    30     EGSLangIdT9L,
       
    31     EGSLangIdJPT,
       
    32     EGSLangIdResetAtokDict,
       
    33     EGSLangIdEPT,
       
    34     EGSLangIdDIM,
       
    35     EGSLangIdWNI,
       
    36     EGSLangIdFS,
       
    37     EGSLangIdROS,
       
    38     EGSLangIdKT,        // Keypress timeout
       
    39     EGSLangIdJQC,       // Japanese Qwerty Comma
       
    40     EGSLangIdJQP,       // Japanese Qwerty Period
       
    41     EGSLangIdJQWSP,     // Japanese Qwerty Width Of Space
       
    42     EGSLangIdCangJie,
       
    43     EGSLangIdPredictiveMode,
       
    44     EGSLangIdPredictiveOptions
       
    45     };
       
    46 
       
    47 
       
    48 
       
    49 enum TGSLangNotes
       
    50     { 
       
    51     ECWActivateNote = 1,
       
    52     ECWCancelNote,
       
    53     ECWNotActiveNote,
       
    54     ERequestCancelledNote,
       
    55     ERequestingNote,
       
    56     EAlsDisabledNote,
       
    57     EAlsEnabledNote,
       
    58     ECBActiveNote,
       
    59     EPasswordErrorNote,
       
    60     EPasswordChangedNote,
       
    61     ECBNotActiveNote,
       
    62     ESearchingNote,
       
    63     ENoNetworksFoundNote,
       
    64     ECallInProgress,
       
    65     EHomeNetworksSelectedNote,
       
    66     ENetworkSelectedNote,
       
    67     ENoNetworkAccessNote,
       
    68     ENwRegistrationInterrupted,
       
    69     ECugIndexErrorNote,
       
    70     EImageLoadWaitNote
       
    71     };
       
    72     
       
    73 // Number modes used by Arabic or Hindi.
       
    74 enum TGSNumberModes
       
    75     { 
       
    76     EGSNbrModeLatin,
       
    77     EGSNbrModeArabic = 1,
       
    78     EGSNbrModeIndic = 1
       
    79     };
       
    80     
       
    81 // Number mode type
       
    82 enum TGSNumberModeType
       
    83     {
       
    84     EGSNbrModeTypeArabic,
       
    85     EGSNbrModeTypeIndic,
       
    86     EGSNbrModeTypeEasternArabic //for Urdu & Farsi languages
       
    87     };
       
    88     
       
    89 // Keypress timeout
       
    90 enum
       
    91     {
       
    92     EGSKeypressTimeoutItemNone = 0,
       
    93     EGSKeypressTimeoutItemLong,
       
    94     EGSKeypressTimeoutItemMedium,
       
    95     EGSKeypressTimeoutItemShort
       
    96     };
       
    97 
       
    98 // Japanese qwerty specif flags
       
    99 //      Japanese Qwerty Comma ON(Japanese)/OFF(Western)
       
   100 //      Japanese Qwerty Period ON(Japanese)/OFF(Western)
       
   101 //      Japanese Qwerty Width Of Space Full/Half width
       
   102 enum TGSJapQwertyFlags
       
   103     {
       
   104     EGSJapQwertyFlagNone = 0,
       
   105     EGSJapQwertyFlagComma = 0x0001,
       
   106     EGSJapQwertyFlagPeriod = 0x0002,
       
   107     EGSJapQwertyFlagSpaceFullWidth = 0x0004
       
   108     };
       
   109 
       
   110 enum TGSChiCangJieInput
       
   111     {
       
   112     EGSChiCangJieNormal = 0,
       
   113     EGSChiCangJieEasy,
       
   114     EGSChiCangJieAdvanced
       
   115     };
       
   116     
       
   117 enum TLangSettPageItems
       
   118     {
       
   119     EGSLangSPIdPinyin,
       
   120     EGSLangSPIdZhuyin,
       
   121     EGSLangSPIdStroke,
       
   122     EGSLangSPIdText,
       
   123     EGSLangSPIdUpper,
       
   124     EGSLangSPIdLower
       
   125     };
       
   126     
       
   127 enum TLangQwSettPageItems
       
   128     {
       
   129     EGSLangSPIdQwPinyin,
       
   130     EGSLangSPIdQwZhuyin,
       
   131     EGSLangSPIdQwStroke,
       
   132     EGSLangSPIdQwCangJie,
       
   133     EGSLangSPIdQwEnglish
       
   134     };
       
   135 // New Req 4.0 Predictive mode : Autocompletion
       
   136 enum{
       
   137 	EGSPredictiveModeNormal = 0,
       
   138 	EGSPredictiveModeAutocompletion
       
   139 	};
       
   140 
       
   141 enum TGSLangDualInput
       
   142     {
       
   143     EGSLangInputPrimary,
       
   144     EGSLangInputSecondary
       
   145     };
       
   146 #endif // GSLANGPLUGIN_HRH
       
   147 //End of File