diff -r 839377eedc2b -r befca0ec475f videofeeds/clientapi/inc/CIptvVodDlResumeDownloadReq.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/videofeeds/clientapi/inc/CIptvVodDlResumeDownloadReq.h Wed Sep 01 12:30:28 2010 +0100 @@ -0,0 +1,107 @@ +/* +* Copyright (c) 2006 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: +* +*/ + + + + + +#ifndef CIPTVVODDLRESUMEDOWNLOADREQ_H +#define CIPTVVODDLRESUMEDOWNLOADREQ_H + +// INCLUDES +#include +#include "MIptvStreamObject.h" +#include "CIptvUtil.h" +#include "TIptvVodDlDownloadId.h" + +// CONSTANTS + +// MACROS + +// DATA TYPES + +// FUNCTION PROTOTYPES + +// FORWARD DECLARATIONS +class CIptvMyVideosGlobalFileId; +class RWriteStream; +class RReadStream; + +// CLASS DECLARATION + +/** +* +* @lib IptvClientApi.lib +*/ +class CIptvVodDlResumeDownloadReq : public CBase, public MIptvStreamObject + { + public: // Constructors and destructor + + /** + * Two-phased constructor. + */ + IMPORT_C static CIptvVodDlResumeDownloadReq* NewL(); + + /** + * Destructor. + */ + IMPORT_C virtual ~CIptvVodDlResumeDownloadReq(); + + public: // New functions + + /** + * Initializes this object from stream. + * @param aStream stream to read data from + */ + IMPORT_C void InternalizeL(RReadStream& aStream); + + /** + * Writes this object to stream. + * @param aStream stream to write data to. + */ + IMPORT_C void ExternalizeL(RWriteStream& aStream); + + /** + * Counts externalize size. + * @param aStream stream to read data from + */ + IMPORT_C TUint32 CountExternalizeSize(); + + private: + + /** + * C++ default constructor. + */ + CIptvVodDlResumeDownloadReq(); + + /** + * By default Symbian 2nd phase constructor is private. + */ + void ConstructL(); + + public: // Data + TIptvVodDlDownloadId iDownloadId; + TBool iUseUserNameAndPassword; + TBuf iUserName; + TBuf iPassword; + TUint32 iIapId; + TBool iUseIapId; + }; + +#endif // CIPTVVODDLDOWNLOADLIST_H + +// End of File