convergedconnectionhandler/cchserver/inc/cchservicehandler.h
branchRCL_3
changeset 9 bddb6d4447db
parent 0 a4daefaec16c
child 15 43658d24f35d
--- a/convergedconnectionhandler/cchserver/inc/cchservicehandler.h	Fri Mar 12 15:42:09 2010 +0200
+++ b/convergedconnectionhandler/cchserver/inc/cchservicehandler.h	Mon Mar 15 12:39:55 2010 +0200
@@ -29,7 +29,6 @@
 #include "cchservicenotifier.h"
 #include "cchclientserver.h"
 #include "cchcommdbwatcherobserver.h"
-#include "cchphonestartupmonitor.h"
 
 // CONSTANTS
 // None
@@ -48,7 +47,6 @@
 class CCchUIHandler;
 class CCchWlanExtension;
 class CCCHCommDbWatcher;
-class CCCHPhoneStartupMonitor;
 
 // DATA TYPES
 typedef RPointerArray<CCCHServiceInfo> RServiceArray;
@@ -392,16 +390,38 @@
     void CancelPluginUnloadTimer();
     
     /**
+     * Starts handle notify delay timer
+     * @param aFunction The function to call after the time out
+     */
+    void StartHandleNotifyDelayTimer();
+
+    /**
+     * Cancels the handler notify delay timer
+     */
+    void CancelHandleNotifyDelayTimer();
+    
+    /**
      * Plugin unload callback
      * @param aSelf this object
      */
     static TInt PluginUnloadEvent( TAny* aSelf );
     
     /**
+     * Handle notify event callback
+     * @param aSelf this object
+     */
+    static TInt HandleNotifyEvent( TAny* aSelf );
+    
+    /**
      * Handles plugin unload event
      */
     void HandlePluginUnload();
-        
+    
+    /**
+     * Handles delayed notify event
+     */
+    void HandleDelayedNotifyEvent();
+    
     /**
      * From MCCHCommDbWatcherObserver, handles commsdb events
      */
@@ -455,11 +475,6 @@
     CCchUIHandler*                  iCchUIHandler;
     
     /**
-     * Phone startup monitor. Owned.
-     */
-    CCchPhoneStartupMonitor *       iPhoneStartupMonitor;
-    
-    /**
      * Connection recovery timer. Owned.
      */
     CPeriodic* iConnectionRecoveryTimer;
@@ -470,6 +485,11 @@
     CPeriodic* iPluginUnloadTimer;
     
     /**
+     * Handle notify delay timer. Owned.
+     */
+    CPeriodic* iHandleNotifyDelayTimer;
+    
+    /**
      * Recovery trial counter
      */
     TInt iConnectionRecoveryTry;
@@ -498,6 +518,11 @@
      * Disable SPSettings notifications
      */
     TBool iCancelNotify;
+    
+    /**
+     * Service id of delayed handle notify event
+     */
+    TServiceId iDelayedHandleNotifyServiceId;
     };
 
 #endif // C_CCHSERVICEHANDLER_H