equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006-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: Defines the observer interface for the CameseUtility library |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CAMESEOBSERVER_H |
|
20 #define CAMESEOBSERVER_H |
|
21 |
|
22 /** |
|
23 * MCameseObserver |
|
24 * Notification interface used by the Camese Utility to report progress. |
|
25 * |
|
26 * @lib CameseUtility.dll |
|
27 * @since 5.0 |
|
28 */ |
|
29 class MCameseObserver |
|
30 { |
|
31 public: |
|
32 enum TLicenseAcquisitionState |
|
33 { |
|
34 EIdle = 0, |
|
35 ESendingContentStorageStatus, |
|
36 ERetrievingDRMHeaderFromFileHandle, |
|
37 EProcessingDRMHeader, |
|
38 ERetrievingChallenge, |
|
39 ERetrievingChallengeFromFileHandle, |
|
40 ERetrievingLicense, |
|
41 EProcessingLicense, |
|
42 EAddingLicense, |
|
43 ESendingLicenseStorageStatus, |
|
44 ELicensingComplete, |
|
45 EInvisibleRedirection, |
|
46 ESendingDrmHeaderStatus |
|
47 }; |
|
48 |
|
49 public: |
|
50 /** |
|
51 * Progress notification generated by the Camese Utility. |
|
52 * @param aState Current state of the license acquisition process. |
|
53 */ |
|
54 virtual void OnLicenseAcquisitionProgress(TLicenseAcquisitionState aState) = 0; |
|
55 }; |
|
56 |
|
57 #endif // CAMESEOBSERVER_H |
|
58 |
|
59 // End of File |