diff -r 80975da52420 -r 43d09473c595 mmmw_plat/emc_progressive_download_source_api/inc/ProgDLSource.h --- a/mmmw_plat/emc_progressive_download_source_api/inc/ProgDLSource.h Mon May 03 12:59:52 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,66 +0,0 @@ -/* -* 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 "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: Header of ProgDLSource class. -* -*/ - - -#ifndef PROGDLSOURCE_H -#define PROGDLSOURCE_H - -#include -#include - -namespace multimedia - { - - const TUid KProgDLSourceControl = {0x10207B43}; - - - // Class declaration - class MProgDLSource : public MSourceControl - { - public: - - enum TDownloadStatus - { - EUnknown, - EConnecting, - EStarted, - EPaused, - EFailed, - EDeleted, - ECompleted - }; - - // Control msg - virtual TInt Open(const TDesC& aFileName,TInt32 aDLTxId ) = 0; - virtual TInt MoveFile(const TDesC& aDestFileName ) = 0; - virtual TInt CancelDownload() = 0; - virtual TInt ResumeDownload() = 0; - virtual TInt GetCurrentFileSize( TUint& aSize ) = 0; - virtual TInt GetExpectedFileSize( TUint& aSize ) = 0; - virtual TDownloadStatus GetDownloadStatus() = 0; - virtual TInt IsDownloadComplete(TBool& aBool) = 0; - virtual TInt GetPercentageDownloaded(TUint& aPercent) = 0; - virtual TInt GetPercentageBuffered(TUint& aPercent) = 0; - virtual TInt GetDownloadingRate(TUint& aRate) = 0; - virtual TInt GetBitRate(TUint& aRate) = 0; - virtual TInt FileName(TPtr& aFileName) = 0; - }; - } // namespace multimedia - -#endif // PROGDLSOURCE_H - -// End of file