taskswitcher/taskswitcherui/taskswitcherapp/inc/tsappview.h
branchRCL_3
changeset 9 f966699dea19
parent 4 4d54b72983ae
child 16 9674c1a575e9
--- a/taskswitcher/taskswitcherui/taskswitcherapp/inc/tsappview.h	Tue Feb 02 00:04:13 2010 +0200
+++ b/taskswitcher/taskswitcherui/taskswitcherapp/inc/tsappview.h	Fri Feb 19 22:42:37 2010 +0200
@@ -22,6 +22,7 @@
 #include <e32base.h> 
 #include <coecntrl.h>
 #include <AknPopupFader.h>
+#include <touchfeedback.h>
 #include "tsdevicestate.h"
 #include "tsdatachangeobserver.h"
 #include "tseventcontrolerobserver.h"
@@ -49,13 +50,15 @@
      * @param aRect Area where view should draw itself.
      */
     static CTsAppView* NewL(const TRect& aRect,
-            CTsDeviceState& aDeviceState);
+            CTsDeviceState& aDeviceState,
+            RWindowGroup& aWg);
 
     /**
      * @copydoc NewL
      */
     static CTsAppView* NewLC(const TRect& aRect,
-            CTsDeviceState& aDeviceState);
+            CTsDeviceState& aDeviceState,
+            RWindowGroup& aWg);
 
     /**
      * Destructor.
@@ -93,6 +96,12 @@
      * Forward app key handling to fasswaparea control.
      */
     void HandleAppKey(TInt aType);
+    
+    /**
+     * Orders window invalidation to perform full
+     * background redraw.
+     */
+    void OrderFullWindowRedraw();
 
 protected:
     // from MCoeControlObserver
@@ -116,7 +125,7 @@
     /**
      * @copydoc NewL
      */
-    void ConstructL( const TRect& aRect );
+    void ConstructL( const TRect& aRect, RWindowGroup& aWg );
 
     /**
      * C++ constructor.
@@ -164,6 +173,20 @@
      */
     void DisableAppSwitchEffects();
     
+    /**
+     * Launches feedback through MTouchFeedback::Instance()
+     * 
+     * @param aType         - The logical feedback type to play.
+     * @param aFeedbackType - Feedback types to be played as a bitmask 
+     *                        combination of enumeration items from
+     *                        TTouchFeedbackType
+     * @param aPointerEvent - Pointer event, which triggered this feedback.
+     */
+    void LaunchFeedback( TTouchLogicalFeedback aType,
+		TTouchFeedbackType aFeedbackType,
+		const TPointerEvent& aPointerEvent);
+    
+
     
 public://From MTsEventControlerObserver
     /**
@@ -187,7 +210,7 @@
     /**
      * 
      */
-    virtual void Drag(
+    virtual void DragL(
         const AknTouchGestureFw::MAknTouchGestureFwDragEvent& aEvent);
     
     /**