author | Simon Howkins <simonh@symbian.org> |
Mon, 22 Nov 2010 14:25:13 +0000 | |
branch | RCL_3 |
changeset 73 | 9437cb201cd0 |
parent 71 | a45dccb283c5 |
permissions | -rw-r--r-- |
65 | 1 |
/* |
2 |
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). |
|
3 |
* All rights reserved. |
|
4 |
* This component and the accompanying materials are made available |
|
5 |
* under the terms of the License "Eclipse Public License v1.0" |
|
6 |
* which accompanies this distribution, and is available |
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 |
* |
|
9 |
* Initial Contributors: |
|
10 |
* Nokia Corporation - initial contribution. |
|
11 |
* |
|
12 |
* Contributors: |
|
13 |
* |
|
14 |
* Description: |
|
15 |
* Declaration of class CBrowserFavouritesView. |
|
16 |
* |
|
17 |
* |
|
18 |
*/ |
|
19 |
||
20 |
||
21 |
#ifndef BROWSER_FAVOURITES_VIEW_H |
|
22 |
#define BROWSER_FAVOURITES_VIEW_H |
|
23 |
||
24 |
// INCLUDE FILES |
|
25 |
#include <eiklbo.h> |
|
26 |
||
27 |
#include "BrowserFavouritesModelObserver.h" |
|
28 |
#include "BrowserAppViewBase.h" |
|
29 |
#include "CommandVisibility.h" |
|
30 |
#include "CommsModel.h" |
|
31 |
#include "BrowserFavouritesModel.h" |
|
32 |
#include <favouriteslimits.h> |
|
33 |
||
34 |
// FORWARD DECLARATION |
|
35 |
class CFavouritesItemList; |
|
36 |
class CBrowserFavouritesContainer; |
|
37 |
class CBrowserFavouritesModel; |
|
38 |
class CBrowserFavouritesIncrementalOp; |
|
39 |
class CBrowserFavouritesListboxState; |
|
40 |
||
41 |
// CLASS DECLARATION |
|
42 |
||
43 |
/** |
|
44 |
* Base class for Bookmarks View and Saved Decks View of the WML Browser. |
|
45 |
* The common behaviour of these views is collected here. This includes: |
|
46 |
* Handling view activation / decativation; |
|
47 |
* Interpreting (common) commands; |
|
48 |
* Providing context-specific menus. |
|
49 |
* Pure virtual; derived classes must provide model and control components |
|
50 |
* and items to display. A number of methods can be overridden. |
|
51 |
*/ |
|
52 |
class CBrowserFavouritesView:public CBrowserViewBase, |
|
53 |
public MEikListBoxObserver, |
|
54 |
public MBrowserFavouritesModelObserver, |
|
55 |
public MCommsModelObserver |
|
56 |
{ |
|
57 |
public: // construction |
|
58 |
||
59 |
/** |
|
60 |
* Destructor. |
|
61 |
*/ |
|
62 |
virtual ~CBrowserFavouritesView(); |
|
63 |
||
64 |
public: // From MCbaSetter (CBrowserViewBase) |
|
65 |
||
66 |
/** |
|
67 |
* Return command set id, to be displayed. |
|
68 |
* @since 1.2 |
|
69 |
* @return The command set's resource id. |
|
70 |
*/ |
|
71 |
virtual TInt CommandSetResourceIdL(); |
|
72 |
||
73 |
/** |
|
74 |
* Set command set lsk,rsk,msk dynamically via pointers. |
|
75 |
* Derived classes should implement, though it can be empty. |
|
76 |
* If it does nothing, empty softkeys will be assigned |
|
77 |
* @since 5.0 |
|
78 |
*/ |
|
79 |
void CommandSetResourceDynL(TSKPair& /*lsk*/, TSKPair& /*rsk*/, TSKPair& /*msk*/) {}; |
|
80 |
||
81 |
/** |
|
82 |
* Return the resource ID of the seamless folder. |
|
83 |
* @param aContextID Context ID of the seamless folder. |
|
84 |
* @return The resource ID of the seamless folder or zero if it is not |
|
85 |
* seamless. |
|
86 |
*/ |
|
87 |
static TInt GetSeamlessFolderResourceID( TInt aContextID ); |
|
88 |
||
89 |
/** |
|
90 |
* Return the resource ID of the seamless folder title. |
|
91 |
* @param aContextID Context ID of the seamless folder. |
|
92 |
* @return The resource ID of the seamless folder title or zero if it is not |
|
93 |
* seamless. |
|
94 |
*/ |
|
95 |
static TInt GetSeamlessFolderTitleResourceID( TInt aContextID ); |
|
96 |
||
97 |
/** |
|
98 |
* Examines if the given ID is an ID of a seamless folder. |
|
99 |
* @param aContextID Context ID of the folder. |
|
100 |
* @return The ETrue if the given ID is a seamless ID otherwise EFalse. |
|
101 |
* seamless. |
|
102 |
*/ |
|
103 |
static TBool IsSeamlessFolder( TInt aContextID ); |
|
104 |
||
105 |
||
106 |
/** |
|
107 |
* Configure Context Menu Resource |
|
108 |
* |
|
109 |
* context-sensitive menu when item(s) marked |
|
110 |
*/ |
|
111 |
void ConfigContextMenu(); |
|
112 |
||
113 |
static TInt RefeshFavoriteListBox( TAny* aFavouritesView ); |
|
114 |
||
115 |
public: // public methods from CAknView (CBrowserViewBase) |
|
116 |
||
117 |
/** |
|
118 |
* Handle command. |
|
119 |
* @since 1.2 |
|
120 |
* @param aCommand Command id. |
|
121 |
*/ |
|
122 |
virtual void HandleCommandL( TInt aCommand ); |
|
123 |
||
124 |
/** |
|
125 |
* Get view id. Derived classes must provide this method. |
|
126 |
* @return The view id for this view. |
|
127 |
*/ |
|
128 |
virtual TUid Id() const = 0; |
|
129 |
||
130 |
void OpenFixedFolderL(TInt aUid); |
|
131 |
||
132 |
protected : |
|
133 |
||
134 |
// For Adaptive bookmarks folder navigation, used in Bookmarks View |
|
135 |
||
136 |
void SetRootFolderForAdaptiveBookmarks(); |
|
137 |
||
138 |
protected : // construction |
|
139 |
||
140 |
/** |
|
141 |
* Constructor. |
|
142 |
* @param aApiProvider The API provider. |
|
143 |
*/ |
|
144 |
CBrowserFavouritesView( MApiProvider& aApiProvider, TInt aInitialFolderId = KFavouritesRootUid ); |
|
145 |
||
146 |
/** |
|
147 |
* Second phase constructor. Leaves on failure. |
|
148 |
* @param aViewResourceId Resource id for this view. |
|
149 |
* Derived classes should call this first during construction. |
|
150 |
*/ |
|
151 |
void ConstructL( TInt aViewResourceId ); |
|
152 |
||
153 |
protected: // menu initialization |
|
154 |
||
155 |
/** |
|
156 |
* Initialize context-sensitive menu. |
|
157 |
* @param aResourceId Resource id of the menu pane. |
|
158 |
* @param aMenuPane Menu pane object being initialized. |
|
159 |
* @param aIndex Index into the visibility map. |
|
160 |
* @param aState Selection state. |
|
161 |
*/ |
|
162 |
virtual void DynInitMenuPaneL |
|
163 |
( |
|
164 |
TInt aResourceId, |
|
165 |
CEikMenuPane* aMenuPane, |
|
166 |
TCommandVisibility::TIndex aIndex, |
|
167 |
const TBrowserFavouritesSelectionState& aState |
|
168 |
) = 0; |
|
169 |
||
170 |
protected: // new methods |
|
171 |
||
172 |
/** |
|
173 |
* Get resource id of text to be displayed in navi pane when |
|
174 |
* root folder is shown (TBUF). |
|
175 |
* Derived classes must provide this method. |
|
176 |
* @since 1.2 |
|
177 |
* @return Resource id. |
|
178 |
*/ |
|
179 |
virtual TInt RootTitleResourceId() const = 0; |
|
180 |
||
181 |
/** |
|
182 |
* Get resource id of Options menu (RESOURCE MENU_BAR). |
|
183 |
* Derived classes must provide this method. |
|
184 |
* @since 1.2 |
|
185 |
* @return Resource id. |
|
186 |
*/ |
|
187 |
virtual TInt OptionsMenuResourceId() const = 0; |
|
188 |
||
189 |
/** |
|
190 |
* Get resource id of OK-Options menu (RESOURCE MENU_BAR). |
|
191 |
* Derived classes must provide this method. |
|
192 |
* @since 1.2 |
|
193 |
* @return Resource id. |
|
194 |
*/ |
|
195 |
virtual TInt OkOptionsMenuResourceId() const = 0; |
|
196 |
||
197 |
protected: // component creation |
|
198 |
||
199 |
/** |
|
200 |
* Create the model. Leave on failure. The model is owned by the |
|
201 |
* caller (this view). |
|
202 |
* Derived classes must provide this method. |
|
203 |
* @return The constructed model. |
|
204 |
*/ |
|
205 |
virtual CBrowserFavouritesModel* CreateModelL() = 0; |
|
206 |
||
207 |
/** |
|
208 |
* Create the container (the main control of the view). The container |
|
209 |
* is owned by the caller (this view). |
|
210 |
* Leave on failure. |
|
211 |
* Derived classes must provide this method. |
|
212 |
* @return The constructed main control. |
|
213 |
*/ |
|
214 |
virtual CBrowserFavouritesContainer* CreateContainerL() = 0; |
|
215 |
||
216 |
protected: // data retrieval |
|
217 |
||
218 |
/** |
|
219 |
* Get items to be displayed in a folder. Expects the model's db be |
|
220 |
* open. |
|
221 |
* @param aFolder Folder which contains the items. |
|
222 |
* @return List of items. Pushed on the cleanup stack. |
|
223 |
*/ |
|
224 |
virtual CFavouritesItemList* GetItemsLC( TInt aFolder ); |
|
225 |
||
226 |
public: |
|
227 |
||
228 |
/** |
|
229 |
* Get the model. |
|
230 |
* @return The model. |
|
231 |
*/ |
|
232 |
inline CBrowserFavouritesModel& Model() const; |
|
233 |
||
234 |
inline void ShowNextFolerL(TBool aNext) { OpenNextFolderL(aNext); } |
|
235 |
||
71
a45dccb283c5
Revision: 201038
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
65
diff
changeset
|
236 |
void SetCurrentFolderId(TInt aFolderId) { iCurrentFolder = aFolderId;} |
a45dccb283c5
Revision: 201038
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
65
diff
changeset
|
237 |
|
65 | 238 |
protected: // component retrieval |
239 |
||
240 |
/** |
|
241 |
* Get the container (the view's main control). |
|
242 |
* @return The container. Can be NULL (when view is not activated, |
|
243 |
* container does not exist). |
|
244 |
*/ |
|
245 |
inline CBrowserFavouritesContainer* Container() const; |
|
246 |
||
247 |
/** |
|
248 |
* Get Uid of the folder shown. |
|
249 |
* @return Current folder's Uid. |
|
250 |
*/ |
|
251 |
inline TInt CurrentFolder() const; |
|
252 |
||
253 |
||
254 |
protected: // new methods |
|
255 |
||
256 |
/** |
|
257 |
* If there is a preferred highlight uid, attempt to highlight that. |
|
258 |
* If succeeded, preferred highlight uid is cleared ("used up"). |
|
259 |
* Otherwise do nothing. |
|
260 |
*/ |
|
261 |
void HighlightPreferredL(); |
|
262 |
||
263 |
/** |
|
264 |
* Some displayed data has changed (Favourites database, AP-s, etc). |
|
265 |
* Update the view so changes become visible. Safe to call if the view |
|
266 |
* is not active; in this case it does nothing. |
|
267 |
* This method should not be called if the data change is due to direct |
|
268 |
* user activity (opening folders etc.); only for notification |
|
269 |
* processing. |
|
270 |
* @param aDbErrorNote If ETrue, unsuccesful database access will bring |
|
271 |
* up an error note. |
|
272 |
*/ |
|
273 |
virtual void RefreshL( TBool aDbErrorNote = EFalse ); |
|
274 |
||
275 |
/** |
|
276 |
* Redraw. |
|
277 |
*/ |
|
278 |
void HandleClientRectChange(); |
|
279 |
||
280 |
protected: // from CAknView |
|
281 |
||
282 |
/** |
|
283 |
* Activate the view. Open the database. If it was activated |
|
284 |
* previously, try to restore the view as it was before deactivation. |
|
285 |
* @param aPrevViewId Previous View Id. |
|
286 |
* @param aCustomMessageId Custom Message Id. |
|
287 |
* @param aCustomMessage Custom Message. |
|
288 |
*/ |
|
289 |
void DoActivateL |
|
290 |
( |
|
291 |
const TVwsViewId& aPrevViewId, |
|
292 |
TUid aCustomMessageId, |
|
293 |
const TDesC8& aCustomMessage |
|
294 |
); |
|
295 |
||
296 |
/** |
|
297 |
* Deactivate the view. Close the database. Save the view state, |
|
298 |
* so it can be restored on future activations. |
|
299 |
*/ |
|
300 |
void DoDeactivate(); |
|
301 |
||
302 |
/** |
|
303 |
* Initialize context-sensitive menu. Do not override this one; |
|
304 |
* override the other. |
|
305 |
* @param aResourceId Resource id of the menu pane. |
|
306 |
* @param aMenuPane Menu pane object being initialized. |
|
307 |
*/ |
|
308 |
void DynInitMenuPaneL |
|
309 |
( TInt aResourceId, CEikMenuPane* aMenuPane ); |
|
310 |
||
311 |
/** |
|
312 |
* Handle foreground event. |
|
313 |
* @param aForeground ETrue if foreground. |
|
314 |
*/ |
|
315 |
virtual void HandleForegroundEventL( TBool aForeground ); |
|
316 |
||
317 |
protected: // from MEikListBoxObserver |
|
318 |
||
319 |
/** |
|
320 |
* Handle listbox event. |
|
321 |
* @param aListBox Listbox in which the event occurred. |
|
322 |
* @param aEventType Event. |
|
323 |
*/ |
|
324 |
virtual void HandleListBoxEventL |
|
325 |
( CEikListBox* aListBox, |
|
326 |
MEikListBoxObserver::TListBoxEvent aEventType ); |
|
327 |
||
328 |
private: // command handling |
|
329 |
||
330 |
/** |
|
331 |
* Command "Back", when showing a folder. Open the parent folder. |
|
332 |
* of the currently shown folder. Highlight the folder just closed. |
|
333 |
*/ |
|
334 |
void CloseCurrentFolderL(); |
|
335 |
||
336 |
/** |
|
337 |
* Command "Open (folder)". Open the highlighted folder. |
|
338 |
* Does nothing if no folder is highlighted. |
|
339 |
*/ |
|
340 |
void OpenCurrentFolderL(); |
|
341 |
||
342 |
/** |
|
343 |
* Command "Open (folder)" from OK-Options menu. Open the marked folder. |
|
344 |
* Does nothing if no folder is marked or more is marked. |
|
345 |
*/ |
|
346 |
void OpenMarkedFolderL(); |
|
347 |
||
348 |
/** |
|
349 |
* Command "Remove" or "Erase". Delete marked item(s). |
|
350 |
* Does nothing if no item is highlighted / marked. |
|
351 |
*/ |
|
352 |
virtual void DeleteMarkedItemsL(); |
|
353 |
||
354 |
protected: |
|
355 |
/** |
|
356 |
* Command "New folder". New folders are alwas created in the root |
|
357 |
* folder. |
|
358 |
* @return The uid of the newly created folder, or KFavouritesNullUid |
|
359 |
* (if not created). |
|
360 |
*/ |
|
361 |
TInt AddNewFolderL(); |
|
362 |
||
363 |
private: |
|
364 |
||
365 |
/** |
|
366 |
* Command "Move To Folder". Launch target folder selection dialog and |
|
367 |
* move marked item(s). |
|
368 |
*/ |
|
369 |
void MoveMarkedItemsL(); |
|
370 |
||
371 |
||
372 |
/** |
|
373 |
* Command "Rename". Rename current item. |
|
374 |
* Does nothing if no item is highlighted. |
|
375 |
*/ |
|
376 |
void RenameCurrentItemL(); |
|
377 |
||
378 |
protected: // implementation details. |
|
379 |
||
380 |
/** |
|
381 |
* Open a folder by Uid and display its contents. Expects the |
|
382 |
* model's db be open. |
|
383 |
* @param aFolder Folder to open. |
|
384 |
*/ |
|
385 |
void OpenFolderL( TInt aFolder ); |
|
386 |
||
387 |
/** |
|
388 |
* Open next folder. |
|
389 |
* @param aForward Open next folder if ETrue, previous if EFalse. |
|
390 |
*/ |
|
391 |
virtual void OpenNextFolderL( TBool aForward ); |
|
392 |
||
393 |
private: |
|
394 |
||
395 |
/** |
|
396 |
* Fill listbox with folder contents. Expects the model's db be open. |
|
397 |
* @param aFolder Folder to display. |
|
398 |
* @param aKeepState If ETrue, try to restore marks/highlight/top item |
|
399 |
* position. |
|
400 |
*/ |
|
401 |
void FillListboxL( TInt aFolder, TBool aKeepState ); |
|
402 |
||
403 |
/** |
|
404 |
* Display confirmation dialog before deleting items. The dialog |
|
405 |
* displayed is context-dependent (different dialog for one/more |
|
406 |
* items, and for non-empty folders). |
|
407 |
* @param aUids List of Uids (both item & folder) about to be deleted. |
|
408 |
* @param aFolderUids List of folder uids about to be deleted. These |
|
409 |
* uids are also in aUids, and are needed only to improve performance. |
|
410 |
* (The non-empty folder checking, which is the only database query in |
|
411 |
* this method, is performed only for folders. The effect of this is |
|
412 |
* visible only if many items are selected.) |
|
413 |
* @return ETrue if delete was confirmed; EFalse if not, or in case of |
|
414 |
* any error (e.g. database error). |
|
415 |
*/ |
|
416 |
TBool ConfirmDeleteL |
|
417 |
( CArrayFix<TInt>& aUids, CArrayFix<TInt>& aFolderUids ); |
|
418 |
||
419 |
/** |
|
420 |
* After deleting items, display appropriate note about the outcome. |
|
421 |
* @param aUids List of Uids that were selected for deletion. |
|
422 |
* @param aNotDeletedUids List of Uids which are not deleted. |
|
423 |
*/ |
|
424 |
void DisplayResultOfDeleteL |
|
425 |
( |
|
426 |
const CArrayFix<TInt>& aUids, |
|
427 |
const CArrayFix<TInt>& aNotDeletedUids |
|
428 |
); |
|
429 |
||
430 |
/** |
|
431 |
* Launch target folder selection dialog and return uid of selected |
|
432 |
* folder (or KFavouritesNullUid if cancelled or in case of any error). |
|
433 |
* If no folders exist, user is prompted to create one. |
|
434 |
* @param aExcludeFolder Exclude this folder from selection (current |
|
435 |
* folder). |
|
436 |
* @return Uid of selected folder, or KFavouritesNullUid. |
|
437 |
*/ |
|
438 |
TInt SelectTargetFolderL( TInt aExcludeFolder ); |
|
439 |
||
440 |
/** |
|
441 |
* "First pass" of moving is done; items that could be moved without |
|
442 |
* user intervention, has been moved. Some of them may be still there, |
|
443 |
* because it is unmovable (e.g. Homepage), or conflicts with a name in |
|
444 |
* the target folder. For the latter ones, ask for each if replace the |
|
445 |
* old ones, and act accordingly. |
|
446 |
* Display appropriate note about what happened. |
|
447 |
* @param aFolder The target folder. |
|
448 |
* @param aUids List of Uids that were selected for moving. |
|
449 |
* @param aUnmovableUids List of Uids which could never be moved. |
|
450 |
* @param aConflictingNameUids List of conflicting name Uids. |
|
451 |
*/ |
|
452 |
void HandleMoveResultL |
|
453 |
( |
|
454 |
TInt aFolder, |
|
455 |
const CArrayFix<TInt>& aUids, |
|
456 |
const CArrayFix<TInt>& aUnmovableUids, |
|
457 |
const CArrayFix<TInt>& aConflictingNameUids |
|
458 |
); |
|
459 |
||
460 |
/** |
|
461 |
* For each of the items in the list, display a rename dialog before |
|
462 |
* moving them into the folder. |
|
463 |
* @param aFolder The target folder. |
|
464 |
* @param aUids List of Uids that were selected for moving. |
|
465 |
*/ |
|
466 |
void RenameAndMoveItemsL |
|
467 |
( const CArrayFix<TInt>& aUids, TInt aFolder ); |
|
468 |
protected: // new methods |
|
469 |
||
470 |
/** |
|
471 |
* Update and draw navi pane (show tabs for root, or "1/4" style text |
|
472 |
* for subfolders). |
|
473 |
* No sanity check; expects the model's table be open. |
|
474 |
*/ |
|
475 |
virtual void UpdateNaviPaneL(); |
|
476 |
||
477 |
private: // new methods |
|
478 |
||
479 |
/** |
|
480 |
* The container passes back key events to the view first, to |
|
481 |
* allow moving between folders. (The container does not know |
|
482 |
* anything about folders.) |
|
483 |
*/ |
|
484 |
friend class CBrowserFavouritesContainer; |
|
485 |
||
486 |
protected: |
|
487 |
/** |
|
488 |
* Handle key event (called from the container, to allow moving between |
|
489 |
* folders. |
|
490 |
* @param aKeyEvent The key event. |
|
491 |
* @param aType Key event type. |
|
492 |
* @return Response (was the key event consumed?). |
|
493 |
*/ |
|
494 |
virtual TKeyResponse OfferKeyEventL |
|
495 |
( const TKeyEvent& aKeyEvent, TEventCode aType ); |
|
496 |
||
497 |
/** |
|
498 |
* Reset state with deactivation event |
|
499 |
*/ |
|
500 |
void ResetStateInDeActivation(); |
|
501 |
||
502 |
/** |
|
503 |
* Needed for updating tool bar buttons when there is a up/down arrow key events received. |
|
504 |
**/ |
|
505 |
virtual void UpdateToolbarButtonsState(); |
|
506 |
||
507 |
private: // from MWmlBrowserFavouritesModelObserver |
|
508 |
||
509 |
/** |
|
510 |
* Handle model change. |
|
511 |
*/ |
|
512 |
void HandleFavouritesModelChangeL(); |
|
513 |
||
514 |
private: // from MCommsModelObserver |
|
515 |
||
516 |
/** |
|
517 |
* Handle Comms Model change (AP update). |
|
518 |
*/ |
|
519 |
void HandleCommsModelChangeL(); |
|
520 |
||
521 |
private: // default item settings |
|
522 |
||
523 |
/** |
|
524 |
* Set Prefered the current item |
|
525 |
*/ |
|
526 |
void SetPreferedCurrentItemL(); |
|
527 |
||
528 |
/** |
|
529 |
* Set Prefered the current item |
|
530 |
*/ |
|
531 |
void SetUnPreferedCurrentItemL(); |
|
532 |
||
533 |
||
534 |
protected: // data |
|
535 |
||
536 |
/// Preferred highlight uid. |
|
537 |
TInt iPreferredHighlightUid; |
|
538 |
||
539 |
/// If ETrue, OK-Options menu is shown instead of normal Options menu. |
|
540 |
TBool iShowOkOptions; |
|
541 |
||
542 |
/// Top-level control of the view. Owned |
|
543 |
CBrowserFavouritesContainer* iContainer; |
|
544 |
||
545 |
/// Uid of the current folder. |
|
546 |
TInt iCurrentFolder; |
|
547 |
||
548 |
/// ETrue between DoActivateL() and DoDeactivate(). |
|
549 |
TBool iIsActivated; |
|
550 |
||
551 |
private: // data |
|
552 |
||
553 |
/// The model (data handling). Owned. |
|
554 |
CBrowserFavouritesModel* iModel; |
|
555 |
TInt iLastSelection; |
|
556 |
/// Incremental operation, or NULL if no such. Owned. |
|
557 |
CBrowserFavouritesIncrementalOp* iIncrementalOp; |
|
558 |
/// ETrue if data update is missed due to incremental operation. |
|
559 |
TBool iUpdatePending; |
|
560 |
/// Asynchronously update the favourite item's List Box |
|
561 |
CIdle* iFavViewRefresh; |
|
562 |
protected: |
|
563 |
||
564 |
TBool iRefresh; // Flag to indicate that Bookmarks list should be refreshed. |
|
565 |
// ETrue by default, turned off only in cases we want to avoid |
|
566 |
// double refresh. Checked in HandleFavouritesModelChangeL. |
|
567 |
||
568 |
TInt iInitialFolder; //Folder to which browser is launched in embedded mode |
|
569 |
||
570 |
// Flag to indicate that we are about to open Preferences view, |
|
571 |
// in order not to return to root folder afterwards. |
|
572 |
TBool iSaveStateOnDeactivate; |
|
573 |
||
574 |
CBrowserFavouritesListboxState* iSavedListboxState; |
|
575 |
}; |
|
576 |
||
577 |
#include "BrowserFavouritesView.inl" |
|
578 |
||
579 |
#endif |
|
580 |
||
581 |
// End of file |