appinstaller/AppMngr2/inc/appmngr2appinfomaker.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     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:   Creates AppInfo objects asynchronously
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_APPMNGR2APPINFOMAKER_H
       
    20 #define C_APPMNGR2APPINFOMAKER_H
       
    21 
       
    22 #include "appmngr2infomaker.h"          // CAppMngr2InfoMaker
       
    23 
       
    24 class CAppMngr2Runtime;
       
    25 class CAppMngr2AppInfo;
       
    26 
       
    27 
       
    28 class CAppMngr2AppInfoMaker : public CAppMngr2InfoMaker
       
    29     {
       
    30 public:     // constructor and destructor
       
    31     static CAppMngr2AppInfoMaker* NewL( CAppMngr2Runtime& aPlugin,
       
    32             MAppMngr2InfoMakerObserver& aObserver, RFs& aFs );
       
    33     static CAppMngr2AppInfoMaker* NewLC( CAppMngr2Runtime& aPlugin,
       
    34             MAppMngr2InfoMakerObserver& aObserver, RFs& aFs );
       
    35     ~CAppMngr2AppInfoMaker();
       
    36     
       
    37 public:     // from CActive, via CAppMngr2InfoMaker
       
    38     void DoCancel();
       
    39     void RunL();
       
    40 
       
    41 public:     // new functions
       
    42     void StartGettingInstalledAppsL();
       
    43 
       
    44 private:    // new functions
       
    45     CAppMngr2AppInfoMaker( CAppMngr2Runtime& aPlugin,
       
    46             MAppMngr2InfoMakerObserver& aObserver, RFs& aFs );
       
    47     void ConstructL();
       
    48 
       
    49 private:    // data
       
    50     RPointerArray<CAppMngr2AppInfo> iAppInfos;
       
    51     };
       
    52 
       
    53 #endif  // C_APPMNGR2APPINFOMAKER_H
       
    54