epoc32/include/mw/avkon.hrh
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
     1 avkon.hrh
     1 /*
       
     2 * Copyright (c) 2002-2008 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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Constants for AVKON to be used in resource files.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __AVKON_HRH__
       
    19 #define __AVKON_HRH__
       
    20 
       
    21 #if !defined(__UIKON_HRH__)
       
    22 #include <uikon.hrh>
       
    23 #endif
       
    24 
       
    25 #if !defined(__EIKON_HRH__)
       
    26 #include <eikon.hrh>
       
    27 #endif
       
    28 
       
    29 #include <aknfontcategory.hrh>
       
    30 #include <aknfontidoffsets.hrh>
       
    31 
       
    32 // This file is very important for applications!
       
    33 //
       
    34 // Here we have many names you can find from Series 60 specifications
       
    35 // This file provides access for applications to the following services:
       
    36 //   * Selection Service
       
    37 //   * Find
       
    38 //
       
    39 
       
    40 // moved from uikon.hrh
       
    41 #define EEikStatusPaneLayoutAknLafDefined    0x10
       
    42 
       
    43 // internal, do not use (maybe you might need to use LoopScrolling though, but use it with some other flags...)
       
    44 #define EAknListBoxMultipleSelection         EEikListBoxMultipleSelection
       
    45 #define EAknListBoxIncrementalMatching       EEikListBoxIncrementalMatching
       
    46 #define EAknListBoxScrollBarSizeExcluded     0x0080
       
    47 #define EAknListBoxLoopScrolling             0x1000
       
    48 #define EAknListBoxEnterMarks                0x2000
       
    49 #define EAknListBoxShiftEnterMarks           0x4000
       
    50 // Note there's also EAknListBoxViewerFlags, which is better for apps.
       
    51 #define EAknListBoxViewerFlag                0x8000
       
    52 #define EAknListBoxPointerMultiselectionList 0x10000
       
    53 #define EAknListBoxPointerMarkableList       0x20000
       
    54 
       
    55 
       
    56 // These are combined to the viewerflag to make it fit to WORD in resources.
       
    57 #define EAknListBoxPageAtOnceScrolling EAknListBoxViewerFlag
       
    58 #define EAknListBoxDisableHighlight EAknListBoxViewerFlag
       
    59 
       
    60 // The next ones are used internally by SingleGraphicStyle and DoubleGraphicStyle
       
    61 #define EAknListBoxFlagsMarkableCheck (EAknListBoxShiftEnterMarks)
       
    62 #define EAknListBoxFlagsMultiselectionCheck (EAknListBoxEnterMarks)
       
    63 
       
    64 #define EAknGenericListBoxFlags (EAknListBoxScrollBarSizeExcluded)
       
    65 
       
    66 // Implementation detail, do not use - for dialog flags
       
    67 #define EAknDialogGenericFullScreen (EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | EEikDialogFlagFillAppClientRect | EEikDialogFlagCbaButtons | EEikDialogFlagWait)
       
    68 
       
    69 //
       
    70 //
       
    71 //  SELECTION SERVICE IMPLEMENTATION STARTS HERE (Use these in applications!)
       
    72 //
       
    73 // LISTBOX FLAGS (use these in applications)
       
    74 //
       
    75 #define EAknListBoxSelectionList                   (EAknGenericListBoxFlags)
       
    76 #define EAknListBoxSelectionListWithShortcuts      (EAknListBoxSelectionList | EAknListBoxIncrementalMatching)
       
    77 #define EAknListBoxMenuList                        (EAknGenericListBoxFlags)
       
    78 #define EAknListBoxMarkableList                    (EAknGenericListBoxFlags | EAknListBoxMultipleSelection | EAknListBoxShiftEnterMarks)
       
    79 #define EAknListBoxMarkableListWithShortcuts       (EAknListBoxMarkableList | EAknListBoxIncrementalMatching)
       
    80 #define EAknListBoxMultiselectionList              (EAknGenericListBoxFlags | EAknListBoxMultipleSelection | EAknListBoxEnterMarks)
       
    81 #define EAknListBoxMultiselectionListWithShortcuts (EAknListBoxMultiselectionList | EAknListBoxIncrementalMatching)
       
    82 
       
    83 // if pen input is supported, then these two flags can be used
       
    84 // to get Multiselection and Markable lists to work as s60 style by using stylus
       
    85 #define EAknListBoxStylusMultiselectionList   (EAknListBoxPointerMultiselectionList | EAknGenericListBoxFlags | EAknListBoxMultipleSelection | EAknListBoxEnterMarks)
       
    86 #define EAknListBoxStylusMarkableList         (EAknListBoxPointerMarkableList | EAknGenericListBoxFlags | EAknListBoxMultipleSelection | EAknListBoxShiftEnterMarks)
       
    87 
       
    88 #define EAknListBoxSelectionGrid              (EAknListBoxSelectionList)
       
    89 #define EAknListBoxSelectionGridWithShortcuts (EAknListBoxSelectionList | EAknListBoxIncrementalMatching)
       
    90 #define EAknListBoxMarkableGrid               (EAknListBoxMarkableList)
       
    91 #define EAknListBoxMarkableGridWithShortcuts  (EAknListBoxMarkableList | EAknListBoxIncrementalMatching)
       
    92 
       
    93 #define EAknListBoxMenuGrid                   (EAknListBoxMenuList)
       
    94 
       
    95 //
       
    96 // Viewers (see Selection service)
       
    97 //
       
    98 #define EAknListBoxViewerFlags        (EAknListBoxPageAtOnceScrolling | EAknListBoxDisableHighlight)
       
    99 
       
   100 //
       
   101 // DIALOG FLAGS (applications should use these!)
       
   102 //
       
   103 #define EAknDialogSelectionList       (EAknDialogGenericFullScreen)
       
   104 #define EAknDialogMenuList            (EAknDialogGenericFullScreen)
       
   105 #define EAknDialogMarkableList        (EAknDialogGenericFullScreen | EEikDialogFlagDontEatUpDownEvents)
       
   106 #define EAknDialogMultiselectionList  (EAknDialogGenericFullScreen)
       
   107 
       
   108 #define EAknDialogGenericNoteFlags    (EEikDialogFlagNoDrag |EEikDialogFlagNoTitleBar | EEikDialogFlagCbaButtons )
       
   109 #define EAknDialogGenericQueryFlags   (EEikDialogFlagWait|EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | EEikDialogFlagCbaButtons)
       
   110 
       
   111 // Flags for note dialogs:
       
   112 #define EAknErrorNoteFlags            (EAknDialogGenericNoteFlags | EEikDialogFlagCloseDialogWhenTapped)
       
   113 #define EAknWarningNoteFlags          (EAknDialogGenericNoteFlags | EEikDialogFlagCloseDialogWhenTapped)
       
   114 #define EAknInformationNoteFlags      (EAknDialogGenericNoteFlags | EEikDialogFlagCloseDialogWhenTapped)
       
   115 #define EAknConfirmationNoteFlags     (EAknDialogGenericNoteFlags | EEikDialogFlagCloseDialogWhenTapped)
       
   116 #define EAknProgressNoteFlags         (EAknDialogGenericNoteFlags | EEikDialogFlagNotifyEsc)
       
   117 #define EAknWaitNoteFlags             (EAknProgressNoteFlags)
       
   118 #define EAknPermanentNoteFlags        (EAknDialogGenericNoteFlags | EEikDialogFlagModeless)
       
   119 #define EAknSoftNotificationNoteFlags (EAknDialogGenericNoteFlags)
       
   120 
       
   121 // Flags for query dialogs:
       
   122 #define EGeneralQueryFlags (EAknDialogGenericQueryFlags)
       
   123 #define EAknGeneralQueryFlags (EAknDialogGenericQueryFlags)
       
   124 
       
   125 //
       
   126 // CBA LABELS (applications should use these)
       
   127 //
       
   128 #define R_AVKON_SOFTKEYS_SELECTION_LIST        R_AVKON_SOFTKEYS_OPTIONS_BACK
       
   129 #define R_AVKON_SOFTKEYS_MENU_LIST             R_AVKON_SOFTKEYS_OK_CANCEL
       
   130 #define R_AVKON_SOFTKEYS_SETTING_LIST          R_AVKON_SOFTKEYS_OPTIONS_CANCEL
       
   131 #define R_AVKON_SOFTKEYS_TEXT_SETTING_ITEM     R_AVKON_SOFTKEYS_OK_BACK
       
   132 #define R_AVKON_SOFTKEYS_POPUP_SETTING_ITEM    R_AVKON_SOFTKEYS_MENU_LIST
       
   133 #define R_AVKON_SOFTKEYS_SLIDER_SETTING_ITEM   R_AVKON_SOFTKEYS_OPTIONS_BACK
       
   134 #define R_AVKON_SOFTKEYS_MULTISELECTION_LIST   R_AVKON_SOFTKEYS_OK_CANCEL
       
   135 #define R_AVKON_SOFTKEYS_MARKABLE_LIST         R_AVKON_SOFTKEYS_SELECTION_LIST
       
   136 
       
   137 
       
   138 //
       
   139 // Menu panes (context specific menu panes)
       
   140 //
       
   141 #define R_AVKON_MENUPANE_SELECTION_LIST      R_AVKON_MENUPANE_EMPTY
       
   142 #define R_AVKON_MENUPANE_SETTING_LIST        R_AVKON_MENUPANE_EMPTY
       
   143 #define R_AVKON_MENUPANE_MARKABLE_LIST       R_AVKON_MENUPANE_MARKABLE_LIST_EDIT_LIST_IMPLEMENTATION
       
   144 #define R_AVKON_MENUPANE_MULTISELECTION_LIST R_AVKON_MENUPANE_EMPTY
       
   145 
       
   146 //
       
   147 // There are also ready-made HandleCommandL() implementations for selection service in aknutils.h
       
   148 //
       
   149 // AknSelectionService::HandleSelectionListProcessCommandL(aCommand, iListBox);
       
   150 // AknSelectionService::HandleMultiSelectionListProcessCommandL(aCommand, iListBox);
       
   151 // AknSelectionService::HandleMarkableSelectionListProcessCommandL(aCommand, iListBox);
       
   152 //
       
   153 
       
   154 //
       
   155 // Application icon dimensions (for proper layout in Application Shell and Fast Application Swap)
       
   156 //
       
   157 
       
   158 enum
       
   159     {
       
   160     EAknApplicationIconWidth = 42,
       
   161     EAknApplicationIconHeight = 29
       
   162     };
       
   163 
       
   164 //
       
   165 //
       
   166 //  SELECTION SERVICE IMPLEMENTATION ENDS HERE
       
   167 //
       
   168 //
       
   169 
       
   170 
       
   171 //
       
   172 // FIND IMPLEMENTATION STARTS HERE, use AknFind with these.
       
   173 //
       
   174 
       
   175 // Options menu. Use these instead of R_AVKON_MENUPANE_[SELECTION|MARKABLE]_LIST when find popup window is needed
       
   176 #define R_AVKON_MENUPANE_SELECTION_LIST_WITH_FIND_POPUP R_AVKON_MENUPANE_FIND_POPUP_IMPLEMENTATION
       
   177 #define R_AVKON_MENUPANE_MARKABLE_LIST_WITH_FIND_POPUP  R_AVKON_MENUPANE_FIND_POPUP_IMPLEMENTATION_MARKABLE
       
   178 
       
   179 #define EAknFindBoxEditorFlags (CEikEdwin::ENoLineOrParaBreaks)
       
   180 
       
   181 //
       
   182 // FIND IMPLEMENTATION ENDS HERE
       
   183 //
       
   184 
       
   185 // for ProcessCommandL()
       
   186 enum
       
   187     {
       
   188     EAknDummyForProcessCommands = 4000,
       
   189     EAknMarkAll,         // selection service impl
       
   190     EAknUnmarkAll,       // selection service impl
       
   191     EAknCmdHelp,
       
   192     EAknCmdAddToPinboard,
       
   193     EAknCmdFindPopupActivated,
       
   194     EAknCmdEditModeT9,
       
   195     EAknCmdEditModeMultitap,
       
   196     EAknCmdEditModeNumber,
       
   197     EAknCmdEditInsertNumber,
       
   198     EAknCmdEditInsertSymbol,
       
   199     EAknCmdInputLanguage,
       
   200     EAknCmdPredictiveTextCascade,
       
   201     EAknCmdT9PredictiveMatches,
       
   202     EAknCmdT9PredictiveInsertWord,
       
   203     EAknCmdT9PredictiveEditWord,
       
   204     EAknCmdT9PredictiveT9Off,
       
   205     EAknCmdMultitapPredictiveT9On,
       
   206     EAknCmdExit,
       
   207     EAknCmdEditTextMenu,
       
   208     EAknCmdEditListMenu, // selection service impl
       
   209     EAknCmdMark,         // selection service impl
       
   210     EAknCmdUnmark,       // selection service impl
       
   211     EAknCmdOpen,         // selection service impl
       
   212 
       
   213     // command ids for APAC build
       
   214     EChinFepCmdInstructions,
       
   215     EChinFepCmdModePinyin,
       
   216     EChinFepCmdModeZhuyin,
       
   217     EChinFepCmdModeStroke,
       
   218     EChinFepCmdModeLatinUpper,
       
   219     EChinFepCmdModeLatinLower,
       
   220     EChinFepCmdModeNumber,
       
   221     EChinFepCmdModeZhuyinFind,
       
   222     EChinFepCmdModeStrokeFind,
       
   223 
       
   224     EAknCmdEditModeArabicIndicNumber,
       
   225     EAknCmdEditModeAlpha,
       
   226     EAknCmdEditModeLatinText,
       
   227     EAknCmdEditModeIndicNumber,
       
   228 
       
   229     // command ids for Japanese build
       
   230     EJapanFepCmdModeHiragana,
       
   231     EJapanFepCmdModeKatakana,
       
   232     EJapanFepCmdModePictographs,
       
   233     EJapanFepCmdModeFullWidth,
       
   234     EJapanFepCmdModeHalfWidth,
       
   235     EJapanFepCmdModePredictiveOn,
       
   236     EJapanFepCmdModePredictiveOff,
       
   237     EJapanFepCmdModeUserDic,
       
   238     EJapanFepCmdModeKutenCodeInput,
       
   239     EAknCmdEditInsertPictograph,
       
   240     EJapanFepCmdPredictiveTextCascade,
       
   241     EJapanFepCmdMultitapPredictiveT9On,
       
   242     EJapanFepCmdEditModeAlpha,
       
   243     EJapanFepCmdEditModeNumber,
       
   244 
       
   245     // Command ids for CangJie IME and Chinese Option Menu
       
   246     EAknCmdInputMethod,
       
   247     EChinFepCmdModeCangJie,
       
   248     EChinFepCmdModeCangJieOption,
       
   249 
       
   250     // Edit menu specific command id
       
   251     EAknCmdEditMenuSctSelected,
       
   252 
       
   253     // Command ids for Hwr IME and Chinese Option Menu
       
   254     EPenInputCmdCut,
       
   255     EPenInputCmdCopy,
       
   256     EPenInputCmdPaste,
       
   257     EPenInputCmdSetting,
       
   258     EPenInputCmdHwrTraining,
       
   259     EFepInputCmdHelp,
       
   260 
       
   261     /**
       
   262     * Command id for eastern arabic-indic digit type menu item.
       
   263     * @since 3.1
       
   264     */
       
   265     EAknCmdEditModeEasternArabicIndicNumber,
       
   266 
       
   267     /**
       
   268     * Command id for launching task swapper from options menu.
       
   269     * @since 3.1
       
   270     */
       
   271     EAknCmdTaskSwapper,
       
   272 
       
   273     // Add new command ids here.
       
   274     /**
       
   275     * Command ids for Japanese insert symbol
       
   276     * The behaviour of this id is same as EAknCmdEditInsertSymbol.
       
   277     */
       
   278     EAknCmdEditInsertSymbolJp,
       
   279 
       
   280     /**
       
   281     * Command ids for clear direction of Japanese input from options menu.
       
   282     * @since 3.2
       
   283     */
       
   284     EAknCmdEditClearDirectionLeft,
       
   285     EAknCmdEditClearDirectionRight,
       
   286 
       
   287     /**
       
   288     * Command id for Auto Word Completion Edit menu item.
       
   289     * @since 3.2
       
   290     */
       
   291     EAknCmdPredictiveModeCascade, // Edit Menu
       
   292     EAknCmdPredictiveNormal,      // To turn AutoCompletion Off
       
   293     EAknCmdPredictiveAutoWord,    // To turn AutoCompletion On
       
   294     EAknCmdEditItemPlaceHolder,
       
   295 
       
   296     /**
       
   297     * Command ids for Japanese Touch input Option Menu
       
   298     * @since 3.2
       
   299     */
       
   300     EPenInputJpCmdFullWidth,
       
   301     EPenInputJpCmdHalfWidth,
       
   302     EPenInputJpCmdConversionOn,
       
   303     EPenInputJpCmdConversionOff,
       
   304     EPenInputJpCmdPredictiveOn,
       
   305     EPenInputJpCmdPredictiveOff,
       
   306     EPenInputJpCmdSaveWord,
       
   307     EPenInputJpCmdKutenCode,
       
   308 
       
   309     EAknCmdEditMenuClose,
       
   310     /**
       
   311     * Command to hide application in background
       
   312     * @since 5.0
       
   313     */
       
   314     EAknCmdHideInBackground,
       
   315 
       
   316     //preview Input
       
   317     EPenInputPreview,
       
   318     EPenInputCmdPreviewOn,
       
   319     EPenInputCmdPreviewOff,
       
   320 
       
   321     /**
       
   322     * Command ids for ITI input Option Menu
       
   323     * @since
       
   324     */
       
   325 
       
   326     EAknFepCmdPredMatches,
       
   327     EAknFepCmdPredActivate,
       
   328     EAknFepCmdPredDeactivate,
       
   329     EAknFepCmdPredSettings,
       
   330     EAknFepCmdPredInputLanguage,
       
   331     EAknFepCmdPredHelp,
       
   332     EAknFepCmdPredAutoComplSetting,
       
   333     EAknFepCmdPredAutoComplMultiSetting,
       
   334     EAknFepCmdPredTypingCorrectionSetting,
       
   335     EAknFepCmdPredNumberCandidateSetting,
       
   336     EAknFepCmdPredSettingChange,
       
   337     EAknFepCmdPredPrimaryCandidateSetting,
       
   338 
       
   339 		// Command ids for Japanese Option Menu
       
   340     EPenInputCmdRomajiInputOn,
       
   341     EPenInputCmdRomajiInputOff,
       
   342     
       
   343     //Command id for launching arabic handwriting recognition dictionary on-off menu
       
   344     EPenInputCmdRecognitionWithDictionary,
       
   345 
       
   346 		/**
       
   347      * Command ids for UDB Editing with ITI input
       
   348      * @since 3.2.3
       
   349      */
       
   350     EAknFepCmdPredEditUserDictionary,
       
   351     EAknFepPredDictionaryCmdEdit,
       
   352     EAknFepPredDictionaryCmdAdd,
       
   353     EAknFepPredDictionaryCmdDelete,
       
   354     EAknFepPredDictionaryCmdMarkUnmark,
       
   355     
       
   356     //Command id for launch phrase creation view
       
   357     EAknCmdUserDBDlg,
       
   358 
       
   359     /**
       
   360     * @deprecated
       
   361     * Do not use.
       
   362     */
       
   363     EAknCmdEnd = 4999
       
   364     };
       
   365 
       
   366 /**
       
   367 * Note that although these are the command ids resulting from the CBA key press, codes returned from
       
   368 * CAknDialog::ExecuteLD are mapped in the routine CEikDialog::MappedCommandId.  This routine should be consulted
       
   369 * before knowing what the dialog will return.
       
   370 */
       
   371 enum // CBA constants
       
   372     {
       
   373     EAknSoftkeyOk      = EEikBidOk,
       
   374     EAknSoftkeyCancel  = EEikBidCancel,
       
   375     EAknSoftkeySelect  = EEikBidSelect,
       
   376     EAknSoftkeyOptions = 3000,
       
   377     EAknSoftkeyBack,
       
   378     EAknSoftkeyMark,
       
   379     EAknSoftkeyUnmark,
       
   380     EAknSoftkeyInsert,
       
   381     EAknSoftkeyYes,
       
   382     EAknSoftkeyNo,
       
   383     EAknSoftkeyDone,
       
   384     EAknSoftkeyClose,
       
   385     EAknSoftkeyExit,
       
   386     EAknSoftkeyClear,
       
   387     EAknSoftkeyUnlock,
       
   388     EAknSoftkeySave,
       
   389     EAknSoftkeyShow,
       
   390     EAknSoftkeyListen,
       
   391     EAknSoftkeyRead,
       
   392     EAknSoftkeySearch,
       
   393     EAknSoftkeyEmpty,
       
   394     EAknSoftkeyLock,
       
   395     EAknSoftkeyCall,
       
   396     EAknSoftkeyAgain,
       
   397     EAknSoftkeyQuit,
       
   398     EAknSoftkeyDetails,
       
   399     EAknSoftkeyNext,
       
   400     EAknSoftkeyOther,
       
   401     EAknSoftkeyEdit,
       
   402     EAknSoftkeyOpen,
       
   403     EAknSoftkeySend,
       
   404     EAknSoftkeyView,
       
   405     EAknSoftkeyContextOptions,
       
   406     EAknSoftkeyChange,
       
   407     EAknSoftkeyShiftMSK,
       
   408     EAknSoftkeyForwardKeyEvent,
       
   409     EAknSoftkeyHide,
       
   410     EAknSoftkeyEmergencyCall,
       
   411     EAknSoftkeyDialler
       
   412     };
       
   413 
       
   414 enum
       
   415     {
       
   416     EAknSoftkeyDummyUsedWithShortcuts = 3200
       
   417     };
       
   418 
       
   419 enum
       
   420     {
       
   421     EAknCBAFlagRespondWhenInvisible = 0x02   // softkeys still respond to key events even when control is invisible
       
   422     };
       
   423 
       
   424 // Predefined softkey ranges for supporting limited automatic control of such things as
       
   425 // return from dialog-like contexts.
       
   426 // All dialog-like contexts should  return 0 for values in the first range.
       
   427 // CEikDialog does not use the other implied ranges at all.
       
   428 // Other contexts may use the "accept" range for internal behaviour
       
   429 #define EAknSoftkeyLowestUserRejectId   0x1000
       
   430 #define EAknSoftkeyLowestUserAcceptId   0x1100
       
   431 #define EAknSoftkeyLowestUserNeutralId  0x1200
       
   432 
       
   433 // Define a Cba version number of differentiate from GT CBA
       
   434 // Current GT version is 0, but it's worth avoiding 1,2 etc in
       
   435 // case of future incompatibilities.
       
   436 #define KAknCbaVersion 10
       
   437 
       
   438 #define KAknBMPAnimVersion 10
       
   439 
       
   440 // Avkon control id's start from 5700
       
   441 // Phonebook control id's start from 6000
       
   442 
       
   443 // Avkon Control Type codes
       
   444 #define KAknCtFirstControlId    5699
       
   445 #define KAknCtLastControlId     0x2000
       
   446 
       
   447 enum
       
   448     {
       
   449     EAknCtTest = KAknCtFirstControlId,
       
   450     EAknControlIdBase = 5700,
       
   451 
       
   452     EAknCtFormattedListBox, // generic formatted listbox
       
   453 
       
   454     // "General list pane descendants"
       
   455     EAknCtSingleListBox,
       
   456     EAknCtSingleNumberListBox,
       
   457     EAknCtSingleHeadingListBox,
       
   458     EAknCtSingleGraphicListBox,
       
   459     EAknCtSingleGraphicHeadingListBox,
       
   460     EAknCtSingleNumberHeadingListBox,
       
   461     EAknCtSingleLargeListBox,
       
   462     EAknCtDoubleListBox,
       
   463     EAknCtDoubleNumberListBox,   // this is also big number implementation
       
   464     EAknCtDoubleTimeListBox,
       
   465     EAknCtDoubleLargeListBox,    // this is also big large graphic implementation
       
   466     EAknCtDoubleGraphicListBox,
       
   467     EAknCtSettingListBox,        // this is also big setting pane implementation
       
   468     EAknCtSettingNumberListBox,  // this is also big setting number pane implementation
       
   469 
       
   470     // "Pop up window list pane descendants"
       
   471     EAknCtSinglePopupMenuListBox,
       
   472     EAknCtSingleGraphicPopupMenuListBox,
       
   473     EAknCtSingleGraphicHeadingPopupMenuListBox,
       
   474     EAknCtMenuDoublePopupMenuListBox,
       
   475     EAknCtSinglePopupSubmenuListBox,
       
   476     EAknCtDoubleLargeGraphicPopupMenuListBox,
       
   477     EAknCtSingleHeadingPopupMenuListBox,
       
   478 
       
   479     // "List pane elements and descendants(settings, edited)"
       
   480     EAknSetListBox,
       
   481 
       
   482     // "List pane elements (form, popup)"
       
   483     EAknFormGraphicListBox,
       
   484 
       
   485     // These are listboxes too.
       
   486     EAknCtAppGrid,
       
   487     EAknCtPinbGrid,      // This is provided as example only.
       
   488     EAknCtQdialGrid,     // this is provided as example only.
       
   489     EAknCtCaleMonthGrid, // this is provided as example only.
       
   490 
       
   491     // Avkon Status pane controls
       
   492     EAknCtTitlePane,
       
   493     EAknCtContextPane,
       
   494     EAknCtNaviPane,
       
   495     EAknCtSignalPane,
       
   496     EAknCtBatteryPane,
       
   497     EAknCtIndicatorPane,
       
   498     EAknCtIdleContextPane,
       
   499 
       
   500     // For AVKON notes and queries:
       
   501     EAknCtNote,
       
   502     EAknCtQuery,
       
   503     EAknCtMultilineQuery,
       
   504 
       
   505     // For AVKON popup field:
       
   506     EAknCtPopupField,
       
   507     EAknCtPopupFieldText,
       
   508 
       
   509     // For AVKON Form
       
   510     EAknCtFormLabelEditor,
       
   511 
       
   512     // For LAF reader
       
   513     EAknCtLAF,
       
   514     EAknCtPopupHeadingPane,
       
   515     EAknCtSearchField,
       
   516 
       
   517     // For Setting Page
       
   518     EAknCtSettingPage,
       
   519 
       
   520     // For AknVolumeControl and AknSlider
       
   521     EAknCtVolumeControl,
       
   522     EAknCtSlider,
       
   523     EAknCtListQueryControl,
       
   524     EAknCtSpecialCharacterMap,
       
   525 
       
   526     // For AknPhoneNumberEditor
       
   527     EAknPhoneNumberEditor,
       
   528 
       
   529     // Numeric secret editor
       
   530     EAknCtNumericSecretEditor,
       
   531 
       
   532     // Popup Setting List Page
       
   533     EAknCtPopupSettingList,
       
   534 
       
   535     // Message query
       
   536     EAknCtMessageQuery,
       
   537 
       
   538     // Specialized numeric edwins
       
   539     EAknCtIntegerEdwin,
       
   540     EAknCtFloatingPointEdwin,
       
   541     EAknCtSelectionListFixedFind,
       
   542     EAknCtSelectionListPopupFind,
       
   543     EAknCtEmptyList,
       
   544     EAknCtDouble2GraphicListBox,
       
   545     EAknCtDouble2LargeListBox,
       
   546     EAknCtDouble2PopupMenuListBox,
       
   547 
       
   548     // NOTE: DO NOT USE THESE LISTS (break ui-style, only for java)!!!
       
   549     EAknCtSingle2GraphicListBox,
       
   550     EAknCtDouble2GraphicLargeListBox,
       
   551     // END OF NOTE
       
   552 
       
   553     // Colour selection grid
       
   554     EAknCtColourSelectionDialogNoneField, // Deprecated
       
   555     EAknCtColourSelectionDialogGrid,      // Deprecated
       
   556 
       
   557     // Find box in list query dialog
       
   558     EAknCtListQuerySearchControl,
       
   559 
       
   560     // Derived query control for ip & fixed point queries
       
   561     EAknExtCtQuery,
       
   562 
       
   563     // Derived multiline query control for ip&ip queries
       
   564     EAknExtCtMultilineQuery,
       
   565 
       
   566     EAknCtBitmapAnimation,
       
   567 
       
   568     // button for 5.0
       
   569     EAknCtButton,
       
   570 
       
   571     // new popup lists for 3.0
       
   572     EAknCtSingle2GraphicPopupMenuListBox,
       
   573     EAknCtDoubleGraphicPopupMenuListBox,
       
   574 
       
   575     // Colour selection grid control for rel 3.0.
       
   576     EAknCtColourSelectionGridDialog,
       
   577 
       
   578     // Small digital clock for Avkon Status pane 3.1
       
   579     EAknCtDigitalClockPane,
       
   580 
       
   581     // Empty control for Avkon Status pane 3.1
       
   582     EAknCtStatuspaneEmpty,
       
   583 
       
   584     // use messageBox with listQuery, 3.0->
       
   585     EAknListQueryWithMsgBox,
       
   586 
       
   587     // Status pane
       
   588     /** Application side container for universal indicator container */
       
   589     EAknCtUniversalIndicatorPane,
       
   590     /** Application side container for signal pane */
       
   591     EAknCtSignalIndicatorContainerPane,
       
   592     /** Application side container for battery pane */
       
   593     EAknCtBatteryIndicatorContainerPane,
       
   594 
       
   595     // Toolbar extension
       
   596     EAknCtToolbarExtension,
       
   597 
       
   598     /** For selection list with adaptive search */
       
   599 	/** @since 5.0 */
       
   600     EAknCtSelectionListAdaptiveFind,
       
   601 
       
   602     // This is the marker for the last AVKON control id: It does not construct a control
       
   603     EAknCtLastControlId = KAknCtLastControlId
       
   604 
       
   605     // Control ids beyond (or including) this value will be dealt with as custom controls.
       
   606 
       
   607     // However, to assist collaboration between applications, the following S60 -specific
       
   608     // application- related ranges are documented here:
       
   609     //
       
   610     // Phonebook- related control ids = 0x2800 - 0x2C00
       
   611     //
       
   612     // Applications which do not have to correlate with any other DLLs or apps, should use the
       
   613     // range 0x2001 - 0x2800
       
   614     //
       
   615 
       
   616     // Control ID range 0xF000 - 0xFFFF is reserved for licensee controls.
       
   617     };
       
   618 
       
   619 // Navi decorator control types
       
   620 enum
       
   621     {
       
   622     ENaviDecoratorControlNone,
       
   623     ENaviDecoratorControlTabGroup,
       
   624     ENaviDecoratorLabel,
       
   625     ENaviDecoratorImage,
       
   626     ENaviDecoratorToolTip // Hint text
       
   627     };
       
   628 
       
   629 // Navigation pane tab width specifiers
       
   630 enum
       
   631     {
       
   632     EAknTabWidthWithTwoTabs       = 36,
       
   633     EAknTabWidthWithTwoLongTabs   = 74,
       
   634     EAknTabWidthWithThreeTabs     = 22,
       
   635     EAknTabWidthWithThreeLongTabs = 67,
       
   636     EAknTabWidthWithFourTabs      = 18,
       
   637     EAknTabWidthWithOneTab        = 107
       
   638     };
       
   639 
       
   640 // Note dialog constants
       
   641 enum
       
   642     {
       
   643     EGeneralLayout = 1,
       
   644     EConfirmationLayout,
       
   645     EProgressLayout,
       
   646     ENoteWithImageLayout,
       
   647     ETextualNotificationLayout,
       
   648     ENotificationWithGraphicsLayout,
       
   649     EAknNoteControlAnimationCreationFailed,
       
   650     EWaitLayout
       
   651     };
       
   652 
       
   653 enum
       
   654     {
       
   655     EAknInvalidBorderCount = 1,
       
   656     EAknInvalidDimensionArrayOutOfBounds,
       
   657     EAknNoNoteControlDimensionDefined,
       
   658     EAknNoteControlNullArgumentUsed
       
   659     };
       
   660 
       
   661 enum EAknNoteItemType
       
   662     {
       
   663     EAknNoteNoType = 1,
       
   664     EAknNoteBitmap,
       
   665     EAknNoteNumberTypeIndication,
       
   666     EAknNoteProgressBar,
       
   667     EAknNoteLabel,
       
   668     EAknNoteAnimation
       
   669     };
       
   670 
       
   671 enum TNoteCtrlIds
       
   672     {
       
   673     EGeneralNote = 1
       
   674     };
       
   675 
       
   676 /** Note control flags */
       
   677 #define EAknNoteNoTextWrapping            0x001 ///< Sets the TNoteFlags::ENoteNoTextWrapping
       
   678 #define EAknNoteLeftSoftkeyWhenTapped     0x080 ///< Sets the TNoteFlags::ENoteLeftSKWhenTapped
       
   679 /**
       
   680  * Note: EAknNoteFlagWithSkinnableGraphics can only be used with AVKON_NOTE_SKINNED.
       
   681  * Using it with AVKON_NOTE will cause a panic in resource reading.
       
   682  * @since S60 5.0
       
   683  */
       
   684 #define EAknNoteFlagWithSkinnableGraphics 0x100 ///< Sets the TNoteFlags::ENoteWithSkinnableGraphics
       
   685 
       
   686 // Query dialog constants
       
   687 
       
   688 // These are query types, and each type must be mapped
       
   689 // to a layout (e.g. code layout or data layout)
       
   690 // If you add or change a type here you need to update
       
   691 // KQueryTypeToLayout in aknquerycontrol.cpp otherwise
       
   692 // query control will crash with EAknPanicNotSupported
       
   693 // because the layout is not known
       
   694 enum
       
   695     {
       
   696     EDataLayout = 1,
       
   697     EConfirmationQueryLayout,
       
   698     ECodeLayout,
       
   699     ETimeLayout,
       
   700     EDateLayout,
       
   701     EListLayout,
       
   702     EMultiListLayout,
       
   703     EMultiLineDataLayout,
       
   704     EDurationLayout,
       
   705     ETextSoftNotification,
       
   706     ENumberLayout,
       
   707     EPinLayout,
       
   708     EPhoneLayout,
       
   709     EMessageQueryLayout,
       
   710     EStaticSizeDataLayout,
       
   711     EFloatingPointLayout,
       
   712     EIpLayout,
       
   713     EFixedPointLayout,
       
   714     EDataLayoutAllowEmptyInput,
       
   715     ELocationLayout
       
   716     };
       
   717 
       
   718 enum
       
   719     {
       
   720     ETextEditor=1,
       
   721     ESecretEditor,
       
   722     ETimeEditor,
       
   723     EDateEditor,
       
   724     ENumberEditor,
       
   725     EDurationEditor,
       
   726     EIpEditor,
       
   727     EFixedPointEditor,
       
   728     ELocationEditor
       
   729     };
       
   730 
       
   731 enum EAknMultilineDataLayout
       
   732     {
       
   733     EMultiDataFirstEdwin = 1,
       
   734     EMultiDataSecondEdwin,
       
   735     EMultiDataFirstSecEd,
       
   736     EMultiDataSecondSecEd,
       
   737     EMultiDataFirstTimeEd,
       
   738     EMultiDataSecondTimeEd,
       
   739     EMultiDataFirstDateEd,
       
   740     EMultiDataSecondDateEd,
       
   741     EMultiDataFirstDurEd,
       
   742     EMultiDataSecondDurEd,
       
   743     EMultiDataFirstPhoneEd,
       
   744     EMultiDataSecondPhoneEd,
       
   745     EMultiDataFirstNumEd,
       
   746     EMultiDataSecondNumEd,
       
   747     EMultiDataFirstPinEd,
       
   748     EMultiDataSecondPinEd,
       
   749     EMultiDataFirstIpEd,
       
   750     EMultiDataSecondIpEd,
       
   751     EMultiDataFirstLocationEd,
       
   752     EMultiDataSecondLocationEd,
       
   753     EMultiDataFirstEdwinAllowEmpty,
       
   754     EMultiDataSecondEdwinAllowEmpty
       
   755     };
       
   756 
       
   757 enum TQueryCtrlIds
       
   758     {
       
   759     EGeneralQuery = 0x500,
       
   760     EMultilineFirstLine,
       
   761     EMultilineSecondLine
       
   762     };
       
   763 
       
   764 enum TListQueryCtrlIds
       
   765     {
       
   766     EListQueryMainInboxList = 1,
       
   767     EListQueryMainDraftList,
       
   768     EListQueryMainOutboxList,
       
   769     EListQueryAppViewLabel,
       
   770     EListQueryMsgEditField,
       
   771     EListQueryHeading,
       
   772     EListQueryControl
       
   773     };
       
   774 
       
   775 enum TSelectionListCtrlIds
       
   776     {
       
   777     ESelectionListControl = 1,
       
   778     EFindControl,
       
   779     EAknEmptyListControl,
       
   780     EAknListQueryMessageBox
       
   781     };
       
   782 
       
   783 // layout commands (for lists currently)
       
   784 enum
       
   785     {
       
   786     ELayoutNoCmd = 1,
       
   787     ELayoutOptional,        // optional items
       
   788     ELayoutRightSeparator,  // adds separator
       
   789     ELayoutTransparentCell, // transparent cell for formattedlistbox only
       
   790     ELayoutItemMark,        // sets column/subcell to handle item mark in multiselection lists
       
   791     ELayoutNotFilled,
       
   792     ELayoutNotAlwaysDrawn
       
   793     };
       
   794 
       
   795 enum
       
   796     {
       
   797     ELayoutAlignNone,
       
   798     ELayoutAlignCenter,
       
   799     ELayoutAlignLeft,
       
   800     ELayoutAlignRight,
       
   801     ELayoutAlignBidi
       
   802     };
       
   803 
       
   804 // Editor alignment
       
   805 enum
       
   806     {
       
   807     EAknEditorAlignNone   = ELayoutAlignNone,
       
   808     EAknEditorAlignCenter = ELayoutAlignCenter,
       
   809     EAknEditorAlignLeft   = ELayoutAlignLeft,
       
   810     EAknEditorAlignRight  = ELayoutAlignRight,
       
   811     EAknEditorAlignBidi   = ELayoutAlignBidi
       
   812     };
       
   813 
       
   814 // Editor character case
       
   815 enum
       
   816     {
       
   817     EAknEditorCharactersUpperCase = EAknEditorUpperCase,
       
   818     EAknEditorCharactersLowerCase = EAknEditorLowerCase,
       
   819     EAknEditorCharactersTextCase  = EAknEditorTextCase
       
   820     };
       
   821 
       
   822 /**
       
   823 *
       
   824 * Series 60 pre-2.8 Font Ids
       
   825 *
       
   826 */
       
   827 enum
       
   828     {
       
   829     EFontNone = 0,
       
   830     ELatinPlain12,
       
   831     ELatinBold12,
       
   832     ELatinBold13,
       
   833     ELatinBold17,
       
   834     ELatinBold19,
       
   835     ENumberPlain5,
       
   836     EClockBold30,
       
   837     ELatinClock14,
       
   838     EFontCustom,
       
   839     EPlain12,
       
   840     EPlain16,
       
   841     EApacPlain12 = EPlain12,
       
   842     EApacPlain16 = EPlain16,
       
   843     EBold18,
       
   844     EBold24,
       
   845     ELatinBold16,
       
   846     ECalcBold21,
       
   847     ECalcOperBold21,
       
   848     ECalcOperBold13,
       
   849     EHighestFixedLayoutFont = KHighestFixedLayoutFont
       
   850     };
       
   851 
       
   852 /**
       
   853 * Series 60 Logical Fonts
       
   854 *
       
   855 * @since Series 60 2.6
       
   856 */
       
   857 enum TAknLogicalFontId
       
   858     {
       
   859     EAknLogicalFontPrimaryFont      = KHighestFixedLayoutFont + KAknFontCategoryPrimary,
       
   860     EAknLogicalFontSecondaryFont    = KHighestFixedLayoutFont + KAknFontCategorySecondary,
       
   861     EAknLogicalFontTitleFont        = KHighestFixedLayoutFont + KAknFontCategoryTitle,
       
   862     EAknLogicalFontPrimarySmallFont = KHighestFixedLayoutFont + KAknFontCategoryPrimarySmall,
       
   863     EAknLogicalFontDigitalFont      = KHighestFixedLayoutFont + KAknFontCategoryDigital,
       
   864     EAknHighestLogicalFont          = KAknHighestLogicalFont
       
   865     };
       
   866 
       
   867 #define ELayoutEmpty (-16380)
       
   868 
       
   869 // For layout resource of findbox
       
   870 enum
       
   871     {
       
   872     EAknLayoutFindPaneIconId = 1,
       
   873     EAknLayoutFindPaneEditorId,
       
   874     EAknLayoutMainPaneListGenPane,
       
   875     EAknLayoutMainPaneListGenPaneWithFindBox,
       
   876     EAknLayoutMainPaneFindPane,
       
   877 
       
   878     EAknListSinglePane,
       
   879     EAknListSingleNumberPane,
       
   880     EAknListSingleHeadingPane,
       
   881     EAknListSingleGraphicPane,
       
   882     EAknListSingleGraphicHeadingPane,
       
   883     EAknListSingleNumberHeadingPane,
       
   884     EAknListSingleLargeGraphicPane,
       
   885     EAknListDoubleNumberPane,
       
   886     EAknListDoubleTimePane,
       
   887     EAknListDoubleLargeGraphicPane,
       
   888     EAknListDoubleGraphicPane,
       
   889     EAknListSettingNumberPane,
       
   890 
       
   891     EAknLayoutFindPaneVShadow,
       
   892     EAknLayoutFindPaneHShadow,
       
   893     EAknLayoutFindPaneOutlineRect,
       
   894 
       
   895     EAknLayoutEmptyList1stLine,
       
   896     EAknLayoutEmptyList2ndLine
       
   897     };
       
   898 
       
   899 
       
   900 // Status pane pane Uids
       
   901 
       
   902 #define EEikStatusPaneUidSignal       0x100059B9
       
   903 #define EEikStatusPaneUidBattery      0x100059BA
       
   904 #define EEikStatusPaneUidContext      0x100059BB
       
   905 #define EEikStatusPaneUidTitle        0x100059BC
       
   906 #define EEikStatusPaneUidNavi         0x100059BD
       
   907 #define EEikStatusPaneUidIndic        0x100059BE
       
   908 #define EEikStatusPaneUidMessage      0x100059BF
       
   909 #define EEikStatusPaneUidClock        0x100059C0
       
   910 #define EEikStatusPaneUidDigitalClock 0x10275090
       
   911 #define EEikStatusPaneUidEmpty        0x102750A3
       
   912 
       
   913 // POPUP_FIELD flags
       
   914 #define EAknPopupFieldFlagAllowsUserDefinedEntry  0x01
       
   915 #define EAknPopupFieldFlagInitialised             0x02
       
   916 #define EAknPopupFieldFlagButton                  0x04
       
   917 #define EAknPopupFieldNoGraphic                   0x08
       
   918 
       
   919 enum
       
   920     {
       
   921     EAknDialogQueryValueTextEditor1 = 1,
       
   922     EAknDialogQueryValueNumberEditor1,
       
   923     EAknDialogQueryValuePhoneEditor1,
       
   924     EAknDialogQueryValueTimeEditor1,
       
   925     EAknDialogQueryValueDateEditor1,
       
   926     EAknDialogQueryValueDurationEditor1,
       
   927     EAknFormQueryControl,
       
   928     EAknPopupFieldEmptyListNote
       
   929     };
       
   930 
       
   931 // POPUP_SETTING_LIST flags
       
   932 enum
       
   933     {
       
   934     EAknPopupSettingListFlagAllowsUserDefinedEntry = 0x001,
       
   935     EAknPopupSettingListFlagInitialised            = 0x002
       
   936     };
       
   937 
       
   938 // FORM default menu constants
       
   939 enum
       
   940     {
       
   941     EAknFormCmdEdit = 950,
       
   942     EAknFormCmdAdd,
       
   943     EAknFormCmdSave,
       
   944     EAknFormCmdLabel,
       
   945     EAknFormCmdDelete,
       
   946     EAknFormMaxDefault
       
   947     };
       
   948 
       
   949 /**
       
   950 * Avkon controls that support vertical and horizontal orientation should use
       
   951 * these constants for orientation.
       
   952 *
       
   953 * @since 3.2
       
   954 */
       
   955 enum TAknOrientation
       
   956     {
       
   957     EAknOrientationVertical = 0,
       
   958     EAknOrientationHorizontal
       
   959     };
       
   960 
       
   961 // Slider layouts
       
   962 enum
       
   963     {
       
   964     EAknFormSliderLayout1 = 1,
       
   965     EAknFormSliderLayout2,
       
   966     EAknFormSliderLayout3,
       
   967     EAknSettingsItemSliderLayout,
       
   968     EAknSettingsItemSliderLayoutWithGraphics,
       
   969     EAknMIDPFormSliderLayout,
       
   970     EAknSliderLayoutVertical,
       
   971     EAknSliderLayoutHorizontal
       
   972     };
       
   973 
       
   974 // Slider value types
       
   975 enum
       
   976     {
       
   977     EAknSliderValueNone,
       
   978     EAknSliderValueBareFigure,
       
   979     EAknSliderValuePercentage,
       
   980     EAknSliderValueFraction,
       
   981     EAknSliderValueDecimal
       
   982     };
       
   983 
       
   984 /** Volume layouts */
       
   985 enum
       
   986     {
       
   987     ESettingsVolumeControl, /** setting page volume control */
       
   988     ENaviPaneVolumeControl, /** navi pane volume control */
       
   989     EPopupVolumeControl     /** volume pop up control */
       
   990     };
       
   991 
       
   992 /** dynamic volume layouts
       
   993  *  @since 3.2 */
       
   994 enum TAknVolumeControlDynamicLayouts
       
   995     {
       
   996     EDynRangeSettingsVolumeControl = 3, /** Hi-res volume control */
       
   997     EDynRangeNaviPaneVolumeControl,     /** Hi-res volume control */
       
   998     EDynRangePopupVolumeControl,        /** Hi-res volume control */
       
   999     ESmallPopupVolumeControl,           /** same as EDynRangePopupVolumeControl */
       
  1000     ESmallPopupVolumeControlWithPercent /** same as EDynRangePopupVolumeControl */
       
  1001     };
       
  1002 
       
  1003 // Small indicator pane indicators & navi pane editor indicators
       
  1004 enum
       
  1005     {
       
  1006     // Status pane's indicator pane's indicators.
       
  1007     EAknIndicatorIrActive,
       
  1008     EAknIndicatorEnvelope,
       
  1009     EAknIndicatorEmailMessage,
       
  1010     EAknIndicatorDataMessage,
       
  1011     EAknIndicatorFaxMessage,
       
  1012     EAknIndicatorOtherMessage,
       
  1013     EAknIndicatorSecuredConnection,
       
  1014     EAknIndicatorVoiceMailWaiting,
       
  1015     EAknIndicatorVoiceMailWaitingOnLine1,
       
  1016     EAknIndicatorVoiceMailWaitingOnLine2,
       
  1017     EAknIndicatorVoiceMailWaitingOnBothLines,
       
  1018     EAknIndicatorHomeZone,
       
  1019     EAknIndicatorBluetooth,
       
  1020     EAknIndicatorBluetoothModuleOn,
       
  1021     EAknIndicatorOutbox,
       
  1022     EAknIndicatorKeyguard,
       
  1023     EAknIndicatorAllCallsForwarded,
       
  1024     EAknIndicatorCallsForwardedOnLine1,
       
  1025     EAknIndicatorCallsForwardedOnLine2,
       
  1026     EAknIndicatorCallsForwardedOnBothLines,
       
  1027     EAknIndicatorCallsForwardedToVoiceMailbox,
       
  1028     EAknIndicatorSelectedLine,
       
  1029     EAknIndicatorAlarmClock,
       
  1030     EAknIndicatorHeadset,
       
  1031     EAknIndicatorLoopset,
       
  1032     EAknIndicatorIHFActive,
       
  1033     EAknIndicatorInstantMessage,
       
  1034     EAknIndicatorTTY,
       
  1035     EAknIndicatorUSBConnection,
       
  1036     EAknIndicatorMissedCalls,
       
  1037     EAknIndicatorRemoteMailboxEmailMessage,
       
  1038     EAknIndicatorLocation,
       
  1039     EAknIndicatorHeadsetUnavailable,
       
  1040     EAknIndicatorRoaming,
       
  1041     EAknIndicatorLocationOn,
       
  1042     EAknIndicatorLocationOff,
       
  1043     EAknIndicatorPoC,
       
  1044     EAknIndicatorWlanAvailable,
       
  1045     EAknIndicatorWlanActive,
       
  1046     EAknIndicatorWlanActiveSecure,
       
  1047     EAknIndicatorCarkit,
       
  1048     EAknIndicatorPoCDnD,
       
  1049     EAknIndicatorPoCMissed,
       
  1050     EAknIndicatorTvOut,
       
  1051     EAknIndicatorVoIP,
       
  1052     EAknIndicatorTARM,
       
  1053     EAknIndicatorTARMModuleOn,
       
  1054     EAknIndicatorMobileTV,
       
  1055     EAknIndicatorMobileTVRec,
       
  1056     EAknIndicatorHAC,
       
  1057     EAknIndicatorMemoryCard,
       
  1058     EAknIndicatorVideoSharing,
       
  1059     EAknIndicatorSynchronization,
       
  1060     EAknIndicatorGPS,
       
  1061     EAknIndicatorBluetoothVisible,
       
  1062     EAknIndicatorBluetoothModuleOnVisible,
       
  1063     EAknIndicatorFMTxSending,
       
  1064     EAknIndicatorFMTxEnabled,
       
  1065     EAknIndicatorMissedCalendarAlarm,
       
  1066     EAknIndicatorUSBMemConnected,
       
  1067     EAknIndicatorUSBMemActive,
       
  1068     EAknIndicatorStopWatch,
       
  1069 
       
  1070     // Navi pane editor indicators
       
  1071     EAknNaviPaneEditorIndicatorT9 = 100,
       
  1072     EAknNaviPaneEditorIndicatorUpperCase,
       
  1073     EAknNaviPaneEditorIndicatorLowerCase,
       
  1074     EAknNaviPaneEditorIndicatorTextCase,
       
  1075     EAknNaviPaneEditorIndicatorNumberCase,
       
  1076     EAknNaviPaneEditorIndicatorQuery,
       
  1077     EAknNaviPaneEditorIndicatorQwertyShift,
       
  1078 
       
  1079     // indicators for selection modes
       
  1080     EAknNaviPaneEditorIndicatorUpperCaseSelect,
       
  1081     EAknNaviPaneEditorIndicatorLowerCaseSelect,
       
  1082     EAknNaviPaneEditorIndicatorTextCaseSelect,
       
  1083     EAknNaviPaneEditorIndicatorNumberCaseSelect,
       
  1084     EAknNaviPaneEditorIndicatorAutoComplete,
       
  1085 
       
  1086 
       
  1087     EAknNaviPaneEditorIndicatorArabicCase = 130,
       
  1088     EAknNaviPaneEditorIndicatorHebrewCase,
       
  1089     EAknNaviPaneEditorIndicatorArabicIndicNumberCase,
       
  1090 
       
  1091     EAknNaviPaneEditorIndicatorDevanagariCase = 140,
       
  1092     EAknNaviPaneEditorIndicatorDevanagariIndicNumberCase,
       
  1093     EAknNaviPaneEditorIndicatorDevanagariPhoneticUpperCase,
       
  1094     EAknNaviPaneEditorIndicatorDevanagariPhoneticLowerCase,
       
  1095     // APAC
       
  1096     EAknNaviPaneEditorIndicatorPinyin = 150,
       
  1097     EAknNaviPaneEditorIndicatorZhuyin,
       
  1098     EAknNaviPaneEditorIndicatorStroke, // Stroke editor indicator for simplified Chinese.
       
  1099 
       
  1100     EAknNaviPaneEditorIndicatorZhuyinFind,
       
  1101     EAknNaviPaneEditorIndicatorStrokeFind,
       
  1102 
       
  1103     EAknNaviPaneEditorIndicatorCangJie,
       
  1104 
       
  1105     EAknNaviPaneEditorIndicatorPinyinPhrase,
       
  1106     EAknNaviPaneEditorIndicatorZhuyinPhrase,
       
  1107     EAknNaviPaneEditorIndicatorStrokePhrase,
       
  1108     EAknNaviPaneEditorIndicatorStrokeTradPhrase,
       
  1109 
       
  1110     // THAI
       
  1111     EAknNaviPaneEditorIndicatorThai = 170,
       
  1112 
       
  1113     EAknNaviPaneEditorIndicatorStrokeTrad,  // Stroke editor indicator for traditional Chinese.
       
  1114 
       
  1115     //FARSI aND URDU
       
  1116     EAknNaviPaneEditorIndicatorFarsiAndUrduCase,
       
  1117 
       
  1118     // Application indicators to editor indicator pane
       
  1119     EAknNaviPaneEditorIndicatorAudioAttached = 200,
       
  1120     EAknNaviPaneEditorIndicatorImageAttached,
       
  1121     EAknNaviPaneEditorIndicatorObjects,
       
  1122     EAknNaviPaneEditorIndicatorAttachment,
       
  1123     EAknNaviPaneEditorIndicatorMessageLength,
       
  1124     EAknNaviPaneEditorIndicatorMessageInfo,
       
  1125 
       
  1126     // Extra application indicators to editor indicator pane in small statuspane
       
  1127     EAknNaviPaneEditorIndicatorWaitBar,
       
  1128     EAknNaviPaneEditorIndicatorProgressBar,
       
  1129     EAknNaviPaneEditorIndicatorSecuredConnection,
       
  1130     EAknNaviPaneEditorIndicatorWmlWaitGlobe,
       
  1131     EAknNaviPaneEditorIndicatorGprs,
       
  1132     EAknNaviPaneEditorIndicatorFileSize,
       
  1133     EAknNaviPaneEditorIndicatorWmlWindows,
       
  1134     EAknNaviPaneEditorIndicatorMcePriorityHigh,
       
  1135     EAknNaviPaneEditorIndicatorMcePriorityLow,
       
  1136     EAknNaviPaneEditorIndicatorWmlWindowsText,
       
  1137     EAknNaviPaneEditorIndicatorWlanAvailable,
       
  1138     EAknNaviPaneEditorIndicatorWlanActive,
       
  1139     EAknNaviPaneEditorIndicatorWlanActiveSecure,
       
  1140 
       
  1141     // Navi pane editor indicators for Japanese
       
  1142     EAknNaviPaneEditorIndicatorJapaneseHiraganaKanji = 300, // Hiragana/Kanji
       
  1143     EAknNaviPaneEditorIndicatorJapaneseHiragana,            // Hiragana
       
  1144     EAknNaviPaneEditorIndicatorJapaneseFullKatakana,        // Full-width Katakana
       
  1145     EAknNaviPaneEditorIndicatorJapaneseHalfKatakana,        // Half-width Katakana
       
  1146     EAknNaviPaneEditorIndicatorJapaneseFullUpperAlphabet,   // Full-width Upper Case alphabet
       
  1147     EAknNaviPaneEditorIndicatorJapaneseFullLowerAlphabet,   // Full-width Lower Case alphabet
       
  1148     EAknNaviPaneEditorIndicatorJapaneseFullTextAlphabet,    // Full-width Text Case alphabet
       
  1149     EAknNaviPaneEditorIndicatorJapaneseFullNumeric,         // Full-width numeric
       
  1150 
       
  1151     // Navi pane editor indicators for Korean
       
  1152     EAknNaviPaneEditorIndicatorKoreanHangul,
       
  1153     EAknNaviPaneEditorIndicatorKoreanHangulSelect,
       
  1154 
       
  1155     // Navi Pane editor indicators for Vietnamese
       
  1156     EAknNaviPaneEditorIndicatorVietnameseUpperCase = 400,
       
  1157     EAknNaviPaneEditorIndicatorVietnameseLowerCase,
       
  1158     EAknNaviPaneEditorIndicatorVietnameseTextCase,
       
  1159 
       
  1160     // Navi Pane editor indicators for Fn key
       
  1161     EAknNaviPaneEditorIndicatorFnKeyPressed =500,
       
  1162     EAknNaviPaneEditorIndicatorFnKeyLocked,
       
  1163     
       
  1164     // Navi Pane editor indicators for Greek
       
  1165     EAknNaviPaneEditorIndicatorGreekUpperCase = 600,
       
  1166     EAknNaviPaneEditorIndicatorGreekLowerCase,
       
  1167     EAknNaviPaneEditorIndicatorGreekTextCase,
       
  1168         
       
  1169     // Navi Pane editor indicators for Cyrillic
       
  1170     EAknNaviPaneEditorIndicatorCyrillicUpperCase = 700,
       
  1171     EAknNaviPaneEditorIndicatorCyrillicLowerCase,
       
  1172     EAknNaviPaneEditorIndicatorCyrillicTextCase,
       
  1173         
       
  1174     // Reserved for dynamic indicators
       
  1175     EAknNaviPaneEditorIndicatorDynamicUidRangeFirst = 10000,
       
  1176     EAknNaviPaneEditorIndicatorDynamicUidRangeLast  = 11000
       
  1177     };
       
  1178 
       
  1179 enum  // Indicator states
       
  1180     {
       
  1181     EAknIndicatorStateOff,
       
  1182     EAknIndicatorStateOn,
       
  1183     EAknIndicatorStateAnimate
       
  1184     };
       
  1185 
       
  1186 enum // Signal indicator states
       
  1187     {
       
  1188     // GPRS indicator states
       
  1189     EAknSignalGprsIndicatorOff = 0,
       
  1190     EAknSignalGprsIndicatorAvailable, // Same as EAknSignalGprsIndicatorOff
       
  1191     EAknSignalGprsIndicatorAttached,
       
  1192     EAknSignalGprsIndicatorEstablishingContext,
       
  1193     EAknSignalGprsIndicatorContext,
       
  1194     EAknSignalGprsIndicatorSuspended,
       
  1195     EAknSignalGprsIndicatorMultipdp,
       
  1196 
       
  1197      // Common packet data indicator states
       
  1198     EAknSignalCommonPacketDataIndicatorOff = 0x100,
       
  1199     EAknSignalCommonPacketDataIndicatorAvailable, // Same as EAknSignalCommonPacketDataIndicatorOff
       
  1200     EAknSignalCommonPacketDataIndicatorAttached,
       
  1201     EAknSignalCommonPacketDataIndicatorEstablishingContext,
       
  1202     EAknSignalCommonPacketDataIndicatorContext,
       
  1203     EAknSignalCommonPacketDataIndicatorSuspended,
       
  1204     EAknSignalCommonPacketDataIndicatorMultipdp,
       
  1205 
       
  1206      // WCDMA indicator states
       
  1207     EAknSignalWcdmaIndicatorOff = 0x200,
       
  1208     EAknSignalWcdmaIndicatorAvailable,
       
  1209     EAknSignalWcdmaIndicatorAttached,
       
  1210     EAknSignalWcdmaIndicatorEstablishingContext,
       
  1211     EAknSignalWcdmaIndicatorContext,
       
  1212     EAknSignalWcdmaIndicatorMultipdp,
       
  1213     EAknSignalWcdmaIndicatorSuspended,
       
  1214 
       
  1215     // CDMA indicator states
       
  1216     EAknSignalCdmaIndicatorOff = 0x300,
       
  1217     EAknSignalCdmaIndicatorNoService,
       
  1218     EAknSignalCdmaIndicatorAvailable,
       
  1219     EAknSignalCdmaIndicatorNotAvailable,
       
  1220     EAknSignalCdmaIndicatorActive,
       
  1221     EAknSignalCdmaIndicatorDormant,
       
  1222     EAknSignalCdmaIndicatorSending,
       
  1223     EAknSignalCdmaIndicatorReceiving,
       
  1224 
       
  1225      // EDGE indicator states
       
  1226     EAknSignalEdgeIndicatorOff = 0x400,
       
  1227     EAknSignalEdgeIndicatorAvailable,
       
  1228     EAknSignalEdgeIndicatorAttached,
       
  1229     EAknSignalEdgeIndicatorEstablishingContext,
       
  1230     EAknSignalEdgeIndicatorContext,
       
  1231     EAknSignalEdgeIndicatorSuspended,
       
  1232     EAknSignalEdgeIndicatorMultipdp,
       
  1233 
       
  1234      // HSDPA indicator states
       
  1235     EAknSignalHsdpaIndicatorOff = 0x500,
       
  1236     EAknSignalHsdpaIndicatorAvailable,
       
  1237     EAknSignalHsdpaIndicatorAttached,
       
  1238     EAknSignalHsdpaIndicatorEstablishingContext,
       
  1239     EAknSignalHsdpaIndicatorContext,
       
  1240     EAknSignalHsdpaIndicatorSuspended,
       
  1241     EAknSignalHsdpaIndicatorMultipdp
       
  1242     };
       
  1243 
       
  1244 #define KAknSignalOffLineMode 0x00010000
       
  1245 
       
  1246 // Grid layout flags
       
  1247 #define EAknGridHorizontalOrientation               0x01
       
  1248 #define EAknGridVerticalOrientation                 0x02
       
  1249 #define EAknGridRightToLeft                         0x04
       
  1250 #define EAknGridLeftToRight                         0x08
       
  1251 #define EAknGridBottomToTop                         0x10
       
  1252 #define EAknGridTopToBottom                         0x20
       
  1253 // Chooses right-to-left or left-to-right depending on language's writing direction
       
  1254 // You MUST use CurrentDataIndex() and CurrentItemIndex() from grid correctly if you
       
  1255 // choose this flag! (Most cases you want to use CurrentDataIndex(), not CurrentItemIndex!)
       
  1256 #define EAknGridLanguageSpecificHorizontalDirection 0x40
       
  1257 
       
  1258 #define EAknGridFollowsItemsAndStops                0x00
       
  1259 #define EAknGridFollowsItemsAndLoops                0x01
       
  1260 #define EAknGridFollowsGrid                         0x02
       
  1261 #define EAknGridStops                               0x04
       
  1262 #define EAknGridIncrementLineAndStops               0x08
       
  1263 #define EAknGridIncrementLineAndLoops               0x10
       
  1264 
       
  1265 // Bitmap Animation flags
       
  1266 #define EAknBitmapAnimationPlayModePlay             0x00
       
  1267 #define EAknBitmapAnimationPlayModeCycle            0x01
       
  1268 #define EAknBitmapAnimationPlayModeBounce           0x02
       
  1269 
       
  1270 // Defining colors in resource file (this is for defining your own color schemes, do not use in
       
  1271 // applications!) (num is the number from LAF specification!) This is used in eikcolor.ra to setup
       
  1272 // color lists.
       
  1273 #define AVKON_COLOR(num,r,g,b) CTRL_COLOR { logical_color=(num); color = COLOR { red=(r); green=(g); blue=(b); }; }
       
  1274 
       
  1275 // This is used in eikcolor.ra
       
  1276 #define AVKON_RGB(num,r,g,b) COLOR { red=(r); green=(g); blue=(b); }
       
  1277 
       
  1278 //
       
  1279 // defines for different listbox layouts
       
  1280 // gfx = index to the image in icon array in A column
       
  1281 // heading = heading text in B column
       
  1282 // text = main text for C column
       
  1283 // optgfx1 = index to optional image in D column
       
  1284 // optgfx2 = index to 2nd optional image in D column
       
  1285 //
       
  1286 // Example:  LB_SINGLE_GRAPHIC_HEADING(1, qgn_icon_1, qtn_text_1)
       
  1287 
       
  1288 #define LB_SINGLE(text)                                 text
       
  1289 #define LB_SINGLE_NUMBER(num,text)                      #num ## "/t" ## text
       
  1290 #define LB_SINGLE_HEADING(heading, text)                heading ## "/t" ## text
       
  1291 #define LB_SINGLE_GRAPHIC(gfx, text)                    #gfx ## text
       
  1292 #define LB_SINGLE_GRAPHIC_HEADING(gfx, heading, text)   #gfx ## "/t" ## heading ## "/t" ## text
       
  1293 
       
  1294 // SCT enumerations
       
  1295 enum  // ids in SCT_CHAR_SET resource.
       
  1296     {
       
  1297     EAknSCTLowerCase,
       
  1298     EAknSCTUpperCase,
       
  1299     EAknSCTNumeric,
       
  1300     EAknSCTFullCase,
       
  1301     EAknSCTHalfCase,
       
  1302     EAknSCTQwerty,
       
  1303     EAknSCTChiChineseInputModes = EAknSCTUpperCase,
       
  1304     EAknSCTChiLatinInputModes = EAknSCTLowerCase,
       
  1305     // The following definitions are used for category buttons
       
  1306     EAknSCTPictograph = 10,
       
  1307     EAknSCTPictograph1,
       
  1308     EAknSCTPictograph2
       
  1309     };
       
  1310 
       
  1311 // For Setting Page resource so that no number is displayed
       
  1312 #define EAknSettingPageNoOrdinalDisplayed     (-16380)
       
  1313 
       
  1314 // Flag for Setting Item resource
       
  1315 #define EAknSettingItemNumberedStyle          (0x0001)
       
  1316 #define EAknSettingItemIncludeHiddenInOrdinal (0x0002)
       
  1317 
       
  1318 enum TSCTQueryCtrlIds
       
  1319     {
       
  1320     EAknSCTQueryHeadingId = 1,
       
  1321     EAknSCTQueryContentId
       
  1322     };
       
  1323 
       
  1324 // Enemerations for Avkon KeySounds
       
  1325 
       
  1326 enum TAvkonSKeyRepeatType
       
  1327     {
       
  1328     ESKeyTypeShort,
       
  1329     ESKeyTypeLong,
       
  1330     ESKeyTypeRepeat
       
  1331     };
       
  1332 
       
  1333 // These SID numbers should specify all AVKON defined SID's
       
  1334 // The first item starts from 1000 so there are no clashes
       
  1335 // with application defined SID's (which should start at 0)
       
  1336 enum TAvkonSystemSID
       
  1337     {
       
  1338     EAvkonSIDNoSound                 = 1000,
       
  1339     EAvkonSIDDefaultSound            = 1001,
       
  1340     EAvkonSIDStandardKeyClick        = 1002,
       
  1341     EAvkonSIDConfirmationTone        = 1003,
       
  1342     EAvkonSIDInformationTone         = 1003,
       
  1343     EAvkonSIDWarningTone             = 1004,
       
  1344     EAvkonSIDErrorTone               = 1005,
       
  1345     EAvkonSIDVolumeMaxTone           = 1006,
       
  1346     EAvkonSIDVolumeMinTone           = 1007,
       
  1347     EAvkonSIDReadialCompleteTone     = 1008,
       
  1348     EAvkonSIDBatteryLowTone          = 1009,
       
  1349     EAvkonSIDChargingBatteryTone     = 1010,
       
  1350     EAvkonSIDConnectionStartTone     = 1011,
       
  1351     EAvkonSIDConnectionStopTone      = 1012,
       
  1352     EAvkonSIDOperationReadyTone      = 1013,
       
  1353     EAvkonSIDNameDiallerStartTone    = 1014,
       
  1354     EAvkonSIDNameDiallerErrorTone    = 1015,
       
  1355     EAvkonSIDNameDiallerAbortTone    = 1016,
       
  1356     EAvkonSIDPowerOffTone            = 1017,
       
  1357     EAvkonSIDPowerOnTone             = 1018,
       
  1358     EAvkonSIDRechargeBatteryTone     = 1019,
       
  1359     EAvkonSIDVoiceRecordingTone      = 1020,
       
  1360     EAvkonSIDVoiceRecordingStartTone = 1021,
       
  1361     EAvkonSIDVoiceRecordingStopTone  = 1022,
       
  1362     EAvkonSIDWrongCharger            = 1023,
       
  1363     EAvkonSIDNetBusy                 = 1024,
       
  1364     EAvkonSIDNetCallWaiting          = 1025,
       
  1365     EAvkonSIDNetReorder              = 1026,
       
  1366     EAvkonSIDNetCongestion           = 1027,
       
  1367     EAvkonSIDNetSpecialInformation   = 1028,
       
  1368     EAvkonSIDNetRadioNotAvailable    = 1029,
       
  1369     EAvkonSIDIHFActive               = 1030,
       
  1370     EAvkonSIDRadioPathAcknowledge    = 1031,
       
  1371     EAvkonSIDDial                    = 1032,
       
  1372     EAvkonSIDRingGoing               = 1033,
       
  1373     EAvkonSIDLocationRequest         = 1034
       
  1374     };
       
  1375 
       
  1376 // These are used as priority values for Media Server
       
  1377 enum TAvkonSoundsPriority
       
  1378     {
       
  1379     EAvkonKeyClickPriority           = 45, // contains DTMF and camera
       
  1380     EAvkonPoweringTonesPriority      = 50,
       
  1381     EAvkonLowLevelNotesPriority      = 55,
       
  1382     EAvkonConfirmationNotePriority   = 55,
       
  1383     EAvkonVolumeSettingTonesPriority = 60,
       
  1384     EAvkonConnectionTonesPriority    = 65,
       
  1385     EAvkonHighLevelNotesPriority     = 70,
       
  1386     EAvkonErrorNotePriority          = 70,
       
  1387     EAvkonWarningNotePriority        = 70,
       
  1388     EAvkonVoiceDiallingTonesPriority = 73,
       
  1389     EAvkonNetworkingTonesPriority    = 75,
       
  1390     EAvkonRecordingTonesPriority     = 80,
       
  1391     EAvkonChargingTonesPriority      = 85,
       
  1392     EAvkonNewMessageTonesPriority    = 90,
       
  1393     EAvkonAlarmTonesPriority         = 95,
       
  1394     EAvkonRingingTonesPriority       = 100
       
  1395     };
       
  1396 
       
  1397 // These are used as priority preference values for Media Server
       
  1398 enum TAvkonSoundsPreference
       
  1399     {
       
  1400     EAknAudioPrefIncomingCall        = 0x01340001,
       
  1401     EAknAudioPrefIncomingCallLine2   = 0x01330001,
       
  1402     EAknAudioPrefIncomingDataCall    = 0x01320001,
       
  1403     EAknAudioPrefAutoRedialCompleted = 0x01310001,
       
  1404 
       
  1405     EAknAudioPrefAlarmClock          = 0x01220001,
       
  1406     EAknAudioPrefCalendarAlarm       = 0x01210001,
       
  1407 
       
  1408     // Message Preferences
       
  1409     EAknAudioPrefNewSMS              = 0x01120001,
       
  1410     EAknAudioPrefNewSpecialMessage   = 0x01110001,
       
  1411 
       
  1412     // Battery preferences
       
  1413     EAknAudioPrefBatteryLow          = 0x01030001,
       
  1414     EAknAudioPrefRechargeBattery     = 0x01020001,
       
  1415     EAknAudioPrefWrongCharger        = 0x01010001,
       
  1416 
       
  1417     // Recording Tone preferences
       
  1418     EAknAudioPrefVoiceRecStart       = 0x00930001,
       
  1419     EAknAudioPrefVoiceRecRecording   = 0x00920001,
       
  1420     EAknAudioPrefVoiceRecStop        = 0x00910001,
       
  1421 
       
  1422     // Network preferences
       
  1423     EAknAudioPrefRadioPathAck        = 0x00890001,
       
  1424     EAknAudioPrefDial                = 0x00880001,
       
  1425     EAknAudioPrefRingGoing           = 0x00870001,
       
  1426     EAknAudioPrefBusy                = 0x00860001,
       
  1427     EAknAudioPrefCallWaiting         = 0x00850001,
       
  1428     EAknAudioPrefReorder             = 0x00840001,
       
  1429     EAknAudioPrefCongestion          = 0x00830001,
       
  1430     EAknAudioPrefSpecialInformation  = 0x00820001,
       
  1431     EAknAudioPrefRadioNotAvailable   = 0x00810001,
       
  1432 
       
  1433     // High level preferences
       
  1434     EAknAudioPrefError               = 0x00720001,
       
  1435     EAknAudioPrefWarning             = 0x00710001,
       
  1436 
       
  1437     // Voice Dialling preferences
       
  1438     EAknAudioPrefVoiceStarting       = 0x00630001,
       
  1439     EAknAudioPrefVoiceError          = 0x00620001,
       
  1440     EAknAudioPrefVoiceAbort          = 0x00610001,
       
  1441 
       
  1442     // Connection preferences
       
  1443     EAknAudioPrefConnectionStart     = 0x00530001,
       
  1444     EAknAudioPrefConnectionStop      = 0x00520001,
       
  1445     EAknAudioPrefOperationReady      = 0x00510001,
       
  1446 
       
  1447     // Volume / IHF preferences /Previews
       
  1448     EAknAudioPrefFilePreview         = 0x00440001,
       
  1449     EAknAudioPrefAudioVolumeMin      = 0x00430001,
       
  1450     EAknAudioPrefAudioVolumeMax      = 0x00420001,
       
  1451     EAknAudioPrefIHFActive           = 0x00410001,
       
  1452 
       
  1453     // Low Level preferences
       
  1454     EAknAudioPrefCharging            = 0x00330001,
       
  1455     EAknAudioPrefConfirmation        = 0x00320001,
       
  1456     EAknAudioPrefDefaultTone         = 0x00310001,
       
  1457 
       
  1458     // Phone power preferences
       
  1459     EAknAudioPrefPowerOn             = 0x00220001,
       
  1460     EAknAudioPrefPowerOff            = 0x00210001,
       
  1461 
       
  1462     // Key press / camera click preferences
       
  1463     EAknAudioPrefKeyPressNonDTMF     = 0x00140001,
       
  1464     EAknAudioPrefKeyDownDTMF         = 0x00130001,
       
  1465     EAknAudioPrefKeyUpDTMF           = 0x00120001,
       
  1466     EAknAudioPrefCamera              = 0x00110001,
       
  1467 
       
  1468     // Record and VoCos Preferences
       
  1469     EAknAudioPrefVoiceRec            = 0x00060001,
       
  1470     EAknAudioPrefComposer            = 0x00050001,
       
  1471     EAknAudioPrefRingFilePreview     = 0x00040001,
       
  1472     EAknAudioPrefVocosPlayback       = 0x00030001,
       
  1473     EAknAudioPrefVocosTrain          = 0x00020001,
       
  1474     EAknAudioPrefVocosRecog          = 0x00010001,
       
  1475 
       
  1476     EAvkonKeyClickPreference         = 0x00140001,
       
  1477     EAvkonConfirmationNotePreference = 0x00320001,
       
  1478     EAvkonErrorNotePreference        = 0x00720001,
       
  1479     EAvkonWarningNotePreference      = 0x00710001
       
  1480     };
       
  1481 
       
  1482 // Constants for integer editor widths; may be required in resource
       
  1483 #define EAknMaxIntegerDigits    12
       
  1484 
       
  1485 enum TMessageQueryCtrlIds
       
  1486     {
       
  1487     EAknMessageQueryHeaderId = 1,
       
  1488     EAknMessageQueryContentId
       
  1489     };
       
  1490 
       
  1491 // CAknIncallBubble flags
       
  1492     /**
       
  1493     *   Bit             Explanation
       
  1494     *   0 and 1         Call state
       
  1495     *   2               No Ciphering
       
  1496     *   3               Is muted
       
  1497     *   4               Is Visible
       
  1498     *   5               Is a Fax
       
  1499     *   6               Is a Data call
       
  1500     *   7               Is a Hscsd data call
       
  1501     *   8               Line 2 indication
       
  1502     *   9               Is a Video call
       
  1503     *   10              Is an emergency call
       
  1504     *   11              Is a VoIP call
       
  1505     *   12              Is a full screen touch input window show
       
  1506     *   13              If a full screen touch input window hide
       
  1507     *   ...
       
  1508     *   ...
       
  1509     *   31              Reserved for incall bubble notifier internal use.
       
  1510     */
       
  1511 
       
  1512 enum TAvkonIncallStatusBubbleFlags
       
  1513     {
       
  1514     EAknStatusBubbleAlerting         = 0x00, // One of
       
  1515     EAknStatusBubbleActive           = 0x01, // these
       
  1516     EAknStatusBubbleOnHold           = 0x02, // to set
       
  1517     EAknStatusBubbleDisconnected     = 0x03, // the call state
       
  1518     EAknStatusBubbleNoCiphering      = 0x04,
       
  1519     EAknStatusBubbleMuted            = 0x08,
       
  1520     EAknStatusBubbleVisible          = 0x10,
       
  1521     EAknStatusBubbleFax              = 0x20,
       
  1522     EAknStatusBubbleData             = 0x40,
       
  1523     EAknStatusBubbleDataHscsd        = 0x80,
       
  1524     EAknStatusBubbleLine2            = 0x100,
       
  1525     EAknStatusBubbleVideo            = 0x200,
       
  1526     EAknStatusBubbleEmergency        = 0x400,
       
  1527     EAknStatusBubbleVoIP             = 0x800,
       
  1528     EAknStatusBubbleInputShow            = 0x1000,
       
  1529     EAknStatusBubbleInputHide            = 0x2000,
       
  1530     EAknStatusBubbleReservedInternal = 0x80000000
       
  1531     };
       
  1532 
       
  1533 /**
       
  1534  * Timeouts for note dialog wrappers
       
  1535  * These should be kept same as CAknNoteDialog::TTimeout.
       
  1536  */
       
  1537 enum TAknNoteDialogTimeout
       
  1538     {
       
  1539     EAknNoteDialogUndefinedTimeout = 0,
       
  1540     EAknNoteDialogShortTimeout     = 1500000,
       
  1541     EAknNoteDialogLongTimeout      = 3000000,
       
  1542 
       
  1543     // Change these if Notes UI spec changes:
       
  1544     EAknConfirmationNoteTimeout    = EAknNoteDialogShortTimeout,
       
  1545     EAknInformationNoteTimeout     = EAknNoteDialogLongTimeout,
       
  1546     EAknErrorNoteTimeout           = EAknNoteDialogLongTimeout,
       
  1547     EAknWarningNoteTimeout         = EAknNoteDialogLongTimeout
       
  1548     };
       
  1549 
       
  1550 /**
       
  1551  * Tones for note dialog wrappers
       
  1552  * These should be kept same as CAknNoteDialog::TTone.
       
  1553  */
       
  1554 enum TAknNoteDialogTone
       
  1555     {
       
  1556     EAknNoteDialogNoTone           = 0,
       
  1557     EAknNoteDialogConfirmationTone = EAvkonSIDConfirmationTone,
       
  1558     EAknNoteDialogWarningTone      = EAvkonSIDWarningTone,
       
  1559     EAknNoteDialogErrorTone        = EAvkonSIDErrorTone
       
  1560     };
       
  1561 
       
  1562 enum TAknSelectionListDialogFlags
       
  1563     {
       
  1564     EAknFlagFind = 0x0001
       
  1565     };
       
  1566 
       
  1567 enum TAknIconArrayType
       
  1568     {
       
  1569     EAknIconArrayNone,
       
  1570     EAknIconArraySimple,
       
  1571     EAknIconArrayComplex
       
  1572     };
       
  1573 
       
  1574 // This enum is to distinguish at runtime whether you are in
       
  1575 // European or APAC build variant.
       
  1576 enum EVariantFlag
       
  1577    {
       
  1578    EEuropeanVariant=0,
       
  1579    EApacVariant
       
  1580    };
       
  1581 
       
  1582 // This can be extended for additional subvariants.  Routine in AknUtils should be updated
       
  1583 // to return the correct sub-variant.
       
  1584 enum ESubVariantFlag
       
  1585    {
       
  1586    ENoSubVariant = 0,
       
  1587    EPrcSubVariant,
       
  1588    EHongKongSubVariant,
       
  1589    ETaiwanSubVariant
       
  1590    };
       
  1591 
       
  1592 // This is the max length of the screensaver text
       
  1593 #define KScreensaverTextMaxLength 15
       
  1594 
       
  1595 // These flags are to be used in conjunction with CAknForm
       
  1596 #define KSingleLineHorizontalScrollingEditorFlags EEikEdwinAlternativeWrapping | EEikEdwinNoWrap
       
  1597 #define KMultiLineExpandingEditorFlags            EEikEdwinNoHorizScrolling | EEikEdwinResizable
       
  1598 
       
  1599 // Deprecated
       
  1600 #define AVERELL_NOTE                    AVKON_NOTE
       
  1601 #define AVERELL_CONFIRMATION_QUERY      AVKON_CONFIRMATION_QUERY
       
  1602 #define AVERELL_DATA_QUERY              AVKON_DATA_QUERY
       
  1603 
       
  1604 enum TAknKeyBlockMode
       
  1605     {
       
  1606     EDefaultBlockMode = 0,
       
  1607     ENoKeyBlock
       
  1608     };
       
  1609 
       
  1610 // Separator line.
       
  1611 enum TAknSeparatorLinePosition
       
  1612     {
       
  1613     ENoLine,
       
  1614     EAColumn,
       
  1615     EABColumn,
       
  1616     EBCColumn,
       
  1617     EBCColumnStretched
       
  1618     };
       
  1619 
       
  1620 enum TAknColourSelectionDialogIds
       
  1621     {
       
  1622     ECtrlGridType = 100,
       
  1623     EColourGridPopup,
       
  1624     EColourGridPopupNone
       
  1625     };
       
  1626 
       
  1627 // custom text cursor constants
       
  1628 
       
  1629 enum TAknCustomTextCursorIds
       
  1630     {
       
  1631     KAknCustomTextCursorIdLeftToRight     = 0x101fdf03,
       
  1632     KAknCustomTextCursorIdRightToLeft     = 0x101fdf04,
       
  1633     KAknCustomTextCursorIdLeftToRightThin = 0x101fe51c,
       
  1634     KAknCustomTextCursorIdRightToLeftThin = 0x101fe51d
       
  1635     };
       
  1636 
       
  1637 enum TAknNaviPaneBackgroundTypes
       
  1638     {
       
  1639     EAknNaviPaneBackgroundTypeNotDefined  = 0,
       
  1640     EAknNaviPaneBackgroundTypeWipe        = 1,
       
  1641     EAknNaviPaneBackgroundTypeSolid       = 2
       
  1642     };
       
  1643 
       
  1644 // common bitmap file definitions (for .rss etc.)
       
  1645 
       
  1646 #define COMMONDIALOGS_BITMAP_FILE    "z:\\resource\\apps\\commondialogs.mbm"
       
  1647 #define CALLSTATUS_BITMAP_FILE       "z:\\resource\\apps\\callstatus.mbm"
       
  1648 #define MEMORYCARDUI_BITMAP_FILE     "z:\\resource\\apps\\aknmemorycardui.mbm"
       
  1649 #define AVKON_BITMAP_FILE            "z:\\resource\\apps\\avkon2.mbm"
       
  1650 #define AVKON_VARIATED_BITMAPS_FILE  "z:\\resource\\apps\\variatedbitmaps.mbm"
       
  1651 
       
  1652 // End key closing event. If this window server event is received,
       
  1653 // by default application will be closed unless it is system application.
       
  1654 #define KAknUidValueEndKeyCloseEvent 0x101F87F0
       
  1655 
       
  1656 enum TAknStylusPopUpCmdLinkIds
       
  1657     {
       
  1658     EAknStylusPopUpCmdLink1 = 0,
       
  1659     EAknStylusPopUpCmdLink2
       
  1660     };
       
  1661 
       
  1662 /**
       
  1663 * Battery indicator states.
       
  1664 */
       
  1665 enum TAknBatteryIndicatorStates
       
  1666     {
       
  1667     EAknBatteryIndicatorNormal = 1,
       
  1668     EAknBatteryIndicatorPowerSave
       
  1669     };
       
  1670 
       
  1671 // Category button IDs enumerations for SCT
       
  1672 // Those IDs are used on AVKON_SCT_CATEGORY_BUTTON resource.
       
  1673 // r:5.0
       
  1674 enum  TAknSCTCategoryButtons
       
  1675     {
       
  1676     EAknSCTCategoryButtonHalfCase = 0,
       
  1677     EAknSCTCategoryButtonFullCase,
       
  1678     EAknSCTCategoryButtonPicto,
       
  1679     EAknSCTCategoryButtonPicto1,
       
  1680     EAknSCTCategoryButtonPicto2,
       
  1681     EAknSCTCategoryButtonLastId         // not set to ids
       
  1682     };
       
  1683 enum TAknFepDualLanguageSettingDualInput
       
  1684     {
       
  1685     EAknFepDualLanguageSettingDualInputPrimary,
       
  1686     EAknFepDualLanguageSettingDualInputSecondary
       
  1687     };
       
  1688 
       
  1689 enum TAknSctTableNaviButtons
       
  1690     {
       
  1691     EAknSctTableNaviTableExit = 0,
       
  1692     EAknSctTableNaviSpecialCharTable,
       
  1693     EAknSctTableNaviLastId
       
  1694     };
       
  1695 
       
  1696 enum TAknSctPageNaviButtons
       
  1697     {
       
  1698     EAknSctPageNaviPrevPage = 0,
       
  1699     EAknSctPageNaviNextPage,
       
  1700     EAknSctPageNaviLastId
       
  1701     };
       
  1702 
       
  1703 #endif // __AVKON_HRH__