|
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: Catalogs Engine error code definitions. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CATALOGS_ERRORS_H |
|
20 #define CATALOGS_ERRORS_H |
|
21 |
|
22 |
|
23 const TInt KCatalogsErrorBase = -1000; |
|
24 |
|
25 |
|
26 /** |
|
27 * Client is not authorized to start maintenance on Catalogs Engine. |
|
28 * @see MCatalogsEngine::StartMaintenanceL() |
|
29 */ |
|
30 const TInt KCatalogsErrorMaintenanceNotAuthorized = KCatalogsErrorBase - 1; |
|
31 |
|
32 |
|
33 /** |
|
34 * Client has not started maintenance. |
|
35 * @see MCatalogsEngine::StartMaintenanceL() |
|
36 * @see MCatalogsEngine::EndMaintenanceL() |
|
37 */ |
|
38 const TInt KCatalogsErrorMaintenanceNotStarted = KCatalogsErrorBase - 2; |
|
39 |
|
40 |
|
41 /** |
|
42 * The requested functionality is not available because the Catalogs Engine is |
|
43 * in maintenance mode. |
|
44 */ |
|
45 const TInt KCatalogsErrorMaintenanceMode = KCatalogsErrorBase - 3; |
|
46 |
|
47 |
|
48 /** |
|
49 * Base value used for HTTP errors. Eg. HTTP 400 would be given as -100400 |
|
50 */ |
|
51 const TInt KCatalogsErrorHttpBase = -100000; |
|
52 |
|
53 |
|
54 /** |
|
55 * Connection was denied by the user |
|
56 */ |
|
57 const TInt KCatalogsErrorHttpConnectionDenied = KCatalogsErrorHttpBase - 1; |
|
58 |
|
59 /** |
|
60 * No access point defined at all |
|
61 */ |
|
62 const TInt KCatalogsErrorHttpNoApn = KCatalogsErrorHttpBase - 2; |
|
63 |
|
64 #endif // CATALOGS_ERRORS_H |