|
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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef _CATALOGSTRANSPORTTYPES_H |
|
20 #define _CATALOGSTRANSPORTTYPES_H |
|
21 |
|
22 /** Transport interface IDs */ |
|
23 |
|
24 const TInt KCatalogsTransportSmsInterface = 0; |
|
25 const TInt KCatalogsTransportHttpInterface = 1; |
|
26 |
|
27 |
|
28 enum TCatalogsTransportPriority |
|
29 { |
|
30 |
|
31 /** |
|
32 * Queued priorities |
|
33 * |
|
34 * Operations with these priorities are are queued in |
|
35 * general queue. Operations are executed one at a time. |
|
36 */ |
|
37 ECatalogsPriorityQueuedLow = -3, |
|
38 ECatalogsPriorityQueuedMedium = -2, |
|
39 ECatalogsPriorityQueuedHigh = -1, |
|
40 |
|
41 /** |
|
42 * Separates queued and normal priorities |
|
43 */ |
|
44 ECatalogsPriorityQueued = ECatalogsPriorityQueuedHigh, |
|
45 |
|
46 /** |
|
47 * Normal priorities |
|
48 * |
|
49 * Operations with these priorities are queued either in |
|
50 * transaction queue or download queue. Depending on the |
|
51 * implementation, more than one operation can be in |
|
52 * execution at the same time. |
|
53 */ |
|
54 ECatalogsPriorityLow = 0, |
|
55 ECatalogsPriorityMedium, |
|
56 ECatalogsPriorityHigh |
|
57 }; |
|
58 |
|
59 |
|
60 |
|
61 |
|
62 #endif // _CATALOGSTRANSPORTTYPES_H |