1 /* |
|
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 #ifndef CXEENGINEDESKTOP_H |
|
18 #define CXEENGINEDESKTOP_H |
|
19 |
|
20 #include <QObject> |
|
21 #include "cxeengine.h" |
|
22 |
|
23 class CxeCameraDeviceControl; |
|
24 class CxeViewfinderControl; |
|
25 class CxeSnapshotControl; |
|
26 class CxeStillCaptureControl; |
|
27 class CxeVideoCaptureControl; |
|
28 class CxeAutoFocusControl; |
|
29 class CxeZoomControl; |
|
30 class CxeImageDataQueue; |
|
31 class CxeFeatureManager; |
|
32 class CxeSettings; |
|
33 class CxeFilenameGenerator; |
|
34 class CxeFileSaveThread; |
|
35 class CxeSensorEventHandler; |
|
36 class CxeQualityPresets; |
|
37 class CxeCameraDeviceDesktop; |
|
38 class CxeDiskMonitor; |
|
39 class CxeMemoryMonitor; |
|
40 class CxeGeoTaggingTrail; |
|
41 |
|
42 class CxeEngineDesktop : public CxeEngine |
|
43 { |
|
44 Q_OBJECT |
|
45 public: |
|
46 CxeEngineDesktop(); |
|
47 virtual ~CxeEngineDesktop(); |
|
48 |
|
49 void construct(); |
|
50 |
|
51 void createControls(); |
|
52 |
|
53 void connectSignals(); |
|
54 public: // from CxeEngine |
|
55 virtual CxeCameraDeviceControl &cameraDeviceControl(); |
|
56 virtual CxeViewfinderControl &viewfinderControl(); |
|
57 virtual CxeSnapshotControl &snapshotControl(); |
|
58 virtual CxeStillCaptureControl &stillCaptureControl(); |
|
59 virtual CxeVideoCaptureControl &videoCaptureControl(); |
|
60 virtual CxeAutoFocusControl &autoFocusControl(); |
|
61 virtual CxeZoomControl &zoomControl(); |
|
62 virtual CxeSettings &settings(); |
|
63 virtual CxeFeatureManager &featureManager(); |
|
64 virtual CxeMemoryMonitor &memoryMonitor(); |
|
65 virtual CxeGeoTaggingTrail &geoTaggingTrail(); |
|
66 virtual Cxe::CameraMode mode() const; |
|
67 void setMode(Cxe::CameraMode mode); |
|
68 virtual void initMode(Cxe::CameraMode cameraMode); |
|
69 virtual bool isEngineReady(); |
|
70 |
|
71 protected: |
|
72 CxeCameraDeviceControl *mCameraDeviceControl; |
|
73 CxeViewfinderControl *mViewfinderControl; |
|
74 CxeSnapshotControl *mSnapshotControl; |
|
75 CxeStillCaptureControl *mStillCaptureControl; |
|
76 CxeVideoCaptureControl *mVideoCaptureControl; |
|
77 CxeAutoFocusControl *mAutoFocusControl; |
|
78 CxeZoomControl *mZoomControl; |
|
79 CxeImageDataQueue *mImageDataQueue; |
|
80 CxeSettings *mSettings; |
|
81 CxeFeatureManager *mFeatureManager; |
|
82 CxeFilenameGenerator *mFilenameGenerator; |
|
83 CxeSensorEventHandler *mSensorEventHandler; |
|
84 CxeQualityPresets *mQualityPresets; |
|
85 CxeFileSaveThread *mFileSaveThread; |
|
86 CxeCameraDeviceDesktop *mCameraDevice; |
|
87 CxeDiskMonitor *mDiskMonitor; |
|
88 CxeMemoryMonitor *mMemoryMonitor; |
|
89 CxeGeoTaggingTrail *mGeoTaggingTrail; |
|
90 |
|
91 }; |
|
92 |
|
93 #endif // CXEENGINEDESKTOP_H |
|