emailuis/emailui/inc/FSEmail.pan
changeset 0 8466d47a6819
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     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:  Resource headers for project NCS
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef FS_EMAIL_PAN
       
    21 #define FS_EMAIL_PAN
       
    22 
       
    23 
       
    24 // NCS application panic codes
       
    25 enum TFsEmailUiPanics
       
    26     {
       
    27     ENcsBasicUi = 1,
       
    28     EFSEmailUiCLSNotFound,
       
    29     EFSEmailUiUnknownView,
       
    30     EFSEmailUiUnexpectedValue,
       
    31     EFSEmailUiNullPointerException,
       
    32     EFSEmailUiBaseViewMethodNotOverriden
       
    33     // add further panics here
       
    34     };
       
    35 
       
    36 inline void Panic( TFsEmailUiPanics aReason )
       
    37     {
       
    38     _LIT( KApplicationName, "FsEmail UI" );
       
    39     User::Panic( KApplicationName, aReason );
       
    40     }
       
    41 
       
    42 #endif // FS_EMAIL_PAN
       
    43 
       
    44 // End of File