photosgallery/commonui/src/glxnavigationalstate.cpp
changeset 2 7d9067c6fcb1
parent 0 4e91876724a2
child 14 ce1c7ad1f18b
--- a/photosgallery/commonui/src/glxnavigationalstate.cpp	Thu Jan 07 12:46:23 2010 +0200
+++ b/photosgallery/commonui/src/glxnavigationalstate.cpp	Mon Jan 18 20:19:20 2010 +0200
@@ -428,27 +428,60 @@
     GLX_LOG_ENTRY_EXIT( "CGlxNavigationalState::ActivatePreviousViewL");
     iImp->ActivatePreviousViewL();
     }
-    
+
+// -----------------------------------------------------------------------------
+// Set the ViewingMode
+// -----------------------------------------------------------------------------
+//    
 EXPORT_C void CGlxNavigationalState::SetToViewMode()
     {
-     iImp->SetToViewMode();
-     // inform the observers( only appui!! ) that the mode is view
+    iImp->SetToViewMode();
+    // inform the observers( only appui!! ) that the mode is view
     }
-    
+
+// -----------------------------------------------------------------------------
+// Get the ViewingMode
+// -----------------------------------------------------------------------------
+//    
 EXPORT_C  NGlxNavigationalState::TViewingMode CGlxNavigationalState::ViewingMode()
     {
-     return iImp->ViewingMode();
+    return iImp->ViewingMode();
     }
-
- 
+// -----------------------------------------------------------------------------
+// Set the BackExitStatus
+// -----------------------------------------------------------------------------
+// 
 EXPORT_C void CGlxNavigationalState::SetBackExitStatus(TBool aStatus)
     {
     iBackExitStatus = aStatus;
     }
 
+// -----------------------------------------------------------------------------
+// Get the BackExitStatus
+// -----------------------------------------------------------------------------
+//
 EXPORT_C TBool CGlxNavigationalState::BackExitStatus()
     {
     return iBackExitStatus;
     }
 
-// EOF	
+// -----------------------------------------------------------------------------
+// Set the Starting navigation Level
+// -----------------------------------------------------------------------------
+//
+EXPORT_C void CGlxNavigationalState::SetStartingLevel(TInt aLevel)
+    {
+    iStartingLevel = aLevel;
+    }
+    
+// -----------------------------------------------------------------------------
+// Get the Starting navigation Level
+// -----------------------------------------------------------------------------
+//
+EXPORT_C TInt CGlxNavigationalState::StartingLevel()
+    {
+    return iStartingLevel;
+    }
+
+// EOF
+