equal
deleted
inserted
replaced
139 * Navigate back in the UI hierarchy |
139 * Navigate back in the UI hierarchy |
140 * Does nothing, if currently at root. |
140 * Does nothing, if currently at root. |
141 */ |
141 */ |
142 inline void NavigateToParentL() |
142 inline void NavigateToParentL() |
143 { |
143 { |
|
144 TRACER("CGlxNavigationalStateImp::NavigateToParentL()"); |
144 if ( ViewingMode()== NGlxNavigationalState::EView ) |
145 if ( ViewingMode()== NGlxNavigationalState::EView ) |
145 { |
146 { |
|
147 GLX_LOG_INFO("CGlxNavigationalStateImp::NavigateToParentL() -1"); |
146 iViewingMode = NGlxNavigationalState::EBrowse; |
148 iViewingMode = NGlxNavigationalState::EBrowse; |
147 //Collection().BackL(); // added by gopakumar |
|
148 NotifyObserversOfStateChange(); |
149 NotifyObserversOfStateChange(); |
149 } |
150 } |
150 else |
151 else |
151 { |
152 { |
|
153 GLX_LOG_INFO("CGlxNavigationalStateImp::NavigateToParentL() -2"); |
152 Collection().BackL(); |
154 Collection().BackL(); |
153 } |
155 } |
154 } |
156 } |
155 |
157 |
156 /** |
158 /** |
293 /// Collection utility that stores the path to represent current navigational |
295 /// Collection utility that stores the path to represent current navigational |
294 /// state |
296 /// state |
295 MMPXCollectionUtility* iCollectionUtility; |
297 MMPXCollectionUtility* iCollectionUtility; |
296 MMPXViewUtility* iViewUtility; |
298 MMPXViewUtility* iViewUtility; |
297 NGlxNavigationalState::TViewingMode iViewingMode; |
299 NGlxNavigationalState::TViewingMode iViewingMode; |
298 // commented off by gopakumar as this is not used anymore |
|
299 // TVwsViewId iViewId; |
|
300 /// List of observers |
300 /// List of observers |
301 RPointerArray< MGlxNavigationalStateObserver > iObservers; |
301 RPointerArray< MGlxNavigationalStateObserver > iObservers; |
302 |
302 |
303 TBool iIsNavigating; // If ETrue it means Navigating is already happening, so not allowed to navigate before current navigation Completes. |
303 TBool iIsNavigating; // If ETrue it means Navigating is already happening, so not allowed to navigate before current navigation Completes. |
304 // If EFalse it means Navigation can happen |
304 // If EFalse it means Navigation can happen |