equal
deleted
inserted
replaced
42 public: |
42 public: |
43 |
43 |
44 CxeAutoFocusControlSymbian( CxeCameraDevice &cameraDevice ); |
44 CxeAutoFocusControlSymbian( CxeCameraDevice &cameraDevice ); |
45 virtual ~CxeAutoFocusControlSymbian(); |
45 virtual ~CxeAutoFocusControlSymbian(); |
46 |
46 |
47 CxeError::Id start(); |
47 CxeError::Id start(bool soundEnabled = true); |
48 void cancel(); |
48 void cancel(); |
49 void setMode( CxeAutoFocusControl::Mode newMode ); |
49 void setMode( CxeAutoFocusControl::Mode newMode ); |
50 CxeAutoFocusControl::Mode mode() const; |
50 CxeAutoFocusControl::Mode mode() const; |
51 |
51 |
52 CxeAutoFocusControl::State state() const; |
52 CxeAutoFocusControl::State state() const; |
53 bool supported() const; |
53 bool supported() const; |
|
54 |
|
55 bool isSoundEnabled() const; |
54 |
56 |
55 protected: // from CxeStateMachine |
57 protected: // from CxeStateMachine |
56 void handleStateChanged( int newStateId, CxeError::Id error ); |
58 void handleStateChanged( int newStateId, CxeError::Id error ); |
57 |
59 |
58 protected: |
60 protected: |
89 CxeCameraDevice &mCameraDevice; |
91 CxeCameraDevice &mCameraDevice; |
90 CCamera::CCameraAdvancedSettings *mAdvancedSettings; // not owned |
92 CCamera::CCameraAdvancedSettings *mAdvancedSettings; // not owned |
91 CxeAutoFocusControl::Mode mAfMode; |
93 CxeAutoFocusControl::Mode mAfMode; |
92 CCamera::CCameraAdvancedSettings::TFocusRange mAFRange; |
94 CCamera::CCameraAdvancedSettings::TFocusRange mAFRange; |
93 bool mCancelled; |
95 bool mCancelled; |
|
96 bool mSoundEnabled; |
94 }; |
97 }; |
95 |
98 |
96 #endif // CXEAUTOFOCUSCONTROLSYMBIAN_H |
99 #endif // CXEAUTOFOCUSCONTROLSYMBIAN_H |