|
1 /* |
|
2 * Copyright (c) 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: SendUI central repository key definitions |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef _SENDUIPRIVATECRKES_H |
|
22 #define _SENDUIPRIVATECRKES_H |
|
23 |
|
24 // CONSTANTS |
|
25 |
|
26 /** |
|
27 * Send UI Service API |
|
28 */ |
|
29 const TUid KCRUidSendUi = {0x10282823}; |
|
30 |
|
31 /** |
|
32 * Number of sending services |
|
33 */ |
|
34 const TInt32 KKeySendUiServiceCount = 0x01000000; |
|
35 const TInt32 KKeySendUiServiceLanguage = 0x01000001; |
|
36 const TInt32 KKeySendUiServiceMtmCount = 0x01000002; |
|
37 const TInt32 KKeySendUiServiceEcomCount = 0x01000003; |
|
38 const TInt32 KKeySendUiFeatureManagerServices = 0x01000004; |
|
39 |
|
40 // Sendui service list is updated, if Postcard, Audio Message or MMS Upload service state changes according to FeatureManager |
|
41 const TInt32 KSendUiPostcard = 0x00000001; |
|
42 const TInt32 KSendUiAudioMessage = 0x00000002; |
|
43 const TInt32 KSendUiMmsUpload = 0x00000004; |
|
44 |
|
45 /** |
|
46 * Elements of the sending service structure |
|
47 */ |
|
48 const TInt32 KSendUiServiceId = 0x00000000; |
|
49 const TInt32 KSendUiServiceProviderId = 0x00000001; |
|
50 const TInt32 KSendUiServiceFlags = 0x00000002; |
|
51 const TInt32 KSendUiServiceBodySize = 0x00000003; |
|
52 const TInt32 KSendUiServiceMessageSize = 0x00000004; |
|
53 const TInt32 KSendUiServiceTechnologyType = 0x00000005; |
|
54 const TInt32 KSendUiServiceName = 0x00000006; |
|
55 const TInt32 KSendUiServiceMenuName = 0x00000007; |
|
56 const TInt32 KSendUiServiceFeatures = 0x00000008; |
|
57 const TInt32 KSendUiServiceAddress = 0x00000009; |
|
58 |
|
59 /** |
|
60 * Service index "position": |
|
61 * |
|
62 * 1st sending service: |
|
63 * 0x0000 |
|
64 * 0x0001 |
|
65 * 0x0002 |
|
66 * ... |
|
67 * 2nd sending service: |
|
68 * 0x0100 |
|
69 * 0x0101 |
|
70 * 0x0102 |
|
71 * ... |
|
72 * 3rd sending service: |
|
73 * 0x0200 |
|
74 * 0x0201 |
|
75 * 0x0202 |
|
76 * ... |
|
77 * etc. |
|
78 */ |
|
79 const TInt32 KSendUiServiceIndex = 0x00000100; |
|
80 |
|
81 /** |
|
82 * Maximum length for the name of the sending service |
|
83 */ |
|
84 const TInt32 KSendUiServiceMaxNameLength = 40; |
|
85 |
|
86 #endif |