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