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