|
1 /* |
|
2 * Copyright (c) 2006 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: MuiuDynamicSettingItemEditValue.h |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __MUIUDYNSETTINGITEMEDITVALUE_H__ |
|
21 #define __MUIUDYNSETTINGITEMEDITVALUE_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 #include "MuiuDynamicSettingsArray.hrh" |
|
26 #include <muiuflags.h> |
|
27 |
|
28 // CLASS DECLARATION |
|
29 |
|
30 /** |
|
31 * ?one_line_short_description. |
|
32 * ?other_description_lines |
|
33 * |
|
34 * @lib ?library |
|
35 * @since S60 3.0 |
|
36 */ |
|
37 class CMuiuSettingsEditValue : public CMuiuSettingBase |
|
38 { |
|
39 public: // Constructors and Destructor |
|
40 |
|
41 /** |
|
42 * Destructor |
|
43 * @since S60 3.0 |
|
44 */ |
|
45 virtual ~CMuiuSettingsEditValue(); |
|
46 |
|
47 /** |
|
48 * |
|
49 * @since S60 3.0 |
|
50 */ |
|
51 static CMuiuSettingsEditValue* NewL(); |
|
52 static CMuiuSettingsEditValue* NewLC(); |
|
53 |
|
54 public: // Operators |
|
55 |
|
56 /** |
|
57 * |
|
58 * @since S60 3.0 |
|
59 */ |
|
60 CMuiuSettingsEditValue& operator=( |
|
61 const CMuiuSettingsEditValue& aBaseItem ); |
|
62 |
|
63 public: // New Functions |
|
64 |
|
65 /** |
|
66 * |
|
67 * @since S60 3.0 |
|
68 */ |
|
69 inline TInt64 Value() const; |
|
70 |
|
71 /** |
|
72 * |
|
73 * @since S60 3.0 |
|
74 */ |
|
75 inline void SetValue( const TInt64 aValue ); |
|
76 |
|
77 private: // Constructors |
|
78 |
|
79 /** |
|
80 * |
|
81 * @since S60 3.0 |
|
82 */ |
|
83 CMuiuSettingsEditValue(); |
|
84 |
|
85 /** |
|
86 * |
|
87 * @since S60 3.0 |
|
88 */ |
|
89 void ConstructL(); |
|
90 |
|
91 private: // Data |
|
92 TInt64 iUserValue; |
|
93 |
|
94 public: // Data |
|
95 TInt iItemMaxLength; |
|
96 TMuiuSettingsText* iItemSettingText; |
|
97 }; |
|
98 |
|
99 #include "MuiuDynamicSettingItemEditValue.inl" |
|
100 |
|
101 #endif //__MUIUDYNSETTINGITEMEDITVALUE_H__ |
|
102 |
|
103 // End of file |