--- a/camerauis/cameraxui/cxengine/inc/api/cxeautofocuscontrol.h Mon May 03 12:22:55 2010 +0300
+++ b/camerauis/cameraxui/cxengine/inc/api/cxeautofocuscontrol.h Fri May 14 15:40:46 2010 +0300
@@ -77,8 +77,9 @@
/**
* Starts Autofocus.
+ * \param soundEnabled indicates if the auto focus sound should be played
*/
- virtual CxeError::Id start() = 0;
+ virtual CxeError::Id start(bool soundEnabled = true) = 0;
/**
* Cancels Autofocus.
@@ -105,6 +106,11 @@
* Check if Autofocus is Supported or Not.
*/
virtual bool supported() const = 0; // true when AF is supported
+
+ /**
+ * Check if auto focus sound is enabled
+ */
+ virtual bool isSoundEnabled() const = 0;
signals:
void stateChanged( CxeAutoFocusControl::State newState, CxeError::Id error );