|
1 /* |
|
2 * Copyright (c) 2004 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: Tls holder used to check if resource file is loaded or not |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __IMPSSHAREDDATADEFS_H |
|
19 #define __IMPSSHAREDDATADEFS_H |
|
20 |
|
21 struct TIMPSSharedKeyPairs |
|
22 { |
|
23 TPtrC iKeyForSharedData; |
|
24 TIMPSSharedKeys iKeyForClient; |
|
25 }; |
|
26 |
|
27 struct TIMPSCenrepKeyPairs |
|
28 { |
|
29 TUint32 iKeyForCenrep; |
|
30 TIMPSSharedKeys iKeyForClient; |
|
31 }; |
|
32 |
|
33 // constants from connection ui keys |
|
34 // GroupChannelKeyNames: |
|
35 _LIT( KIMPSSharedKeysIMClientLoginLogoutStateChannel, "TMC2G0" ); |
|
36 _LIT( KIMPSSharedKeysIMLoginLogoutEventChannel, "TMC2G1" ); |
|
37 _LIT( KIMPSSharedKeysIMSSClientReqistrationChannel, "TMC2G2" ); |
|
38 _LIT( KIMPSSharedKeysIMGlobalOperationSignalChannel, "TMC2G3" ); |
|
39 _LIT( KIMPSSharedKeysIMRemoteUiNotificationsChannel, "TMC2G4" ); |
|
40 _LIT( KIMPSSharedKeysPECClientLoginLogoutStateChannel, "TMC1G0" ); |
|
41 _LIT( KIMPSSharedKeysPECLoginLogoutEventChannel, "TMC1G1" ); |
|
42 _LIT( KIMPSSharedKeysPECSSClientReqistrationChannel, "TMC1G2" ); |
|
43 _LIT( KIMPSSharedKeysPECGlobalOperationSignalChannel, "TMC1G3" ); |
|
44 _LIT( KIMPSSharedKeysPECRemoteUiNotificationsChannel, "TMC1G4" ); |
|
45 |
|
46 _LIT( KIMPSSharedKeysCommonClientLoginLogoutStateChannel, "TMC0G0" ); |
|
47 _LIT( KIMPSSharedKeysCommonLoginLogoutEventChannel, "TMC0G1" ); |
|
48 _LIT( KIMPSSharedKeysCommonSSClientReqistrationChannel, "TMC0G2" ); |
|
49 _LIT( KIMPSSharedKeysCommonGlobalOperationSignalChannel, "TMC0G3" ); |
|
50 _LIT( KIMPSSharedKeysCommonRemoteUiNotificationsChannel, "TMC0G4" ); |
|
51 |
|
52 // Connection UI Group data keys |
|
53 _LIT( KIMPSSharedKeysIMClientLoginLogoutStateData, "TDC2G0" ); |
|
54 _LIT( KIMPSSharedKeysIMLoginLogoutEventData, "TDC2G1" ); |
|
55 _LIT( KIMPSSharedKeysIMSSClientReqistrationData, "TDC2G2" ); |
|
56 _LIT( KIMPSSharedKeysIMGlobalOperationSignalData, "TDC2G3" ); |
|
57 _LIT( KIMPSSharedKeysIMRemoteUiNotificationsData, "TDC2G4" ); |
|
58 _LIT( KIMPSSharedKeysPECClientLoginLogoutStateData, "TDC1G0" ); |
|
59 _LIT( KIMPSSharedKeysPECLoginLogoutEventData, "TDC1G1" ); |
|
60 _LIT( KIMPSSharedKeysPECSSClientReqistrationData, "TDC1G2" ); |
|
61 _LIT( KIMPSSharedKeysPECGlobalOperationSignalData, "TDC1G3" ); |
|
62 _LIT( KIMPSSharedKeysPECRemoteUiNotificationsData, "TDC1G4" ); |
|
63 |
|
64 _LIT( KIMPSSharedKeysCommonClientLoginLogoutStateData, "TDC0G0" ); |
|
65 _LIT( KIMPSSharedKeysCommonLoginLogoutEventData, "TDC0G1" ); |
|
66 _LIT( KIMPSSharedKeysCommonSSClientReqistrationData, "TDC0G2" ); |
|
67 _LIT( KIMPSSharedKeysCommonGlobalOperationSignalData, "TDC0G3" ); |
|
68 _LIT( KIMPSSharedKeysCommonRemoteUiNotificationsData, "TDC0G4" ); |
|
69 |
|
70 // Connection UI Global channel keys |
|
71 _LIT( KIMPSSharedKeysIMGlobalChannel, "TGMCG2" ); |
|
72 _LIT( KIMPSSharedKeysPECGlobalChannel, "TGMCG1" ); |
|
73 // Connection UI Global data keys |
|
74 _LIT( KIMPSSharedKeysIMGlobalData, "TGDCG2" ); |
|
75 _LIT( KIMPSSharedKeysPECGlobalData, "TGDCG1" ); |
|
76 // Connection UI permanent global data key |
|
77 _LIT( KIMPSSharedKeysPermanentGlobalChannel, "PGMC0" ); |
|
78 _LIT( KIMPSSharedKeysPermanentGlobalData, "PGDC0" ); |
|
79 |
|
80 // Connection UI IM Presence Auth Setting Key |
|
81 _LIT( KIPMSSharedKeysIMPresenceAuthSettingKey, "1001" ); |
|
82 |
|
83 // Profiles engine key for PubSub internal usage |
|
84 _LIT( KIMPSSharedKeysProEngAllowUpdatePresence, "PresUpdAlw" ); |
|
85 |
|
86 // Presence UI key for PubSub internal usage |
|
87 _LIT( KIMPSSharedKeysPECAppKeyNamePublishing, "Publ" ); |
|
88 |
|
89 // Service settings login type change notifier key for pec |
|
90 _LIT( KIMPSSharedKeysServiceSettingsLoginTypesChangedPEC, "LCPEC" ); |
|
91 // Service settings login type change notifier key for IM |
|
92 _LIT( KIMPSSharedKeysServiceSettingsLoginTypesChangedIM, "LCIM" ); |
|
93 |
|
94 // Service settings schedule change notifier key for pec |
|
95 _LIT( KIMPSSharedKeysServiceSettingsScheduleChangedPEC, "SCHEPEC" ); |
|
96 // Service settings schedule change notifier key for IM |
|
97 _LIT( KIMPSSharedKeysServiceSettingsScheduleChangedIM, "SCHEIM" ); |
|
98 |
|
99 |
|
100 |
|
101 // Maximun length of keys name is 15 characters |
|
102 const TInt KMaxKeyName = 15; |
|
103 |
|
104 // maximun size of the value |
|
105 const TInt KMaxValueSize = 512; |
|
106 |
|
107 #endif // __IMPSSHAREDDATADEFS_H |
|
108 |
|
109 // End of File |