1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
22 #if !defined(__MTMDEF_H__)
24 #if !defined(__MTCLBASE_H__)
27 #if !defined(__MTMDEF_HRH__)
31 // no matching message parts
33 const TMsvPartList KMsvMessagePartNone = 0x00000000;
37 const TMsvPartList KMsvMessagePartBody = 0x00000001;
41 const TMsvPartList KMsvMessagePartRecipient = 0x00000002;
45 const TMsvPartList KMsvMessagePartOriginator = 0x00000004;
46 // Message description
47 const TMsvPartList KMsvMessagePartDescription = 0x00000008;
50 const TMsvPartList KMsvMessagePartDate = 0x00000010;
51 // Message attachments
53 const TMsvPartList KMsvMessagePartAttachments = 0x00000020;
55 //Flag to specify case-sensitive search.
56 const TMsvPartList KMsvFindCaseSensitive = 0x80000000;
58 // Flag to specify search for whole words.
59 const TMsvPartList KMsvFindWholeWord = 0x40000000;
62 // Maximum length (in characters) of find text.
63 const TInt KMsvMaxFindTextLength = 500;
65 // These constants are used to do advance search in the message store
66 // The old implementation does not make use of these constants
67 // A search operation performed using these constants wont give any results
70 const TMsvPartList KMsvMessagePartTo = 0x00000040;
73 const TMsvPartList KMsvMessagePartFrom = 0x00000080;
76 const TMsvPartList KMsvMessagePartCc = 0x00000100;
79 const TMsvPartList KMsvMessagePartBcc = 0x00000200;
81 //Message Part Subject
82 const TMsvPartList KMsvMessagePartSubject = 0x00000400;
84 // Flag to specify wild card characters
85 const TMsvPartList KMsvFindUsingWildCard = 0x00000800;