|
1 /* |
|
2 * Copyright (c) 2007 - 2008 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: UI states class inline methods. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // ----------------------------------------------------------------------------- |
|
20 // TVtUiStates::MediaState |
|
21 // ----------------------------------------------------------------------------- |
|
22 // |
|
23 const TVtUiMediaState& TVtUiStates::MediaState() const |
|
24 { |
|
25 return iMediaState; |
|
26 } |
|
27 |
|
28 // ----------------------------------------------------------------------------- |
|
29 // TVtUiStates::AudioState |
|
30 // ----------------------------------------------------------------------------- |
|
31 // |
|
32 const TVtUiAudioState& TVtUiStates::AudioState() const |
|
33 { |
|
34 return iAudioState; |
|
35 } |
|
36 |
|
37 // ----------------------------------------------------------------------------- |
|
38 // TVtUiStates::SetCLIReceived |
|
39 // ----------------------------------------------------------------------------- |
|
40 // |
|
41 void TVtUiStates::SetCLIReceived( TBool aSet ) |
|
42 { |
|
43 aSet ? SetFlag( EIsCLIReceived ) : ClearFlag( EIsCLIReceived ); |
|
44 } |
|
45 |
|
46 // ----------------------------------------------------------------------------- |
|
47 // TVtUiStates::IsCLIReceived |
|
48 // ----------------------------------------------------------------------------- |
|
49 // |
|
50 TBool TVtUiStates::IsCLIReceived() const |
|
51 { |
|
52 return IsFlag( EIsCLIReceived ); |
|
53 } |
|
54 |
|
55 // ----------------------------------------------------------------------------- |
|
56 // TVtUiStates::SetLayoutChangeNeeded |
|
57 // ----------------------------------------------------------------------------- |
|
58 // |
|
59 void TVtUiStates::SetLayoutChangeNeeded( TBool aSet ) |
|
60 { |
|
61 aSet ? SetFlag( EIsLayoutChangeNeeded ) : |
|
62 ClearFlag( EIsLayoutChangeNeeded ); |
|
63 } |
|
64 |
|
65 // ----------------------------------------------------------------------------- |
|
66 // TVtUiStates::IsLayoutChangeNeeded |
|
67 // ----------------------------------------------------------------------------- |
|
68 // |
|
69 TBool TVtUiStates::IsLayoutChangeNeeded() const |
|
70 { |
|
71 return IsFlag( EIsLayoutChangeNeeded ); |
|
72 } |
|
73 |
|
74 // ----------------------------------------------------------------------------- |
|
75 // TVtUiStates::SetBlankControlAdded |
|
76 // ----------------------------------------------------------------------------- |
|
77 // |
|
78 void TVtUiStates::SetBlankControlAdded( TBool aSet ) |
|
79 { |
|
80 aSet ? SetFlag( EIsBlankControlAdded ) : |
|
81 ClearFlag( EIsBlankControlAdded ); |
|
82 } |
|
83 |
|
84 // ----------------------------------------------------------------------------- |
|
85 // TVtUiStates::IsBlankControlAdded |
|
86 // ----------------------------------------------------------------------------- |
|
87 // |
|
88 TBool TVtUiStates::IsBlankControlAdded() const |
|
89 { |
|
90 return IsFlag( EIsBlankControlAdded ); |
|
91 } |
|
92 |
|
93 // ----------------------------------------------------------------------------- |
|
94 // TVtUiStates::SetLaunchOkOptionsMenu |
|
95 // ----------------------------------------------------------------------------- |
|
96 // |
|
97 void TVtUiStates::SetLaunchOkOptionsMenu( TBool aSet ) |
|
98 { |
|
99 aSet ? SetFlag( EIsLaunchOkOptionsMenu ) : |
|
100 ClearFlag( EIsLaunchOkOptionsMenu ); |
|
101 } |
|
102 |
|
103 // ----------------------------------------------------------------------------- |
|
104 // TVtUiStates::IsLaunchOkOptionsMenu |
|
105 // ----------------------------------------------------------------------------- |
|
106 // |
|
107 TBool TVtUiStates::IsLaunchOkOptionsMenu() const |
|
108 { |
|
109 return IsFlag( EIsLaunchOkOptionsMenu ); |
|
110 } |
|
111 |
|
112 // ----------------------------------------------------------------------------- |
|
113 // TVtUiStates::SetDeviceLockOn |
|
114 // ----------------------------------------------------------------------------- |
|
115 // |
|
116 void TVtUiStates::SetDeviceLockOn( TBool aSet ) |
|
117 { |
|
118 aSet ? SetFlag( EIsDeviceLockOn ) : |
|
119 ClearFlag( EIsDeviceLockOn ); |
|
120 } |
|
121 |
|
122 // ----------------------------------------------------------------------------- |
|
123 // TVtUiStates::IsDeviceLockOn |
|
124 // ----------------------------------------------------------------------------- |
|
125 // |
|
126 TBool TVtUiStates::IsDeviceLockOn() const |
|
127 { |
|
128 return IsFlag( EIsDeviceLockOn ); |
|
129 } |
|
130 |
|
131 // ----------------------------------------------------------------------------- |
|
132 // TVtUiStates::SetDetailsReceived |
|
133 // ----------------------------------------------------------------------------- |
|
134 // |
|
135 void TVtUiStates::SetDetailsReceived( TBool aSet ) |
|
136 { |
|
137 aSet ? SetFlag( EDetailsReceived ) : |
|
138 ClearFlag( EDetailsReceived ); |
|
139 } |
|
140 |
|
141 // ----------------------------------------------------------------------------- |
|
142 // TVtUiStates::IsDetailsReceived |
|
143 // ----------------------------------------------------------------------------- |
|
144 // |
|
145 TBool TVtUiStates::IsDetailsReceived() const |
|
146 { |
|
147 return IsFlag( EDetailsReceived ); |
|
148 } |
|
149 |
|
150 // ----------------------------------------------------------------------------- |
|
151 // TVtUiStates::SetWaitingForFirstFrame |
|
152 // ----------------------------------------------------------------------------- |
|
153 // |
|
154 void TVtUiStates::SetWaitingForFirstFrame( TBool aSet ) |
|
155 { |
|
156 aSet ? SetFlag( EWaitingForFirstFrame ) : |
|
157 ClearFlag( EWaitingForFirstFrame ); |
|
158 } |
|
159 |
|
160 // ----------------------------------------------------------------------------- |
|
161 // TVtUiStates::IsWaitingForFirstFrame |
|
162 // ----------------------------------------------------------------------------- |
|
163 // |
|
164 TBool TVtUiStates::IsWaitingForFirstFrame() const |
|
165 { |
|
166 return IsFlag( EWaitingForFirstFrame ); |
|
167 } |
|
168 |
|
169 // ----------------------------------------------------------------------------- |
|
170 // TVtUiStates::SetUseSQCif |
|
171 // ----------------------------------------------------------------------------- |
|
172 // |
|
173 void TVtUiStates::SetUseSQCif( TBool aSet ) |
|
174 { |
|
175 aSet ? SetFlag( EUseSQCif ) : |
|
176 ClearFlag( EUseSQCif ); |
|
177 } |
|
178 |
|
179 // ----------------------------------------------------------------------------- |
|
180 // TVtUiStates::IsUseSQCif |
|
181 // ----------------------------------------------------------------------------- |
|
182 // |
|
183 TBool TVtUiStates::IsUseSQCif() const |
|
184 { |
|
185 return IsFlag( EUseSQCif ); |
|
186 } |
|
187 |
|
188 // ----------------------------------------------------------------------------- |
|
189 // TVtUiStates::SetViewFindersInitialPlaceContextPane |
|
190 // ----------------------------------------------------------------------------- |
|
191 // |
|
192 void TVtUiStates::SetViewFindersInitialPlaceContextPane( TBool aSet ) |
|
193 { |
|
194 aSet ? SetFlag( EViewFindersInitialPlaceContextPane ) : |
|
195 ClearFlag( EViewFindersInitialPlaceContextPane ); |
|
196 } |
|
197 |
|
198 // ----------------------------------------------------------------------------- |
|
199 // TVtUiStates::IsViewFindersInitialPlaceContextPane |
|
200 // ----------------------------------------------------------------------------- |
|
201 // |
|
202 TBool TVtUiStates::IsViewFindersInitialPlaceContextPane() const |
|
203 { |
|
204 return IsFlag( EViewFindersInitialPlaceContextPane ); |
|
205 } |
|
206 |
|
207 // ----------------------------------------------------------------------------- |
|
208 // TVtUiStates::SetViewFinderToMainPane |
|
209 // ----------------------------------------------------------------------------- |
|
210 // |
|
211 void TVtUiStates::SetViewFinderToMainPane( TBool aSet ) |
|
212 { |
|
213 aSet ? SetFlag( EViewFinderToMainPane ) : |
|
214 ClearFlag( EViewFinderToMainPane ); |
|
215 } |
|
216 |
|
217 // ----------------------------------------------------------------------------- |
|
218 // TVtUiStates::IsViewFinderToMainPane |
|
219 // ----------------------------------------------------------------------------- |
|
220 // |
|
221 TBool TVtUiStates::IsViewFinderToMainPane() const |
|
222 { |
|
223 return IsFlag( EViewFinderToMainPane ); |
|
224 } |
|
225 |
|
226 // ----------------------------------------------------------------------------- |
|
227 // TVtUiStates::SetCaptureModeOn |
|
228 // ----------------------------------------------------------------------------- |
|
229 // |
|
230 void TVtUiStates::SetCaptureModeOn( TBool aSet ) |
|
231 { |
|
232 aSet ? SetFlag( EIsCaptureModeOn ) : |
|
233 ClearFlag( EIsCaptureModeOn ); |
|
234 } |
|
235 |
|
236 // ----------------------------------------------------------------------------- |
|
237 // TVtUiStates::IsCaptureModeOn |
|
238 // ----------------------------------------------------------------------------- |
|
239 // |
|
240 TBool TVtUiStates::IsCaptureModeOn() const |
|
241 { |
|
242 return IsFlag( EIsCaptureModeOn ); |
|
243 } |
|
244 |
|
245 // ----------------------------------------------------------------------------- |
|
246 // TVtUiStates::SetThisApplicationForeground |
|
247 // ----------------------------------------------------------------------------- |
|
248 // |
|
249 void TVtUiStates::SetThisApplicationForeground( TBool aSet ) |
|
250 { |
|
251 aSet ? SetFlag( EIsThisApplicationForeground ) : |
|
252 ClearFlag( EIsThisApplicationForeground ); |
|
253 } |
|
254 |
|
255 // ----------------------------------------------------------------------------- |
|
256 // TVtUiStates::IsThisApplicationForeground |
|
257 // ----------------------------------------------------------------------------- |
|
258 // |
|
259 TBool TVtUiStates::IsThisApplicationForeground() const |
|
260 { |
|
261 return IsFlag( EIsThisApplicationForeground ); |
|
262 } |
|
263 |
|
264 // ----------------------------------------------------------------------------- |
|
265 // TVtUiStates::SetDisableBlindSetting |
|
266 // ----------------------------------------------------------------------------- |
|
267 // |
|
268 void TVtUiStates::SetDisableBlindSetting( TBool aSet ) |
|
269 { |
|
270 aSet ? SetFlag( EIsDisableBlindSetting ) : |
|
271 ClearFlag( EIsDisableBlindSetting ); |
|
272 } |
|
273 |
|
274 // ----------------------------------------------------------------------------- |
|
275 // TVtUiStates::IsDisableBlindSetting |
|
276 // ----------------------------------------------------------------------------- |
|
277 // |
|
278 TBool TVtUiStates::IsDisableBlindSetting() const |
|
279 { |
|
280 return IsFlag( EIsDisableBlindSetting ); |
|
281 } |
|
282 |
|
283 // ----------------------------------------------------------------------------- |
|
284 // TVtUiStates::SetExecShowCameraInUse |
|
285 // ----------------------------------------------------------------------------- |
|
286 // |
|
287 void TVtUiStates::SetExecShowCameraInUse( TBool aSet ) |
|
288 { |
|
289 aSet ? SetFlag( EExecShowCameraInUse ) : |
|
290 ClearFlag( EExecShowCameraInUse ); |
|
291 } |
|
292 |
|
293 // ----------------------------------------------------------------------------- |
|
294 // TVtUiStates::IsExecShowCameraInUse |
|
295 // ----------------------------------------------------------------------------- |
|
296 // |
|
297 TBool TVtUiStates::IsExecShowCameraInUse() const |
|
298 { |
|
299 return IsFlag( EExecShowCameraInUse ); |
|
300 } |
|
301 |
|
302 // ----------------------------------------------------------------------------- |
|
303 // TVtUiStates::IsZoomModeOn |
|
304 // ----------------------------------------------------------------------------- |
|
305 // |
|
306 TBool TVtUiStates::IsZoomModeOn() const |
|
307 { |
|
308 return IsFlag( EIsZoomModeOn ); |
|
309 } |
|
310 |
|
311 // ----------------------------------------------------------------------------- |
|
312 // TVtUiStates::SetZoomModeOn |
|
313 // ----------------------------------------------------------------------------- |
|
314 // |
|
315 void TVtUiStates::SetZoomModeOn( TBool aSet ) |
|
316 { |
|
317 aSet ? SetFlag( EIsZoomModeOn ) : |
|
318 ClearFlag( EIsZoomModeOn ); |
|
319 } |
|
320 |
|
321 // ----------------------------------------------------------------------------- |
|
322 // TVtUiStates::IsWhiteBalanceModeOn |
|
323 // ----------------------------------------------------------------------------- |
|
324 // |
|
325 TBool TVtUiStates::IsWhiteBalanceModeOn() const |
|
326 { |
|
327 return IsFlag( EIsWhiteBalanceModeOn ); |
|
328 } |
|
329 |
|
330 // ----------------------------------------------------------------------------- |
|
331 // TVtUiStates::SetWhiteBalanceModeOn |
|
332 // ----------------------------------------------------------------------------- |
|
333 // |
|
334 void TVtUiStates::SetWhiteBalanceModeOn( TBool aSet ) |
|
335 { |
|
336 aSet ? SetFlag( EIsWhiteBalanceModeOn ) : |
|
337 ClearFlag( EIsWhiteBalanceModeOn ); |
|
338 } |
|
339 |
|
340 // ----------------------------------------------------------------------------- |
|
341 // TVtUiStates::IsColorToneModeOn |
|
342 // ----------------------------------------------------------------------------- |
|
343 // |
|
344 TBool TVtUiStates::IsColorToneModeOn() const |
|
345 { |
|
346 return IsFlag( EIsColorToneModeOn ); |
|
347 } |
|
348 |
|
349 // ----------------------------------------------------------------------------- |
|
350 // TVtUiStates::SetColorToneModeOn |
|
351 // ----------------------------------------------------------------------------- |
|
352 // |
|
353 void TVtUiStates::SetColorToneModeOn( TBool aSet ) |
|
354 { |
|
355 aSet ? SetFlag( EIsColorToneModeOn ) : |
|
356 ClearFlag( EIsColorToneModeOn ); |
|
357 } |
|
358 |
|
359 // ----------------------------------------------------------------------------- |
|
360 // TVtUiStates::IsBrightnessModeOn |
|
361 // ----------------------------------------------------------------------------- |
|
362 // |
|
363 TBool TVtUiStates::IsBrightnessModeOn() const |
|
364 { |
|
365 return IsFlag( EIsBrightnessModeOn ); |
|
366 } |
|
367 |
|
368 // ----------------------------------------------------------------------------- |
|
369 // TVtUiStates::SetBrightnessModeOn |
|
370 // ----------------------------------------------------------------------------- |
|
371 // |
|
372 void TVtUiStates::SetBrightnessModeOn( TBool aSet ) |
|
373 { |
|
374 aSet ? SetFlag( EIsBrightnessModeOn ) : |
|
375 ClearFlag( EIsBrightnessModeOn ); |
|
376 } |
|
377 |
|
378 // ----------------------------------------------------------------------------- |
|
379 // TVtUiStates::IsContrastModeOn |
|
380 // ----------------------------------------------------------------------------- |
|
381 // |
|
382 TBool TVtUiStates::IsContrastModeOn() const |
|
383 { |
|
384 return IsFlag( EIsContrastModeOn ); |
|
385 } |
|
386 |
|
387 // ----------------------------------------------------------------------------- |
|
388 // TVtUiStates::SetContrastModeOn |
|
389 // ----------------------------------------------------------------------------- |
|
390 // |
|
391 void TVtUiStates::SetContrastModeOn( TBool aSet ) |
|
392 { |
|
393 aSet ? SetFlag( EIsContrastModeOn ) : |
|
394 ClearFlag( EIsContrastModeOn ); |
|
395 } |
|
396 |
|
397 // ----------------------------------------------------------------------------- |
|
398 // TVtUiStates::SetIsNumberEntryOpen |
|
399 // ----------------------------------------------------------------------------- |
|
400 // |
|
401 void TVtUiStates::SetIsNumberEntryOpen( TBool aSet ) |
|
402 { |
|
403 aSet ? SetFlag( EIsNumberEntryOpen ) : |
|
404 ClearFlag( EIsNumberEntryOpen ); |
|
405 } |
|
406 |
|
407 // ----------------------------------------------------------------------------- |
|
408 // TVtUiStates::IsNumberEntryOpen |
|
409 // ----------------------------------------------------------------------------- |
|
410 // |
|
411 TBool TVtUiStates::IsNumberEntryOpen() const |
|
412 { |
|
413 return IsFlag( EIsNumberEntryOpen ); |
|
414 } |
|
415 |
|
416 |
|
417 // ----------------------------------------------------------------------------- |
|
418 // TVtUiStates::SetIsToolbarAvailable |
|
419 // ----------------------------------------------------------------------------- |
|
420 // |
|
421 void TVtUiStates::SetIsToolbarAvailable( TBool aSet ) |
|
422 { |
|
423 aSet ? SetFlag( EIsToolbarAvailable ) : |
|
424 ClearFlag( EIsToolbarAvailable ); |
|
425 } |
|
426 |
|
427 // ----------------------------------------------------------------------------- |
|
428 // TVtUiStates::IsToolbarAvailable |
|
429 // ----------------------------------------------------------------------------- |
|
430 // |
|
431 TBool TVtUiStates::IsToolbarAvailable() const |
|
432 { |
|
433 return IsFlag( EIsToolbarAvailable ); |
|
434 } |
|
435 |
|
436 // ----------------------------------------------------------------------------- |
|
437 // TVtUiStates:::SetWaitingCall |
|
438 // ----------------------------------------------------------------------------- |
|
439 // |
|
440 void TVtUiStates::SetWaitingCall( TBool aSet ) |
|
441 { |
|
442 aSet ? SetFlag( EIsWaitingCall ) : |
|
443 ClearFlag( EIsWaitingCall ); |
|
444 } |
|
445 |
|
446 // ----------------------------------------------------------------------------- |
|
447 // TVtUiStates::IsWaitingCall |
|
448 // ----------------------------------------------------------------------------- |
|
449 // |
|
450 TBool TVtUiStates::IsWaitingCall() const |
|
451 { |
|
452 return IsFlag( EIsWaitingCall ); |
|
453 } |
|
454 |
|
455 // ----------------------------------------------------------------------------- |
|
456 // TVtUiStates:::SetSelectingShare |
|
457 // ----------------------------------------------------------------------------- |
|
458 // |
|
459 void TVtUiStates::SetSelectingShare( TBool aSet ) |
|
460 { |
|
461 aSet ? SetFlag( EIsSelectingShare ) : |
|
462 ClearFlag( EIsSelectingShare ); |
|
463 } |
|
464 |
|
465 // ----------------------------------------------------------------------------- |
|
466 // TVtUiStates::IsSelectingShare |
|
467 // ----------------------------------------------------------------------------- |
|
468 // |
|
469 TBool TVtUiStates::IsSelectingShare() const |
|
470 { |
|
471 return IsFlag( EIsSelectingShare ); |
|
472 } |
|
473 |
|
474 // ----------------------------------------------------------------------------- |
|
475 // TVtUiStates::SetIsDialerOpen |
|
476 // ----------------------------------------------------------------------------- |
|
477 // |
|
478 void TVtUiStates::SetIsDialerOpen( TBool aSet ) |
|
479 { |
|
480 aSet ? SetFlag( EIsDialerOpen ) : |
|
481 ClearFlag( EIsDialerOpen ); |
|
482 } |
|
483 |
|
484 // ----------------------------------------------------------------------------- |
|
485 // TVtUiStates::IsDialerOpen |
|
486 // ----------------------------------------------------------------------------- |
|
487 // |
|
488 TBool TVtUiStates::IsDialerOpen() const |
|
489 { |
|
490 return IsFlag( EIsDialerOpen ); |
|
491 } |
|
492 |
|
493 |
|
494 // ----------------------------------------------------------------------------- |
|
495 // TVtUiStates::SetIsFixedToolbarVisible |
|
496 // ----------------------------------------------------------------------------- |
|
497 // |
|
498 void TVtUiStates::SetIsFixedToolbarVisible( TBool aSet ) |
|
499 { |
|
500 aSet ? SetFlag( EIsFixedToolbarVisible ) : |
|
501 ClearFlag( EIsFixedToolbarVisible ); |
|
502 } |
|
503 |
|
504 // ----------------------------------------------------------------------------- |
|
505 // TVtUiStates::IsFixedToolbarVisible |
|
506 // ----------------------------------------------------------------------------- |
|
507 // |
|
508 TBool TVtUiStates::IsFixedToolbarVisible() const |
|
509 { |
|
510 return IsFlag( EIsFixedToolbarVisible ); |
|
511 } |
|
512 |
|
513 // ----------------------------------------------------------------------------- |
|
514 // TVtUiStates::SetIsDialerActivating |
|
515 // ----------------------------------------------------------------------------- |
|
516 // |
|
517 void TVtUiStates::SetIsDialerActivating( TBool aSet ) |
|
518 { |
|
519 aSet ? SetFlag( EIsDialerActivating ) : |
|
520 ClearFlag( EIsDialerActivating ); |
|
521 } |
|
522 |
|
523 // ----------------------------------------------------------------------------- |
|
524 // TVtUiStates::IsDialerActivating |
|
525 // ----------------------------------------------------------------------------- |
|
526 // |
|
527 TBool TVtUiStates::IsDialerActivating() const |
|
528 { |
|
529 return IsFlag( EIsDialerActivating ); |
|
530 } |
|
531 |
|
532 // ----------------------------------------------------------------------------- |
|
533 // TVtUiStates::IsCommandActivating |
|
534 // ----------------------------------------------------------------------------- |
|
535 // |
|
536 TBool TVtUiStates::IsCommandActivating() const |
|
537 { |
|
538 return iCommandActivatingRefCount > 0; |
|
539 } |
|
540 |
|
541 // ----------------------------------------------------------------------------- |
|
542 // TVtUiStates::IsVolumeModeOn |
|
543 // ----------------------------------------------------------------------------- |
|
544 // |
|
545 TBool TVtUiStates::IsVolumeModeOn() const |
|
546 { |
|
547 return IsFlag( EIsVolumeModeOn ); |
|
548 } |
|
549 |
|
550 // ----------------------------------------------------------------------------- |
|
551 // TVtUiStates::SetVolumeModeOn |
|
552 // ----------------------------------------------------------------------------- |
|
553 // |
|
554 void TVtUiStates::SetVolumeModeOn( TBool aSet ) |
|
555 { |
|
556 aSet ? SetFlag( EIsVolumeModeOn ) : |
|
557 ClearFlag( EIsVolumeModeOn ); |
|
558 } |
|
559 |
|
560 // ----------------------------------------------------------------------------- |
|
561 // TVtUiStates::SetIsFloatingToolbarVisible |
|
562 // ----------------------------------------------------------------------------- |
|
563 // |
|
564 void TVtUiStates::SetIsFloatingToolbarVisible( TBool aSet ) |
|
565 { |
|
566 aSet ? SetFlag( EIsFloatingToolbarVisible ) : |
|
567 ClearFlag( EIsFloatingToolbarVisible ); |
|
568 } |
|
569 |
|
570 // ----------------------------------------------------------------------------- |
|
571 // TVtUiStates::IsFloatingToolbarVisible |
|
572 // ----------------------------------------------------------------------------- |
|
573 // |
|
574 TBool TVtUiStates::IsFloatingToolbarVisible() const |
|
575 { |
|
576 return IsFlag( EIsFloatingToolbarVisible ); |
|
577 } |
|
578 |
|
579 // ----------------------------------------------------------------------------- |
|
580 // TVtUiStates::IsVideoQualityModeOn |
|
581 // ----------------------------------------------------------------------------- |
|
582 // |
|
583 TBool TVtUiStates::IsVideoQualityModeOn() const |
|
584 { |
|
585 return IsFlag( EIsVideoQualityModeOn ); |
|
586 } |
|
587 |
|
588 // ----------------------------------------------------------------------------- |
|
589 // TVtUiStates::SetVideoQualityModeOn |
|
590 // ----------------------------------------------------------------------------- |
|
591 // |
|
592 void TVtUiStates::SetVideoQualityModeOn( TBool aSet ) |
|
593 { |
|
594 aSet ? SetFlag( EIsVideoQualityModeOn ) : |
|
595 ClearFlag( EIsVideoQualityModeOn ); |
|
596 } |