videofeeds/clientapi/inc/CIptvVodDlResumeDownloadReq.h
branchRCL_3
changeset 23 befca0ec475f
parent 0 96612d01cf9f
equal deleted inserted replaced
22:839377eedc2b 23:befca0ec475f
       
     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 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: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 #ifndef CIPTVVODDLRESUMEDOWNLOADREQ_H
       
    23 #define CIPTVVODDLRESUMEDOWNLOADREQ_H
       
    24 
       
    25 //  INCLUDES
       
    26 #include <e32base.h>
       
    27 #include "MIptvStreamObject.h"
       
    28 #include "CIptvUtil.h"
       
    29 #include "TIptvVodDlDownloadId.h"
       
    30 
       
    31 // CONSTANTS
       
    32 
       
    33 // MACROS
       
    34 
       
    35 // DATA TYPES
       
    36 
       
    37 // FUNCTION PROTOTYPES
       
    38 
       
    39 // FORWARD DECLARATIONS
       
    40 class CIptvMyVideosGlobalFileId;
       
    41 class RWriteStream;
       
    42 class RReadStream;
       
    43 
       
    44 // CLASS DECLARATION
       
    45 
       
    46 /**
       
    47 *
       
    48 *  @lib IptvClientApi.lib
       
    49 */
       
    50 class CIptvVodDlResumeDownloadReq : public CBase, public MIptvStreamObject
       
    51     {
       
    52     public:  // Constructors and destructor
       
    53         
       
    54         /**
       
    55         * Two-phased constructor.
       
    56         */
       
    57         IMPORT_C static CIptvVodDlResumeDownloadReq* NewL();
       
    58         
       
    59         /**
       
    60         * Destructor.
       
    61         */
       
    62         IMPORT_C virtual ~CIptvVodDlResumeDownloadReq();
       
    63 
       
    64     public: // New functions
       
    65         
       
    66         /**
       
    67         * Initializes this object from stream.
       
    68         * @param aStream stream to read data from
       
    69         */
       
    70         IMPORT_C void InternalizeL(RReadStream& aStream);
       
    71 
       
    72         /**
       
    73         * Writes this object to stream.
       
    74         * @param aStream stream to write data to.
       
    75         */
       
    76         IMPORT_C void ExternalizeL(RWriteStream& aStream);
       
    77 
       
    78         /**
       
    79         * Counts externalize size.
       
    80         * @param aStream stream to read data from
       
    81         */
       
    82         IMPORT_C TUint32 CountExternalizeSize();
       
    83         
       
    84     private:
       
    85 
       
    86         /**
       
    87         * C++ default constructor.
       
    88         */
       
    89         CIptvVodDlResumeDownloadReq();
       
    90 
       
    91         /**
       
    92         * By default Symbian 2nd phase constructor is private.
       
    93         */
       
    94         void ConstructL();
       
    95 
       
    96     public:     // Data
       
    97         TIptvVodDlDownloadId                      iDownloadId;
       
    98         TBool                                     iUseUserNameAndPassword;
       
    99         TBuf<KIptvSmPasswordsDbUserNameMaxLength> iUserName;
       
   100         TBuf<KIptvSmPasswordsDbPasswordMaxLength> iPassword;
       
   101         TUint32                                    iIapId;
       
   102         TBool                                     iUseIapId;        
       
   103     };
       
   104 
       
   105 #endif      // CIPTVVODDLDOWNLOADLIST_H   
       
   106             
       
   107 // End of File