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: Setting item for Location setting item in image settings* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 #ifndef GSCUSTOMQUALITYSETTINGITEM_H |
|
21 #define GSCUSTOMQUALITYSETTINGITEM_H |
|
22 |
|
23 // INCLUDES |
|
24 #include "CamStaticSettingsModel.h" |
|
25 #include <aknsettingitemlist.h> |
|
26 |
|
27 // CLASS DECLARATION |
|
28 |
|
29 /** |
|
30 * Setting item for image/video location texts |
|
31 * @since 2.8 |
|
32 */ |
|
33 class CGSCustomQualitySettingItem : public CAknEnumeratedTextPopupSettingItem |
|
34 { |
|
35 public: // Constructors and destructor |
|
36 /** |
|
37 * C++ constructor |
|
38 * @since 2.8 |
|
39 * @param aController reference to the controller |
|
40 * @param aMode current mode (video or still image) |
|
41 * @param aIdentifier setting page resource id |
|
42 * @param aValue current name base type |
|
43 */ |
|
44 CGSCustomQualitySettingItem( |
|
45 TInt aSettingItemId, |
|
46 TInt& aValue, |
|
47 CCamStaticSettingsModel& aModel, |
|
48 TCamCameraMode aMode |
|
49 ); |
|
50 |
|
51 /** |
|
52 * Destructor |
|
53 */ |
|
54 ~CGSCustomQualitySettingItem(); |
|
55 |
|
56 public: // Functions from base classes |
|
57 |
|
58 |
|
59 private: // Functions from base classes |
|
60 |
|
61 /** |
|
62 * From CAknEnumeratedTextPopupSettingItem |
|
63 * Virtual Method called by framework to complete the construction. |
|
64 * Calls UpdateListTextL to set the list text when the item is first |
|
65 * constructed |
|
66 * @since 2.8 |
|
67 */ |
|
68 void CompleteConstructionL(); |
|
69 |
|
70 |
|
71 |
|
72 private: // Data |
|
73 // reference to the app controller |
|
74 CCamStaticSettingsModel& iModel; |
|
75 // The current mode of capture. |
|
76 TCamCameraMode iMode; |
|
77 RArray<TInt> iSupportedQualityLevels; |
|
78 |
|
79 }; |
|
80 |
|
81 #endif // CAMLOCATIONSETTINGITEM_H |
|
82 |
|
83 // End of File |
|