|
1 /* |
|
2 * Copyright (c) 2007 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: Constants for logsserviceextension |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef LOGSEXTCONSTS_H |
|
21 #define LOGSEXTCONSTS_H |
|
22 |
|
23 |
|
24 // CONSTANT LITERALS |
|
25 |
|
26 _LIT8( KBrandedBitmapItemId, "service_active_image_small" );//old |
|
27 _LIT8( KDefaultBrandedBitmapItemId, "default_brand_image" );//new note: at the moment(10.05.07) both version are supported by the branding package |
|
28 _LIT8( KAppId, "xsp" ); |
|
29 _LIT8( KDefaultBrandId, "xsp" ); |
|
30 |
|
31 _LIT8( KLogsExtDataFldTag_PresentityId, "PRE"); //PresentityId |
|
32 _LIT8( KLogsExtDataFldTag_ServiceId, "SI"); //ServiceId |
|
33 _LIT8( KLogsExtDataFldTag_ContactLink, "CL"); //ContactLink |
|
34 |
|
35 _LIT( KPersonPresTmpl, "person:%S:image" ); |
|
36 |
|
37 // CONSTANT NUMBERS |
|
38 const TInt KProtocolUid = 0x10282EF2; |
|
39 const TInt KNumberDelimitersModifiedIconString = 5; |
|
40 const TInt KNumberDelimitersUnmodifiedIconStringMin = 2; |
|
41 const TInt KNumberDelimitersUnmodifiedIconStringMax = 4; |
|
42 |
|
43 |
|
44 // the granularity of the array that contains the event info entries |
|
45 const TInt KEventInfoManagerArrayGranularity = 2; |
|
46 const TInt KPresenceTableManagerGranularity = 2; |
|
47 const TInt KBrandFetcherArrayGranularity = 2; |
|
48 const TInt KPresenceFetcherArrayGranularity = 2; |
|
49 const TInt KPresentityIdFetcherArrayGranularity = 2; |
|
50 const TInt KLogIdPresIdMappingArrayGranularity = 2; |
|
51 const TInt KShowPresentityArrayGranularity = 2; |
|
52 const TInt KInitialIndexValue = -1; |
|
53 |
|
54 // if defined, we test the new feature .... |
|
55 //#define PRES_GROUP_TEST |
|
56 |
|
57 /** buddy list id */ |
|
58 _LIT( KPresenceBuddyList, "buddylist"); |
|
59 /** blocked list id */ |
|
60 _LIT( KPresenceBlockedList, "blockedcontacts"); |
|
61 /** for virtual online buddy group */ |
|
62 _LIT( KPresenceOnlineBuddy ,"online_buddies"); |
|
63 /** Subscribed buddys */ |
|
64 _LIT( KPresenceSubcribedBuddys, "subs_buddys"); |
|
65 |
|
66 #endif // LOGSEXTCONSTS_H |