equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008 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 XNWALLPAPERCONTAINER_H |
|
21 #define XNWALLPAPERCONTAINER_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <coecntrl.h> |
|
25 #include <AknsBasicBackgroundControlContext.h> |
|
26 |
|
27 // CLASS DECLARATION |
|
28 |
|
29 /** |
|
30 * Wallpaper container. |
|
31 * Contains wallpaper setting items. |
|
32 * |
|
33 * @since S60 v5.0 |
|
34 */ |
|
35 NONSHARABLE_CLASS( CXnWallpaperContainer ) : public CCoeControl |
|
36 { |
|
37 public: |
|
38 /** |
|
39 * Two-phased constructor. |
|
40 * @return new instance of CXnWallpaperContainer. |
|
41 */ |
|
42 static CXnWallpaperContainer* NewL(); |
|
43 |
|
44 /** |
|
45 * Destructor. |
|
46 */ |
|
47 ~CXnWallpaperContainer(); |
|
48 |
|
49 /** |
|
50 * From CCoeControl |
|
51 */ |
|
52 void Draw( const TRect& aRect ) const; |
|
53 |
|
54 private: |
|
55 /** |
|
56 * From CCoeControl |
|
57 */ |
|
58 virtual void SizeChanged(); |
|
59 |
|
60 /** |
|
61 * From CCoeControl |
|
62 */ |
|
63 virtual void HandleResourceChange(TInt aType); |
|
64 |
|
65 /** |
|
66 * By default Symbian 2nd phase constructor is private. |
|
67 */ |
|
68 void ConstructL(); |
|
69 |
|
70 /** |
|
71 * C++ default constructor. |
|
72 */ |
|
73 CXnWallpaperContainer(); |
|
74 |
|
75 private: |
|
76 /** |
|
77 * Background context. |
|
78 * Own. |
|
79 */ |
|
80 CAknsBasicBackgroundControlContext* iBgContext; |
|
81 }; |
|
82 |
|
83 #endif // XNWALLPAPERCONTAINER_H |
|
84 |
|
85 // End of File |