phoneuis/BubbleManager/Src/BMPanic.cpp
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     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 *     Panic function
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #include "BMPanic.h"
       
    21 
       
    22 #ifdef _DEBUG
       
    23     _LIT( KBMPanicCategory, "Bubblemanager" );
       
    24 #endif    
       
    25 
       
    26 GLREF_C void Panic( 
       
    27 #ifdef _DEBUG                  
       
    28                 TBMPanic aPanic
       
    29 #else           
       
    30                 TBMPanic /*aPanic*/
       
    31 #endif
       
    32                 )
       
    33     {
       
    34     // May be used in debug purposes. We do not really want 
       
    35     // to kill phone app's thread..
       
    36     __ASSERT_DEBUG( EFalse, User::Panic( KBMPanicCategory, aPanic ) );
       
    37     }
       
    38 
       
    39 // End of File