meetingrequest/mrgui/mrfieldbuilderplugin/inc/cmrviewerattachmentfield.h
branchRCL_3
changeset 16 b5fbb9b25d57
parent 12 4ce476e64c59
child 22 d620048b4810
--- 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;