|
1 /* |
|
2 * Copyright (c) 2003-2006 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: Common definitions of the vpnmanagementui.dll |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __VPNMANAGEMENTUIDEFS_H__ |
|
21 #define __VPNMANAGEMENTUIDEFS_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include <bldvariant.hrh> |
|
25 |
|
26 #include <eikmenub.h> // for menu and cba support |
|
27 #include <aknnavide.h> |
|
28 #include <akntabgrp.h> |
|
29 #include <akntitle.h> |
|
30 #include <aknlists.h> |
|
31 #include <aknViewAppUi.h> |
|
32 #include <barsread.h> // for TResourceReader |
|
33 #include <StringLoader.h> |
|
34 |
|
35 // _LITS |
|
36 _LIT(KVpnManagementUiEnter, "\n"); |
|
37 _LIT(KVpnManagementUiEnterTwice, "\n\n"); |
|
38 _LIT(KVpnManagementUiSpaceHyphenSpace, " - "); |
|
39 _LIT(KVpnManagementUiSpace, " "); |
|
40 |
|
41 _LIT(KIpsecAcuPlugInDllName, "ipsecacuplugin.dll"); |
|
42 |
|
43 // Pathname of the MBM file containing icons for VPN Log view |
|
44 _LIT( KVpnLogIcons, "\\resource\\apps\\VpnManagementUi.mbm" ); |
|
45 |
|
46 // FORWARD DECLARATIONS |
|
47 // CONSTS |
|
48 const TUid KUidVpnManagementUi = { 0x10200EC4 }; //UID of dll for help |
|
49 const TUid KUidIpsecAcuPlugIn = { 0x101F6EB8 }; |
|
50 |
|
51 const TInt KChangeViewBack = -2; |
|
52 const TInt KChangeViewPrevious = -1; |
|
53 const TInt KChangeViewPolicy = 0; |
|
54 const TInt KChangeViewServer = 1; |
|
55 const TInt KChangeViewLog = 2; |
|
56 const TInt KChangeViewSettings = 3; |
|
57 |
|
58 // For setting the correct title |
|
59 const TInt KViewTitleManagementView = 4; |
|
60 const TInt KViewTitlePolicyView = 5; |
|
61 const TInt KViewTitleServerView = 6; |
|
62 const TInt KViewTitleLogView = 7; |
|
63 const TInt KViewTitleParametersView = 8; |
|
64 |
|
65 // Granularity of the created iconarrays |
|
66 LOCAL_D const TInt KGranularity = 4; |
|
67 |
|
68 // "dd/mm/yyyy0" |
|
69 const TInt KMaxLengthTextDateString = 11; |
|
70 // Maximum length of dynamic strings is 4092, |
|
71 // plus 13 resource strings with average lenght of 50 makes 650 |
|
72 // total 4742 rounded up to 5000 |
|
73 const TInt KMaxLengthTextDetailsBody = 5000; |
|
74 |
|
75 // Max length for ave_list_setting_pane_1 is 52 and |
|
76 // for ave_list_setting_pane_2 51 (formatting 7) , total 103 + end mark |
|
77 const TInt KMaxLengthTextSettListOneTwo = 104; |
|
78 // Max length for ave_list_setting_pane_1 is 52 |
|
79 const TInt KMaxLengthTextSettListOne = 52; |
|
80 |
|
81 const TInt KMaxServerUrlLength = 512; |
|
82 const TInt KMaxServerNameLength = 30; |
|
83 const TInt KMaxUiSelectionNameLength = 50; |
|
84 |
|
85 const TInt KMaxLogListLength = 50; |
|
86 #endif // __VPNMANAGEMENTUIDEFS_H__ |
|
87 |
|
88 // End of File |