27 #include "cchserviceinfo.h" |
27 #include "cchserviceinfo.h" |
28 #include "cchsubserviceinfo.h" |
28 #include "cchsubserviceinfo.h" |
29 #include "cchservicenotifier.h" |
29 #include "cchservicenotifier.h" |
30 #include "cchclientserver.h" |
30 #include "cchclientserver.h" |
31 #include "cchcommdbwatcherobserver.h" |
31 #include "cchcommdbwatcherobserver.h" |
32 #include "cchphonestartupmonitor.h" |
|
33 |
32 |
34 // CONSTANTS |
33 // CONSTANTS |
35 // None |
34 // None |
36 |
35 |
37 // MACROS |
36 // MACROS |
46 class CCCHSubserviceInfo; |
45 class CCCHSubserviceInfo; |
47 class CSPNotifyChange; |
46 class CSPNotifyChange; |
48 class CCchUIHandler; |
47 class CCchUIHandler; |
49 class CCchWlanExtension; |
48 class CCchWlanExtension; |
50 class CCCHCommDbWatcher; |
49 class CCCHCommDbWatcher; |
51 class CCCHPhoneStartupMonitor; |
|
52 |
50 |
53 // DATA TYPES |
51 // DATA TYPES |
54 typedef RPointerArray<CCCHServiceInfo> RServiceArray; |
52 typedef RPointerArray<CCCHServiceInfo> RServiceArray; |
55 |
53 |
56 // CLASS DECLARATION |
54 // CLASS DECLARATION |
390 * Cancels the connection recovery timer |
388 * Cancels the connection recovery timer |
391 */ |
389 */ |
392 void CancelPluginUnloadTimer(); |
390 void CancelPluginUnloadTimer(); |
393 |
391 |
394 /** |
392 /** |
|
393 * Starts handle notify delay timer |
|
394 * @param aFunction The function to call after the time out |
|
395 */ |
|
396 void StartHandleNotifyDelayTimer(); |
|
397 |
|
398 /** |
|
399 * Cancels the handler notify delay timer |
|
400 */ |
|
401 void CancelHandleNotifyDelayTimer(); |
|
402 |
|
403 /** |
395 * Plugin unload callback |
404 * Plugin unload callback |
396 * @param aSelf this object |
405 * @param aSelf this object |
397 */ |
406 */ |
398 static TInt PluginUnloadEvent( TAny* aSelf ); |
407 static TInt PluginUnloadEvent( TAny* aSelf ); |
399 |
408 |
400 /** |
409 /** |
|
410 * Handle notify event callback |
|
411 * @param aSelf this object |
|
412 */ |
|
413 static TInt HandleNotifyEvent( TAny* aSelf ); |
|
414 |
|
415 /** |
401 * Handles plugin unload event |
416 * Handles plugin unload event |
402 */ |
417 */ |
403 void HandlePluginUnload(); |
418 void HandlePluginUnload(); |
404 |
419 |
|
420 /** |
|
421 * Handles delayed notify event |
|
422 */ |
|
423 void HandleDelayedNotifyEvent(); |
|
424 |
405 /** |
425 /** |
406 * From MCCHCommDbWatcherObserver, handles commsdb events |
426 * From MCCHCommDbWatcherObserver, handles commsdb events |
407 */ |
427 */ |
408 void HandleWLANIapAdded( TInt aSNAPId ); |
428 void HandleWLANIapAdded( TInt aSNAPId ); |
409 |
429 |
453 * UI handler to show VoIP small icon etc. |
473 * UI handler to show VoIP small icon etc. |
454 */ |
474 */ |
455 CCchUIHandler* iCchUIHandler; |
475 CCchUIHandler* iCchUIHandler; |
456 |
476 |
457 /** |
477 /** |
458 * Phone startup monitor. Owned. |
|
459 */ |
|
460 CCchPhoneStartupMonitor * iPhoneStartupMonitor; |
|
461 |
|
462 /** |
|
463 * Connection recovery timer. Owned. |
478 * Connection recovery timer. Owned. |
464 */ |
479 */ |
465 CPeriodic* iConnectionRecoveryTimer; |
480 CPeriodic* iConnectionRecoveryTimer; |
466 |
481 |
467 /** |
482 /** |
468 * Plugin unload timer. Owned. |
483 * Plugin unload timer. Owned. |
469 */ |
484 */ |
470 CPeriodic* iPluginUnloadTimer; |
485 CPeriodic* iPluginUnloadTimer; |
471 |
486 |
472 /** |
487 /** |
|
488 * Handle notify delay timer. Owned. |
|
489 */ |
|
490 CPeriodic* iHandleNotifyDelayTimer; |
|
491 |
|
492 /** |
473 * Recovery trial counter |
493 * Recovery trial counter |
474 */ |
494 */ |
475 TInt iConnectionRecoveryTry; |
495 TInt iConnectionRecoveryTry; |
476 |
496 |
477 /** |
497 /** |