42 enum TPhoneParticipantListCLI |
42 enum TPhoneParticipantListCLI |
43 { |
43 { |
44 EPhoneParticipantCLIText, |
44 EPhoneParticipantCLIText, |
45 EPhoneParticipantCNAPText, |
45 EPhoneParticipantCNAPText, |
46 }; |
46 }; |
|
47 |
|
48 enum TPhoneTextClippingDirection |
|
49 { |
|
50 ERight, |
|
51 ELeft |
|
52 }; |
47 |
53 |
48 public: |
54 public: |
49 |
55 |
50 /** |
56 /** |
51 * C++ default constructor. |
57 * C++ default constructor. |
52 */ |
58 */ |
53 IMPORT_C TPhoneCmdParamCallHeaderData(); |
59 IMPORT_C TPhoneCmdParamCallHeaderData(); |
54 |
60 |
|
61 /** |
|
62 * destructor. |
|
63 */ |
|
64 IMPORT_C ~TPhoneCmdParamCallHeaderData(); |
55 public: |
65 public: |
56 |
66 |
57 /** |
67 /** |
58 * Sets the call header label text. |
68 * Sets the call header label text. |
59 * @param aLabel is the label |
69 * @param aLabel is the label |
94 * Sets the call header CLI text |
104 * Sets the call header CLI text |
95 * @param aCLI is the CLI text |
105 * @param aCLI is the CLI text |
96 * @param aDirection Clipping direction of the CLI text. |
106 * @param aDirection Clipping direction of the CLI text. |
97 */ |
107 */ |
98 IMPORT_C void SetCLIText( const TDesC& aCLIText, |
108 IMPORT_C void SetCLIText( const TDesC& aCLIText, |
99 CBubbleManager::TPhoneClippingDirection aDirection ); |
109 TPhoneTextClippingDirection aDirection ); |
100 |
110 |
101 /** |
111 /** |
102 * Sets the call header CNAP text |
112 * Sets the call header CNAP text |
103 * @param aCNAP is the CNAP text |
113 * @param aCNAP is the CNAP text |
104 * @param aDirection Clipping direction of the CNAP text. |
114 * @param aDirection Clipping direction of the CNAP text. |
105 */ |
115 */ |
106 IMPORT_C void SetCNAPText( const TDesC& aCNAPText, |
116 IMPORT_C void SetCNAPText( const TDesC& aCNAPText, |
107 CBubbleManager::TPhoneClippingDirection aDirection ); |
117 TPhoneTextClippingDirection aDirection ); |
108 |
118 |
109 /** |
119 /** |
110 * Sets the call header picture |
120 * Sets the call header picture |
111 * @param aPicture is the picture data |
121 * @param aPicture is the picture data |
112 */ |
122 */ |
113 IMPORT_C void SetPicture( const TDesC& aPicture ); |
123 IMPORT_C void SetPicture( const TDesC& aPicture ); |
114 |
124 |
115 /** |
125 /** |
116 * Sets the call flag |
126 * Sets the call header diverted status. |
117 * @param call flag |
127 * @param call flag |
118 */ |
128 */ |
119 IMPORT_C void SetCallFlag( |
129 IMPORT_C void SetDiverted( TBool aDiverted ); |
120 CBubbleManager::TPhoneCallTypeFlags aCallFlag ); |
|
121 |
130 |
122 /** |
131 /** |
123 * Sets the call header line2 status. |
132 * Sets the call header line2 status. |
124 * @param aLine2 is ETrue if line2 is active. |
133 * @param aLine2 is ETrue if line2 is active. |
125 */ |
134 */ |
126 IMPORT_C void SetLine2( TBool aLine2 ); |
135 IMPORT_C void SetLine2( TBool aLine2 ); |
127 |
136 |
128 /** |
137 /** |
129 * Adds the call flag |
|
130 * @param call flag |
|
131 */ |
|
132 IMPORT_C void AddCallFlag( |
|
133 CBubbleManager::TPhoneCallTypeFlags aCallFlag ); |
|
134 |
|
135 /** |
|
136 * Returns the call header label text |
138 * Returns the call header label text |
137 * @return Returns the label |
139 * @return Returns the label |
138 */ |
140 */ |
139 IMPORT_C const TDesC& LabelText() const; |
141 IMPORT_C const TDesC& LabelText() const; |
140 |
142 |
176 |
178 |
177 /** |
179 /** |
178 * Returns the clipping direction of the CLI text. |
180 * Returns the clipping direction of the CLI text. |
179 * @return Clipping direction of the CLI text. |
181 * @return Clipping direction of the CLI text. |
180 */ |
182 */ |
181 IMPORT_C CBubbleManager::TPhoneClippingDirection CLITextClippingDirection() const; |
183 IMPORT_C TPhoneTextClippingDirection CLITextClippingDirection() const; |
182 |
184 |
183 /** |
185 /** |
184 * Returns the clipping direction of the CNAP text. |
186 * Returns the clipping direction of the CNAP text. |
185 * @return Clipping direction of the CNAP text. |
187 * @return Clipping direction of the CNAP text. |
186 */ |
188 */ |
187 IMPORT_C CBubbleManager::TPhoneClippingDirection CNAPTextClippingDirection() const; |
189 IMPORT_C TPhoneTextClippingDirection CNAPTextClippingDirection() const; |
188 |
190 |
189 /** |
191 /** |
190 * Returns the call header CNAP text. |
192 * Returns the call header CNAP text. |
191 * @return Returns the CNAP text |
193 * @return Returns the CNAP text |
192 */ |
194 */ |
197 * @return Returns the picture |
199 * @return Returns the picture |
198 */ |
200 */ |
199 IMPORT_C const TDesC& Picture() const; |
201 IMPORT_C const TDesC& Picture() const; |
200 |
202 |
201 /** |
203 /** |
202 * Returns the call flag |
204 * Returns call diverted status. |
203 * @return Returns the call flag |
205 * @return Returns ETrue if diverted call. |
204 */ |
206 */ |
205 IMPORT_C TUint32 CallFlag() const; |
207 IMPORT_C TBool Diverted() const; |
206 |
208 |
207 /** |
209 /** |
208 * Returns the call header line 2 active. |
210 * Returns the call header line 2 active. |
209 * @return Returns ETrue if line2 is on |
211 * @return Returns ETrue if line2 is on |
210 */ |
212 */ |
341 TBool iCiphering; |
343 TBool iCiphering; |
342 |
344 |
343 /** |
345 /** |
344 * Call header CLI Text |
346 * Call header CLI Text |
345 */ |
347 */ |
346 TBuf<KCntMaxTextFieldLength> iCLIText; |
348 HBufC *iCLIText; |
347 |
349 |
348 /** |
350 /** |
349 * Clipping direction of the CLI text. |
351 * Clipping direction of the CLI text. |
350 */ |
352 */ |
351 CBubbleManager::TPhoneClippingDirection iCLITextClippingDirection; |
353 TPhoneTextClippingDirection iCLITextClippingDirection; |
352 |
354 |
353 /** |
355 /** |
354 * Clipping direction of the CLI text. |
356 * Clipping direction of the CLI text. |
355 */ |
357 */ |
356 CBubbleManager::TPhoneClippingDirection iCNAPTextClippingDirection; |
358 // CBubbleManager::TPhoneClippingDirection iCNAPTextClippingDirection; |
|
359 TPhoneTextClippingDirection iCNAPTextClippingDirection; |
357 |
360 |
358 /** |
361 /** |
359 * Call header CNAP Text |
362 * Call header CNAP Text |
360 */ |
363 */ |
361 TBuf<KCntMaxTextFieldLength> iCNAPText; |
364 HBufC *iCNAPText; |
362 |
365 |
363 /** |
366 /** |
364 * Call header picture data |
367 * Call header picture data |
365 */ |
368 */ |
366 TPtrC iPicture; |
369 TPtrC iPicture; |
367 |
|
368 /** |
|
369 * Call flag |
|
370 */ |
|
371 TUint32 iCallFlag; |
|
372 |
370 |
373 TBool iLine2; |
371 TBool iLine2; |
374 |
372 |
375 /** |
373 /** |
376 * Thumbnail image |
374 * Thumbnail image |