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: List view that shows installed applications |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_APPMNGR2INSTALLEDVIEW_H |
|
20 #define C_APPMNGR2INSTALLEDVIEW_H |
|
21 |
|
22 #include "appmngr2listview.h" // CAppMngr2ListView |
|
23 #include <appmngr2common.hrh> // KAppMngr2InstalledViewIdValue |
|
24 |
|
25 class CAppMngr2ListContainer; |
|
26 |
|
27 const TUid KInstalledViewId = { KAppMngr2InstalledViewIdValue }; |
|
28 |
|
29 |
|
30 class CAppMngr2InstalledView : public CAppMngr2ListView |
|
31 { |
|
32 public: // constructor and destructor |
|
33 static CAppMngr2InstalledView* NewL(); |
|
34 ~CAppMngr2InstalledView(); |
|
35 |
|
36 public: // from CAknView |
|
37 TUid Id() const; |
|
38 void HandleCommandL( TInt aCommand ); |
|
39 void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane ); |
|
40 |
|
41 protected: // from CAppMngr2ListView |
|
42 CAppMngr2ListContainer* CreateContainerL(); |
|
43 void SetDefaultMiddleSoftkeyCommandL(); |
|
44 void SetTitleL( CAknTitlePane& aTitlePane ); |
|
45 |
|
46 private: // new functions |
|
47 CAppMngr2InstalledView(); |
|
48 void ConstructL(); |
|
49 }; |
|
50 |
|
51 #endif // C_APPMNGR2INSTALLEDVIEW_H |
|
52 |
|