|
1 /* |
|
2 * Copyright (c) 2006-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: ECom search interface definition |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef DEFINES_H |
|
22 #define DEFINES_H |
|
23 |
|
24 #include<e32std.h> |
|
25 |
|
26 const TInt KSearchThisManyMessagesInOneGo = 50; |
|
27 const TUint KKeywordsArrayGranularity = 5; |
|
28 const TUint KEmailMessageItemIdLengthInHex = 8; |
|
29 const TUint KEmailBufferExpandSize = 25; |
|
30 const TInt KEmailSegmentLength = 256; |
|
31 const TInt KMaxMimeLength = 50; |
|
32 const TUint KSmsMessageItemIdLengthInHex = 8; |
|
33 const TUint KSmsBufferExpandSize = 25; |
|
34 const TInt KLongEmailDefinition = 160; |
|
35 const TInt KSearchTimeFrame = 100000; // milliseconds given to each RunL cycle. |
|
36 // searches as many items as possible in this time. |
|
37 const TInt KBufferLength = 24; |
|
38 |
|
39 _LIT( KMessagesSearchPlugIn, "CMessagesSearchPlugIn"); |
|
40 _LIT8(KText, "MIME/TEXT"); |
|
41 _LIT( KResoureFileName, "messagespluginresource.RSC" ); |
|
42 |
|
43 |
|
44 enum TMessageSearchPlugInPanics |
|
45 { |
|
46 EMessageSearchPlugInWrongConstructionParameters = 1, |
|
47 EMessageSearchPlugInActiveSearchingExist, |
|
48 EMessageSearchPlugInNoOperation |
|
49 }; |
|
50 |
|
51 #endif // DEFINES_H |
|
52 |
|
53 // End of File |