equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004-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: DRMHelperDownloadManager declaration |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CDRMHELPERDOWNLOADMANAGER_H |
|
20 #define CDRMHELPERDOWNLOADMANAGER_H |
|
21 |
|
22 #include <e32base.h> |
|
23 #include <ConeResLoader.h> |
|
24 |
|
25 class CDRMHelperDMgrWrapper; |
|
26 |
|
27 /** |
|
28 * This class encapsulates Download manager functionality. |
|
29 * |
|
30 * @lib DrmHelper.lib |
|
31 * @since S60 3.0 |
|
32 */ |
|
33 NONSHARABLE_CLASS(CDrmHelperDownloadManager) : public CBase |
|
34 { |
|
35 public: |
|
36 |
|
37 static CDrmHelperDownloadManager* NewL(); |
|
38 virtual ~CDrmHelperDownloadManager(); |
|
39 |
|
40 /** |
|
41 * Download a ROAP trigger from URL and handle it |
|
42 * |
|
43 * @since S60 3.0 |
|
44 * @param aUrl URL to be downloaded |
|
45 */ |
|
46 void DownloadAndHandleRoapTriggerL( const HBufC8* aUrl, CCoeEnv& aCoeEnv ); |
|
47 |
|
48 void DownloadAndHandleRoapTriggerL( const HBufC8* aUrl ); |
|
49 |
|
50 HBufC8* GetErrorUrlL(); |
|
51 |
|
52 |
|
53 protected: |
|
54 |
|
55 private: |
|
56 |
|
57 CDrmHelperDownloadManager(); |
|
58 void ConstructL(); |
|
59 |
|
60 private: |
|
61 |
|
62 /** |
|
63 * Download manager handler |
|
64 */ |
|
65 RLibrary iDMgrDll; |
|
66 CDRMHelperDMgrWrapper* iDMgrHandler; |
|
67 }; |
|
68 |
|
69 #endif // CDRMHELPERDOWNLOADMANAGER_H |