|
1 /* |
|
2 * Copyright (c) 2008 - 2009 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 cmailhandlerplugin Central Repository keys. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CMAILWIDGETCENREPKEYS_H |
|
20 #define CMAILWIDGETCENREPKEYS_H |
|
21 |
|
22 #include <e32std.h> |
|
23 |
|
24 // Repository Uid |
|
25 const TUid KCRUidCmailWidget = {0x2001E272}; |
|
26 |
|
27 const TUint32 KCMailMailboxIdBase = 0x00000100; |
|
28 const TUint32 KCMailPluginIdBase = 0x00000200; |
|
29 const TUint32 KCMailWidgetContentIdBase = 0x00000300; |
|
30 |
|
31 // Constants for observing the whole repository |
|
32 const TUint32 KCmailPartialKey = 0x00000000; |
|
33 const TUint32 KCmailMask = 0x00000000; |
|
34 |
|
35 // Constants that define internal mailbox entries |
|
36 const TUint32 KCmailPartialKeyRange = 0x00000100; |
|
37 const TUint32 KCmailRangeMask = 0x0000ff00; |
|
38 |
|
39 // Constants that define external mailbox entries |
|
40 const TUint32 KCmailExtMailboxKeyRange = 0x00001100; |
|
41 const TUint32 KCmailExtMailboxRangeMask = 0x0000ff00; |
|
42 |
|
43 // External mailboxes' base indexes |
|
44 const TUint32 KCMailExtMailboxBase = 0x00001100; |
|
45 const TUint32 KCMailExtPluginIdOffset = 0x00000100; |
|
46 const TUint32 KCMailExtWidgetCidOffset = 0x00000200; |
|
47 |
|
48 // Key to store mailboxes where is new messages. Format: <mailbox1><mailbox2><mailbox3>... |
|
49 const TUint32 KCMailMailboxesWithNewMail = 0x10000003; |
|
50 |
|
51 #endif // CMAILWIDGETCENREPKEYS_H |