upnpmediaserver/contentdirectoryservice/inc/upnptransferinterface.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 18 Aug 2010 10:02:50 +0300
changeset 27 03808033c9a2
parent 0 7f85d04be362
permissions -rw-r--r--
Revision: 201031 Kit: 201033

/** @file
* Copyright (c) 2005-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:  
*
*/



#ifndef C_CUPNPTRANSERINTERFACE_H
#define C_CUPNPTRANSERINTERFACE_H

//  INCLUDES
#include <e32std.h>

// Transfer interface for handling transfer
class MUpnpTransferInterface
    {
 public:
    virtual void UploadFileL( TInt aKey,
                              const TDesC8& aUri,
                              const TDesC& aTargetPath,
                              const TDesC8& aContentType
                              ) = 0;
                        
    virtual void DownloadFileL( TInt aKey,
                                const TDesC8& aUri,
                                const TDesC& aTargetPath 
                                ) = 0;
                            
    virtual void TrackUploadProgress( TInt aKey, 
                                TBool aSwitchOn )=0;

    virtual void TrackDownloadProgress( TInt aKey, 
                                TBool aSwitchOn )=0;
                                  
    virtual void CancelUpload( TInt aKey ) = 0;                                  
    
    virtual void CancelDownload( TInt aKey ) = 0;
    
    };

    
#endif      // C_CUPNPTRANSERINTERFACE_H 
        
// End of File