--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/appinstaller/AppMngr2/inc/appmngr2installedcontainer.h Thu Dec 17 08:51:10 2009 +0200
@@ -0,0 +1,54 @@
+/*
+* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Container for list view that shows installed applications
+*
+*/
+
+
+#ifndef C_APPMNGR2INSTALLEDCONTAINER_H
+#define C_APPMNGR2INSTALLEDCONTAINER_H
+
+#include "appmngr2listcontainer.h" // CAppMngr2ListContainer
+
+class CAppMngr2InstalledView;
+
+
+class CAppMngr2InstalledContainer : public CAppMngr2ListContainer
+ {
+public: // constructor and destructor
+ static CAppMngr2InstalledContainer* NewL( CAppMngr2InstalledView& aView );
+ ~CAppMngr2InstalledContainer();
+
+public: // from CCoeControl (via CAppMngr2ListContainer)
+ TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
+ void GetHelpContext( TCoeHelpContext& aContext ) const;
+
+public: // from MEikListBoxObserver (via CAppMngr2ListContainer)
+ void HandleListBoxEventL( CEikListBox* aListBox, TListBoxEvent aEventType );
+
+public: // from CAppMngr2ListContainer
+ CAppMngr2InfoBase& CurrentItem() const;
+ TInt ListEmptyTextResourceId() const;
+
+protected: // from CAppMngr2ListContainer
+ TInt ItemCount() const;
+ CAppMngr2InfoBase& ItemInfo( TInt aIndex );
+
+private: // new functions
+ CAppMngr2InstalledContainer( CAppMngr2InstalledView& aView );
+ void ConstructL( CAppMngr2InstalledView& aView );
+ };
+
+#endif // C_APPMNGR2INSTALLEDCONTAINER_H
+