diff -r 7cbcb2896f0e -r a642906a277a phonebookui/pbkcommonui/inc/cntviewnavigator.h --- 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 &flags ); + const int& back( QFlags &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 iViewStack; QMap< int, int > iExceptions; QMap< int, int > iEffects; + QList iRoots; int iTop; }; #endif /* CNTVIEWNAVIGATOR_H_ */