|
1 /* |
|
2 * Copyright (c) 2005-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: Wallpaper view's container. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef PSLNWALLPAPERCONTAINER_H |
|
21 #define PSLNWALLPAPERCONTAINER_H |
|
22 |
|
23 // INCLUDES |
|
24 #include "PslnBaseContainer.h" |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * Wallpaper container. |
|
30 * Contains wallpaper setting items. |
|
31 * |
|
32 * @since S60 v3.1 |
|
33 */ |
|
34 class CPslnWallpaperContainer : public CPslnBaseContainer |
|
35 { |
|
36 public: |
|
37 |
|
38 /** |
|
39 * C++ default constructor. |
|
40 */ |
|
41 CPslnWallpaperContainer(); |
|
42 |
|
43 /** |
|
44 * By default Symbian 2nd phase constructor is private. |
|
45 * @param aRect client rect. |
|
46 */ |
|
47 void ConstructL( const TRect& aRect ); |
|
48 |
|
49 /** |
|
50 * Destructor. |
|
51 */ |
|
52 virtual ~CPslnWallpaperContainer(); |
|
53 |
|
54 /** |
|
55 * From CPslnBaseContainer. |
|
56 * Updates the whole container. |
|
57 */ |
|
58 void UpdateListBoxL(); |
|
59 |
|
60 private: |
|
61 |
|
62 /** |
|
63 * From CPslnBaseContainer. |
|
64 * Constructs list box and items. |
|
65 * @param aResLbxId used resource ID. |
|
66 */ |
|
67 void ConstructListBoxL( TInt aResLbxId ); |
|
68 |
|
69 /** |
|
70 * From CPslnBaseContainer. |
|
71 * Creates listbox items. |
|
72 */ |
|
73 void CreateListBoxItemsL(); |
|
74 |
|
75 /** |
|
76 * From CCoeControl. Gets help context. |
|
77 */ |
|
78 void GetHelpContext( TCoeHelpContext& aContext ) const; |
|
79 |
|
80 private: // Data |
|
81 |
|
82 /** |
|
83 * List of setting items. |
|
84 * Own. |
|
85 */ |
|
86 CDesCArrayFlat* iItems; |
|
87 }; |
|
88 |
|
89 #endif // PSLNWALLPAPERCONTAINER_H |
|
90 |
|
91 // End of File |