|
1 /* |
|
2 * Copyright (c) 2008 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 "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: Definition for MediaServant browse view class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 #ifndef C_MSFILLBROWSEVIEW_H |
|
23 #define C_MSFILLBROWSEVIEW_H |
|
24 |
|
25 // INCLUDES |
|
26 #include <aknlists.h> // listbox observer |
|
27 #include "msbaseview.h" |
|
28 |
|
29 // FORWARD DECLARATIONS |
|
30 class CMSAppUi; |
|
31 class CMSFillBrowseContainer; |
|
32 |
|
33 /** |
|
34 * CMSBrowseView view class. Main view is visible when |
|
35 * application is launched |
|
36 * |
|
37 * @since S60 5.1 |
|
38 */ |
|
39 NONSHARABLE_CLASS( CMSFillBrowseView ) : public CMSBaseView |
|
40 { |
|
41 public: |
|
42 /** |
|
43 * Constructor. |
|
44 */ |
|
45 CMSFillBrowseView( CMSAppUi& aAppUi ); |
|
46 |
|
47 /** |
|
48 * Symbian default constructor. |
|
49 */ |
|
50 void ConstructL(); |
|
51 |
|
52 /** |
|
53 * Destructor. |
|
54 */ |
|
55 virtual ~CMSFillBrowseView(); |
|
56 |
|
57 protected: |
|
58 |
|
59 // From base class CAknView |
|
60 |
|
61 /** |
|
62 * From CAknView returns Uid of View |
|
63 * See base class definition |
|
64 */ |
|
65 TUid Id() const; |
|
66 |
|
67 /** |
|
68 * From CAknView activate the view |
|
69 * See base class definition |
|
70 */ |
|
71 void DoActivateL( const TVwsViewId& aPrevViewId, |
|
72 TUid aCustomMessageId, |
|
73 const TDesC8& aCustomMessage ); |
|
74 |
|
75 /** |
|
76 * From CAknView |
|
77 * See base class definition |
|
78 */ |
|
79 void DoDeactivate(); |
|
80 |
|
81 // From base class MEikMenuObserver |
|
82 |
|
83 /** |
|
84 * From MEikMenuObserver |
|
85 * See base class definition |
|
86 */ |
|
87 void HandleCommandL( TInt aCommand ); |
|
88 |
|
89 /** |
|
90 * From MEikMenuObserver |
|
91 * See base class definition |
|
92 */ |
|
93 void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane); |
|
94 |
|
95 private: |
|
96 |
|
97 /** |
|
98 * pointer to AppUi object |
|
99 */ |
|
100 CMSAppUi* iAppUi; // not owned |
|
101 /** |
|
102 * view's container |
|
103 */ |
|
104 CMSFillBrowseContainer* iContainer; // owned |
|
105 /** |
|
106 * Marked item indexes |
|
107 */ |
|
108 const CListBoxView::CSelectionIndexArray* iSelections; // not owned |
|
109 }; |
|
110 |
|
111 #endif // C_MSFillBROWSEVIEW_H |
|
112 |
|
113 |
|
114 // End of File |