diff -r b13141f05c3d -r b5fbb9b25d57 meetingrequest/mrgui/mrfieldbuilderplugin/inc/cmrviewerattachmentfield.h --- a/meetingrequest/mrgui/mrfieldbuilderplugin/inc/cmrviewerattachmentfield.h Tue Apr 27 16:20:14 2010 +0300 +++ b/meetingrequest/mrgui/mrfieldbuilderplugin/inc/cmrviewerattachmentfield.h Tue May 11 15:57:15 2010 +0300 @@ -40,7 +40,7 @@ /** * CMRViewerAttachmentsField is entry viewer attachment field */ -NONSHARABLE_CLASS( CMRViewerAttachmentsField ): +NONSHARABLE_CLASS( CMRViewerAttachmentsField ): public CESMRField, public MEikEdwinSizeObserver, public MESMRRichTextObserver @@ -70,20 +70,22 @@ TInt aResourceId, CEikMenuPane* aMenuPane ); void LockL(); - + TBool SupportsLongTapFunctionalityL( + const TPointerEvent &aPointerEvent ); + protected: // From CCoeControl TInt CountComponentControls() const; CCoeControl* ComponentControl( TInt aInd ) const; void SizeChanged(); TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType ); void SetContainerWindowL( const CCoeControl& aControl ); - + protected: // From MEikEdwinSizeObserver TBool HandleEdwinSizeEventL( CEikEdwin* aEdwin, TEdwinSizeEvent aType, TSize aDesirableEdwinSize); - -public: // From MESMRRichTextObserver + +protected: // From MESMRRichTextObserver TBool HandleRichTextLinkSelection( const CESMRRichTextLink* aLink ); - + private: // Implementation CMRViewerAttachmentsField(); void ConstructL(); @@ -98,7 +100,8 @@ void DynInitMenuPaneForCurrentAttachmentL( CEikMenuPane* aMenuPane ); TBool IsAttachmentDownloadInProgress( const CCalAttachment& aAttachment ); - + TInt MaxTextLengthInPixelsL(); + private: //data // Own: Field icon CMRImage* iFieldIcon;