photosgallery/commonui/src/glxnavigationalstate.cpp
changeset 2 7d9067c6fcb1
parent 0 4e91876724a2
child 14 ce1c7ad1f18b
equal deleted inserted replaced
1:9ba538e329bd 2:7d9067c6fcb1
   426 EXPORT_C void CGlxNavigationalState::ActivatePreviousViewL() 
   426 EXPORT_C void CGlxNavigationalState::ActivatePreviousViewL() 
   427     {
   427     {
   428     GLX_LOG_ENTRY_EXIT( "CGlxNavigationalState::ActivatePreviousViewL");
   428     GLX_LOG_ENTRY_EXIT( "CGlxNavigationalState::ActivatePreviousViewL");
   429     iImp->ActivatePreviousViewL();
   429     iImp->ActivatePreviousViewL();
   430     }
   430     }
   431     
   431 
       
   432 // -----------------------------------------------------------------------------
       
   433 // Set the ViewingMode
       
   434 // -----------------------------------------------------------------------------
       
   435 //    
   432 EXPORT_C void CGlxNavigationalState::SetToViewMode()
   436 EXPORT_C void CGlxNavigationalState::SetToViewMode()
   433     {
   437     {
   434      iImp->SetToViewMode();
   438     iImp->SetToViewMode();
   435      // inform the observers( only appui!! ) that the mode is view
   439     // inform the observers( only appui!! ) that the mode is view
   436     }
   440     }
   437     
   441 
       
   442 // -----------------------------------------------------------------------------
       
   443 // Get the ViewingMode
       
   444 // -----------------------------------------------------------------------------
       
   445 //    
   438 EXPORT_C  NGlxNavigationalState::TViewingMode CGlxNavigationalState::ViewingMode()
   446 EXPORT_C  NGlxNavigationalState::TViewingMode CGlxNavigationalState::ViewingMode()
   439     {
   447     {
   440      return iImp->ViewingMode();
   448     return iImp->ViewingMode();
   441     }
   449     }
   442 
   450 // -----------------------------------------------------------------------------
   443  
   451 // Set the BackExitStatus
       
   452 // -----------------------------------------------------------------------------
       
   453 // 
   444 EXPORT_C void CGlxNavigationalState::SetBackExitStatus(TBool aStatus)
   454 EXPORT_C void CGlxNavigationalState::SetBackExitStatus(TBool aStatus)
   445     {
   455     {
   446     iBackExitStatus = aStatus;
   456     iBackExitStatus = aStatus;
   447     }
   457     }
   448 
   458 
       
   459 // -----------------------------------------------------------------------------
       
   460 // Get the BackExitStatus
       
   461 // -----------------------------------------------------------------------------
       
   462 //
   449 EXPORT_C TBool CGlxNavigationalState::BackExitStatus()
   463 EXPORT_C TBool CGlxNavigationalState::BackExitStatus()
   450     {
   464     {
   451     return iBackExitStatus;
   465     return iBackExitStatus;
   452     }
   466     }
   453 
   467 
   454 // EOF	
   468 // -----------------------------------------------------------------------------
       
   469 // Set the Starting navigation Level
       
   470 // -----------------------------------------------------------------------------
       
   471 //
       
   472 EXPORT_C void CGlxNavigationalState::SetStartingLevel(TInt aLevel)
       
   473     {
       
   474     iStartingLevel = aLevel;
       
   475     }
       
   476     
       
   477 // -----------------------------------------------------------------------------
       
   478 // Get the Starting navigation Level
       
   479 // -----------------------------------------------------------------------------
       
   480 //
       
   481 EXPORT_C TInt CGlxNavigationalState::StartingLevel()
       
   482     {
       
   483     return iStartingLevel;
       
   484     }
       
   485 
       
   486 // EOF
       
   487