phonebookui/pbkcommonui/inc/cntviewnavigator.h
changeset 59 a642906a277a
parent 40 b46a585f6909
--- a/phonebookui/pbkcommonui/inc/cntviewnavigator.h	Tue Jul 06 14:05:47 2010 +0300
+++ b/phonebookui/pbkcommonui/inc/cntviewnavigator.h	Wed Aug 18 09:39:00 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_ */