|
1 /* |
|
2 * Copyright (c) 2009 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 #include "cxeenginesymbianunit.h" |
|
18 |
|
19 #include "cxefakecameradevicecontrol.h" |
|
20 #include "cxefakesettings.h" |
|
21 #include "cxefakefeaturemanager.h" |
|
22 #include "cxefakeautofocuscontrol.h" |
|
23 #include "cxefakestillcapturecontrol.h" |
|
24 #include "cxefakevideocapturecontrol.h" |
|
25 #include "cxefakezoomcontrol.h" |
|
26 #include "cxefakeviewfindercontrol.h" |
|
27 #include "cxefakesensoreventhandler.h" |
|
28 #include "cxefakefilenamegenerator.h" |
|
29 #include "cxutils.h" |
|
30 |
|
31 // Member Functions |
|
32 |
|
33 CxeEngineSymbianUnit::CxeEngineSymbianUnit() |
|
34 { |
|
35 } |
|
36 |
|
37 CxeEngineSymbianUnit::~CxeEngineSymbianUnit() |
|
38 { |
|
39 } |
|
40 |
|
41 |
|
42 /*! |
|
43 Create all control classes |
|
44 */ |
|
45 void CxeEngineSymbianUnit::createControls() |
|
46 { |
|
47 CX_DEBUG_ENTER_FUNCTION(); |
|
48 |
|
49 if (!mVideoCaptureControl) { |
|
50 mCameraDeviceControl = new CxeFakeCameraDeviceControl(); |
|
51 |
|
52 mSettings = new CxeFakeSettings(); |
|
53 |
|
54 mFeatureManager = new CxeFakeFeatureManager(); |
|
55 |
|
56 mSensorEventHandler = new CxeFakeSensorEventHandler(); |
|
57 |
|
58 mFilenameGenerator = new CxeFakeFilenameGenerator(); |
|
59 |
|
60 mViewfinderControl = new CxeFakeViewfinderControl(); |
|
61 |
|
62 mStillCaptureControl = new CxeFakeStillCaptureControl(); |
|
63 |
|
64 mAutoFocusControl = new CxeFakeAutoFocusControl(); |
|
65 |
|
66 mZoomControl = new CxeFakeZoomControl(); |
|
67 |
|
68 mVideoCaptureControl = new CxeFakeVideoCaptureControl(); |
|
69 |
|
70 } |
|
71 |
|
72 CX_DEBUG_EXIT_FUNCTION(); |
|
73 } |
|
74 |
|
75 // End of file |