|
1 /* |
|
2 * Copyright (c) 2009 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: Bluetooth service searcher panic codes. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __BTSERVICE_SEARCHER_PAN__ |
|
20 #define __BTSERVICE_SEARCHER_PAN__ |
|
21 |
|
22 #include <e32std.h> |
|
23 |
|
24 /** BTServiceSearcher application panic codes */ |
|
25 enum TBTServiceSearcherPanics |
|
26 { |
|
27 EBTServiceSearcherNextRecordRequestComplete = 1, |
|
28 EBTServiceSearcherAttributeRequestResult, |
|
29 EBTServiceSearcherAttributeRequestComplete, |
|
30 EBTServiceSearcherInvalidControlIndex, |
|
31 EBTServiceSearcherProtocolRead, |
|
32 EBTServiceSearcherAttributeRequest, |
|
33 EBTServiceSearcherSdpRecordDelete |
|
34 }; |
|
35 |
|
36 |
|
37 /** Panic Category */ |
|
38 _LIT( KPanicServiceSearcher, "ServiceSearcher" ); |
|
39 |
|
40 |
|
41 inline void Panic( TBTServiceSearcherPanics aReason ) |
|
42 { |
|
43 User::Panic( KPanicServiceSearcher, aReason ); |
|
44 } |
|
45 |
|
46 #endif // __BTSERVICE_SEARCHER_PAN__ |
|
47 |
|
48 // End of File |