Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
2 * Copyright (c) 2002-2008 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Constants for AVKON to be used in resource files.
21 #if !defined(__UIKON_HRH__)
25 #if !defined(__EIKON_HRH__)
29 #include <aknfontcategory.hrh>
30 #include <aknfontidoffsets.hrh>
32 // This file is very important for applications!
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
40 // moved from uikon.hrh
41 #define EEikStatusPaneLayoutAknLafDefined 0x10
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
56 // These are combined to the viewerflag to make it fit to WORD in resources.
57 #define EAknListBoxPageAtOnceScrolling EAknListBoxViewerFlag
58 #define EAknListBoxDisableHighlight EAknListBoxViewerFlag
60 // The next ones are used internally by SingleGraphicStyle and DoubleGraphicStyle
61 #define EAknListBoxFlagsMarkableCheck (EAknListBoxShiftEnterMarks)
62 #define EAknListBoxFlagsMultiselectionCheck (EAknListBoxEnterMarks)
64 #define EAknGenericListBoxFlags (EAknListBoxScrollBarSizeExcluded)
66 // Implementation detail, do not use - for dialog flags
67 #define EAknDialogGenericFullScreen (EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | EEikDialogFlagFillAppClientRect | EEikDialogFlagCbaButtons | EEikDialogFlagWait)
71 // SELECTION SERVICE IMPLEMENTATION STARTS HERE (Use these in applications!)
73 // LISTBOX FLAGS (use these in applications)
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)
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)
88 #define EAknListBoxSelectionGrid (EAknListBoxSelectionList)
89 #define EAknListBoxSelectionGridWithShortcuts (EAknListBoxSelectionList | EAknListBoxIncrementalMatching)
90 #define EAknListBoxMarkableGrid (EAknListBoxMarkableList)
91 #define EAknListBoxMarkableGridWithShortcuts (EAknListBoxMarkableList | EAknListBoxIncrementalMatching)
93 #define EAknListBoxMenuGrid (EAknListBoxMenuList)
96 // Viewers (see Selection service)
98 #define EAknListBoxViewerFlags (EAknListBoxPageAtOnceScrolling | EAknListBoxDisableHighlight)
101 // DIALOG FLAGS (applications should use these!)
103 #define EAknDialogSelectionList (EAknDialogGenericFullScreen)
104 #define EAknDialogMenuList (EAknDialogGenericFullScreen)
105 #define EAknDialogMarkableList (EAknDialogGenericFullScreen | EEikDialogFlagDontEatUpDownEvents)
106 #define EAknDialogMultiselectionList (EAknDialogGenericFullScreen)
108 #define EAknDialogGenericNoteFlags (EEikDialogFlagNoDrag |EEikDialogFlagNoTitleBar | EEikDialogFlagCbaButtons )
109 #define EAknDialogGenericQueryFlags (EEikDialogFlagWait|EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | EEikDialogFlagCbaButtons)
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)
121 // Flags for query dialogs:
122 #define EGeneralQueryFlags (EAknDialogGenericQueryFlags)
123 #define EAknGeneralQueryFlags (EAknDialogGenericQueryFlags)
126 // CBA LABELS (applications should use these)
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
139 // Menu panes (context specific menu panes)
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
147 // There are also ready-made HandleCommandL() implementations for selection service in aknutils.h
149 // AknSelectionService::HandleSelectionListProcessCommandL(aCommand, iListBox);
150 // AknSelectionService::HandleMultiSelectionListProcessCommandL(aCommand, iListBox);
151 // AknSelectionService::HandleMarkableSelectionListProcessCommandL(aCommand, iListBox);
155 // Application icon dimensions (for proper layout in Application Shell and Fast Application Swap)
160 EAknApplicationIconWidth = 42,
161 EAknApplicationIconHeight = 29
166 // SELECTION SERVICE IMPLEMENTATION ENDS HERE
172 // FIND IMPLEMENTATION STARTS HERE, use AknFind with these.
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
179 #define EAknFindBoxEditorFlags (CEikEdwin::ENoLineOrParaBreaks)
182 // FIND IMPLEMENTATION ENDS HERE
185 // for ProcessCommandL()
188 EAknDummyForProcessCommands = 4000,
189 EAknMarkAll, // selection service impl
190 EAknUnmarkAll, // selection service impl
192 EAknCmdAddToPinboard,
193 EAknCmdFindPopupActivated,
195 EAknCmdEditModeMultitap,
196 EAknCmdEditModeNumber,
197 EAknCmdEditInsertNumber,
198 EAknCmdEditInsertSymbol,
199 EAknCmdInputLanguage,
200 EAknCmdPredictiveTextCascade,
201 EAknCmdT9PredictiveMatches,
202 EAknCmdT9PredictiveInsertWord,
203 EAknCmdT9PredictiveEditWord,
204 EAknCmdT9PredictiveT9Off,
205 EAknCmdMultitapPredictiveT9On,
208 EAknCmdEditListMenu, // selection service impl
209 EAknCmdMark, // selection service impl
210 EAknCmdUnmark, // selection service impl
211 EAknCmdOpen, // selection service impl
213 // command ids for APAC build
214 EChinFepCmdInstructions,
215 EChinFepCmdModePinyin,
216 EChinFepCmdModeZhuyin,
217 EChinFepCmdModeStroke,
218 EChinFepCmdModeLatinUpper,
219 EChinFepCmdModeLatinLower,
220 EChinFepCmdModeNumber,
221 EChinFepCmdModeZhuyinFind,
222 EChinFepCmdModeStrokeFind,
224 EAknCmdEditModeArabicIndicNumber,
225 EAknCmdEditModeAlpha,
226 EAknCmdEditModeLatinText,
227 EAknCmdEditModeIndicNumber,
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,
245 // Command ids for CangJie IME and Chinese Option Menu
247 EChinFepCmdModeCangJie,
248 EChinFepCmdModeCangJieOption,
250 // Edit menu specific command id
251 EAknCmdEditMenuSctSelected,
253 // Command ids for Hwr IME and Chinese Option Menu
258 EPenInputCmdHwrTraining,
262 * Command id for eastern arabic-indic digit type menu item.
265 EAknCmdEditModeEasternArabicIndicNumber,
268 * Command id for launching task swapper from options menu.
273 // Add new command ids here.
275 * Command ids for Japanese insert symbol
276 * The behaviour of this id is same as EAknCmdEditInsertSymbol.
278 EAknCmdEditInsertSymbolJp,
281 * Command ids for clear direction of Japanese input from options menu.
284 EAknCmdEditClearDirectionLeft,
285 EAknCmdEditClearDirectionRight,
288 * Command id for Auto Word Completion Edit menu item.
291 EAknCmdPredictiveModeCascade, // Edit Menu
292 EAknCmdPredictiveNormal, // To turn AutoCompletion Off
293 EAknCmdPredictiveAutoWord, // To turn AutoCompletion On
294 EAknCmdEditItemPlaceHolder,
297 * Command ids for Japanese Touch input Option Menu
300 EPenInputJpCmdFullWidth,
301 EPenInputJpCmdHalfWidth,
302 EPenInputJpCmdConversionOn,
303 EPenInputJpCmdConversionOff,
304 EPenInputJpCmdPredictiveOn,
305 EPenInputJpCmdPredictiveOff,
306 EPenInputJpCmdSaveWord,
307 EPenInputJpCmdKutenCode,
309 EAknCmdEditMenuClose,
311 * Command to hide application in background
314 EAknCmdHideInBackground,
318 EPenInputCmdPreviewOn,
319 EPenInputCmdPreviewOff,
322 * Command ids for ITI input Option Menu
326 EAknFepCmdPredMatches,
327 EAknFepCmdPredActivate,
328 EAknFepCmdPredDeactivate,
329 EAknFepCmdPredSettings,
330 EAknFepCmdPredInputLanguage,
332 EAknFepCmdPredAutoComplSetting,
333 EAknFepCmdPredAutoComplMultiSetting,
334 EAknFepCmdPredTypingCorrectionSetting,
335 EAknFepCmdPredNumberCandidateSetting,
336 EAknFepCmdPredSettingChange,
337 EAknFepCmdPredPrimaryCandidateSetting,
339 // Command ids for Japanese Option Menu
340 EPenInputCmdRomajiInputOn,
341 EPenInputCmdRomajiInputOff,
343 //Command id for launching arabic handwriting recognition dictionary on-off menu
344 EPenInputCmdRecognitionWithDictionary,
347 * Command ids for UDB Editing with ITI input
350 EAknFepCmdPredEditUserDictionary,
351 EAknFepPredDictionaryCmdEdit,
352 EAknFepPredDictionaryCmdAdd,
353 EAknFepPredDictionaryCmdDelete,
354 EAknFepPredDictionaryCmdMarkUnmark,
356 //Command id for launch phrase creation view
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.
371 enum // CBA constants
373 EAknSoftkeyOk = EEikBidOk,
374 EAknSoftkeyCancel = EEikBidCancel,
375 EAknSoftkeySelect = EEikBidSelect,
376 EAknSoftkeyOptions = 3000,
405 EAknSoftkeyContextOptions,
408 EAknSoftkeyForwardKeyEvent,
410 EAknSoftkeyEmergencyCall,
416 EAknSoftkeyDummyUsedWithShortcuts = 3200
421 EAknCBAFlagRespondWhenInvisible = 0x02 // softkeys still respond to key events even when control is invisible
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
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
438 #define KAknBMPAnimVersion 10
440 // Avkon control id's start from 5700
441 // Phonebook control id's start from 6000
443 // Avkon Control Type codes
444 #define KAknCtFirstControlId 5699
445 #define KAknCtLastControlId 0x2000
449 EAknCtTest = KAknCtFirstControlId,
450 EAknControlIdBase = 5700,
452 EAknCtFormattedListBox, // generic formatted listbox
454 // "General list pane descendants"
456 EAknCtSingleNumberListBox,
457 EAknCtSingleHeadingListBox,
458 EAknCtSingleGraphicListBox,
459 EAknCtSingleGraphicHeadingListBox,
460 EAknCtSingleNumberHeadingListBox,
461 EAknCtSingleLargeListBox,
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
470 // "Pop up window list pane descendants"
471 EAknCtSinglePopupMenuListBox,
472 EAknCtSingleGraphicPopupMenuListBox,
473 EAknCtSingleGraphicHeadingPopupMenuListBox,
474 EAknCtMenuDoublePopupMenuListBox,
475 EAknCtSinglePopupSubmenuListBox,
476 EAknCtDoubleLargeGraphicPopupMenuListBox,
477 EAknCtSingleHeadingPopupMenuListBox,
479 // "List pane elements and descendants(settings, edited)"
482 // "List pane elements (form, popup)"
483 EAknFormGraphicListBox,
485 // These are listboxes too.
487 EAknCtPinbGrid, // This is provided as example only.
488 EAknCtQdialGrid, // this is provided as example only.
489 EAknCtCaleMonthGrid, // this is provided as example only.
491 // Avkon Status pane controls
498 EAknCtIdleContextPane,
500 // For AVKON notes and queries:
503 EAknCtMultilineQuery,
505 // For AVKON popup field:
507 EAknCtPopupFieldText,
510 EAknCtFormLabelEditor,
514 EAknCtPopupHeadingPane,
520 // For AknVolumeControl and AknSlider
523 EAknCtListQueryControl,
524 EAknCtSpecialCharacterMap,
526 // For AknPhoneNumberEditor
527 EAknPhoneNumberEditor,
529 // Numeric secret editor
530 EAknCtNumericSecretEditor,
532 // Popup Setting List Page
533 EAknCtPopupSettingList,
538 // Specialized numeric edwins
540 EAknCtFloatingPointEdwin,
541 EAknCtSelectionListFixedFind,
542 EAknCtSelectionListPopupFind,
544 EAknCtDouble2GraphicListBox,
545 EAknCtDouble2LargeListBox,
546 EAknCtDouble2PopupMenuListBox,
548 // NOTE: DO NOT USE THESE LISTS (break ui-style, only for java)!!!
549 EAknCtSingle2GraphicListBox,
550 EAknCtDouble2GraphicLargeListBox,
553 // Colour selection grid
554 EAknCtColourSelectionDialogNoneField, // Deprecated
555 EAknCtColourSelectionDialogGrid, // Deprecated
557 // Find box in list query dialog
558 EAknCtListQuerySearchControl,
560 // Derived query control for ip & fixed point queries
563 // Derived multiline query control for ip&ip queries
564 EAknExtCtMultilineQuery,
566 EAknCtBitmapAnimation,
571 // new popup lists for 3.0
572 EAknCtSingle2GraphicPopupMenuListBox,
573 EAknCtDoubleGraphicPopupMenuListBox,
575 // Colour selection grid control for rel 3.0.
576 EAknCtColourSelectionGridDialog,
578 // Small digital clock for Avkon Status pane 3.1
579 EAknCtDigitalClockPane,
581 // Empty control for Avkon Status pane 3.1
582 EAknCtStatuspaneEmpty,
584 // use messageBox with listQuery, 3.0->
585 EAknListQueryWithMsgBox,
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,
596 EAknCtToolbarExtension,
598 /** For selection list with adaptive search */
600 EAknCtSelectionListAdaptiveFind,
602 // This is the marker for the last AVKON control id: It does not construct a control
603 EAknCtLastControlId = KAknCtLastControlId
605 // Control ids beyond (or including) this value will be dealt with as custom controls.
607 // However, to assist collaboration between applications, the following S60 -specific
608 // application- related ranges are documented here:
610 // Phonebook- related control ids = 0x2800 - 0x2C00
612 // Applications which do not have to correlate with any other DLLs or apps, should use the
613 // range 0x2001 - 0x2800
616 // Control ID range 0xF000 - 0xFFFF is reserved for licensee controls.
619 // Navi decorator control types
622 ENaviDecoratorControlNone,
623 ENaviDecoratorControlTabGroup,
626 ENaviDecoratorToolTip // Hint text
629 // Navigation pane tab width specifiers
632 EAknTabWidthWithTwoTabs = 36,
633 EAknTabWidthWithTwoLongTabs = 74,
634 EAknTabWidthWithThreeTabs = 22,
635 EAknTabWidthWithThreeLongTabs = 67,
636 EAknTabWidthWithFourTabs = 18,
637 EAknTabWidthWithOneTab = 107
640 // Note dialog constants
646 ENoteWithImageLayout,
647 ETextualNotificationLayout,
648 ENotificationWithGraphicsLayout,
649 EAknNoteControlAnimationCreationFailed,
655 EAknInvalidBorderCount = 1,
656 EAknInvalidDimensionArrayOutOfBounds,
657 EAknNoNoteControlDimensionDefined,
658 EAknNoteControlNullArgumentUsed
661 enum EAknNoteItemType
665 EAknNoteNumberTypeIndication,
676 /** Note control flags */
677 #define EAknNoteNoTextWrapping 0x001 ///< Sets the TNoteFlags::ENoteNoTextWrapping
678 #define EAknNoteLeftSoftkeyWhenTapped 0x080 ///< Sets the TNoteFlags::ENoteLeftSKWhenTapped
680 * Note: EAknNoteFlagWithSkinnableGraphics can only be used with AVKON_NOTE_SKINNED.
681 * Using it with AVKON_NOTE will cause a panic in resource reading.
684 #define EAknNoteFlagWithSkinnableGraphics 0x100 ///< Sets the TNoteFlags::ENoteWithSkinnableGraphics
686 // Query dialog constants
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
697 EConfirmationQueryLayout,
703 EMultiLineDataLayout,
705 ETextSoftNotification,
710 EStaticSizeDataLayout,
711 EFloatingPointLayout,
714 EDataLayoutAllowEmptyInput,
731 enum EAknMultilineDataLayout
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,
750 EMultiDataSecondIpEd,
751 EMultiDataFirstLocationEd,
752 EMultiDataSecondLocationEd,
753 EMultiDataFirstEdwinAllowEmpty,
754 EMultiDataSecondEdwinAllowEmpty
759 EGeneralQuery = 0x500,
764 enum TListQueryCtrlIds
766 EListQueryMainInboxList = 1,
767 EListQueryMainDraftList,
768 EListQueryMainOutboxList,
769 EListQueryAppViewLabel,
770 EListQueryMsgEditField,
775 enum TSelectionListCtrlIds
777 ESelectionListControl = 1,
779 EAknEmptyListControl,
780 EAknListQueryMessageBox
783 // layout commands (for lists currently)
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
792 ELayoutNotAlwaysDrawn
807 EAknEditorAlignNone = ELayoutAlignNone,
808 EAknEditorAlignCenter = ELayoutAlignCenter,
809 EAknEditorAlignLeft = ELayoutAlignLeft,
810 EAknEditorAlignRight = ELayoutAlignRight,
811 EAknEditorAlignBidi = ELayoutAlignBidi
814 // Editor character case
817 EAknEditorCharactersUpperCase = EAknEditorUpperCase,
818 EAknEditorCharactersLowerCase = EAknEditorLowerCase,
819 EAknEditorCharactersTextCase = EAknEditorTextCase
824 * Series 60 pre-2.8 Font Ids
841 EApacPlain12 = EPlain12,
842 EApacPlain16 = EPlain16,
849 EHighestFixedLayoutFont = KHighestFixedLayoutFont
853 * Series 60 Logical Fonts
855 * @since Series 60 2.6
857 enum TAknLogicalFontId
859 EAknLogicalFontPrimaryFont = KHighestFixedLayoutFont + KAknFontCategoryPrimary,
860 EAknLogicalFontSecondaryFont = KHighestFixedLayoutFont + KAknFontCategorySecondary,
861 EAknLogicalFontTitleFont = KHighestFixedLayoutFont + KAknFontCategoryTitle,
862 EAknLogicalFontPrimarySmallFont = KHighestFixedLayoutFont + KAknFontCategoryPrimarySmall,
863 EAknLogicalFontDigitalFont = KHighestFixedLayoutFont + KAknFontCategoryDigital,
864 EAknHighestLogicalFont = KAknHighestLogicalFont
867 #define ELayoutEmpty (-16380)
869 // For layout resource of findbox
872 EAknLayoutFindPaneIconId = 1,
873 EAknLayoutFindPaneEditorId,
874 EAknLayoutMainPaneListGenPane,
875 EAknLayoutMainPaneListGenPaneWithFindBox,
876 EAknLayoutMainPaneFindPane,
879 EAknListSingleNumberPane,
880 EAknListSingleHeadingPane,
881 EAknListSingleGraphicPane,
882 EAknListSingleGraphicHeadingPane,
883 EAknListSingleNumberHeadingPane,
884 EAknListSingleLargeGraphicPane,
885 EAknListDoubleNumberPane,
886 EAknListDoubleTimePane,
887 EAknListDoubleLargeGraphicPane,
888 EAknListDoubleGraphicPane,
889 EAknListSettingNumberPane,
891 EAknLayoutFindPaneVShadow,
892 EAknLayoutFindPaneHShadow,
893 EAknLayoutFindPaneOutlineRect,
895 EAknLayoutEmptyList1stLine,
896 EAknLayoutEmptyList2ndLine
900 // Status pane pane Uids
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
914 #define EAknPopupFieldFlagAllowsUserDefinedEntry 0x01
915 #define EAknPopupFieldFlagInitialised 0x02
916 #define EAknPopupFieldFlagButton 0x04
917 #define EAknPopupFieldNoGraphic 0x08
921 EAknDialogQueryValueTextEditor1 = 1,
922 EAknDialogQueryValueNumberEditor1,
923 EAknDialogQueryValuePhoneEditor1,
924 EAknDialogQueryValueTimeEditor1,
925 EAknDialogQueryValueDateEditor1,
926 EAknDialogQueryValueDurationEditor1,
927 EAknFormQueryControl,
928 EAknPopupFieldEmptyListNote
931 // POPUP_SETTING_LIST flags
934 EAknPopupSettingListFlagAllowsUserDefinedEntry = 0x001,
935 EAknPopupSettingListFlagInitialised = 0x002
938 // FORM default menu constants
941 EAknFormCmdEdit = 950,
950 * Avkon controls that support vertical and horizontal orientation should use
951 * these constants for orientation.
957 EAknOrientationVertical = 0,
958 EAknOrientationHorizontal
964 EAknFormSliderLayout1 = 1,
965 EAknFormSliderLayout2,
966 EAknFormSliderLayout3,
967 EAknSettingsItemSliderLayout,
968 EAknSettingsItemSliderLayoutWithGraphics,
969 EAknMIDPFormSliderLayout,
970 EAknSliderLayoutVertical,
971 EAknSliderLayoutHorizontal
974 // Slider value types
978 EAknSliderValueBareFigure,
979 EAknSliderValuePercentage,
980 EAknSliderValueFraction,
981 EAknSliderValueDecimal
984 /** Volume layouts */
987 ESettingsVolumeControl, /** setting page volume control */
988 ENaviPaneVolumeControl, /** navi pane volume control */
989 EPopupVolumeControl /** volume pop up control */
992 /** dynamic volume layouts
994 enum TAknVolumeControlDynamicLayouts
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 */
1003 // Small indicator pane indicators & navi pane editor indicators
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,
1035 EAknIndicatorUSBConnection,
1036 EAknIndicatorMissedCalls,
1037 EAknIndicatorRemoteMailboxEmailMessage,
1038 EAknIndicatorLocation,
1039 EAknIndicatorHeadsetUnavailable,
1040 EAknIndicatorRoaming,
1041 EAknIndicatorLocationOn,
1042 EAknIndicatorLocationOff,
1044 EAknIndicatorWlanAvailable,
1045 EAknIndicatorWlanActive,
1046 EAknIndicatorWlanActiveSecure,
1047 EAknIndicatorCarkit,
1048 EAknIndicatorPoCDnD,
1049 EAknIndicatorPoCMissed,
1053 EAknIndicatorTARMModuleOn,
1054 EAknIndicatorMobileTV,
1055 EAknIndicatorMobileTVRec,
1057 EAknIndicatorMemoryCard,
1058 EAknIndicatorVideoSharing,
1059 EAknIndicatorSynchronization,
1061 EAknIndicatorBluetoothVisible,
1062 EAknIndicatorBluetoothModuleOnVisible,
1063 EAknIndicatorFMTxSending,
1064 EAknIndicatorFMTxEnabled,
1065 EAknIndicatorMissedCalendarAlarm,
1066 EAknIndicatorUSBMemConnected,
1067 EAknIndicatorUSBMemActive,
1068 EAknIndicatorStopWatch,
1070 // Navi pane editor indicators
1071 EAknNaviPaneEditorIndicatorT9 = 100,
1072 EAknNaviPaneEditorIndicatorUpperCase,
1073 EAknNaviPaneEditorIndicatorLowerCase,
1074 EAknNaviPaneEditorIndicatorTextCase,
1075 EAknNaviPaneEditorIndicatorNumberCase,
1076 EAknNaviPaneEditorIndicatorQuery,
1077 EAknNaviPaneEditorIndicatorQwertyShift,
1079 // indicators for selection modes
1080 EAknNaviPaneEditorIndicatorUpperCaseSelect,
1081 EAknNaviPaneEditorIndicatorLowerCaseSelect,
1082 EAknNaviPaneEditorIndicatorTextCaseSelect,
1083 EAknNaviPaneEditorIndicatorNumberCaseSelect,
1084 EAknNaviPaneEditorIndicatorAutoComplete,
1087 EAknNaviPaneEditorIndicatorArabicCase = 130,
1088 EAknNaviPaneEditorIndicatorHebrewCase,
1089 EAknNaviPaneEditorIndicatorArabicIndicNumberCase,
1091 EAknNaviPaneEditorIndicatorDevanagariCase = 140,
1092 EAknNaviPaneEditorIndicatorDevanagariIndicNumberCase,
1093 EAknNaviPaneEditorIndicatorDevanagariPhoneticUpperCase,
1094 EAknNaviPaneEditorIndicatorDevanagariPhoneticLowerCase,
1096 EAknNaviPaneEditorIndicatorPinyin = 150,
1097 EAknNaviPaneEditorIndicatorZhuyin,
1098 EAknNaviPaneEditorIndicatorStroke, // Stroke editor indicator for simplified Chinese.
1100 EAknNaviPaneEditorIndicatorZhuyinFind,
1101 EAknNaviPaneEditorIndicatorStrokeFind,
1103 EAknNaviPaneEditorIndicatorCangJie,
1105 EAknNaviPaneEditorIndicatorPinyinPhrase,
1106 EAknNaviPaneEditorIndicatorZhuyinPhrase,
1107 EAknNaviPaneEditorIndicatorStrokePhrase,
1108 EAknNaviPaneEditorIndicatorStrokeTradPhrase,
1111 EAknNaviPaneEditorIndicatorThai = 170,
1113 EAknNaviPaneEditorIndicatorStrokeTrad, // Stroke editor indicator for traditional Chinese.
1116 EAknNaviPaneEditorIndicatorFarsiAndUrduCase,
1118 // Application indicators to editor indicator pane
1119 EAknNaviPaneEditorIndicatorAudioAttached = 200,
1120 EAknNaviPaneEditorIndicatorImageAttached,
1121 EAknNaviPaneEditorIndicatorObjects,
1122 EAknNaviPaneEditorIndicatorAttachment,
1123 EAknNaviPaneEditorIndicatorMessageLength,
1124 EAknNaviPaneEditorIndicatorMessageInfo,
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,
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
1151 // Navi pane editor indicators for Korean
1152 EAknNaviPaneEditorIndicatorKoreanHangul,
1153 EAknNaviPaneEditorIndicatorKoreanHangulSelect,
1155 // Navi Pane editor indicators for Vietnamese
1156 EAknNaviPaneEditorIndicatorVietnameseUpperCase = 400,
1157 EAknNaviPaneEditorIndicatorVietnameseLowerCase,
1158 EAknNaviPaneEditorIndicatorVietnameseTextCase,
1160 // Navi Pane editor indicators for Fn key
1161 EAknNaviPaneEditorIndicatorFnKeyPressed =500,
1162 EAknNaviPaneEditorIndicatorFnKeyLocked,
1164 // Navi Pane editor indicators for Greek
1165 EAknNaviPaneEditorIndicatorGreekUpperCase = 600,
1166 EAknNaviPaneEditorIndicatorGreekLowerCase,
1167 EAknNaviPaneEditorIndicatorGreekTextCase,
1169 // Navi Pane editor indicators for Cyrillic
1170 EAknNaviPaneEditorIndicatorCyrillicUpperCase = 700,
1171 EAknNaviPaneEditorIndicatorCyrillicLowerCase,
1172 EAknNaviPaneEditorIndicatorCyrillicTextCase,
1174 // Reserved for dynamic indicators
1175 EAknNaviPaneEditorIndicatorDynamicUidRangeFirst = 10000,
1176 EAknNaviPaneEditorIndicatorDynamicUidRangeLast = 11000
1179 enum // Indicator states
1181 EAknIndicatorStateOff,
1182 EAknIndicatorStateOn,
1183 EAknIndicatorStateAnimate
1186 enum // Signal indicator states
1188 // GPRS indicator states
1189 EAknSignalGprsIndicatorOff = 0,
1190 EAknSignalGprsIndicatorAvailable, // Same as EAknSignalGprsIndicatorOff
1191 EAknSignalGprsIndicatorAttached,
1192 EAknSignalGprsIndicatorEstablishingContext,
1193 EAknSignalGprsIndicatorContext,
1194 EAknSignalGprsIndicatorSuspended,
1195 EAknSignalGprsIndicatorMultipdp,
1197 // Common packet data indicator states
1198 EAknSignalCommonPacketDataIndicatorOff = 0x100,
1199 EAknSignalCommonPacketDataIndicatorAvailable, // Same as EAknSignalCommonPacketDataIndicatorOff
1200 EAknSignalCommonPacketDataIndicatorAttached,
1201 EAknSignalCommonPacketDataIndicatorEstablishingContext,
1202 EAknSignalCommonPacketDataIndicatorContext,
1203 EAknSignalCommonPacketDataIndicatorSuspended,
1204 EAknSignalCommonPacketDataIndicatorMultipdp,
1206 // WCDMA indicator states
1207 EAknSignalWcdmaIndicatorOff = 0x200,
1208 EAknSignalWcdmaIndicatorAvailable,
1209 EAknSignalWcdmaIndicatorAttached,
1210 EAknSignalWcdmaIndicatorEstablishingContext,
1211 EAknSignalWcdmaIndicatorContext,
1212 EAknSignalWcdmaIndicatorMultipdp,
1213 EAknSignalWcdmaIndicatorSuspended,
1215 // CDMA indicator states
1216 EAknSignalCdmaIndicatorOff = 0x300,
1217 EAknSignalCdmaIndicatorNoService,
1218 EAknSignalCdmaIndicatorAvailable,
1219 EAknSignalCdmaIndicatorNotAvailable,
1220 EAknSignalCdmaIndicatorActive,
1221 EAknSignalCdmaIndicatorDormant,
1222 EAknSignalCdmaIndicatorSending,
1223 EAknSignalCdmaIndicatorReceiving,
1225 // EDGE indicator states
1226 EAknSignalEdgeIndicatorOff = 0x400,
1227 EAknSignalEdgeIndicatorAvailable,
1228 EAknSignalEdgeIndicatorAttached,
1229 EAknSignalEdgeIndicatorEstablishingContext,
1230 EAknSignalEdgeIndicatorContext,
1231 EAknSignalEdgeIndicatorSuspended,
1232 EAknSignalEdgeIndicatorMultipdp,
1234 // HSDPA indicator states
1235 EAknSignalHsdpaIndicatorOff = 0x500,
1236 EAknSignalHsdpaIndicatorAvailable,
1237 EAknSignalHsdpaIndicatorAttached,
1238 EAknSignalHsdpaIndicatorEstablishingContext,
1239 EAknSignalHsdpaIndicatorContext,
1240 EAknSignalHsdpaIndicatorSuspended,
1241 EAknSignalHsdpaIndicatorMultipdp
1244 #define KAknSignalOffLineMode 0x00010000
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
1258 #define EAknGridFollowsItemsAndStops 0x00
1259 #define EAknGridFollowsItemsAndLoops 0x01
1260 #define EAknGridFollowsGrid 0x02
1261 #define EAknGridStops 0x04
1262 #define EAknGridIncrementLineAndStops 0x08
1263 #define EAknGridIncrementLineAndLoops 0x10
1265 // Bitmap Animation flags
1266 #define EAknBitmapAnimationPlayModePlay 0x00
1267 #define EAknBitmapAnimationPlayModeCycle 0x01
1268 #define EAknBitmapAnimationPlayModeBounce 0x02
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
1273 #define AVKON_COLOR(num,r,g,b) CTRL_COLOR { logical_color=(num); color = COLOR { red=(r); green=(g); blue=(b); }; }
1275 // This is used in eikcolor.ra
1276 #define AVKON_RGB(num,r,g,b) COLOR { red=(r); green=(g); blue=(b); }
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
1286 // Example: LB_SINGLE_GRAPHIC_HEADING(1, qgn_icon_1, qtn_text_1)
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
1295 enum // ids in SCT_CHAR_SET resource.
1303 EAknSCTChiChineseInputModes = EAknSCTUpperCase,
1304 EAknSCTChiLatinInputModes = EAknSCTLowerCase,
1305 // The following definitions are used for category buttons
1306 EAknSCTPictograph = 10,
1311 // For Setting Page resource so that no number is displayed
1312 #define EAknSettingPageNoOrdinalDisplayed (-16380)
1314 // Flag for Setting Item resource
1315 #define EAknSettingItemNumberedStyle (0x0001)
1316 #define EAknSettingItemIncludeHiddenInOrdinal (0x0002)
1318 enum TSCTQueryCtrlIds
1320 EAknSCTQueryHeadingId = 1,
1321 EAknSCTQueryContentId
1324 // Enemerations for Avkon KeySounds
1326 enum TAvkonSKeyRepeatType
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
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
1376 // These are used as priority values for Media Server
1377 enum TAvkonSoundsPriority
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
1397 // These are used as priority preference values for Media Server
1398 enum TAvkonSoundsPreference
1400 EAknAudioPrefIncomingCall = 0x01340001,
1401 EAknAudioPrefIncomingCallLine2 = 0x01330001,
1402 EAknAudioPrefIncomingDataCall = 0x01320001,
1403 EAknAudioPrefAutoRedialCompleted = 0x01310001,
1405 EAknAudioPrefAlarmClock = 0x01220001,
1406 EAknAudioPrefCalendarAlarm = 0x01210001,
1408 // Message Preferences
1409 EAknAudioPrefNewSMS = 0x01120001,
1410 EAknAudioPrefNewSpecialMessage = 0x01110001,
1412 // Battery preferences
1413 EAknAudioPrefBatteryLow = 0x01030001,
1414 EAknAudioPrefRechargeBattery = 0x01020001,
1415 EAknAudioPrefWrongCharger = 0x01010001,
1417 // Recording Tone preferences
1418 EAknAudioPrefVoiceRecStart = 0x00930001,
1419 EAknAudioPrefVoiceRecRecording = 0x00920001,
1420 EAknAudioPrefVoiceRecStop = 0x00910001,
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,
1433 // High level preferences
1434 EAknAudioPrefError = 0x00720001,
1435 EAknAudioPrefWarning = 0x00710001,
1437 // Voice Dialling preferences
1438 EAknAudioPrefVoiceStarting = 0x00630001,
1439 EAknAudioPrefVoiceError = 0x00620001,
1440 EAknAudioPrefVoiceAbort = 0x00610001,
1442 // Connection preferences
1443 EAknAudioPrefConnectionStart = 0x00530001,
1444 EAknAudioPrefConnectionStop = 0x00520001,
1445 EAknAudioPrefOperationReady = 0x00510001,
1447 // Volume / IHF preferences /Previews
1448 EAknAudioPrefFilePreview = 0x00440001,
1449 EAknAudioPrefAudioVolumeMin = 0x00430001,
1450 EAknAudioPrefAudioVolumeMax = 0x00420001,
1451 EAknAudioPrefIHFActive = 0x00410001,
1453 // Low Level preferences
1454 EAknAudioPrefCharging = 0x00330001,
1455 EAknAudioPrefConfirmation = 0x00320001,
1456 EAknAudioPrefDefaultTone = 0x00310001,
1458 // Phone power preferences
1459 EAknAudioPrefPowerOn = 0x00220001,
1460 EAknAudioPrefPowerOff = 0x00210001,
1462 // Key press / camera click preferences
1463 EAknAudioPrefKeyPressNonDTMF = 0x00140001,
1464 EAknAudioPrefKeyDownDTMF = 0x00130001,
1465 EAknAudioPrefKeyUpDTMF = 0x00120001,
1466 EAknAudioPrefCamera = 0x00110001,
1468 // Record and VoCos Preferences
1469 EAknAudioPrefVoiceRec = 0x00060001,
1470 EAknAudioPrefComposer = 0x00050001,
1471 EAknAudioPrefRingFilePreview = 0x00040001,
1472 EAknAudioPrefVocosPlayback = 0x00030001,
1473 EAknAudioPrefVocosTrain = 0x00020001,
1474 EAknAudioPrefVocosRecog = 0x00010001,
1476 EAvkonKeyClickPreference = 0x00140001,
1477 EAvkonConfirmationNotePreference = 0x00320001,
1478 EAvkonErrorNotePreference = 0x00720001,
1479 EAvkonWarningNotePreference = 0x00710001
1482 // Constants for integer editor widths; may be required in resource
1483 #define EAknMaxIntegerDigits 12
1485 enum TMessageQueryCtrlIds
1487 EAknMessageQueryHeaderId = 1,
1488 EAknMessageQueryContentId
1491 // CAknIncallBubble flags
1494 * 0 and 1 Call state
1500 * 7 Is a Hscsd data call
1501 * 8 Line 2 indication
1503 * 10 Is an emergency call
1505 * 12 Is a full screen touch input window show
1506 * 13 If a full screen touch input window hide
1509 * 31 Reserved for incall bubble notifier internal use.
1512 enum TAvkonIncallStatusBubbleFlags
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
1534 * Timeouts for note dialog wrappers
1535 * These should be kept same as CAknNoteDialog::TTimeout.
1537 enum TAknNoteDialogTimeout
1539 EAknNoteDialogUndefinedTimeout = 0,
1540 EAknNoteDialogShortTimeout = 1500000,
1541 EAknNoteDialogLongTimeout = 3000000,
1543 // Change these if Notes UI spec changes:
1544 EAknConfirmationNoteTimeout = EAknNoteDialogShortTimeout,
1545 EAknInformationNoteTimeout = EAknNoteDialogLongTimeout,
1546 EAknErrorNoteTimeout = EAknNoteDialogLongTimeout,
1547 EAknWarningNoteTimeout = EAknNoteDialogLongTimeout
1551 * Tones for note dialog wrappers
1552 * These should be kept same as CAknNoteDialog::TTone.
1554 enum TAknNoteDialogTone
1556 EAknNoteDialogNoTone = 0,
1557 EAknNoteDialogConfirmationTone = EAvkonSIDConfirmationTone,
1558 EAknNoteDialogWarningTone = EAvkonSIDWarningTone,
1559 EAknNoteDialogErrorTone = EAvkonSIDErrorTone
1562 enum TAknSelectionListDialogFlags
1564 EAknFlagFind = 0x0001
1567 enum TAknIconArrayType
1570 EAknIconArraySimple,
1571 EAknIconArrayComplex
1574 // This enum is to distinguish at runtime whether you are in
1575 // European or APAC build variant.
1582 // This can be extended for additional subvariants. Routine in AknUtils should be updated
1583 // to return the correct sub-variant.
1584 enum ESubVariantFlag
1588 EHongKongSubVariant,
1592 // This is the max length of the screensaver text
1593 #define KScreensaverTextMaxLength 15
1595 // These flags are to be used in conjunction with CAknForm
1596 #define KSingleLineHorizontalScrollingEditorFlags EEikEdwinAlternativeWrapping | EEikEdwinNoWrap
1597 #define KMultiLineExpandingEditorFlags EEikEdwinNoHorizScrolling | EEikEdwinResizable
1600 #define AVERELL_NOTE AVKON_NOTE
1601 #define AVERELL_CONFIRMATION_QUERY AVKON_CONFIRMATION_QUERY
1602 #define AVERELL_DATA_QUERY AVKON_DATA_QUERY
1604 enum TAknKeyBlockMode
1606 EDefaultBlockMode = 0,
1611 enum TAknSeparatorLinePosition
1620 enum TAknColourSelectionDialogIds
1622 ECtrlGridType = 100,
1624 EColourGridPopupNone
1627 // custom text cursor constants
1629 enum TAknCustomTextCursorIds
1631 KAknCustomTextCursorIdLeftToRight = 0x101fdf03,
1632 KAknCustomTextCursorIdRightToLeft = 0x101fdf04,
1633 KAknCustomTextCursorIdLeftToRightThin = 0x101fe51c,
1634 KAknCustomTextCursorIdRightToLeftThin = 0x101fe51d
1637 enum TAknNaviPaneBackgroundTypes
1639 EAknNaviPaneBackgroundTypeNotDefined = 0,
1640 EAknNaviPaneBackgroundTypeWipe = 1,
1641 EAknNaviPaneBackgroundTypeSolid = 2
1644 // common bitmap file definitions (for .rss etc.)
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"
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
1656 enum TAknStylusPopUpCmdLinkIds
1658 EAknStylusPopUpCmdLink1 = 0,
1659 EAknStylusPopUpCmdLink2
1663 * Battery indicator states.
1665 enum TAknBatteryIndicatorStates
1667 EAknBatteryIndicatorNormal = 1,
1668 EAknBatteryIndicatorPowerSave
1671 // Category button IDs enumerations for SCT
1672 // Those IDs are used on AVKON_SCT_CATEGORY_BUTTON resource.
1674 enum TAknSCTCategoryButtons
1676 EAknSCTCategoryButtonHalfCase = 0,
1677 EAknSCTCategoryButtonFullCase,
1678 EAknSCTCategoryButtonPicto,
1679 EAknSCTCategoryButtonPicto1,
1680 EAknSCTCategoryButtonPicto2,
1681 EAknSCTCategoryButtonLastId // not set to ids
1683 enum TAknFepDualLanguageSettingDualInput
1685 EAknFepDualLanguageSettingDualInputPrimary,
1686 EAknFepDualLanguageSettingDualInputSecondary
1689 enum TAknSctTableNaviButtons
1691 EAknSctTableNaviTableExit = 0,
1692 EAknSctTableNaviSpecialCharTable,
1693 EAknSctTableNaviLastId
1696 enum TAknSctPageNaviButtons
1698 EAknSctPageNaviPrevPage = 0,
1699 EAknSctPageNaviNextPage,
1700 EAknSctPageNaviLastId
1703 #endif // __AVKON_HRH__