appinstall_plat/appmngr2runtimeapi/inc/appmngr2packageinfo.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:   PackageInfo represents installable package (sisx, jad, jar, ...)
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_APPMNGR2PACKAGEINFO_H
       
    20 #define C_APPMNGR2PACKAGEINFO_H
       
    21 
       
    22 #include <appmngr2infobase.h>           // CAppMngr2InfoBase
       
    23 
       
    24 class RFs;
       
    25 
       
    26 /**
       
    27  * CAppMngr2PackageInfo represents installation package (installation file).
       
    28  * 
       
    29  * Runtime plug-in must define it's own CAppMngr2PackageInfo derived class
       
    30  * to provide the actual functionality for abstract functions defined in
       
    31  * CAppMngr2InfoBase class.
       
    32  * 
       
    33  * @lib appmngr2pluginapi.lib
       
    34  * @since S60 v5.1
       
    35  */
       
    36 class CAppMngr2PackageInfo : public CAppMngr2InfoBase
       
    37     {
       
    38 public:     // constructor and destructor
       
    39     IMPORT_C void ConstructL();
       
    40     IMPORT_C ~CAppMngr2PackageInfo();
       
    41 
       
    42 protected:  // new functions
       
    43     IMPORT_C CAppMngr2PackageInfo( CAppMngr2Runtime& aRuntime, RFs& aFsSession );
       
    44     
       
    45     /**
       
    46      * Utility function to show R_APPMNGR2_YES_NO_CONFIRMATION_QUERY
       
    47      * confirmation query with R_AM_DELETEQUERY string and item name.
       
    48      * 
       
    49      * @return TBool  ETrue, if user accepted the query
       
    50      */ 
       
    51     IMPORT_C TBool ShowDeleteConfirmationQueryL();
       
    52     };
       
    53 
       
    54 #endif // C_APPMNGR2PACKAGEINFO_H
       
    55