diff -r d09ac5c1e252 -r 0bf1d54f37d9 mobilemessaging/mmsui/viewerinc/UniMmsViewerAppUi.h --- a/mobilemessaging/mmsui/viewerinc/UniMmsViewerAppUi.h Thu Jan 07 12:45:05 2010 +0200 +++ b/mobilemessaging/mmsui/viewerinc/UniMmsViewerAppUi.h Mon Jan 18 20:16:40 2010 +0200 @@ -39,6 +39,7 @@ #include #include // CUniDrmInfo #include +#include // for long tap #include "MmsViewer.hrh" // enumerations #include "MmsViewerOperation.h" @@ -88,6 +89,7 @@ class CAknVolumeControl; class CAknInputBlock; class CAknToolbar; +class CAknStylusPopUpMenu; // CLASS DECLARATION @@ -109,7 +111,8 @@ public MAknToolbarObserver, //toolbar #endif public MCoeControlObserver, // of CAknVolumeControl - public MUniObjectObserver + public MUniObjectObserver, + public MAknLongTapDetectorCallBack { public: // Constructors and destructor @@ -567,6 +570,13 @@ * This function handles the situation. */ void HandleImageNoRightsInLaunch( ); + // From MAknLongTapDetectorCallBack + /** + * @see MAknLongTapDetectorCallBack + */ + void HandleLongTapEventL( + const TPoint& aPenEventLocation, + const TPoint& aPenEventScreenLocation ); private: // Functions from base classes @@ -1116,6 +1126,16 @@ TInt iMaxForwardSlideCount; CAknTitlePane* iTitlePane; CGulIcon* iAppIcon; + // Own: For long tap detecting + CAknLongTapDetector* iLongTapDetector; + + // For long tap handling + TBool iTapConsumed; + /** + * Contact image selection stylus popup menu + * Own. + */ + CAknStylusPopUpMenu* iEmbeddedObjectStylusPopup; }; #endif // MMSVIEWERAPPUI_H