|
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 name base type (date/text)* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 #ifndef GSCAMDEFAULTNAMESETTINGITEM_H |
|
21 #define GSCAMDEFAULTNAMESETTINGITEM_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <aknsettingitemlist.h> |
|
25 #include "CamSettingsInternal.hrh" |
|
26 |
|
27 /** |
|
28 * Setting item for name base type (date/text) |
|
29 * @since 2.8 |
|
30 */ |
|
31 class CGSCamDefaultNameSettingItem : public CAknEnumeratedTextPopupSettingItem |
|
32 { |
|
33 public: // Constructors and destructor |
|
34 /** |
|
35 * C++ constructor |
|
36 * @since 2.8 |
|
37 * @param aNameBase current name base |
|
38 * @param aMode current mode (video or still image) |
|
39 * @param aIdentifier setting page resource id |
|
40 * @param aValue current name base type |
|
41 */ |
|
42 CGSCamDefaultNameSettingItem( TDes& aNameBase, |
|
43 TCamCameraMode aMode, |
|
44 TInt aIdentifier, |
|
45 TInt& aValue, |
|
46 TBool iCamera ); |
|
47 |
|
48 /** |
|
49 * Destructor |
|
50 */ |
|
51 virtual ~CGSCamDefaultNameSettingItem(); |
|
52 |
|
53 protected: // Functions from base classes |
|
54 /** |
|
55 * From CAknEnumeratedTextPopupSettingItem |
|
56 * @since 2.8 |
|
57 * Framework method for constructing the launching setting page. |
|
58 * @return a constructed CAknSettingPage object on the heap |
|
59 */ |
|
60 CAknSettingPage* CreateSettingPageL(); |
|
61 |
|
62 private: // Data |
|
63 // Reference to the cuurent name base. |
|
64 TDes& iNameBase; |
|
65 // The current mode of capture. |
|
66 TCamCameraMode iMode; |
|
67 TBool iCamera; |
|
68 }; |
|
69 |
|
70 |
|
71 #endif // GSCAMDEFAULTNAMESETTINGITEM_H |
|
72 |
|
73 // End of File |