1 /* |
|
2 * Copyright (c) 2007 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: Camera scenes list-box* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 #ifndef CAMSCENELISTBOX_H |
|
20 #define CAMSCENELISTBOX_H |
|
21 |
|
22 // INCLUDES |
|
23 #include "CamCaptureSetupListBox.h" |
|
24 #include "CamAppController.h" |
|
25 |
|
26 |
|
27 // CLASS DECLARATION |
|
28 |
|
29 /** |
|
30 * List box for camera scenes. |
|
31 * @since 3.0 |
|
32 */ |
|
33 class CCamSceneListBox : public CCamCaptureSetupListBox |
|
34 { |
|
35 public: // Constructors and destructor |
|
36 |
|
37 /** |
|
38 * Destructor. |
|
39 */ |
|
40 virtual ~CCamSceneListBox(); |
|
41 |
|
42 /** |
|
43 * C++ default constructor. |
|
44 */ |
|
45 CCamSceneListBox( TCamCameraMode aMode, MCamSettingValueObserver* aObserver, |
|
46 CCamAppController& aController, |
|
47 TBool aFullySkinned=ETrue ); |
|
48 |
|
49 /** |
|
50 * By default Symbian 2nd phase constructor is private. |
|
51 * @param aParent Parent control (i.e. Shooting mode container) |
|
52 * @param aSummaryTitleTextArray - array of shooting mode (scene) titles |
|
53 * @param aSummaryDescriptionTextArray - array of shooting mode (scene) descriptions |
|
54 * @param aUserBaseScenes - Whether we wish to display the User Scene Base Scene List |
|
55 */ |
|
56 void ConstructL( CCamAppController& aController, |
|
57 const CCoeControl* aParent, |
|
58 RPointerArray<HBufC>& aSummaryTitleTextArray, |
|
59 RPointerArray<HBufC>& aSummaryDescriptionTextArray, |
|
60 TBool aUserBaseScenes ); |
|
61 |
|
62 private: |
|
63 |
|
64 // Scenes supported by product |
|
65 RArray<TInt> iSupportedScenes; |
|
66 |
|
67 // capture mode (still/video) |
|
68 TCamCameraMode iMode; |
|
69 }; |
|
70 |
|
71 #endif // CAMSCENELISTBOX_H |
|
72 |
|
73 // End of File |
|