equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006 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: Location Triggering panic category and panic code |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef LBTERRORS_H |
|
20 #define LBTERRORS_H |
|
21 |
|
22 #include <e32def.h> |
|
23 #include <e32cmn.h> |
|
24 |
|
25 /** |
|
26 * Location Triggering Client API panic categories |
|
27 */ |
|
28 _LIT( KLbtClientPanicCategory, "LocTriggering" ); |
|
29 |
|
30 /** |
|
31 * Location Triggering Client API panic codes |
|
32 */ |
|
33 enum TLbtClientPanic |
|
34 { |
|
35 /** |
|
36 * An attempt has been made to connect using an already opened handle. |
|
37 */ |
|
38 ELbtServerHandleNotClosed = 1, |
|
39 /** |
|
40 * An attempt to communicate using an unconnected handle. |
|
41 */ |
|
42 ELbtServerBadHandle = 2, |
|
43 /** |
|
44 * A subsession was closed with requests still outstanding. |
|
45 */ |
|
46 ELbtRequestsNotCancelled = 3, |
|
47 /** |
|
48 * An attempt to get trigger objects incrementally when iterator was not |
|
49 * created. |
|
50 */ |
|
51 ELbtIteratorNotCreated = 4, |
|
52 /** |
|
53 * A client has called an asynchronous request while it is still outstanding. |
|
54 */ |
|
55 ELbtDuplicateRequest = 5, |
|
56 /** |
|
57 * Wrong value is given as parameter. |
|
58 */ |
|
59 ELbtErrArgument = 6 |
|
60 }; |
|
61 |
|
62 |
|
63 #endif //LBTERRORS_H |