|
1 /* |
|
2 * Copyright (c) 2002 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 * This file contains all the common enums between different files |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __IMPSCOMMONENUMS_H |
|
22 #define __IMPSCOMMONENUMS_H |
|
23 |
|
24 |
|
25 // INCLUDE |
|
26 |
|
27 // DATA TYPES |
|
28 |
|
29 // CSP session type |
|
30 enum TImpsSessionType |
|
31 { |
|
32 EImpsUndefSes = 0, // UNDEF |
|
33 EImpsInband, // INBAND |
|
34 EImpsOutband // OUTBAND |
|
35 }; |
|
36 |
|
37 enum TImpsTrasactionMode |
|
38 { |
|
39 EImpsRequest = 0, // REQUEST |
|
40 EImpsResponse // RESPONSE |
|
41 }; |
|
42 |
|
43 |
|
44 |
|
45 // CSP Client-ID type |
|
46 enum TImpsClientIDType |
|
47 { |
|
48 EImpsCliUndef = 0, // undef |
|
49 EImpsCliURL, // URL |
|
50 EImpsCliMSISDN // MSISDN |
|
51 }; |
|
52 |
|
53 // Digest schema used in hash. |
|
54 enum TImpsDigestSchema |
|
55 { |
|
56 EImpsPWD = 0, |
|
57 EImpsSHA, |
|
58 EImpsMD4, |
|
59 EImpsMD5, |
|
60 EImpsMD6 |
|
61 }; |
|
62 |
|
63 // One of the following MOBILE_PHONE | COMPUTER| PDA | CLI | OTHER |
|
64 enum TImpsClientType |
|
65 { |
|
66 EImpsMOBILE_PHONE = 0, |
|
67 EImpsCOMPUTER, |
|
68 EImpsPDA, |
|
69 EImpsCLI, |
|
70 EImpsOTHER |
|
71 }; |
|
72 |
|
73 // The delivery method setting. Notify/Get or Push. |
|
74 enum TImpsInitialDeliveryMethod |
|
75 { |
|
76 EImpsN = 0, |
|
77 EImpsP |
|
78 }; |
|
79 |
|
80 // Bearer that the client supports. |
|
81 enum TImpsSupportedBearer |
|
82 { |
|
83 EImpsSMS = 0, |
|
84 EImpsWSP, |
|
85 EImpsHTTP, |
|
86 EImpsHTTPS |
|
87 }; |
|
88 // Communiction Intitiation Request method that the client supports. |
|
89 enum TImpsSupportedCIRMethod |
|
90 { |
|
91 EImpsWAPSMS = 0, |
|
92 EImpsWAPUDP, |
|
93 EImpsSUDP, |
|
94 EImpsSTCP |
|
95 }; |
|
96 |
|
97 // Indicates the type of the invitation. |
|
98 enum TImpsInviteType |
|
99 { |
|
100 EImpsIM = 0, |
|
101 EImpsGR, |
|
102 EImpsPR, |
|
103 EImpsSC |
|
104 }; |
|
105 // The type of the subscription request. It is Get, Set, or Unset. |
|
106 enum TImpsSubscribeType |
|
107 { |
|
108 EImpsG = 0, |
|
109 EImpsS, |
|
110 EImpsU |
|
111 }; |
|
112 |
|
113 // Indicates the transfer encoding used on the content. |
|
114 enum TImpsContentEncoding |
|
115 { |
|
116 EImpsNone = 0, |
|
117 EImpsBASE64 |
|
118 }; |
|
119 |
|
120 // Indicates the csp version used in messages. |
|
121 enum TImpsCspVersion |
|
122 { |
|
123 EImpsCspVersion11 = 0, |
|
124 EImpsCspVersion12 |
|
125 }; |
|
126 |
|
127 |
|
128 // CSP 1.2 additions |
|
129 enum TImpsWatcherStatus |
|
130 { |
|
131 EImpsCURRENT_SUBSCRIBER = 0, |
|
132 EImpsFORMER_SUBSCRIBER, |
|
133 EImpsPRESENCE_ACCESS |
|
134 }; |
|
135 |
|
136 enum TImpsReactiveAuthState |
|
137 { |
|
138 EImpsGRANTED = 0, |
|
139 EImpsDENIED, |
|
140 EImpsPENDING |
|
141 }; |
|
142 |
|
143 |
|
144 #endif // __IMPSCOMMONENUMS_H |
|
145 |
|
146 // End of File |