emailuis/uicomponents/inc/fsgenericpanic.h
branchRCL_3
changeset 25 3533d4323edc
parent 0 8466d47a6819
equal deleted inserted replaced
24:d189ee25cf9d 25:3533d4323edc
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Panic codes used in fs_generic.dll
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef FS_GENERIC_PANIC_H
       
    20 #define FS_GENERIC_PANIC_H
       
    21 
       
    22 
       
    23 enum TFsGenericPanicReason
       
    24     {
       
    25     // panic codes related to list
       
    26     EFsListPanicInvalidItemId,
       
    27     EFsListPanicInvalidItemType,
       
    28     EFsListPanicIndexOutOfRange,
       
    29     EFsListPanicBorderNotSet,
       
    30     EFsListPanicInvalidComponentState,
       
    31     EFsListPanicMovingNodeToItsChild,
       
    32     // panic codes related to text viewer
       
    33     // panic codes related to fast addressing list
       
    34     EFsFastAddressingListBadIconId,
       
    35     EFsFastAddressingListTextureNotSet,
       
    36     // panic codes related to scroll bar
       
    37     // panic codes related to text parser
       
    38     // panic codes related to texture loader
       
    39     // panic codes related to control bar
       
    40     EFsControlBarNoButtonWithSpecifiedId,
       
    41     EFsControlBarButtonWithSpecifiedIdAlreadyExists,
       
    42     EFsControlBarUnknownEvent,
       
    43     // panic codes related to control button
       
    44     EFsControlButtonCannotSetFocusToDisabledControl,
       
    45     EFsControlButtonCannotDisableFocusedControl,
       
    46     EFsControlButtonIncorrectButtonType,
       
    47     EFsControlButtonIncorrectButtonElement,
       
    48     EFsControlButtonNoSuchEnumValue,
       
    49     EFsControlButtonEnumValueNotSupported,
       
    50     EFsControlButtonIncorrectButtonIndex,
       
    51     EFsControlButtonIncorrectButtonId,
       
    52     EFsControlButtonIdRestricted
       
    53     };
       
    54 
       
    55 /**
       
    56  * The generic panic function used by all components in fs_generic.dll
       
    57  */
       
    58 void FsGenericPanic( const TFsGenericPanicReason aReason );
       
    59 
       
    60 #endif // FS_GENERIC_PANIC_H