21 #define __TPHONECMDPARAMCALLHEADERDATA_H |
21 #define __TPHONECMDPARAMCALLHEADERDATA_H |
22 |
22 |
23 // INCLUDES |
23 // INCLUDES |
24 |
24 |
25 #include <w32std.h> |
25 #include <w32std.h> |
|
26 // <-- QT PHONE START --> |
|
27 #include <cntdef.h> |
|
28 // <-- QT PHONE START --> |
26 #include "tphonecommandparam.h" |
29 #include "tphonecommandparam.h" |
27 #include "phoneconstants.h" |
30 #include "phoneconstants.h" |
28 #include "bmbubblemanager.h" |
31 // <-- QT PHONE START --> |
|
32 //#include "bmbubblemanager.h" |
|
33 // <-- QT PHONE START --> |
29 |
34 |
30 // DATA TYPES |
35 // DATA TYPES |
31 |
36 |
32 // CLASS DECLARATION |
37 // CLASS DECLARATION |
33 class CFbsBitmap; |
38 class CFbsBitmap; |
42 enum TPhoneParticipantListCLI |
47 enum TPhoneParticipantListCLI |
43 { |
48 { |
44 EPhoneParticipantCLIText, |
49 EPhoneParticipantCLIText, |
45 EPhoneParticipantCNAPText, |
50 EPhoneParticipantCNAPText, |
46 }; |
51 }; |
|
52 |
|
53 // <-- QT PHONE START --> |
|
54 enum TPhoneTextClippingDirection |
|
55 { |
|
56 ERight, |
|
57 ELeft |
|
58 }; |
|
59 // <-- QT PHONE END --> |
47 |
60 |
48 public: |
61 public: |
49 |
62 |
50 /** |
63 /** |
51 * C++ default constructor. |
64 * C++ default constructor. |
93 /** |
106 /** |
94 * Sets the call header CLI text |
107 * Sets the call header CLI text |
95 * @param aCLI is the CLI text |
108 * @param aCLI is the CLI text |
96 * @param aDirection Clipping direction of the CLI text. |
109 * @param aDirection Clipping direction of the CLI text. |
97 */ |
110 */ |
|
111 // <-- QT PHONE START --> |
|
112 // IMPORT_C void SetCLIText( const TDesC& aCLIText, |
|
113 // CBubbleManager::TPhoneClippingDirection aDirection ); |
98 IMPORT_C void SetCLIText( const TDesC& aCLIText, |
114 IMPORT_C void SetCLIText( const TDesC& aCLIText, |
99 CBubbleManager::TPhoneClippingDirection aDirection ); |
115 TPhoneTextClippingDirection aDirection ); |
|
116 // <-- QT PHONE END --> |
100 |
117 |
101 /** |
118 /** |
102 * Sets the call header CNAP text |
119 * Sets the call header CNAP text |
103 * @param aCNAP is the CNAP text |
120 * @param aCNAP is the CNAP text |
104 * @param aDirection Clipping direction of the CNAP text. |
121 * @param aDirection Clipping direction of the CNAP text. |
105 */ |
122 */ |
|
123 // <-- QT PHONE START --> |
|
124 // IMPORT_C void SetCNAPText( const TDesC& aCNAPText, |
|
125 // CBubbleManager::TPhoneClippingDirection aDirection ); |
106 IMPORT_C void SetCNAPText( const TDesC& aCNAPText, |
126 IMPORT_C void SetCNAPText( const TDesC& aCNAPText, |
107 CBubbleManager::TPhoneClippingDirection aDirection ); |
127 TPhoneTextClippingDirection aDirection ); |
|
128 // <-- QT PHONE END --> |
108 |
129 |
109 /** |
130 /** |
110 * Sets the call header picture |
131 * Sets the call header picture |
111 * @param aPicture is the picture data |
132 * @param aPicture is the picture data |
112 */ |
133 */ |
113 IMPORT_C void SetPicture( const TDesC& aPicture ); |
134 IMPORT_C void SetPicture( const TDesC& aPicture ); |
114 |
135 |
|
136 // <-- QT PHONE START --> |
115 /** |
137 /** |
116 * Sets the call flag |
138 * Sets the call flag |
117 * @param call flag |
139 * @param call flag |
118 */ |
140 */ |
119 IMPORT_C void SetCallFlag( |
141 // IMPORT_C void SetCallFlag( |
120 CBubbleManager::TPhoneCallTypeFlags aCallFlag ); |
142 // CBubbleManager::TPhoneCallTypeFlags aCallFlag ); |
|
143 |
|
144 /** |
|
145 * Sets the call header diverted status. |
|
146 * @param call flag |
|
147 */ |
|
148 IMPORT_C void SetDiverted( TBool aDiverted ); |
|
149 // <-- QT PHONE END --> |
121 |
150 |
122 /** |
151 /** |
123 * Sets the call header line2 status. |
152 * Sets the call header line2 status. |
124 * @param aLine2 is ETrue if line2 is active. |
153 * @param aLine2 is ETrue if line2 is active. |
125 */ |
154 */ |
176 |
207 |
177 /** |
208 /** |
178 * Returns the clipping direction of the CLI text. |
209 * Returns the clipping direction of the CLI text. |
179 * @return Clipping direction of the CLI text. |
210 * @return Clipping direction of the CLI text. |
180 */ |
211 */ |
181 IMPORT_C CBubbleManager::TPhoneClippingDirection CLITextClippingDirection() const; |
212 // <-- QT PHONE START --> |
|
213 IMPORT_C TPhoneTextClippingDirection CLITextClippingDirection() const; |
182 |
214 |
183 /** |
215 /** |
184 * Returns the clipping direction of the CNAP text. |
216 * Returns the clipping direction of the CNAP text. |
185 * @return Clipping direction of the CNAP text. |
217 * @return Clipping direction of the CNAP text. |
186 */ |
218 */ |
187 IMPORT_C CBubbleManager::TPhoneClippingDirection CNAPTextClippingDirection() const; |
219 IMPORT_C TPhoneTextClippingDirection CNAPTextClippingDirection() const; |
|
220 // <-- QT PHONE END --> |
188 |
221 |
189 /** |
222 /** |
190 * Returns the call header CNAP text. |
223 * Returns the call header CNAP text. |
191 * @return Returns the CNAP text |
224 * @return Returns the CNAP text |
192 */ |
225 */ |
196 * Returns the call header picture. |
229 * Returns the call header picture. |
197 * @return Returns the picture |
230 * @return Returns the picture |
198 */ |
231 */ |
199 IMPORT_C const TDesC& Picture() const; |
232 IMPORT_C const TDesC& Picture() const; |
200 |
233 |
|
234 // <-- QT PHONE START --> |
201 /** |
235 /** |
202 * Returns the call flag |
236 * Returns the call flag |
203 * @return Returns the call flag |
237 * @return Returns the call flag |
204 */ |
238 */ |
205 IMPORT_C TUint32 CallFlag() const; |
239 // IMPORT_C TUint32 CallFlag() const; |
|
240 |
|
241 /** |
|
242 * Returns call diverted status. |
|
243 * @return Returns ETrue if diverted call. |
|
244 */ |
|
245 IMPORT_C TBool Diverted() const; |
|
246 // <-- QT PHONE END --> |
206 |
247 |
207 /** |
248 /** |
208 * Returns the call header line 2 active. |
249 * Returns the call header line 2 active. |
209 * @return Returns ETrue if line2 is on |
250 * @return Returns ETrue if line2 is on |
210 */ |
251 */ |
346 TBuf<KCntMaxTextFieldLength> iCLIText; |
387 TBuf<KCntMaxTextFieldLength> iCLIText; |
347 |
388 |
348 /** |
389 /** |
349 * Clipping direction of the CLI text. |
390 * Clipping direction of the CLI text. |
350 */ |
391 */ |
351 CBubbleManager::TPhoneClippingDirection iCLITextClippingDirection; |
392 // <-- QT PHONE START --> |
352 |
393 TPhoneTextClippingDirection iCLITextClippingDirection; |
|
394 // <-- QT PHONE END --> |
|
395 |
353 /** |
396 /** |
354 * Clipping direction of the CLI text. |
397 * Clipping direction of the CLI text. |
355 */ |
398 */ |
356 CBubbleManager::TPhoneClippingDirection iCNAPTextClippingDirection; |
399 // <-- QT PHONE START --> |
|
400 // CBubbleManager::TPhoneClippingDirection iCNAPTextClippingDirection; |
|
401 TPhoneTextClippingDirection iCNAPTextClippingDirection; |
|
402 // <-- QT PHONE END --> |
357 |
403 |
358 /** |
404 /** |
359 * Call header CNAP Text |
405 * Call header CNAP Text |
360 */ |
406 */ |
361 TBuf<KCntMaxTextFieldLength> iCNAPText; |
407 TBuf<KCntMaxTextFieldLength> iCNAPText; |