ncdengine/inc/ncdinstalledapplication.h
author hgs
Tue, 28 Sep 2010 14:48:39 +0300
changeset 75 2d2d25361590
parent 0 ba25891c3a9e
permissions -rw-r--r--
201037_04

/*
* Copyright (c) 2006-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:   Contains MNcdInstallApplication interface
*
*/


#ifndef M_NCD_INSTALLED_APPLICATION_H
#define M_NCD_INSTALLED_APPLICATION_H


#include "catalogsbase.h"
#include "ncdinterfaceids.h"


/**
 * 
 *
 *  @see MNcdNodeInstall 
 *
 *  
 */
class MNcdInstalledApplication : public virtual MCatalogsBase
    {
public:

    /**
     * Unique identifier for the interface, required for all MCatalogsBase interfaces.
     *
     * 
     */
    enum { KInterfaceUid = ENcdInstalledApplicationUid };

    /**
     * Returns the UID of the installed application.
     * 
     * @note Valid only if IsInstalledL() returns ETrue
     *
     * 
     * @see MNcdNodeContentInfo
     * @return UID of the installed application.     
     */
    virtual TUid Uid() const = 0;


    /**
     * Document name that should be given to the application when it is
     * launched
     *
     * 
     * @return Document name
     */
    virtual const TDesC& DocumentName() const = 0;

protected:

    /**
     * Destructor.
     * 
     * @see MCatalogsBase::~MCatalogsBase()
     */
    virtual ~MNcdInstalledApplication() {}

    };


#endif // M_NCD_INSTALLED_APPLICATION_H