|
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: Header for CIRCostWarningView |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CIRCOSTWARNINGVIEW_H |
|
20 #define CIRCOSTWARNINGVIEW_H |
|
21 |
|
22 |
|
23 #include "irbaseview.h" |
|
24 #include <aknview.h> |
|
25 class CIRCostWarningContainer; |
|
26 |
|
27 |
|
28 class CIRCostWarningView : public CAknView |
|
29 { |
|
30 |
|
31 public: |
|
32 |
|
33 /** |
|
34 * Static constructor. |
|
35 */ |
|
36 static CIRCostWarningView* NewLC(const TRect& aRect); |
|
37 |
|
38 /** |
|
39 * Destructor. |
|
40 */ |
|
41 ~CIRCostWarningView(); |
|
42 |
|
43 /** |
|
44 * Two-phased constructor. |
|
45 * Returns a pointer to the Cost Warning view |
|
46 */ |
|
47 static CIRCostWarningView* NewL(const TRect& aRect); |
|
48 |
|
49 // from base class CAknView |
|
50 /** |
|
51 * From CAknView |
|
52 * |
|
53 * @see CAknView::Id() const |
|
54 */ |
|
55 TUid Id() const; |
|
56 |
|
57 /** |
|
58 * From CAknView |
|
59 * |
|
60 * @see CAknView::HandleCommandL( TInt aCommand ) |
|
61 */ |
|
62 void HandleCommandL( TInt aCommand ); |
|
63 |
|
64 |
|
65 protected: |
|
66 |
|
67 // from base class CAknView |
|
68 /** |
|
69 * From CAknView |
|
70 * |
|
71 * @see CAknView::DoActivateL(const TVwsViewId& aPrevViewId, |
|
72 * TUid aCustomMessageId, |
|
73 * const TDesC8& aCustomMessage) |
|
74 */ |
|
75 void DoActivateL( const TVwsViewId& /*aPrevViewId*/, |
|
76 TUid /*aCustomMessageId*/, |
|
77 const TDesC8& /*aCustomMessage */); |
|
78 |
|
79 /** |
|
80 * From CAknView |
|
81 * |
|
82 * @see CAknView::DoDeactivate() |
|
83 */ |
|
84 void DoDeactivate(); |
|
85 |
|
86 /** |
|
87 * From CAknView |
|
88 * |
|
89 * @see CAknView::HandleStatusPaneSizeChange() |
|
90 */ |
|
91 void HandleStatusPaneSizeChange(); |
|
92 |
|
93 private: |
|
94 |
|
95 /** |
|
96 * 2nd phase constructor |
|
97 */ |
|
98 void ConstructL(const TRect& /*aRect*/); |
|
99 |
|
100 /** |
|
101 * C++ default constructor. |
|
102 */ |
|
103 CIRCostWarningView(); |
|
104 |
|
105 private: // Data |
|
106 |
|
107 /** |
|
108 * Container for this view. |
|
109 */ |
|
110 CIRCostWarningContainer* iContainer; |
|
111 |
|
112 |
|
113 }; |
|
114 |
|
115 #endif // CIRCostWarningView_H |
|
116 |
|
117 |