videofeeds/mrssplugin/inc/CIptvDownloadItem.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 19 Aug 2010 09:57:17 +0300
branchRCL_3
changeset 54 315810614048
parent 0 96612d01cf9f
permissions -rw-r--r--
Revision: 201031 Kit: 201033

/*
* Copyright (c) 2004-2007 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "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:    Descriptor of a download item.*
*/




#ifndef CIPTVDOWNLOADITEM_H
#define CIPTVDOWNLOADITEM_H

#include <e32std.h>
#include "CIptvUtil.h"

//lint -e1925 Use of public variables are architechtural decision.

/**
 *  Descriptor of a download item.
 *
 *  Holds information associated to a download item
 *
 *  @lib IptvRssPlugin.dll
 *  @since S60 v3.1
 */
class CIptvDownloadItem : public CBase
    {

public:

    static CIptvDownloadItem* NewL();

    virtual ~CIptvDownloadItem();

private:

    CIptvDownloadItem();

public: // Data members

    /**
     * Thumbnail URL.
     */
    TBuf<KIptvCAContentUrlLength> iThumbnailUrl;

    /**
     * If ETrue thumbnail is service thumbnail, else thumbnail is
     * content thumbnail.
     */
    TBool iServiceThumbnail;

    /**
     * Category / content id.
     */
    TUint32 iId;

    };

#endif  // CIPTVDOWNLOADITEM_H