|
1 /* |
|
2 * Copyright (c) 2010 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 an enumeration for the DRM dialog IDs |
|
15 */ |
|
16 |
|
17 |
|
18 #ifndef C_DRMUIDIALOGIDS_H |
|
19 #define C_DRMUIDIALOGIDS_H |
|
20 |
|
21 // Enumeration for the dialog IDs to be launched. |
|
22 enum TDrmUIDialogId |
|
23 { |
|
24 EQueryNoRightsObj, |
|
25 EQueryFileLocked, // %U is filename. dialog to be implemented |
|
26 EQueryFileLockedForSim, |
|
27 EQueryRightsObjExpired, |
|
28 EQueryFileWithNoRightsObj, // %U is filename. dialog to be implemented |
|
29 EQueryNoUsage, |
|
30 EQueryNoCount, |
|
31 EQueryDeleteDRMFile, |
|
32 EQueryMoveObjects, |
|
33 EQueryCopyObjects, |
|
34 EQuerySendUnprotectedObjs, |
|
35 EQueryAccountUpdate, |
|
36 EQueryRetryForLicence, |
|
37 EQueryGetNewLicence, |
|
38 EQueryConnectToActivate, // dialog to be implemented |
|
39 EQueryOpenErrorUrl, // dialog to be implemented |
|
40 EQueryLicenceValidUntil, // %U is expiration date. dialog to be implemented yet |
|
41 EQueryValidForLimitedTime, // dialog to be implemented |
|
42 EQueryUnlockRingToneForSim, // %U is filename. dialog to be implemented |
|
43 EQueryGetRingToneLicence, // %U is filename. dialog to be implemented |
|
44 EQueryUnlockMsgToneForSim, // %U is filename. dialgo to be implemented |
|
45 EQueryGetMsgToneLicence, // %U is filename. dialog to be implemented |
|
46 EQueryUnlockEmailToneForSim, // %U is filename. dialog to be implemented |
|
47 EQueryGetEmailToneLicence, // %U is filename. dialog to be implemented |
|
48 EQueryUseDefaultEmailTone, // %U is filename. dialog to be implemented |
|
49 EQueryActivateIMToneLicence, // %U is filename. dialog to be implemented |
|
50 EQueryUnlockCalToneForSim, // %U is filename. dialog to be implemented |
|
51 EQueryGetCalToneLicence, // %U is filename. dialog to be implemented |
|
52 |
|
53 EConfObjLocked, |
|
54 EConfUnsupportedObj, |
|
55 EConfWaitingForLicence, |
|
56 EConfDeleted, |
|
57 EConfUnableToMove, |
|
58 EConfUnableToCopy, |
|
59 EConfLicenceExpired, |
|
60 EConfFileDeleted, // %U is filename. dialog to be implemented |
|
61 EConfForwardProtected, |
|
62 EConfUnableToSend, |
|
63 EConfViewRestriction, |
|
64 EConfUnableToUse, // %U is start date of RO. dialog to be implemented |
|
65 EConfUnableToDeregister, |
|
66 EConfAccountNotRecognized, |
|
67 EConfPhoneDeregistered, |
|
68 EConfRegUpdateFailure, |
|
69 EConfRegistrationUpdated, |
|
70 EConfPhoneRegistered, |
|
71 EConfRegistrationFailure, |
|
72 EConfUnableToOpen, // dialog to be implemented |
|
73 EConfLicenceNotReceived, // dialog to be implemented |
|
74 EConfFileLockedForSim, |
|
75 EConfNoAccessPoint, // dialog to be implemented |
|
76 EConfConnectionFailed, // dialog to be implemented |
|
77 EConfUnableToUnlock, // dialog to be implemented |
|
78 EConfUseDefaultRingTone, // %U is filename. dialog to be implemented |
|
79 EConfRingToneLicenceExpired, // %U is filename. dialog to be implemented |
|
80 EConfUseDefaultMsgTone, // %U is filename. dialog to be implemented |
|
81 EConfMsgToneLicenceExpired, // %U is filename. dialog to be implemented |
|
82 EConfEmailToneLicenceExpired, // %U is filename. dialog to be implemented |
|
83 EConfIMToneLicenceExpired, // %U is filename. dialog to be implemented |
|
84 EConfUseDefaultCalTone, // %U is filename. dialog to be implemented |
|
85 EConfCalToneExpired, // %U is filename. dialog to be implemented |
|
86 |
|
87 EProgDeregisteringPhone, // progress bar to be implemented |
|
88 EProgAcquiringLicence, // progress bar to be implemented |
|
89 EProgRegisteringPhone, // progress bar to be implemented |
|
90 EProgUpdatingRegistration, // progress bar to be implemented |
|
91 |
|
92 ENoteRightsObjReceived, // popup |
|
93 EUnusedId // The last ID |
|
94 }; |
|
95 |
|
96 enum TDrmUiResultCode |
|
97 { |
|
98 ECancelled, |
|
99 EOk |
|
100 }; |
|
101 |
|
102 #endif // C_DRMUIDIALOGIDS_H |
|
103 |