1 /* |
|
2 * Copyright (c) 2005 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: Enumerations used in the application UI. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __DEVENCUI_HRH__ |
|
19 #define __DEVENCUI_HRH__ |
|
20 |
|
21 // DevEncUi enumerate command codes |
|
22 enum TDevEncUiCommandIds |
|
23 { |
|
24 EDevEncUiCommandChange = 4242, // start value must not be 0 |
|
25 EDevEncUiCommandHelp, |
|
26 |
|
27 // These MMC-related commands are used in the Encryption view. |
|
28 EDevEncUiCommandEncryptWithoutSavingKey, |
|
29 EDevEncUiCommandEncryptAndSaveKey, |
|
30 EDevEncUiCommandEncryptWithRestoredKey, |
|
31 |
|
32 // These MMC-related commands are used in the Decryption view. |
|
33 EDevEncUiCommandDecrypt, |
|
34 EDevEncUiCommandDecryptAndTurnOffEncryption, |
|
35 |
|
36 EDevEncUiInternalCommandEncrypt, |
|
37 EDevEncUiInternalCommandDecrypt, |
|
38 |
|
39 // ID's of some UI items |
|
40 EPhoneEncryptionSettingItem, |
|
41 EMemoryCardEncryptionSettingItem, |
|
42 EDevEncUiDlgCIdConfirmationQuery, |
|
43 EDevEncUiDlgCIdDataQuery, |
|
44 EDevEncUiWaitNoteId, |
|
45 EDevEncUiSecretCodeQueryId |
|
46 }; |
|
47 |
|
48 enum TDevEncUiMemoryType |
|
49 { |
|
50 EPhoneMemory, |
|
51 EMemoryCard |
|
52 }; |
|
53 |
|
54 enum TDevEncUiMemoryEntityState |
|
55 { |
|
56 EMemStateUnknown, |
|
57 EMemDecrypted, |
|
58 EMemEncrypting, |
|
59 EMemEncrypted, |
|
60 EMemDecrypting, |
|
61 EMemCorrupted |
|
62 }; |
|
63 |
|
64 enum TDevEncUiViewIds |
|
65 { |
|
66 EDevEncUiMainViewId = 1, |
|
67 EDevEncUiEncrViewId, |
|
68 EDevEncUiDecrViewId, |
|
69 EDevEncUiNumberOfViews |
|
70 }; |
|
71 |
|
72 #endif // __DEVENCUI_HRH__ |
|