epoc32/include/mw/mtmdef.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 /**
    17  @file
    18  @publishedAll
    19  @released
    20 */
    21 
    22 #if !defined(__MTMDEF_H__)
    23 #define __MTMDEF_H__
    24 #if !defined(__MTCLBASE_H__)
    25 #include <mtclbase.h>
    26 #endif
    27 #if !defined(__MTMDEF_HRH__)
    28 #include <mtmdef.hrh>
    29 #endif
    30 
    31 // no matching message parts
    32 
    33 const TMsvPartList KMsvMessagePartNone			= 0x00000000;
    34 // message parts
    35 
    36 // Message body 
    37 const TMsvPartList KMsvMessagePartBody			= 0x00000001;
    38 
    39 // Message recipients 
    40 
    41 const TMsvPartList KMsvMessagePartRecipient		= 0x00000002;
    42 
    43 // Message originator 
    44 
    45 const TMsvPartList KMsvMessagePartOriginator	= 0x00000004;
    46 // Message description 
    47 const TMsvPartList KMsvMessagePartDescription	= 0x00000008;
    48 // Message date 
    49 
    50 const TMsvPartList KMsvMessagePartDate			= 0x00000010;
    51 // Message attachments 
    52 
    53 const TMsvPartList KMsvMessagePartAttachments	= 0x00000020;
    54 
    55 //Flag to specify case-sensitive search. 
    56 const TMsvPartList KMsvFindCaseSensitive		= 0x80000000;
    57 
    58 // Flag to specify search for whole words. 
    59 const TMsvPartList KMsvFindWholeWord			= 0x40000000;
    60 
    61 
    62 // Maximum length (in characters) of find text. 
    63 const TInt KMsvMaxFindTextLength = 500;
    64 
    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
    68 
    69 // Message Part To
    70 const TMsvPartList KMsvMessagePartTo            = 0x00000040;
    71 
    72 // Message Part From
    73 const TMsvPartList KMsvMessagePartFrom          = 0x00000080;
    74 
    75 //Message Part Cc
    76 const TMsvPartList KMsvMessagePartCc            = 0x00000100;
    77 
    78 //Message Part Bcc
    79 const TMsvPartList KMsvMessagePartBcc           = 0x00000200;
    80 
    81 //Message Part Subject
    82 const TMsvPartList KMsvMessagePartSubject       = 0x00000400;
    83 
    84 // Flag to specify wild card characters
    85 const TMsvPartList KMsvFindUsingWildCard		= 0x00000800;
    86 
    87 
    88 #endif  // mtmdef#