diff -r 12c456ceeff2 -r 5253a20d2a1e emailuis/emailui/inc/ncsheadercontainer.h --- a/emailuis/emailui/inc/ncsheadercontainer.h Thu Jan 07 12:38:38 2010 +0200 +++ b/emailuis/emailui/inc/ncsheadercontainer.h Mon Jan 18 20:08:26 2010 +0200 @@ -20,14 +20,10 @@ #ifndef __NCSEMAILHEADERUI_H__ #define __NCSEMAILHEADERUI_H__ -// #include -// -// #include "cpbkxremotecontactlookupenv.h" #include "cpbkxremotecontactlookupserviceuicontext.h" -// #include "FreestyleEmailUi.hrh" #include "ncsaddressinputfield.h" @@ -224,9 +220,9 @@ void SetMenuBar( CEikButtonGroupContainer* aMenuBar ); - void SetAttachmentLabelTextL( const TDesC& aText ); - void SetAttachmentLabelTextL( const TDesC& aAttachmentName, const TDesC& aAttachmentSizeDesc ); - + void SetAttachmentLabelTextsLD( CDesCArray* aAttachmentNames, + CDesCArray* aAttachmentSizes ); + TInt FocusedAttachmentLabelIndex(); void ShowAttachmentLabelL(); void HideAttachmentLabel(); @@ -246,9 +242,6 @@ TBool IsCcFieldVisible() const; -// Removed unneeded IsFocusAif -// - TBool IsFocusAttachments() const; TBool IsFocusTo() const; @@ -286,18 +279,16 @@ TInt aControlId ); //Set Middlesoftkey - //void CNcsHeaderContainer::SetMsk(); void SetMskL(); - // void HandlePointerEventL( const TPointerEvent& aPointerEvent ); void OpenPhonebookL(); - void HandleLongTapL( const TPoint& aPenEventLocation ); + void HandleLongTap( const TPoint& aPenEventLocation, + const TPoint& aPenEventScreenLocation ); TBool NeedsLongTapL( const TPoint& aPenEventLocation ); - // // Process a key event TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType ); @@ -343,18 +334,12 @@ void HandleDynamicVariantSwitchL(); - // // sets up iSwitchChangeMskOff falg void SwitchChangeMskOff(TBool aTag); - // - // Platform layout change virtual TInt LayoutLineCount() const; - // Platform layout change -// TBool IsAddressInputField( const CCoeControl* aControl ) const; -// TBool IsRemoteSearchInprogress() const; private: // Function members @@ -393,19 +378,18 @@ * @return Selected email address object. */ CNcsEmailAddressObject* ExecuteRemoteSearchL( - CPbkxRemoteContactLookupServiceUiContext::TResult::TExitReason& aExitReason, + CPbkxRemoteContactLookupServiceUiContext::TResult::TExitReason& + aExitReason, const TDesC& aSearchText ); void ChangeMskCommandL( TInt aLabelResourceId ); void CommitFieldL( CCoeControl* aField ); -// private: //From MAknLongTapDetectorCallBack - void HandleLongTapEventL( const TPoint& aPenEventLocation, const TPoint& aPenEventScreenLocation ); - -// + void HandleLongTapEventL( const TPoint& aPenEventLocation, + const TPoint& aPenEventScreenLocation ); private: // Data members @@ -415,13 +399,9 @@ */ CCoeControl& iParent; - // Platform layout change MNcsFieldSizeObserver& iFieldSizeObserver; - // Platform layout change - // CAknLongTapDetector* iLongTapDetector; - // CEikButtonGroupContainer* iMenuBar; @@ -443,16 +423,10 @@ CFSMailBox& iMailBox; - // //flag which disables changes of MSK label if any popup dialog is open TBool iSwitchChangeMskOff; - // - - // - //CFbsBitmap* iBackgroundBitmap; - //CFbsBitmap* iBackgroundMask; + CAknsBasicBackgroundControlContext* iBgContext; - // TBool iLongTapEventConsumed; TBool iRALInProgress;