appinstaller/AppMngr2/inc/appmngr2packagesview.h
changeset 80 9dcba1ee99f7
parent 77 d1838696558c
equal deleted inserted replaced
77:d1838696558c 80:9dcba1ee99f7
     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 installation files
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_APPMNGR2PACKAGESVIEW_H
       
    20 #define C_APPMNGR2PACKAGESVIEW_H
       
    21 
       
    22 #include "appmngr2listview.h"           // CAppMngr2ListView
       
    23 #include <appmngr2common.hrh>           // KAppMngr2PackagesViewIdValue
       
    24 
       
    25 const TUid KPackagesViewId = { KAppMngr2PackagesViewIdValue };
       
    26 
       
    27 
       
    28 class CAppMngr2PackagesView : public CAppMngr2ListView
       
    29     {
       
    30 public:     // constructor and destructor
       
    31     static CAppMngr2PackagesView* NewL();
       
    32     ~CAppMngr2PackagesView();
       
    33     
       
    34 public:     // from CAknView
       
    35     TUid Id() const;
       
    36     void HandleCommandL( TInt aCommand );
       
    37     void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane );
       
    38 
       
    39 protected:  // from CAppMngr2ListView
       
    40     CAppMngr2ListContainer* CreateContainerL();
       
    41     void SetDefaultMiddleSoftkeyCommandL();
       
    42     void SetTitleL( CAknTitlePane& aTitlePane );
       
    43 
       
    44 private:    // new functions
       
    45     CAppMngr2PackagesView();
       
    46     void ConstructL();
       
    47     };
       
    48 
       
    49 #endif  // C_APPMNGR2PACKAGESVIEW_H
       
    50