equal
deleted
inserted
replaced
31 #include "xnnode.h" |
31 #include "xnnode.h" |
32 #include "xnoomsyshandler.h" |
32 #include "xnoomsyshandler.h" |
33 #include "ainativeuiplugins.h" |
33 #include "ainativeuiplugins.h" |
34 #include "xnpanic.h" |
34 #include "xnpanic.h" |
35 |
35 |
36 |
|
37 #include "debug.h" |
36 #include "debug.h" |
38 |
37 |
39 // Constants |
38 // Constants |
40 _LIT8( KNs, "namespace" ); |
39 _LIT8( KNs, "namespace" ); |
41 |
40 |
42 // ============================ LOCAL FUNCTIONS ================================ |
|
43 |
|
44 // ============================ MEMBER FUNCTIONS =============================== |
41 // ============================ MEMBER FUNCTIONS =============================== |
45 // ----------------------------------------------------------------------------- |
42 // ----------------------------------------------------------------------------- |
46 // CXnViewData::NewL() |
43 // CXnViewData::NewL() |
47 // Two-phased constructor. |
44 // Two-phased constructor. |
48 // ----------------------------------------------------------------------------- |
45 // ----------------------------------------------------------------------------- |
209 } |
206 } |
210 } |
207 } |
211 |
208 |
212 iLoadError = err; |
209 iLoadError = err; |
213 |
210 |
|
211 if( !iLoadError ) |
|
212 { |
|
213 TRAP_IGNORE( iManager.NotifyViewLoadedL( *this ) ); |
|
214 } |
|
215 |
214 return iLoadError; |
216 return iLoadError; |
215 } |
217 } |
216 |
218 |
217 // ----------------------------------------------------------------------------- |
219 // ----------------------------------------------------------------------------- |
218 // CXnViewData::Destroy() |
220 // CXnViewData::Destroy() |
317 // Returns this view data's view node |
319 // Returns this view data's view node |
318 // ----------------------------------------------------------------------------- |
320 // ----------------------------------------------------------------------------- |
319 // |
321 // |
320 CXnNode* CXnViewData::ViewNode() const |
322 CXnNode* CXnViewData::ViewNode() const |
321 { |
323 { |
322 return iNode->LayoutNode(); |
324 if( iNode ) |
|
325 { |
|
326 return iNode->LayoutNode(); |
|
327 } |
|
328 return NULL; |
323 } |
329 } |
324 |
330 |
325 // ----------------------------------------------------------------------------- |
331 // ----------------------------------------------------------------------------- |
326 // CXnViewData::SetWallpaperImage |
332 // CXnViewData::SetWallpaperImage |
327 // Store background image. Ownership is transferred. |
333 // Store background image. Ownership is transferred. |