usbengines/usbotgwatcher/src/panic.cpp
branchRCL_3
changeset 65 a44cdf4b4bf0
parent 0 1e05558e2206
equal deleted inserted replaced
64:8ecef05bbada 65:a44cdf4b4bf0
     1 /*
     1 /*
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     2  * Copyright (c) 2008-2009 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".
     8 *
     8  *
     9 * Initial Contributors:
     9  * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10  * Nokia Corporation - initial contribution.
    11 *
    11  *
    12 * Contributors:
    12  * Contributors:
    13 *
    13  *
    14 * Description:  Central place for debug-type macros & functions
    14  * Description:  Central place for debug-type macros & functions
    15 *
    15  *
    16 */
    16  */
    17 
       
    18 
    17 
    19 #include "panic.h"
    18 #include "panic.h"
    20 
    19 
    21 void Panic(TUsbWatcherPanic aCategory)
    20 void Panic(TUsbWatcherPanic aCategory)
    22 {
    21     {
    23 #ifdef _DEBUG
    22 #ifdef _DEBUG
    24 	User::Panic(KUsbWatcherPanic, aCategory);
    23     User::Panic(KUsbWatcherPanic, aCategory);
    25 #endif
    24 #endif
    26 }
    25     }