messagingappbase/mce/inc/McePanic.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     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 *     Mce's panic definition.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef _MCEPANIC_H
       
    22 #define _MCEPANIC_H
       
    23 
       
    24 // DATA TYPES
       
    25 enum TMceUiPanic
       
    26     {
       
    27     EMceUiErrCreateNewMessageCommand = 1,
       
    28     EMceUiErrCannotDeleteFromMainView,
       
    29     EMceUiErrAlreadyDeleting,
       
    30     EMceUiErrAlreadyDeletingAccount,
       
    31     EMceUiErrCannotDeleteServiceFromMainView = 5,
       
    32     EMceUiErrCanDeleteOnlyFolderOrMessagesFromMainView,
       
    33     EMceUiErrCannotUnDeleteFromMainView,
       
    34     EMceErrNothingToUnDelete,
       
    35     EMceUiErrCannotMoveFromMainView,
       
    36     EMceUiErrCannotCreateFolder = 10,
       
    37     EMceUiErrNoMtms,
       
    38     EMceUiErrLocalMtm,
       
    39     EMceUiErrRenameNotFolder,
       
    40     EMceUiErrRenameNotLocal,
       
    41     EMceUiErrAppNotInWindowGroup = 15,
       
    42     EMceUiErrOperationNotFound,
       
    43     EMceUiErrCannotFetchFromMainView,
       
    44     EMceUiErrOperationNull,
       
    45     EMceUiErrArrayEmpty,
       
    46     EMceUiErrTabsAlreadyActivated = 20,
       
    47     EMceUiErrTabsNotActivated,
       
    48     EMceUiErrTabsArrayAlreadyExists,
       
    49     EMceUiErrTabsArrayDoesNotAlreadyExist,
       
    50     EMceListItemArrayEntryNotFound,
       
    51     EMceListItemArrayNotMainViewList = 25,
       
    52     EMceListItemArrayNotMessageViewList,
       
    53     EMceListItemArrayEntryNotMessage,
       
    54     EMceListItemArrayEntryNotFolder,
       
    55     EMceUiMessageIteratorNotCreated,
       
    56     EMceMainViewCannotChangeView = 30,
       
    57     EMceMainViewUnknownExtraItem,
       
    58     EMceSessionHolderDeletedWhenClients,
       
    59     EMceUiErrCanSendViaOnlyBtOrIr
       
    60 
       
    61     };
       
    62 
       
    63 // FUNCTION PROTOTYPES
       
    64 extern void Panic(TMceUiPanic aPanic);
       
    65 
       
    66 #endif      // _MCEPANIC_H
       
    67 
       
    68 // End of File