camerauis/cameraapp/generic/inc/CamZoomModel.h
branchRCL_3
changeset 12 51dda465e618
parent 0 1ddebce53859
equal deleted inserted replaced
11:d486e5e3cc9a 12:51dda465e618
   200     /***
   200     /***
   201     * Resets the zoom (digital, and, if available, optical) to 1x
   201     * Resets the zoom (digital, and, if available, optical) to 1x
   202     * @since 3.0
   202     * @since 3.0
   203     */                        
   203     */                        
   204     void ResetZoomTo1x();
   204     void ResetZoomTo1x();
       
   205     
       
   206     /***
       
   207      * Use an external zoom multiplier factor to zoom quickly
       
   208      * with lesser number of transitions
       
   209      * @since 5.1
       
   210      */
       
   211     void SetZoomMultiplier( TInt aZoomStepMultiplier );
   205 
   212 
   206   private:
   213   private:
   207     
   214     
   208     /**
   215     /**
   209     * Called by the timer callback function to perform 
   216     * Called by the timer callback function to perform 
   385     TInt iCurZoomStepOptical;
   392     TInt iCurZoomStepOptical;
   386     TInt iCurZoomStepDigital;
   393     TInt iCurZoomStepDigital;
   387     
   394     
   388     // Max allowed zoom step (taking into account optical, digital and extended)
   395     // Max allowed zoom step (taking into account optical, digital and extended)
   389     TInt iMaxZoomStep;
   396     TInt iMaxZoomStep;
       
   397 
       
   398     // Zoom step/jump multiplier for skipping some zoom levels 
       
   399     // (for quick zooming to max and min zoom levels)  
       
   400     TInt iZoomStepMultiplier;
   390     
   401     
   391     // Stores the current state of the model, and the last-notified
   402     // Stores the current state of the model, and the last-notified
   392     // engine state.
   403     // engine state.
   393     TCamZoomModelState iState;
   404     TCamZoomModelState iState;
   394     //        TCamEngineState iEngineState;
   405     //        TCamEngineState iEngineState;