1 gsmunmspacemobph.h |
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Multimode SMS common API header file. |
|
15 // Describes common Telephony interface types. |
|
16 // The types are duplicated from ETELMM.h in an effort to separate SMS from ETEL. |
|
17 // Correspondent ETEL types could be found in ETELMM.h, class RMobilePhone. |
|
18 // |
|
19 // |
|
20 |
|
21 |
|
22 |
|
23 /** |
|
24 @file |
|
25 @publishedAll |
|
26 @released |
|
27 */ |
|
28 |
|
29 |
|
30 #ifndef __GSMUNMSPACEMOBPH_H__ |
|
31 #define __GSMUNMSPACEMOBPH_H__ |
|
32 |
|
33 /** |
|
34 * Address types. |
|
35 * |
|
36 * Modes: Common |
|
37 * |
|
38 * @see class RMobilePhone |
|
39 */ |
|
40 namespace NMobilePhone |
|
41 { |
|
42 enum TMobileTON |
|
43 { |
|
44 /** |
|
45 * User or the network has no knowledge of the type of number. |
|
46 * |
|
47 * Modes: Common |
|
48 */ |
|
49 EUnknownNumber, // 0 |
|
50 |
|
51 /** |
|
52 * International number. |
|
53 * |
|
54 * Modes: Common |
|
55 */ |
|
56 EInternationalNumber, // 1 |
|
57 |
|
58 /** |
|
59 * National number. |
|
60 * |
|
61 * Modes: Common |
|
62 */ |
|
63 ENationalNumber, // 2 |
|
64 |
|
65 /** |
|
66 * Administration/service number specific to the serving network, |
|
67 * e.g. used to access an operator. |
|
68 * |
|
69 * Modes: Common |
|
70 */ |
|
71 ENetworkSpecificNumber, // 3 |
|
72 |
|
73 /** |
|
74 * Subscriber number. |
|
75 * |
|
76 * Modes: Common |
|
77 */ |
|
78 ESubscriberNumber, // 4 - Also defined as "dedicated, short code" in GSM 04.08 |
|
79 |
|
80 /** |
|
81 * Alphanumeric number coded according to 3GPP TS 123 038 GSM |
|
82 * 7-bit default alphabet. |
|
83 * |
|
84 * Modes: GSM/WCDMA |
|
85 */ |
|
86 EAlphanumericNumber, // 5 |
|
87 |
|
88 /** |
|
89 * Abbreviated number. |
|
90 * |
|
91 * Modes: Common |
|
92 */ |
|
93 EAbbreviatedNumber // 6 |
|
94 }; |
|
95 |
|
96 /** |
|
97 * Number Plan Indicator. |
|
98 * |
|
99 * Modes: Common |
|
100 */ |
|
101 enum TMobileNPI |
|
102 { |
|
103 /** |
|
104 * User or the network has no knowledge of the numbering plan. |
|
105 * |
|
106 * Modes: Common |
|
107 */ |
|
108 EUnknownNumberingPlan =0, |
|
109 |
|
110 /** |
|
111 * ISDN/telephony numbering plan. |
|
112 * |
|
113 * Modes: Common |
|
114 */ |
|
115 EIsdnNumberPlan=1, |
|
116 |
|
117 /** |
|
118 * Data numbering plan. |
|
119 * |
|
120 * Modes: Common |
|
121 */ |
|
122 EDataNumberPlan=3, |
|
123 |
|
124 /** |
|
125 * Telex numbering plan. |
|
126 * |
|
127 * Modes: Common |
|
128 */ |
|
129 ETelexNumberPlan=4, |
|
130 |
|
131 /** |
|
132 * Service centre specific plan used to indicate a numbering plan |
|
133 * specific to external Short Message entities attached to the |
|
134 * SMSC. |
|
135 */ |
|
136 EServiceCentreSpecificPlan1=5, |
|
137 |
|
138 /** |
|
139 * Service centre specific plan used to indicate a numbering plan |
|
140 * specific to external Short Message entities attached to the |
|
141 * SMSC. |
|
142 * |
|
143 * Modes: GSM/WCDMA |
|
144 */ |
|
145 EServiceCentreSpecificPlan2=6, |
|
146 |
|
147 /** |
|
148 * National numbering plan. |
|
149 * |
|
150 * Modes: GSM/WCDMA |
|
151 */ |
|
152 ENationalNumberPlan=8, |
|
153 |
|
154 /** |
|
155 * Private numbering plan. |
|
156 * |
|
157 * Modes: Common |
|
158 */ |
|
159 EPrivateNumberPlan=9, |
|
160 |
|
161 /** |
|
162 * ERMES numbering plan. |
|
163 * |
|
164 * Modes: GSM/WCDMA |
|
165 */ |
|
166 EERMESNumberPlan=10 |
|
167 }; |
|
168 } |
|
169 |
|
170 #endif // __GSMUNMSPACEMOBPH_H__ |