|
1 /* |
|
2 * Copyright (c) 2000 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: Implementation of terminalsecurity components |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef SCP_IDS_H |
|
19 #define SCP_IDS_H |
|
20 |
|
21 // LOCAL CONSTANTS |
|
22 |
|
23 // Error codes |
|
24 const TInt KErrSCPInvalidCode = -101; |
|
25 const TInt KErrSCPCodeChangeNotAllowed = -102; |
|
26 |
|
27 // Events |
|
28 const TInt KSCPEventValidate = 1; |
|
29 const TInt KSCPEventPasswordChanged = 2; |
|
30 const TInt KSCPEventAuthenticationAttempted = 3; |
|
31 const TInt KSCPEventConfigurationQuery = 4; |
|
32 const TInt KSCPEventRetrieveConfiguration = 5; |
|
33 const TInt KSCPEventPasswordChangeQuery = 6; |
|
34 const TInt KSCPEventReset = 7; |
|
35 |
|
36 // Parameter IDs |
|
37 const TInt KSCPParamEventStatus = 1; |
|
38 const TInt KSCPParamStatus = 2; |
|
39 const TInt KSCPParamAction = 3; |
|
40 const TInt KSCPParamUIMode = 4; |
|
41 const TInt KSCPParamPromptText = 5; |
|
42 const TInt KSCPParamPassword = 6; |
|
43 const TInt KSCPParamID = 7; |
|
44 const TInt KSCPParamValue = 8; |
|
45 const TInt KSCPParamIdentity = 9; |
|
46 const TInt KSCPParamNoteIcon = 10; |
|
47 const TInt KSCPParamContext = 11; |
|
48 const TInt KSCPParamStorage = 12; |
|
49 const TInt KSCPParamNotifType = 13; |
|
50 |
|
51 |
|
52 // Value IDs |
|
53 const TInt KSCPValueEventConsumed = 1; |
|
54 |
|
55 const TInt KSCPActionShowUI = 1; |
|
56 const TInt KSCPActionForceChange = 2; |
|
57 |
|
58 const TInt KSCPUIDialog = 1; |
|
59 const TInt KSCPUINote = 2; |
|
60 |
|
61 const TInt KSCPUINoteWarning = 1; |
|
62 const TInt KSCPUINoteError = 2; |
|
63 |
|
64 const TInt KSCPContextChangePsw = 1; |
|
65 const TInt KSCPContextQueryPsw = 2; |
|
66 const TInt KSCPContextRfs = 3; |
|
67 |
|
68 const TInt KSCPStorageCommon = 1; |
|
69 const TInt KSCPStoragePrivate = 2; |
|
70 |
|
71 const TInt KSCPNotifTypeInteractive = 1; |
|
72 const TInt KSCPNotifTypeStatic = 2; |
|
73 |
|
74 |
|
75 #endif // SCP_IDS_H |
|
76 |
|
77 // End of File |
|
78 |