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