phoneuis/dialer/inc/dialercommon.h
branchRCL_3
changeset 9 8871b09be73b
parent 0 5f000ab63145
child 17 38529f706030
equal deleted inserted replaced
4:c84cf270c54f 9:8871b09be73b
     1 /*
     1 /*
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2007 - 2010 Nokia Corporation and/or its subsidiary(-ies). 
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    33 const TUid KPhoneUidAppPhone = { 0x100058B3 };
    33 const TUid KPhoneUidAppPhone = { 0x100058B3 };
    34 
    34 
    35 // ROM drive.
    35 // ROM drive.
    36 _LIT( KDriveZ, "z:" );
    36 _LIT( KDriveZ, "z:" );
    37 
    37 
       
    38 // Application name literal for panic macro
       
    39 _LIT( KModuleName, "Dialer" );
       
    40 
       
    41 // Panic macro
       
    42 inline void DialerPanic( TInt aReason )
       
    43     {
       
    44     User::Panic( KModuleName, aReason );
       
    45     }
       
    46 
       
    47 // Panic codes
       
    48 enum TDialerPanicCode 
       
    49     {
       
    50     EDialerPanicDrawingError = 100,
       
    51     EDialerPanicNoApplicationInstance,
       
    52     EDialerPanicUnknownScript,
       
    53     EDialerPanicChineseScriptError,
       
    54     EDialerPanicLabelNotFound,
       
    55     EDialerPanicToolbarButtonNotFound,
       
    56     EDialerPanicNullController
       
    57     };
       
    58 
    38 #endif // DIALERCOMMON_H
    59 #endif // DIALERCOMMON_H
    39 
    60 
    40 // End of file
    61 // End of file