videofeeds/mrssplugin/inc/CIptvDownloadItem.h
changeset 0 96612d01cf9f
equal deleted inserted replaced
-1:000000000000 0:96612d01cf9f
       
     1 /*
       
     2 * Copyright (c) 2004-2007 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 the License "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:    Descriptor of a download item.*
       
    15 */
       
    16 
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CIPTVDOWNLOADITEM_H
       
    21 #define CIPTVDOWNLOADITEM_H
       
    22 
       
    23 #include <e32std.h>
       
    24 #include "CIptvUtil.h"
       
    25 
       
    26 //lint -e1925 Use of public variables are architechtural decision.
       
    27 
       
    28 /**
       
    29  *  Descriptor of a download item.
       
    30  *
       
    31  *  Holds information associated to a download item
       
    32  *
       
    33  *  @lib IptvRssPlugin.dll
       
    34  *  @since S60 v3.1
       
    35  */
       
    36 class CIptvDownloadItem : public CBase
       
    37     {
       
    38 
       
    39 public:
       
    40 
       
    41     static CIptvDownloadItem* NewL();
       
    42 
       
    43     virtual ~CIptvDownloadItem();
       
    44 
       
    45 private:
       
    46 
       
    47     CIptvDownloadItem();
       
    48 
       
    49 public: // Data members
       
    50 
       
    51     /**
       
    52      * Thumbnail URL.
       
    53      */
       
    54     TBuf<KIptvCAContentUrlLength> iThumbnailUrl;
       
    55 
       
    56     /**
       
    57      * If ETrue thumbnail is service thumbnail, else thumbnail is
       
    58      * content thumbnail.
       
    59      */
       
    60     TBool iServiceThumbnail;
       
    61 
       
    62     /**
       
    63      * Category / content id.
       
    64      */
       
    65     TUint32 iId;
       
    66 
       
    67     };
       
    68 
       
    69 #endif  // CIPTVDOWNLOADITEM_H