ncdengine/inc/ncdpurchaseinstallinfo.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2006 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:   Definition of MNcdPurchaseInstallInfo interface and
       
    15 *                implementation class.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef M_NCDPURCHASEINSTALLINFO_H
       
    21 #define M_NCDPURCHASEINSTALLINFO_H
       
    22 
       
    23 
       
    24 #include <e32base.h>
       
    25 
       
    26 
       
    27 /**
       
    28  *  Interface for purchase install information.
       
    29  *
       
    30  *  
       
    31  */
       
    32 class MNcdPurchaseInstallInfo
       
    33     {
       
    34 public:
       
    35 
       
    36     /**
       
    37      * Get name and path of installed file.
       
    38      * 
       
    39      * 
       
    40      * @return File name.
       
    41      */
       
    42     virtual const TDesC& Filename() const = 0;
       
    43     
       
    44     /**
       
    45      * Get application UID of installed application.
       
    46      * 
       
    47      * 
       
    48      * @return TUid Application UID.
       
    49      */
       
    50     virtual TUid ApplicationUid() const = 0;
       
    51     
       
    52     /**
       
    53      * Get application version of installed application.
       
    54      * 
       
    55      * 
       
    56      * @return Application version.
       
    57      */
       
    58     virtual const TDesC& ApplicationVersion() const = 0;
       
    59     
       
    60     /**
       
    61      * Get name of installed theme.
       
    62      * 
       
    63      * 
       
    64      * @return Theme name.
       
    65      */
       
    66     virtual const TDesC& ThemeName() const = 0;
       
    67     
       
    68 protected:
       
    69 
       
    70     /**
       
    71      * Destructor.
       
    72      *
       
    73      * @see MCatalogsBase::~MCatalogsBase
       
    74      */
       
    75     virtual ~MNcdPurchaseInstallInfo() {}
       
    76 
       
    77     };
       
    78 
       
    79 
       
    80 #endif // M_NCDPURCHASEINSTALLINFO_H