taskswitcher/taskswitcherui/taskswitcherapp/inc/tsfastswapgrid.h
changeset 5 c743ef5928ba
parent 4 4d54b72983ae
child 9 f966699dea19
--- a/taskswitcher/taskswitcherui/taskswitcherapp/inc/tsfastswapgrid.h	Tue Jan 26 11:48:23 2010 +0200
+++ b/taskswitcher/taskswitcherui/taskswitcherapp/inc/tsfastswapgrid.h	Tue Feb 02 00:04:13 2010 +0200
@@ -57,7 +57,8 @@
  */
 class CTsFastSwapGrid: 
     public CAknGrid,
-    public MTsDeviceStateObserver
+    public MTsDeviceStateObserver,
+    public MTsFastSwapTimerObserver
     {
 public: // enums
     enum TFastSwapGridBehaviour
@@ -200,6 +201,9 @@
 private: // From CAknGrid
     virtual void CreateItemDrawerL();
 
+private: // From MTsFastSwapTimerObserver
+    void TimerCompletedL( CTsFastSwapTimer* aSource );
+    
 private: // New functions
     
     /**
@@ -224,6 +228,7 @@
     RArray<TInt> iCloseItems;
     TInt iCloseIconHitIdx;
     MTsFastSwapGridObserver* iFastSwapGridObserver;
+    CTsFastSwapTimer* iCloseIconRedrawTimer;
 
     // Highlight handling
     TFastSwapGridBehaviour iBehaviour;
@@ -232,6 +237,7 @@
     // Visible view rectangle (horizontal scrolling support)
     TRect iVisibleViewRect;
     
+    // Feedback support
     TBool iTactileFeedbackSupport;
     
     mutable RArray<TInt> iFullyVisibleItems;