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