cbs/cbsui/UiInc/CbsUiPanic.h
branchRCL_3
changeset 19 7d48bed6ce0c
parent 18 594d59766373
child 20 987c9837762f
equal deleted inserted replaced
18:594d59766373 19:7d48bed6ce0c
     1 /*
       
     2 * Copyright (c) 2002 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: 
       
    15 *   Contains the panic function for CbsUiApp.
       
    16 *
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef __CBS_UI_PANIC_H
       
    22 #define __CBS_UI_PANIC_H
       
    23 
       
    24 //  INCLUDES
       
    25 #include <e32def.h>
       
    26 
       
    27 
       
    28 // DATA TYPES
       
    29 enum TCbsUiPanic
       
    30     {
       
    31     ECbsUiError                         = 0,  // not used at the moment
       
    32     EStatusPaneError                    = 1,  // if status pane is null
       
    33     EStatusOrTitlePaneError             = 2,  // if status or title pane is null
       
    34     ENaviPaneError                      = 3,  // if navi pane is null
       
    35     ENaviDecoratorError                 = 4,  // navi decorator null error
       
    36     EListBoxInDialogError               = 5,  // list box creation error
       
    37     ETopicHandleError                   = 6,  // handles creation error
       
    38     EServerCreationFailedError          = 7,  // server creation failed
       
    39     EServerNullError                    = 8,  // server null error
       
    40     EListBoxNullError                   = 9,  // list box null error
       
    41     EMenuPaneNullError                  = 10, // menu pane null error
       
    42     EFindItemNullError                  = 11, // find item null error
       
    43     ETopicCountError                    = 12, // error when counting new topics
       
    44     EContainerNullError                 = 13, // container null error
       
    45     EMessageListNullError               = 14, // not used at the moment
       
    46     EMessageContentsError               = 15, // message content is not valid
       
    47     EListBoxAlreadyExistsError          = 16, // list box already exists error
       
    48     EEditorNullError                    = 17, // editor null error
       
    49     ETopicNumberError                   = 18, // topic number is invalid
       
    50     EEditorCreationError                = 19, // not used at the moment
       
    51     EWrongViewIdError                   = 20, // not used at the moment
       
    52     EContextMenuAlreadeyExists          = 21, // not used at the moment
       
    53     EErrEditTopicDlgOkToExit            = 22, // null pointer error in edit 
       
    54                                               // dialog
       
    55     EErrMsgContents                     = 23, // not used at the moment
       
    56     EErrNotAMsgHandle                   = 24, // invalid message handle
       
    57     EErrNotANumber                      = 25, // converting a descriptor 
       
    58                                               // to number error
       
    59     EErrScrollIndicatorAllreadyExists   = 26, // scroll indicator allready 
       
    60                                               // exists
       
    61     EErrAlgorithm                       = 27, // not used at them moment
       
    62     EErrIndexOutOfBounds                = 28, // index out of bounds error
       
    63     EErrMsgNotFound                     = 29, // message not found error
       
    64     EErrMsgHandleNotFound               = 30, // message handle not found error
       
    65     EErrNoSuchMessageHandle             = 31, // not used at the moment
       
    66     EErrTopicsCountError                = 32, // topics count error
       
    67     EErrBadIndex                        = 33, // bad index error
       
    68     EErrWrongNotify                     = 34, // not used
       
    69     EErrTopicNotFound                   = 35, // topic not found error
       
    70     EErrBadHandle                       = 36, // not used
       
    71     EErrMsgReadError                    = 37, // message read error
       
    72     EErrNullPointer                     = 38, // null pointer
       
    73     EErrBadSelection                    = 39, // selection error
       
    74     EErrAllocation                      = 40, // not used
       
    75     EErrInvalidValue                    = 41, // invalid value error
       
    76     EErrNotATopicNumber                 = 42, // invalid topic number
       
    77     EErrServerDisconnected              = 43, // server not connected error
       
    78     EErrAllreadyExists                  = 44, // trying to creat item, which is
       
    79                                               // allready created
       
    80     EErrInvalidEvent                    = 45, // invalid event
       
    81     EErrBadLength                       = 46, // descriptor too big
       
    82     EErrEmptyDesc                       = 47, // empty descriptor error
       
    83     EErrMsgImbalance                    = 48, // message postion is invalid
       
    84     EErrMsgNotExists                    = 49, // not used
       
    85     EErrTopicNumberNotFound             = 50, // topic number not found
       
    86     EErrNotAValidObserver               = 51, // not used
       
    87     EErrServerError                     = 52  // not used
       
    88     };
       
    89 
       
    90 // FUNCTION PROTOTYPES
       
    91 GLDEF_C void CbsUiPanic( TCbsUiPanic aPanic );
       
    92 
       
    93 #endif      // __CBS_UI_PANIC_H
       
    94             
       
    95 // End of File