equal
deleted
inserted
replaced
20 |
20 |
21 // System includes |
21 // System includes |
22 #include <e32base.h> |
22 #include <e32base.h> |
23 |
23 |
24 // User includes |
24 // User includes |
25 #include "xnpropertysubscriber.h" |
|
26 |
25 |
27 // Forward declarations |
26 // Forward declarations |
28 class CXnUiEngine; |
27 class CXnUiEngine; |
29 class CXnComposer; |
28 class CXnComposer; |
30 class CXnODTParser; |
29 class CXnODTParser; |
84 * |
83 * |
85 * @ingroup group_xnlayoutengine |
84 * @ingroup group_xnlayoutengine |
86 * @lib xn3layoutengine.lib |
85 * @lib xn3layoutengine.lib |
87 * @since S60 5.0 |
86 * @since S60 5.0 |
88 */ |
87 */ |
89 NONSHARABLE_CLASS( CXnViewManager ) : public CBase, |
88 NONSHARABLE_CLASS( CXnViewManager ) : public CBase |
90 public MXnPropertyChangeObserver |
|
91 { |
89 { |
92 public: |
90 public: |
93 /** |
91 /** |
94 * Two-phased constructor. |
92 * Two-phased constructor. |
95 */ |
93 */ |
117 |
115 |
118 /** |
116 /** |
119 * 2nd phase constructor |
117 * 2nd phase constructor |
120 */ |
118 */ |
121 void ConstructL(); |
119 void ConstructL(); |
122 |
|
123 private: |
|
124 // from MXnPropertyChangeObserver |
|
125 |
|
126 /** |
|
127 * @see MXnPropertyChangeObserver |
|
128 */ |
|
129 void PropertyChangedL( const TUint32 aKey, const TInt aValue ); |
|
130 |
120 |
131 public: |
121 public: |
132 // New functions |
122 // New functions |
133 |
123 |
134 inline void SetUiEngine( CXnUiEngine& aUiEngine ); |
124 inline void SetUiEngine( CXnUiEngine& aUiEngine ); |
210 TInt MaxPages() const; |
200 TInt MaxPages() const; |
211 |
201 |
212 CXnOomSysHandler& OomSysHandler() const; |
202 CXnOomSysHandler& OomSysHandler() const; |
213 |
203 |
214 void UpdatePageManagementInformationL(); |
204 void UpdatePageManagementInformationL(); |
215 |
205 |
216 TBool UiStartupPhaseAllDone() const; |
|
217 |
|
218 private: |
206 private: |
219 // new functions |
207 // new functions |
220 |
208 |
221 void NotifyContainerChangedL( CXnViewData& aViewToActivate ); |
209 void NotifyContainerChangedL( CXnViewData& aViewToActivate ); |
222 |
210 |
293 /** |
281 /** |
294 * UiEngine. |
282 * UiEngine. |
295 * Not own. |
283 * Not own. |
296 */ |
284 */ |
297 CXnUiEngine* iUiEngine; |
285 CXnUiEngine* iUiEngine; |
298 |
|
299 /** |
|
300 * UI startup phase observer |
|
301 * Own. |
|
302 */ |
|
303 CXnPropertySubscriber* iUiStartupPhase; |
|
304 |
286 |
305 /** |
287 /** |
306 * Comopser. |
288 * Comopser. |
307 * Own. |
289 * Own. |
308 */ |
290 */ |
360 /** |
342 /** |
361 * Timer for system stability. |
343 * Timer for system stability. |
362 * Own. |
344 * Own. |
363 */ |
345 */ |
364 CPeriodic* iStabilityTimer; |
346 CPeriodic* iStabilityTimer; |
365 |
|
366 /** |
|
367 * Flag to indicate that UI startup phase is ready |
|
368 */ |
|
369 TBool iUiStartupPhaseAllDone; |
|
370 |
347 |
371 private: |
348 private: |
372 // Friend classes |
349 // Friend classes |
373 |
350 |
374 friend class CXnViewAdapter; |
351 friend class CXnViewAdapter; |