|
1 /* |
|
2 * Copyright (c) 2003 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: Implementation of customization components |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __UISettingsSrvAppView_H__ |
|
20 #define __UISettingsSrvAppView_H__ |
|
21 |
|
22 |
|
23 #include <coecntrl.h> |
|
24 |
|
25 /*! |
|
26 @class CUISettingsSrvAppView |
|
27 |
|
28 @discussion An instance of CUISettingsSrvAppView is the Application View object |
|
29 for the HelloWorldBasic example application |
|
30 */ |
|
31 class CUISettingsSrvAppView : public CCoeControl |
|
32 { |
|
33 public: |
|
34 |
|
35 /*! |
|
36 @function NewL |
|
37 |
|
38 @discussion Create a CUISettingsSrvAppView object, which will draw itself to aRect |
|
39 @param aRect The rectangle this view will be drawn to |
|
40 @result A pointer to the created instance of CUISettingsSrvAppView |
|
41 */ |
|
42 static CUISettingsSrvAppView* NewL(const TRect& aRect); |
|
43 |
|
44 /*! |
|
45 @function NewLC |
|
46 |
|
47 @discussion Create a CUISettingsSrvAppView object, which will draw itself to aRect |
|
48 @param aRect The rectangle this view will be drawn to |
|
49 @result A pointer to the created instance of CUISettingsSrvAppView |
|
50 */ |
|
51 static CUISettingsSrvAppView* NewLC(const TRect& aRect); |
|
52 |
|
53 |
|
54 /*! |
|
55 @function ~CUISettingsSrvAppView |
|
56 |
|
57 @discussion Destroy the object |
|
58 */ |
|
59 ~CUISettingsSrvAppView(); |
|
60 |
|
61 |
|
62 public: // from CCoeControl |
|
63 /*! |
|
64 @function Draw |
|
65 |
|
66 @discussion Draw this CUISettingsSrvAppView to the screen |
|
67 @param aRect The rectangle of this view that needs updating |
|
68 */ |
|
69 void Draw(const TRect& aRect) const; |
|
70 |
|
71 |
|
72 private: |
|
73 |
|
74 /*! |
|
75 @function ConstructL |
|
76 |
|
77 @discussion Perform the second phase construction of a CUISettingsSrvAppView object |
|
78 @param aRect The rectangle this view will be drawn to |
|
79 */ |
|
80 void ConstructL(const TRect& aRect); |
|
81 |
|
82 /*! |
|
83 @function CUISettingsSrvAppView |
|
84 |
|
85 @discussion Perform the first phase of two phase construction |
|
86 */ |
|
87 CUISettingsSrvAppView(); |
|
88 }; |
|
89 |
|
90 |
|
91 #endif // __UISettingsSrvAppView_H__ |