~ubuntu-branches/ubuntu/quantal/qtmobility/quantal

« back to all changes in this revision

Viewing changes to plugins/multimedia/symbian/ecam/s60cameraengineobserver.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-11-16 16:18:07 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20101116161807-k2dzt2nyse975r3l
Tags: 1.1.0-0ubuntu1
* New upstream release
* Syncronise with Debian, no remaining changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 **
9
9
 ** $QT_BEGIN_LICENSE:LGPL$
10
10
 ** Commercial Usage
11
 
 ** Licensees holding valid Qt Commercial licenses may use this file in
12
 
 ** accordance with the Qt Solutions Commercial License Agreement provided
13
 
 ** with the Software or, alternatively, in accordance with the terms
 
11
 ** Licensees holding valid Qt Commercial licenses may use this file in 
 
12
 ** accordance with the Qt Commercial License Agreement provided with
 
13
 ** the Software or, alternatively, in accordance with the terms
14
14
 ** contained in a written agreement between you and Nokia.
15
15
 **
16
16
 ** GNU Lesser General Public License Usage
33
33
 ** ensure the GNU General Public License version 3.0 requirements will be
34
34
 ** met: http://www.gnu.org/copyleft/gpl.html.
35
35
 **
36
 
 ** Please note Third Party Software included with Qt Solutions may impose
37
 
 ** additional restrictions and it is the user's responsibility to ensure
38
 
 ** that they have met the licensing requirements of the GPL, LGPL, or Qt
39
 
 ** Solutions Commercial license and the relevant license of the Third
40
 
 ** Party Software they are using.
41
 
 **
42
36
 ** If you are unsure which license is appropriate for your use, please
43
37
 ** contact the sales department at qt-sales@nokia.com.
44
38
 ** $QT_END_LICENSE$
65
59
    EErrOptimisedFocusComplete,
66
60
};
67
61
 
 
62
/*
 
63
 * CameraEngine Observer class towards Camera AdvancedSettings
 
64
 */
68
65
class MAdvancedSettingsObserver
69
 
    {
 
66
{
 
67
 
70
68
public:
71
69
 
72
70
    virtual void HandleAdvancedEvent( const TECAMEvent &aEvent ) = 0;
73
71
 
74
 
    };
75
 
 
 
72
};
 
73
 
 
74
//=============================================================================
 
75
 
 
76
/*
 
77
 * CameraEngine Observer class towards Camera Control
 
78
 */
76
79
class MCameraEngineObserver
77
80
{
78
81
public:
83
86
    virtual void MceoCameraReady() = 0;
84
87
 
85
88
    /**
 
89
     * Notifies clients about errors in camera engine
 
90
     * @param aErrorType type of error (see TCameraEngineError)
 
91
     * @param aError Symbian system-wide error code
 
92
     */
 
93
    virtual void MceoHandleError( TCameraEngineError aErrorType, TInt aError ) = 0;
 
94
 
 
95
};
 
96
 
 
97
//=============================================================================
 
98
 
 
99
/*
 
100
 * CameraEngine Observer class towards Camera ImageCaptureSession
 
101
 */
 
102
class MCameraEngineImageCaptureObserver
 
103
{
 
104
public:
 
105
 
 
106
    /**
86
107
     * Camera AF lens has attained optimal focus
87
108
     */
88
109
    virtual void MceoFocusComplete() = 0;
117
138
    virtual void MceoHandleOtherEvent( const TECAMEvent& /*aEvent*/ ) {}
118
139
};
119
140
 
 
141
//=============================================================================
 
142
 
 
143
/*
 
144
 * CameraEngine Observer class towards Camera ViewFinderEngine
 
145
 */
120
146
class MCameraViewfinderObserver
121
147
{
122
148
public: