equal
deleted
inserted
replaced
37 |
37 |
38 #include <msgasynccontrolobserver.h> //MMsgMediaControlObserver |
38 #include <msgasynccontrolobserver.h> //MMsgMediaControlObserver |
39 #include <uniobject.h> |
39 #include <uniobject.h> |
40 #include <unidrminfo.h> // CUniDrmInfo |
40 #include <unidrminfo.h> // CUniDrmInfo |
41 #include <AknNaviDecoratorObserver.h> |
41 #include <AknNaviDecoratorObserver.h> |
|
42 #include <aknlongtapdetector.h> // for long tap |
42 |
43 |
43 #include "MmsViewer.hrh" // enumerations |
44 #include "MmsViewer.hrh" // enumerations |
44 #include "MmsViewerOperation.h" |
45 #include "MmsViewerOperation.h" |
45 #include "UniMmsSvkEvents.h" // MMmsSvkEventsObserver |
46 #include "UniMmsSvkEvents.h" // MMmsSvkEventsObserver |
46 |
47 |
86 class CAknInputBlock; |
87 class CAknInputBlock; |
87 class CPeriodic; |
88 class CPeriodic; |
88 class CAknVolumeControl; |
89 class CAknVolumeControl; |
89 class CAknInputBlock; |
90 class CAknInputBlock; |
90 class CAknToolbar; |
91 class CAknToolbar; |
|
92 class CAknStylusPopUpMenu; |
91 |
93 |
92 // CLASS DECLARATION |
94 // CLASS DECLARATION |
93 |
95 |
94 /** |
96 /** |
95 * CMmsViewerAppUi |
97 * CMmsViewerAppUi |
107 public MAknNaviDecoratorObserver, //for navidecorator |
109 public MAknNaviDecoratorObserver, //for navidecorator |
108 #endif |
110 #endif |
109 public MAknToolbarObserver, //toolbar |
111 public MAknToolbarObserver, //toolbar |
110 #endif |
112 #endif |
111 public MCoeControlObserver, // of CAknVolumeControl |
113 public MCoeControlObserver, // of CAknVolumeControl |
112 public MUniObjectObserver |
114 public MUniObjectObserver, |
|
115 public MAknLongTapDetectorCallBack |
113 { |
116 { |
114 public: // Constructors and destructor |
117 public: // Constructors and destructor |
115 |
118 |
116 /** |
119 /** |
117 * C++ default constructor. |
120 * C++ default constructor. |
565 /** |
568 /** |
566 * If image has not rights, error note must be shown. |
569 * If image has not rights, error note must be shown. |
567 * This function handles the situation. |
570 * This function handles the situation. |
568 */ |
571 */ |
569 void HandleImageNoRightsInLaunch( ); |
572 void HandleImageNoRightsInLaunch( ); |
|
573 // From MAknLongTapDetectorCallBack |
|
574 /** |
|
575 * @see MAknLongTapDetectorCallBack |
|
576 */ |
|
577 void HandleLongTapEventL( |
|
578 const TPoint& aPenEventLocation, |
|
579 const TPoint& aPenEventScreenLocation ); |
570 |
580 |
571 |
581 |
572 private: // Functions from base classes |
582 private: // Functions from base classes |
573 |
583 |
574 /** |
584 /** |
1114 TBool iIsStopPlaybackWgId; |
1124 TBool iIsStopPlaybackWgId; |
1115 CAknToolbar* iToolbar; |
1125 CAknToolbar* iToolbar; |
1116 TInt iMaxForwardSlideCount; |
1126 TInt iMaxForwardSlideCount; |
1117 CAknTitlePane* iTitlePane; |
1127 CAknTitlePane* iTitlePane; |
1118 CGulIcon* iAppIcon; |
1128 CGulIcon* iAppIcon; |
|
1129 // Own: For long tap detecting |
|
1130 CAknLongTapDetector* iLongTapDetector; |
|
1131 |
|
1132 // For long tap handling |
|
1133 TBool iTapConsumed; |
|
1134 /** |
|
1135 * Contact image selection stylus popup menu |
|
1136 * Own. |
|
1137 */ |
|
1138 CAknStylusPopUpMenu* iEmbeddedObjectStylusPopup; |
1119 }; |
1139 }; |
1120 |
1140 |
1121 #endif // MMSVIEWERAPPUI_H |
1141 #endif // MMSVIEWERAPPUI_H |
1122 |
1142 |
1123 // End of File |
1143 // End of File |