diff -r 4ce476e64c59 -r 8592a65ad3fb emailuis/emailui/inc/ncsheadercontainer.h --- a/emailuis/emailui/inc/ncsheadercontainer.h Wed Mar 31 21:08:33 2010 +0300 +++ b/emailuis/emailui/inc/ncsheadercontainer.h Wed Apr 14 15:42:15 2010 +0300 @@ -34,6 +34,7 @@ class CNcsEmailAddressObject; class CNcsPopupListBox; class CNcsSubjectField; +class CAknPhysics; /** * CNcsHeaderContainer @@ -59,7 +60,7 @@ * @return a pointer to the created instance of CNcsHeaderContainer. */ static CNcsHeaderContainer* NewL( CCoeControl& aParent, - CFSMailBox& aMailBox, TInt aFlags = NULL ); + CFSMailBox& aMailBox, TInt aFlags = NULL, CAknPhysics* aPhysics = NULL ); /** * ~CNcsHeaderContainer @@ -67,6 +68,8 @@ */ virtual ~CNcsHeaderContainer(); + void EnableKineticScrollingL(CAknPhysics* aPhysics); + private: // constructor/destructor /** @@ -75,7 +78,7 @@ * @param aParent Parent control. * @param aMailBox reference to current mailbox item */ - CNcsHeaderContainer( CCoeControl& aParent, CFSMailBox& aMailBox ); + CNcsHeaderContainer( CCoeControl& aParent, CFSMailBox& aMailBox, CAknPhysics* aPhysics ); /** * ConstructL @@ -334,6 +337,8 @@ void HandleDynamicVariantSwitchL(); + void HandleSkinChangeL(); + // sets up iSwitchChangeMskOff falg void SwitchChangeMskOff(TBool aTag); @@ -348,7 +353,7 @@ * * @param aShow ETrue - shows, EFalse - hides cursor. */ - void ShowCursor( TBool aShow ); + void ShowCursor( TBool aShow, TDrawNow aDrawNow = ENoDrawNow ); void DoScrollL(); private: // Function members @@ -442,6 +447,9 @@ // Currently focused control CCoeControl* iFocused; + + // panning related + CAknPhysics* iPhysics; };