diff -r dbec5787fa68 -r 792dfc98fb3b camerauis/cameraapp/generic/inc/CamPreCaptureViewBase.h --- a/camerauis/cameraapp/generic/inc/CamPreCaptureViewBase.h Fri Feb 19 22:36:31 2010 +0200 +++ b/camerauis/cameraapp/generic/inc/CamPreCaptureViewBase.h Fri Mar 12 15:41:04 2010 +0200 @@ -19,6 +19,9 @@ #define CAMPRECAPTUREVIEWBASE_H #include +#include +#include +#include #include "CamCaptureSetupViewBase.h" @@ -32,6 +35,8 @@ class TAknsItemID; class CAknButton; + +using namespace AknTouchGestureFw; // CLASS DECLARATION /** @@ -41,7 +46,8 @@ */ class CCamPreCaptureViewBase : public CCamCaptureSetupViewBase, public MCamControllerObserver, - public MAknToolbarObserver + public MAknToolbarObserver, + public MAknTouchGestureFwObserver { public: // Constructors and destructor @@ -107,7 +113,18 @@ * @since 2.8 */ virtual void ExitAllModesL(); - + + /** + * Gesture events are subscribed once the containers are constructed by + * derived class. + */ + void CreateContainerL(); + + /** + * Gesture event notifications are received in this function. + */ + void HandleTouchGestureL( MAknTouchGestureFwEvent& aEvent ); + public: // New functions /** @@ -394,7 +411,10 @@ TBool iAssumePostCaptureView; TBool iLocationTrailConnecting; - + + // Gesture related + CAknTouchGestureFw *iGestureFw; + TInt iLastMovement; }; #endif // CAMPRECAPTUREVIEWBASE_H