phonebookui/pbkcommonui/inc/cntviewnavigator.h
changeset 53 e6aff7b69165
parent 40 b46a585f6909
--- a/phonebookui/pbkcommonui/inc/cntviewnavigator.h	Wed Jul 21 11:37:51 2010 +0300
+++ b/phonebookui/pbkcommonui/inc/cntviewnavigator.h	Fri Jul 23 12:43:48 2010 +0300
@@ -50,7 +50,7 @@
     /*!
      * Back view returns the previous view
      */
-    const int& back( QFlags<Hb::ViewSwitchFlag> &flags );
+    const int& back( QFlags<Hb::ViewSwitchFlag> &flags, bool toRoot );
     
     /*!
      * Add exceptions to next/back mechanism. Function will use the aBack argument
@@ -65,10 +65,16 @@
     void addEffect( const int& aCurrent, const int& aBack );
     void removeEffect( const int& aCurrent );
     
+    /*!
+     * Set a view as a root view.
+     */
+    void addRoot( const int& aCurrent );
+    
 private:
     QStack<int> iViewStack;
     QMap< int, int > iExceptions;
     QMap< int, int > iEffects;
+    QList<int> iRoots;
     int iTop;
 };
 #endif /* CNTVIEWNAVIGATOR_H_ */