PECengine/PresenceManager2/SrcSearch/PEngWVSearchPanics.cpp
branchRCL_3
changeset 13 a941bc465d9f
parent 0 094583676ce7
equal deleted inserted replaced
12:6ca72c0fe49a 13:a941bc465d9f
       
     1 /*
       
     2 * Copyright (c) 2005 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: this class defines some panic functions
       
    15 *
       
    16 */
       
    17 
       
    18 // INCLUDE FILES
       
    19 #include <e32std.h>
       
    20 #include "PEngWVSearchPanics.h"
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 // -----------------------------------------------------------------------------
       
    26 // SearchPanicOrLeaveL()
       
    27 //
       
    28 //
       
    29 //
       
    30 // -----------------------------------------------------------------------------
       
    31 GLDEF_C void SearchPanicOrLeaveL( TPEngSearchPanics aReason, TInt aLeaveCode )
       
    32     {
       
    33     // suppress the unreferenced variable warnings
       
    34     ( void ) aReason;
       
    35     ( void ) aLeaveCode;
       
    36 
       
    37 #if defined(_DEBUG)
       
    38     SearchPanic( aReason );
       
    39 #else
       
    40     User::Leave( aLeaveCode );
       
    41 #endif
       
    42     }
       
    43 
       
    44 
       
    45 // -----------------------------------------------------------------------------
       
    46 // SearchPanic()
       
    47 //
       
    48 //
       
    49 //
       
    50 // -----------------------------------------------------------------------------
       
    51 GLDEF_C void SearchPanic( TPEngSearchPanics aReason )
       
    52     {
       
    53     User::Panic( KPEngSearchPanicCategory, aReason );
       
    54     }
       
    55 
       
    56 
       
    57 
       
    58 
       
    59 
       
    60 
       
    61 //  End of File
       
    62 
       
    63 
       
    64