equal
deleted
inserted
replaced
316 // --------------------------------------------------------------------------- |
316 // --------------------------------------------------------------------------- |
317 // |
317 // |
318 void CGlxAppUi::GetViewScoringIdsL( RArray<TUid>& aIds ) const |
318 void CGlxAppUi::GetViewScoringIdsL( RArray<TUid>& aIds ) const |
319 { |
319 { |
320 TRACER("void CGlxAppUi::GetViewScoringIdsL( RArray<TUid>& aIds ) const"); |
320 TRACER("void CGlxAppUi::GetViewScoringIdsL( RArray<TUid>& aIds ) const"); |
321 |
321 CleanupClosePushL(aIds); |
322 aIds.Reset(); // For maintenance safety |
322 aIds.Reset(); // For maintenance safety |
323 |
323 |
324 // get current navigational state |
324 // get current navigational state |
325 CMPXCollectionPath* naviState = iNavigationalState->StateLC(); |
325 CMPXCollectionPath* naviState = iNavigationalState->StateLC(); |
326 if (naviState->Levels() >= 1) |
326 if (naviState->Levels() >= 1) |
347 // add scoring id for depth in the ui hierarchy |
347 // add scoring id for depth in the ui hierarchy |
348 aIds.AppendL(ViewScoringIdForNaviStateDepth(*naviState)); |
348 aIds.AppendL(ViewScoringIdForNaviStateDepth(*naviState)); |
349 } |
349 } |
350 |
350 |
351 CleanupStack::PopAndDestroy(naviState); |
351 CleanupStack::PopAndDestroy(naviState); |
352 } |
352 CleanupStack::Pop(&aIds); |
|
353 } |
|
354 |
353 // --------------------------------------------------------------------------- |
355 // --------------------------------------------------------------------------- |
354 // Handles the foreground events |
356 // Handles the foreground events |
355 // --------------------------------------------------------------------------- |
357 // --------------------------------------------------------------------------- |
356 // |
358 // |
357 void CGlxAppUi::HandleForegroundEventL( TBool aForeground ) |
359 void CGlxAppUi::HandleForegroundEventL( TBool aForeground ) |
423 // --------------------------------------------------------------------------- |
425 // --------------------------------------------------------------------------- |
424 // |
426 // |
425 void CGlxAppUi::HandleActivationMessageL(const TApaCommand& /*aCommand*/, |
427 void CGlxAppUi::HandleActivationMessageL(const TApaCommand& /*aCommand*/, |
426 const TFileName& /*aDocumentName*/, const TDesC8& aData) |
428 const TFileName& /*aDocumentName*/, const TDesC8& aData) |
427 { |
429 { |
428 TRACER("void CGlxAppUi::HandleActivationMessageL(" |
430 TRACER("void CGlxAppUi::HandleActivationMessageL(const TApaCommand& aCommand, const TFileName& aDocumentName,const TDesC8& aData)"); |
429 "const TApaCommand& aCommand, const TFileName& aDocumentName, " |
|
430 "const TDesC8& aData)"); |
|
431 GLX_LOG_INFO1("Glx-HandleActivationMessageL() aData length=%d", |
431 GLX_LOG_INFO1("Glx-HandleActivationMessageL() aData length=%d", |
432 aData.Length()); |
432 aData.Length()); |
433 |
433 |
434 delete iActivationParam; |
434 delete iActivationParam; |
435 iActivationParam = NULL; |
435 iActivationParam = NULL; |