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

« back to all changes in this revision

Viewing changes to plugins/multimedia/symbian/ecam/s60cameraflashcontrol.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$
48
42
#ifndef S60CAMERAFLASHCONTROL_H
49
43
#define S60CAMERAFLASHCONTROL_H
50
44
 
51
 
#include <QtCore/qobject.h>
52
 
 
53
45
#include <qcameraflashcontrol.h>
54
46
 
55
47
#include "s60camerasettings.h"
59
51
class S60CameraService;
60
52
class S60ImageCaptureSession;
61
53
 
 
54
/*
 
55
 * Control to setup Flash related camera settings.
 
56
 */
62
57
class S60CameraFlashControl : public QCameraFlashControl
63
58
{
64
59
    Q_OBJECT
65
 
    
 
60
 
66
61
public: // Constructors & Destructor
67
 
    
 
62
 
68
63
    S60CameraFlashControl(QObject *parent = 0);
69
64
    S60CameraFlashControl(S60ImageCaptureSession *session, QObject *parent = 0);
70
65
    ~S60CameraFlashControl();
71
66
 
72
67
public: // QCameraExposureControl
73
 
    
 
68
 
74
69
    // Flash Mode
75
70
    QCameraExposure::FlashModes flashMode() const;
76
71
    void setFlashMode(QCameraExposure::FlashModes mode);
77
72
    bool isFlashModeSupported(QCameraExposure::FlashModes mode) const;
78
 
    
 
73
 
79
74
    bool isFlashReady() const;
80
 
    
 
75
 
81
76
/*
82
77
Q_SIGNALS: // QCameraExposureControl
83
78
    void flashReady(bool);
84
79
*/
85
80
 
86
 
public Q_SLOTS: // Internal Slots
 
81
private Q_SLOTS: // Internal Slots
87
82
 
88
83
    void resetAdvancedSetting();
89
84
 
90
85
private: // Data
91
 
    
 
86
 
92
87
    S60ImageCaptureSession          *m_session;
93
88
    S60CameraService                *m_service;
94
89
    S60CameraSettings               *m_advancedSettings;