equal
deleted
inserted
replaced
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 } |