equal
deleted
inserted
replaced
|
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @internalComponent |
|
19 */ |
|
20 |
|
21 #include <bluetooth/logger.h> |
|
22 #include <e32base.h> |
|
23 #include "avctputils.h" |
|
24 |
|
25 #ifdef __FLOG_ACTIVE |
|
26 _LIT8(KLogComponent, LOG_COMPONENT_AVCTP); |
|
27 #endif |
|
28 |
|
29 namespace SymbianAvctp |
|
30 { |
|
31 |
|
32 /** |
|
33 Panic AVCTP due to stack bug. |
|
34 |
|
35 @internalComponent |
|
36 */ |
|
37 void Panic(TPanic aPanic) |
|
38 { |
|
39 LOG_STATIC_FUNC |
|
40 User::Panic(KAvctpPanicName, aPanic); |
|
41 } |
|
42 |
|
43 void Panic(TPanic aPanic, TInt aState) |
|
44 { |
|
45 LOG_STATIC_FUNC |
|
46 User::Panic(KAvctpPanicName, (aPanic*KStatePanicMultiplier) + KStatePanicDelimiter + aState); |
|
47 } |
|
48 |
|
49 } // end of namespace SymbianAvctp |