|
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: Decleares class with container for setting items. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef IPSSETUIITEMLINK_H |
|
20 #define IPSSETUIITEMLINK_H |
|
21 |
|
22 #include <e32base.h> |
|
23 #include "ipssetuiitembase.h" |
|
24 |
|
25 /** |
|
26 * Base item for branch items. |
|
27 * |
|
28 * @lib IpsSosSettings.lib |
|
29 * @since FS v1.0 |
|
30 */ |
|
31 class CIpsSetUiItemLink : public CIpsSetUiItem |
|
32 { |
|
33 public: // Constructors and Destructor |
|
34 |
|
35 /** |
|
36 * Destructor |
|
37 */ |
|
38 virtual ~CIpsSetUiItemLink(); |
|
39 |
|
40 /** |
|
41 * @return New link item. |
|
42 */ |
|
43 static CIpsSetUiItemLink* NewL(); |
|
44 |
|
45 /** |
|
46 * @return New link item. |
|
47 */ |
|
48 static CIpsSetUiItemLink* NewLC(); |
|
49 |
|
50 public: // Operators |
|
51 |
|
52 /** |
|
53 * Copy operator |
|
54 * |
|
55 * @param aBaseItem Item, which values are copied. |
|
56 */ |
|
57 virtual CIpsSetUiItemLink& operator=( |
|
58 const CIpsSetUiItemLink& aBaseItem ); |
|
59 |
|
60 public: // Functions from base classes |
|
61 |
|
62 /** |
|
63 * @return ETrue, when item contains a branch of items. |
|
64 */ |
|
65 virtual inline TBool HasLinkArray() const; |
|
66 |
|
67 protected: // Constructors |
|
68 |
|
69 /** |
|
70 * Constructor |
|
71 */ |
|
72 CIpsSetUiItemLink(); |
|
73 |
|
74 /** |
|
75 * 2nd-phase constructor |
|
76 */ |
|
77 void ConstructL(); |
|
78 |
|
79 public: // Data |
|
80 |
|
81 /** |
|
82 * Forces the item look like a other type. |
|
83 */ |
|
84 TIpsSetUiSettingsType iItemAppereance; |
|
85 |
|
86 /** |
|
87 * Container for branch of items. |
|
88 * Owned. |
|
89 */ |
|
90 CIpsSetUiBaseItemArray* iItemLinkArray; |
|
91 |
|
92 /** |
|
93 * Container for setting text. |
|
94 * Owned. |
|
95 */ |
|
96 TIpsSetUtilsTextPlain* iItemSettingText; |
|
97 }; |
|
98 |
|
99 #include "ipssetuiitemlink.inl" |
|
100 |
|
101 #endif //IPSSETUIITEMLINK_H |
|
102 |
|
103 // End of file |