ncdengine/provider/server/inc/ncdicondownloadhandler.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     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 "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:   CNcdIconDownloadHandler declaration
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_NCDICONDOWNLOADHANDLER_H
       
    20 #define C_NCDICONDOWNLOADHANDLER_H
       
    21 
       
    22 #include <e32base.h>
       
    23 #include "ncdbasedownloadhandler.h"
       
    24 #include "ncdnodeimpl.h"
       
    25 
       
    26 class MCatalogsHttpSession;
       
    27 
       
    28 /**
       
    29  * Download handler for icon downloads
       
    30  */
       
    31 class CNcdIconDownloadHandler : public CNcdBaseDownloadHandler
       
    32     {
       
    33 public:
       
    34 
       
    35     static CNcdIconDownloadHandler* NewL( const CNcdNodeIdentifier& aNodeId,
       
    36         CNcdNodeManager& aNodeManager,
       
    37         MCatalogsHttpSession& aSession );
       
    38 
       
    39     virtual ~CNcdIconDownloadHandler();
       
    40 
       
    41 public: // From MNcdDownloadHandler
       
    42 
       
    43     /**
       
    44      *
       
    45      *     
       
    46      */        
       
    47     MCatalogsHttpOperation* DownloadL();
       
    48         
       
    49     void FinishDownloadL( MCatalogsHttpOperation& aDownload, 
       
    50         MNcdFileHandler* aFileHandler );    
       
    51 
       
    52 protected:
       
    53     
       
    54     CNcdIconDownloadHandler( CNcdNodeManager& aNodeManager, 
       
    55         MCatalogsHttpSession& iSession );
       
    56     
       
    57     };
       
    58 
       
    59 
       
    60 #endif // C_NCDSKINDOWNLOADHANDLER_H