author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Wed, 18 Aug 2010 09:48:26 +0300 | |
changeset 56 | 5bcb308bd24d |
parent 37 | ba76fc04e6c2 |
child 65 | 2a5d4ab426d3 |
permissions | -rw-r--r-- |
37 | 1 |
/* |
2 |
* Copyright (c) 2005-2007 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: Implementation of TPhoneCmdParamCallHeaderData class. |
|
15 |
* |
|
16 |
*/ |
|
17 |
||
18 |
||
19 |
// INCLUDE FILES |
|
20 |
#include <fbs.h> |
|
21 |
#include "tphonecmdparamcallheaderdata.h" |
|
22 |
||
23 |
||
24 |
// ================= MEMBER FUNCTIONS ======================= |
|
25 |
||
26 |
// ----------------------------------------------------------------------------- |
|
27 |
// TPhoneCmdParamCallHeaderData::TPhoneCmdParamCallHeaderData |
|
28 |
// C++ default constructor can NOT contain any code, that |
|
29 |
// might leave. |
|
30 |
// ----------------------------------------------------------------------------- |
|
31 |
// |
|
32 |
EXPORT_C TPhoneCmdParamCallHeaderData::TPhoneCmdParamCallHeaderData() : |
|
33 |
TPhoneCommandParam(), |
|
56
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
34 |
iLabelText( NULL ), |
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
35 |
iShortLabelText( NULL ), |
37 | 36 |
iCallState( 0 ), |
37 |
iNumberType( 0 ), |
|
38 |
iCiphering( EFalse ), |
|
56
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
39 |
iCLIText( NULL ), |
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
40 |
iCNAPText( NULL ), |
37 | 41 |
iPicture( KNullDesC ), |
42 |
iLine2 ( EFalse ), |
|
43 |
iThumbnail( NULL ), |
|
44 |
iCallerText( KNullDesC ), |
|
45 |
iParticipantListCLI( EPhoneParticipantCLIText ), |
|
46 |
iCipheringIndicatorAllowed( ETrue ), |
|
47 |
iContactLink( KNullDesC8 ), |
|
48 |
iRemotePhoneNumber( KNullDesC ) |
|
49 |
,iDiverted( EFalse ) |
|
50 |
{ |
|
51 |
iParamId = EPhoneParamIdCallHeaderData; |
|
52 |
} |
|
53 |
||
54 |
// --------------------------------------------------------- |
|
56
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
55 |
// TPhoneCmdParamCallHeaderData::~TPhoneCmdParamCallHeaderData |
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
56 |
// --------------------------------------------------------- |
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
57 |
// |
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
58 |
EXPORT_C TPhoneCmdParamCallHeaderData::~TPhoneCmdParamCallHeaderData() |
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
59 |
{ |
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
60 |
delete iLabelText; |
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
61 |
delete iShortLabelText; |
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
62 |
delete iCLIText; |
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
63 |
delete iCNAPText; |
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
64 |
} |
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
65 |
|
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
66 |
// --------------------------------------------------------- |
37 | 67 |
// TPhoneCmdParamCallHeaderData::SetLabelText |
68 |
// Sets the call header label text |
|
69 |
// (other items were commented in a header). |
|
70 |
// --------------------------------------------------------- |
|
71 |
// |
|
72 |
EXPORT_C void TPhoneCmdParamCallHeaderData::SetLabelText( |
|
73 |
const TDesC& aLabelText ) |
|
74 |
{ |
|
56
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
75 |
delete iLabelText; |
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
76 |
iLabelText = aLabelText.Alloc(); |
37 | 77 |
} |
78 |
||
79 |
// --------------------------------------------------------- |
|
80 |
// TPhoneCmdParamCallHeaderData::SetShortLabelText |
|
81 |
// Sets the call header short label text |
|
82 |
// (other items were commented in a header). |
|
83 |
// --------------------------------------------------------- |
|
84 |
// |
|
85 |
EXPORT_C void TPhoneCmdParamCallHeaderData::SetShortLabelText( |
|
86 |
const TDesC& aShortLabelText ) |
|
87 |
{ |
|
56
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
88 |
delete iShortLabelText; |
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
89 |
iShortLabelText = aShortLabelText.Alloc(); |
37 | 90 |
} |
91 |
||
92 |
// --------------------------------------------------------- |
|
93 |
// TPhoneCmdParamCallHeaderData::SetCallState |
|
94 |
// Sets the call header call state |
|
95 |
// (other items were commented in a header). |
|
96 |
// --------------------------------------------------------- |
|
97 |
// |
|
98 |
EXPORT_C void TPhoneCmdParamCallHeaderData::SetCallState( TInt aCallState ) |
|
99 |
{ |
|
100 |
iCallState = aCallState; |
|
101 |
} |
|
102 |
||
103 |
// --------------------------------------------------------- |
|
104 |
// TPhoneCmdParamCallHeaderData::SetCallType |
|
105 |
// Sets the call header call type |
|
106 |
// (other items were commented in a header). |
|
107 |
// --------------------------------------------------------- |
|
108 |
// |
|
109 |
EXPORT_C void TPhoneCmdParamCallHeaderData::SetCallType( TInt aCallType ) |
|
110 |
{ |
|
111 |
iCallType = aCallType; |
|
112 |
} |
|
113 |
||
114 |
// --------------------------------------------------------- |
|
115 |
// TPhoneCmdParamCallHeaderData::SetNumberType |
|
116 |
// Sets the call header number type |
|
117 |
// (other items were commented in a header). |
|
118 |
// --------------------------------------------------------- |
|
119 |
// |
|
120 |
EXPORT_C void TPhoneCmdParamCallHeaderData::SetNumberType( TInt aNumberType ) |
|
121 |
{ |
|
122 |
iNumberType = aNumberType; |
|
123 |
} |
|
124 |
||
125 |
// --------------------------------------------------------- |
|
126 |
// TPhoneCmdParamCallHeaderData::SetCiphering |
|
127 |
// Sets the call header ciphering status |
|
128 |
// (other items were commented in a header). |
|
129 |
// --------------------------------------------------------- |
|
130 |
// |
|
131 |
EXPORT_C void TPhoneCmdParamCallHeaderData::SetCiphering( |
|
132 |
TBool aCiphering ) |
|
133 |
{ |
|
134 |
iCiphering = aCiphering; |
|
135 |
} |
|
136 |
||
137 |
// --------------------------------------------------------- |
|
138 |
// TPhoneCmdParamCallHeaderData::SetCLIText |
|
139 |
// Sets the call header CLI text |
|
140 |
// (other items were commented in a header). |
|
141 |
// --------------------------------------------------------- |
|
142 |
// |
|
143 |
EXPORT_C void TPhoneCmdParamCallHeaderData::SetCLIText( |
|
144 |
const TDesC& aCLIText, |
|
145 |
TPhoneTextClippingDirection aDirection ) |
|
146 |
{ |
|
56
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
147 |
delete iCLIText; |
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
148 |
iCLIText = aCLIText.Alloc(); |
37 | 149 |
iCLITextClippingDirection = aDirection; |
150 |
} |
|
151 |
||
152 |
// --------------------------------------------------------- |
|
153 |
// TPhoneCmdParamCallHeaderData::SetCNAPText |
|
154 |
// Sets the call header CNAP text |
|
155 |
// (other items were commented in a header). |
|
156 |
// --------------------------------------------------------- |
|
157 |
// |
|
158 |
EXPORT_C void TPhoneCmdParamCallHeaderData::SetCNAPText( |
|
159 |
const TDesC& aCNAPText, |
|
160 |
TPhoneTextClippingDirection aDirection ) |
|
161 |
{ |
|
56
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
162 |
delete iCNAPText; |
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
163 |
iCNAPText = aCNAPText.Alloc(); |
37 | 164 |
iCNAPTextClippingDirection = aDirection; |
165 |
} |
|
166 |
||
167 |
// --------------------------------------------------------- |
|
168 |
// TPhoneCmdParamCallHeaderData::SetPicture |
|
169 |
// Sets the call header picture |
|
170 |
// (other items were commented in a header). |
|
171 |
// --------------------------------------------------------- |
|
172 |
// |
|
173 |
EXPORT_C void TPhoneCmdParamCallHeaderData::SetPicture( |
|
174 |
const TDesC& aPicture ) |
|
175 |
{ |
|
176 |
iPicture.Set( aPicture ); |
|
177 |
} |
|
178 |
||
179 |
// --------------------------------------------------------- |
|
180 |
// TPhoneCmdParamCallHeaderData::SetCallFlag |
|
181 |
// Sets the call flag |
|
182 |
// (other items were commented in a header). |
|
183 |
// --------------------------------------------------------- |
|
184 |
// |
|
185 |
EXPORT_C void TPhoneCmdParamCallHeaderData::SetDiverted( |
|
186 |
TBool aDiverted ) |
|
187 |
{ |
|
188 |
iDiverted = aDiverted; |
|
189 |
} |
|
190 |
||
191 |
// --------------------------------------------------------- |
|
192 |
// TPhoneCmdParamCallHeaderData::SetLine2 |
|
193 |
// --------------------------------------------------------- |
|
194 |
// |
|
195 |
EXPORT_C void TPhoneCmdParamCallHeaderData::SetLine2( |
|
196 |
TBool aLine2 ) |
|
197 |
{ |
|
198 |
iLine2 = aLine2; |
|
199 |
} |
|
200 |
||
201 |
// --------------------------------------------------------- |
|
202 |
// TPhoneCmdParamCallHeaderData::LabelText |
|
203 |
// Returns the call header label text |
|
204 |
// (other items were commented in a header). |
|
205 |
// --------------------------------------------------------- |
|
206 |
// |
|
207 |
EXPORT_C const TDesC& TPhoneCmdParamCallHeaderData::LabelText() const |
|
208 |
{ |
|
56
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
209 |
return iLabelText ? *iLabelText : KNullDesC(); |
37 | 210 |
} |
211 |
||
212 |
// --------------------------------------------------------- |
|
213 |
// TPhoneCmdParamCallHeaderData::ShortLabelText |
|
214 |
// Returns the call header short label text |
|
215 |
// (other items were commented in a header). |
|
216 |
// --------------------------------------------------------- |
|
217 |
// |
|
218 |
EXPORT_C const TDesC& TPhoneCmdParamCallHeaderData::ShortLabelText() const |
|
219 |
{ |
|
56
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
220 |
return iShortLabelText ? *iShortLabelText : KNullDesC(); |
37 | 221 |
} |
222 |
||
223 |
// --------------------------------------------------------- |
|
224 |
// TPhoneCmdParamCallHeaderData::CallState |
|
225 |
// Returns the call header call state |
|
226 |
// (other items were commented in a header). |
|
227 |
// --------------------------------------------------------- |
|
228 |
// |
|
229 |
EXPORT_C TInt TPhoneCmdParamCallHeaderData::CallState() const |
|
230 |
{ |
|
231 |
return iCallState; |
|
232 |
} |
|
233 |
||
234 |
// --------------------------------------------------------- |
|
235 |
// TPhoneCmdParamCallHeaderData::CallType |
|
236 |
// Returns the call header call type |
|
237 |
// (other items were commented in a header). |
|
238 |
// --------------------------------------------------------- |
|
239 |
// |
|
240 |
EXPORT_C TInt TPhoneCmdParamCallHeaderData::CallType() const |
|
241 |
{ |
|
242 |
return iCallType; |
|
243 |
} |
|
244 |
||
245 |
// --------------------------------------------------------- |
|
246 |
// TPhoneCmdParamCallHeaderData::NumberType |
|
247 |
// Returns the call header number type |
|
248 |
// (other items were commented in a header). |
|
249 |
// --------------------------------------------------------- |
|
250 |
// |
|
251 |
EXPORT_C TInt TPhoneCmdParamCallHeaderData::NumberType() const |
|
252 |
{ |
|
253 |
return iNumberType; |
|
254 |
} |
|
255 |
||
256 |
// --------------------------------------------------------- |
|
257 |
// TPhoneCmdParamCallHeaderData::Ciphering |
|
258 |
// Returns the call header ciphering |
|
259 |
// (other items were commented in a header). |
|
260 |
// --------------------------------------------------------- |
|
261 |
// |
|
262 |
EXPORT_C TBool TPhoneCmdParamCallHeaderData::Ciphering() const |
|
263 |
{ |
|
264 |
return iCiphering; |
|
265 |
} |
|
266 |
||
267 |
// --------------------------------------------------------- |
|
268 |
// TPhoneCmdParamCallHeaderData::CLIText |
|
269 |
// Returns the call header CLI text |
|
270 |
// (other items were commented in a header). |
|
271 |
// --------------------------------------------------------- |
|
272 |
// |
|
273 |
EXPORT_C const TDesC& TPhoneCmdParamCallHeaderData::CLIText() const |
|
274 |
{ |
|
56
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
275 |
return iCLIText ? *iCLIText : KNullDesC(); |
37 | 276 |
} |
277 |
||
278 |
// --------------------------------------------------------- |
|
279 |
// TPhoneCmdParamCallHeaderData::CLITextClippingDirection |
|
280 |
// Returns the clipping direction of the CLI text. |
|
281 |
// (other items were commented in a header). |
|
282 |
// --------------------------------------------------------- |
|
283 |
// |
|
284 |
EXPORT_C TPhoneCmdParamCallHeaderData::TPhoneTextClippingDirection |
|
285 |
TPhoneCmdParamCallHeaderData::CLITextClippingDirection() const |
|
286 |
{ |
|
287 |
return iCLITextClippingDirection; |
|
288 |
} |
|
289 |
||
290 |
// --------------------------------------------------------- |
|
291 |
// TPhoneCmdParamCallHeaderData::CNAPTextClippingDirection |
|
292 |
// Returns the clipping direction of the CNAP text. |
|
293 |
// (other items were commented in a header). |
|
294 |
// --------------------------------------------------------- |
|
295 |
// |
|
296 |
EXPORT_C TPhoneCmdParamCallHeaderData::TPhoneTextClippingDirection |
|
297 |
TPhoneCmdParamCallHeaderData::CNAPTextClippingDirection() const |
|
298 |
{ |
|
299 |
return iCNAPTextClippingDirection; |
|
300 |
} |
|
301 |
||
302 |
// --------------------------------------------------------- |
|
303 |
// TPhoneCmdParamCallHeaderData::CNAPText |
|
304 |
// Returns the call header CNAP text |
|
305 |
// (other items were commented in a header). |
|
306 |
// --------------------------------------------------------- |
|
307 |
// |
|
308 |
EXPORT_C const TDesC& TPhoneCmdParamCallHeaderData::CNAPText() const |
|
309 |
{ |
|
56
5bcb308bd24d
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
37
diff
changeset
|
310 |
return iCNAPText ? *iCNAPText : KNullDesC(); |
37 | 311 |
} |
312 |
||
313 |
// --------------------------------------------------------- |
|
314 |
// TPhoneCmdParamCallHeaderData::Picture |
|
315 |
// Returns the call header picture |
|
316 |
// (other items were commented in a header). |
|
317 |
// --------------------------------------------------------- |
|
318 |
// |
|
319 |
EXPORT_C const TDesC& TPhoneCmdParamCallHeaderData::Picture() const |
|
320 |
{ |
|
321 |
return iPicture; |
|
322 |
} |
|
323 |
||
324 |
// --------------------------------------------------------- |
|
325 |
// TPhoneCmdParamCallHeaderData::CallFlag |
|
326 |
// Returns the call flag |
|
327 |
// (other items were commented in a header). |
|
328 |
// --------------------------------------------------------- |
|
329 |
// |
|
330 |
EXPORT_C TBool TPhoneCmdParamCallHeaderData::Diverted() const |
|
331 |
{ |
|
332 |
return iDiverted; |
|
333 |
} |
|
334 |
||
335 |
// --------------------------------------------------------- |
|
336 |
// TPhoneCmdParamCallHeaderData::Line2 |
|
337 |
// Returns the call header line2 |
|
338 |
// (other items were commented in a header). |
|
339 |
// --------------------------------------------------------- |
|
340 |
// |
|
341 |
EXPORT_C TBool TPhoneCmdParamCallHeaderData::Line2() const |
|
342 |
{ |
|
343 |
return iLine2; |
|
344 |
} |
|
345 |
||
346 |
// --------------------------------------------------------- |
|
347 |
// TPhoneCmdParamCallHeaderData::Thumbnail |
|
348 |
// Returns the pointer to thumbnail image |
|
349 |
// --------------------------------------------------------- |
|
350 |
// |
|
351 |
EXPORT_C CFbsBitmap* TPhoneCmdParamCallHeaderData::Thumbnail() const |
|
352 |
{ |
|
353 |
return iThumbnail; |
|
354 |
} |
|
355 |
||
356 |
// --------------------------------------------------------- |
|
357 |
// TPhoneCmdParamCallHeaderData::SetThumbnail |
|
358 |
// Sets the pointer to thumbnail image |
|
359 |
// --------------------------------------------------------- |
|
360 |
// |
|
361 |
EXPORT_C void TPhoneCmdParamCallHeaderData::SetThumbnail( |
|
362 |
CFbsBitmap* aThumbnail ) |
|
363 |
{ |
|
364 |
iThumbnail = aThumbnail; |
|
365 |
} |
|
366 |
||
367 |
// --------------------------------------------------------- |
|
368 |
// TPhoneCmdParamCallHeaderData::CallerText |
|
369 |
// Returns the Caller text |
|
370 |
// --------------------------------------------------------- |
|
371 |
// |
|
372 |
EXPORT_C const TDesC& TPhoneCmdParamCallHeaderData::CallerText() const |
|
373 |
{ |
|
374 |
return iCallerText; |
|
375 |
} |
|
376 |
||
377 |
// --------------------------------------------------------- |
|
378 |
// TPhoneCmdParamCallHeaderData::CallerText |
|
379 |
// Sets the Caller text |
|
380 |
// --------------------------------------------------------- |
|
381 |
// |
|
382 |
EXPORT_C void TPhoneCmdParamCallHeaderData::SetCallerText( |
|
383 |
const TDesC& aCallerText ) |
|
384 |
{ |
|
385 |
iCallerText.Set( aCallerText ); |
|
386 |
} |
|
387 |
||
388 |
// --------------------------------------------------------- |
|
389 |
// TPhoneCmdParamCallHeaderData::SetParticipantCLI |
|
390 |
// Sets the Caller text |
|
391 |
// --------------------------------------------------------- |
|
392 |
// |
|
393 |
EXPORT_C void TPhoneCmdParamCallHeaderData::SetParticipantListCLI( |
|
394 |
TPhoneParticipantListCLI aCLIType ) |
|
395 |
{ |
|
396 |
iParticipantListCLI = aCLIType; |
|
397 |
} |
|
398 |
||
399 |
// --------------------------------------------------------- |
|
400 |
// TPhoneCmdParamCallHeaderData::ParticipantCLI |
|
401 |
// Sets the Caller text |
|
402 |
// --------------------------------------------------------- |
|
403 |
// |
|
404 |
EXPORT_C TPhoneCmdParamCallHeaderData::TPhoneParticipantListCLI |
|
405 |
TPhoneCmdParamCallHeaderData::ParticipantCLI() const |
|
406 |
{ |
|
407 |
return iParticipantListCLI; |
|
408 |
} |
|
409 |
||
410 |
// --------------------------------------------------------- |
|
411 |
// TPhoneCmdParamCallHeaderData::HasThumbnail |
|
412 |
// --------------------------------------------------------- |
|
413 |
// |
|
414 |
EXPORT_C TBool TPhoneCmdParamCallHeaderData::HasThumbnail() const |
|
415 |
{ |
|
416 |
return iHasThumbnail; |
|
417 |
} |
|
418 |
// --------------------------------------------------------- |
|
419 |
// TPhoneCmdParamCallHeaderData::SetHasThumbnail |
|
420 |
// --------------------------------------------------------- |
|
421 |
// |
|
422 |
EXPORT_C void TPhoneCmdParamCallHeaderData::SetHasThumbnail( TBool aStatus ) |
|
423 |
{ |
|
424 |
iHasThumbnail = aStatus; |
|
425 |
} |
|
426 |
||
427 |
// --------------------------------------------------------- |
|
428 |
// TPhoneCmdParamCallHeaderData::SetCipheringIndicatorAllowed |
|
429 |
// Sets the ciphering indicator allowed status |
|
430 |
// (other items were commented in a header). |
|
431 |
// --------------------------------------------------------- |
|
432 |
// |
|
433 |
EXPORT_C void TPhoneCmdParamCallHeaderData::SetCipheringIndicatorAllowed( |
|
434 |
TBool aAllowed ) |
|
435 |
{ |
|
436 |
iCipheringIndicatorAllowed = aAllowed; |
|
437 |
} |
|
438 |
||
439 |
// --------------------------------------------------------- |
|
440 |
// TPhoneCmdParamCallHeaderData::CipheringIndicatorAllowed |
|
441 |
// Returns the ciphering indicator allowed status |
|
442 |
// (other items were commented in a header). |
|
443 |
// --------------------------------------------------------- |
|
444 |
// |
|
445 |
EXPORT_C TBool TPhoneCmdParamCallHeaderData::CipheringIndicatorAllowed() const |
|
446 |
{ |
|
447 |
return iCipheringIndicatorAllowed; |
|
448 |
} |
|
449 |
||
450 |
// --------------------------------------------------------- |
|
451 |
// TPhoneCmdParamCallHeaderData::SetServiceId |
|
452 |
// --------------------------------------------------------- |
|
453 |
// |
|
454 |
EXPORT_C void TPhoneCmdParamCallHeaderData::SetServiceId( TUint32 aServiceId ) |
|
455 |
{ |
|
456 |
iServiceId = aServiceId; |
|
457 |
} |
|
458 |
||
459 |
// --------------------------------------------------------- |
|
460 |
// TPhoneCmdParamCallHeaderData::ServiceId |
|
461 |
// --------------------------------------------------------- |
|
462 |
// |
|
463 |
EXPORT_C TUint32 TPhoneCmdParamCallHeaderData::ServiceId() const |
|
464 |
{ |
|
465 |
return iServiceId; |
|
466 |
} |
|
467 |
||
468 |
// --------------------------------------------------------- |
|
469 |
// TPhoneCmdParamCallHeaderData::SetContactLink |
|
470 |
// --------------------------------------------------------- |
|
471 |
// |
|
472 |
EXPORT_C void TPhoneCmdParamCallHeaderData::SetContactLink( |
|
473 |
const TDesC8& aContactLink ) |
|
474 |
{ |
|
475 |
iContactLink.Set( aContactLink ); |
|
476 |
} |
|
477 |
||
478 |
// --------------------------------------------------------- |
|
479 |
// TPhoneCmdParamCallHeaderData::ContactLink |
|
480 |
// --------------------------------------------------------- |
|
481 |
// |
|
482 |
EXPORT_C const TDesC8& TPhoneCmdParamCallHeaderData::ContactLink() const |
|
483 |
{ |
|
484 |
return iContactLink; |
|
485 |
} |
|
486 |
||
487 |
// --------------------------------------------------------- |
|
488 |
// TPhoneCmdParamCallHeaderData::SetRemotePhoneNumber |
|
489 |
// --------------------------------------------------------- |
|
490 |
// |
|
491 |
EXPORT_C void TPhoneCmdParamCallHeaderData::SetRemotePhoneNumber( |
|
492 |
const TDesC& aPhoneNumber ) |
|
493 |
{ |
|
494 |
iRemotePhoneNumber.Set( aPhoneNumber ); |
|
495 |
} |
|
496 |
||
497 |
// --------------------------------------------------------- |
|
498 |
// TPhoneCmdParamCallHeaderData::RemotePhoneNumber |
|
499 |
// --------------------------------------------------------- |
|
500 |
// |
|
501 |
EXPORT_C const TDesC& TPhoneCmdParamCallHeaderData::RemotePhoneNumber() const |
|
502 |
{ |
|
503 |
return iRemotePhoneNumber; |
|
504 |
} |
|
505 |
||
506 |
// End of File |