equal
deleted
inserted
replaced
27 #include "glxmetadatacontainer.h" |
27 #include "glxmetadatacontainer.h" |
28 #include "mglxmedialistprovider.h" |
28 #include "mglxmedialistprovider.h" |
29 #include "mglxmedialistobserver.h" |
29 #include "mglxmedialistobserver.h" |
30 #include <mglxmetadatadialogobserver.h> |
30 #include <mglxmetadatadialogobserver.h> |
31 #include "glxmedia.h" |
31 #include "glxmedia.h" |
32 |
32 #include <aknphysicsobserveriface.h> //Physics - Kinetic scrolling listener |
33 |
33 |
34 // FORWARD DECLARATIONS |
34 // FORWARD DECLARATIONS |
35 class CGlxMetadataCommandHandler;class CGlxCommandHandlerAddToContainer; |
35 class CGlxMetadataCommandHandler;class CGlxCommandHandlerAddToContainer; |
36 class CGlxUiUtility; |
36 class CGlxUiUtility; |
37 |
37 |
42 * Metadata dialog implementation |
42 * Metadata dialog implementation |
43 */ |
43 */ |
44 class CGlxMetadataDialog : public CAknDialog, |
44 class CGlxMetadataDialog : public CAknDialog, |
45 public MGlxMediaListProvider, |
45 public MGlxMediaListProvider, |
46 public MGlxMetadataDialogObserver, |
46 public MGlxMetadataDialogObserver, |
47 public MToolbarResetObserver |
47 public MToolbarResetObserver, |
|
48 public MAknPhysicsObserver |
48 |
49 |
49 { |
50 { |
50 public: // Constructors and destructor |
51 public: // Constructors and destructor |
51 |
52 |
52 /** |
53 /** |
90 /* |
91 /* |
91 * From MToolbarResetObserver |
92 * From MToolbarResetObserver |
92 */ |
93 */ |
93 void HandleToolbarResetting(TBool aVisible); |
94 void HandleToolbarResetting(TBool aVisible); |
94 |
95 |
|
96 protected: // from MAknPhysicsObserver |
|
97 |
|
98 void ViewPositionChanged( const TPoint& /*aNewPosition*/, TBool /*aDrawNow*/, TUint /*aFlags*/ ); |
|
99 |
|
100 void PhysicEmulationEnded(); |
|
101 |
|
102 TPoint ViewPosition() const; |
|
103 |
95 protected: // Functions from base classes |
104 protected: // Functions from base classes |
96 |
105 |
97 /** |
106 /** |
98 * From MEikCommandObserver Prosesses menucommands |
107 * From MEikCommandObserver Prosesses menucommands |
99 * |
108 * |
204 CGlxMetadataCommandHandler* iMetadataCmdHandler;//own |
213 CGlxMetadataCommandHandler* iMetadataCmdHandler;//own |
205 CGlxUiUtility* iUiUtility; |
214 CGlxUiUtility* iUiUtility; |
206 HBufC* iPreviousTitle; |
215 HBufC* iPreviousTitle; |
207 const TDesC& iUri; |
216 const TDesC& iUri; |
208 CGlxCommandHandlerAddToContainer* iAddToTag; |
217 CGlxCommandHandlerAddToContainer* iAddToTag; |
209 CGlxCommandHandlerAddToContainer* iAddToAlbum; |
218 CGlxCommandHandlerAddToContainer* iAddToAlbum; |
|
219 /* |
|
220 * Store previous pointer event point |
|
221 */ |
|
222 TPoint iPrev; |
|
223 |
|
224 /* |
|
225 * Check if the dragging got beyond kinetic drag threshold & screen |
|
226 * movement will start, if set to true |
|
227 */ |
|
228 TBool iViewDragged; |
|
229 |
|
230 /* |
|
231 * Store the value of kinetic drag threshold |
|
232 */ |
|
233 TInt iKineticDragThreshold; |
210 }; |
234 }; |
211 |
235 |
212 #endif // GLXMETADATADIALOG_H |
236 #endif // GLXMETADATADIALOG_H |
213 |
237 |
214 // End of File |
238 // End of File |