emailservices/emailstore/message_store/client/api/MsgStorePropertyKeys.h
changeset 0 8466d47a6819
child 8 e1b6206813b4
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Message store key definitions.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __MSG_STORE_PROPERTY_KEYS_H__
       
    21 #define __MSG_STORE_PROPERTY_KEYS_H__
       
    22 
       
    23 #include <e32std.h>
       
    24 
       
    25 /*************************************************************************
       
    26  * 
       
    27  * Properties common to all plugins and sync engines
       
    28  * 
       
    29  ************************************************************************/
       
    30 
       
    31 /** The property key for status flags field.  Its property value type is EMsgStoreTypeUint32.
       
    32  *  The values are defined in email fw's TFSMsgFlag enum (CFSMailCommon.h).
       
    33  * 
       
    34  *  The following code updates the "flags" field with the local read flag
       
    35  *
       
    36  *   <pre>
       
    37  *     TUint index;
       
    38  *     if ( message->FindProperty( KMsgStorePropertyFlags, index ) )
       
    39  *         {
       
    40  *         TUint flags = message->PropertyValueUint32L( index );
       
    41  *         flags |= EFSMsgFlag_Read_Locally;
       
    42  *         message->UpdatePropertyL( index, flags );
       
    43  *         }
       
    44  *     else
       
    45  *         {
       
    46  *         message->AddPropertyL( KMsgStorePropertyFlags, (TUint32)EFSMsgFlag_Read_Locally);
       
    47  *         }
       
    48  *   </pre>
       
    49  * 
       
    50  * @see TFSMsgFlag
       
    51  */
       
    52 _LIT8( KMsgStorePropertyFlags,       "flags" );    
       
    53      
       
    54 
       
    55 /** The property key for the received date.  It's property value type should be EMsgStoreTypeTime
       
    56  *  that represents a time stamp. 
       
    57  *
       
    58  *  The following code adds the "received" property to a message.
       
    59  *
       
    60  *   <pre>
       
    61  *     TTime time;
       
    62  * 	   time.HomeTime();  
       
    63  *     message->AddPropertyL( KMsgStorePropertyReceivedAt, time );               
       
    64  *   </pre>
       
    65  *
       
    66  *  The following code reads the "received" property from a message
       
    67  * 
       
    68  *   <pre>
       
    69  *     TUint index;
       
    70  *     TTime time;
       
    71  *     if ( message->FindPropertyL( KMsgStorePropertyReceivedAt, index ) )
       
    72  *         {
       
    73  *         message->PropertyValueTimeL( index, time );
       
    74  *         }
       
    75  *   </pre>
       
    76  * 
       
    77  *  Note: the message store needs to perform sorting based on the values of this field,
       
    78  *        so storing this field in different type of values may cause sorting to break.
       
    79  */
       
    80 _LIT8( KMsgStorePropertyReceivedAt,  "received" ); 
       
    81 
       
    82 /** The property key for the received date.  It's property value type should be EMsgStoreTypeTime
       
    83  *  that represents a time stamp. See KMsgStorePropertyReceivedAt for examples.
       
    84  * 
       
    85  *  @see         KMsgStorePropertyReceivedAt
       
    86  */
       
    87 _LIT8( KMsgStorePropertySent, "sent" );
       
    88 
       
    89 /** The property key for the total message size on the server; bodies + attachments.
       
    90  *  It's property value type should be EMsgStoreTypeUint32.
       
    91  */
       
    92 _LIT8( KMsgStorePropertyMessageSizeOnServer, "size_on_server" );
       
    93 
       
    94 /** The property key for the "sender" field. Its property value type should be EMsgStoreTypeAddress. 
       
    95  *
       
    96  *  The following code adds the "sender" property to a message:
       
    97  *
       
    98  *   <pre>
       
    99  *     RMsgStoreAddress addr;
       
   100  *     CleanupClosePushL( addr );
       
   101  *     addr.iEmailAddress.Create(_L("myAddres1"));
       
   102  *     addr.iDisplayName.Create(_L("My Name 1"));
       
   103  *     
       
   104  *     message->AddPropertyL( KMsgStorePropertySender, addr );
       
   105  *     CleanupStack::PopAndDestroy( &addr );
       
   106  *   </pre>
       
   107  * 
       
   108  *  Note: the message store needs to perform sorting based on the values of this field,
       
   109  *        so storing this field in different type of values may cause sorting to break.
       
   110  */
       
   111 _LIT8( KMsgStorePropertySender,      "sender" );        
       
   112 
       
   113 
       
   114 /** The property key for the "from" field.  Its property value type should be EMsgStoreTypeAddress.
       
   115  *
       
   116  *  @see  KMsgStorePropertySender
       
   117  */
       
   118 _LIT8( KMsgStorePropertyFrom,        "from" );          
       
   119 
       
   120 
       
   121 /** The property key for the "to" field. Its property value type should be EMsgStoreTypeAddress.
       
   122  *
       
   123  *  @see  KMsgStorePropertyFrom
       
   124  *
       
   125  *  Note that this field can be "duplicated" to store multiple addresses. So call FindProperty()
       
   126  *  in a loop to retrieve all the "to" fields.
       
   127  * 
       
   128  *  The following code adds multiple recipiants to a message:
       
   129  * 
       
   130  *  <pre>
       
   131  *  for ( int i = 0 ; i < aAddressArray.Count() ; i++ )
       
   132  *     {
       
   133  *     RMsgStoreAddress addr;
       
   134  *     CleanupClosePushL( addr );
       
   135  * 
       
   136  *     addr.iEmailAddress.Create( aAddressArray[i] );
       
   137  *     addr.iDisplayName.Create( aDisplayName[i] );
       
   138  *     
       
   139  *     message->AddPropertyL( KMsgStorePropertyTo, addr );
       
   140  * 
       
   141  *     CleanupStack::PopAndDestroy( &addr ):
       
   142  *     }
       
   143  *   </pre>
       
   144  *
       
   145  *  The following code retrieves ALL the recipiants in the "to" field:
       
   146  *
       
   147  *  <pre>
       
   148  *  TInt index = 0;                                                                  
       
   149  *  while ( message->FindProperty( KMsgStorePropertyTo, index, index ) )                
       
   150  *      {                                                                                 
       
   151  *      RMsgStoreAddress addr;
       
   152  *      CleanupClosePushL( addr );
       
   153  * 
       
   154  *      message->PropertyValueAddressL( index, addr );
       
   155  * 
       
   156  *      //do something with addr
       
   157  *                :
       
   158  * 
       
   159  *      CleanupStack::PopAndDestroy( &addr );
       
   160  *      }                                                                               
       
   161  *   </pre>
       
   162  */
       
   163 _LIT8( KMsgStorePropertyTo,          "to" );            
       
   164 
       
   165 
       
   166 /** The property key for the "cc" field. Its property value type should be EMsgStoreTypeAddress.
       
   167  *
       
   168  *  Note that this field can be "duplicated" to store multiple addresses. See KMsgStorePropertyTo
       
   169  *  for examples.
       
   170  * 
       
   171  *  @see  KMsgStorePropertyTo
       
   172  */
       
   173 _LIT8( KMsgStorePropertyCc,          "cc" );            
       
   174 
       
   175 
       
   176 /** The property key for the "bcc" field. Its property value type should be EMsgStoreTypeAddress.
       
   177  *
       
   178  *  Note that this field can be "duplicated" to store multiple addresses. See KMsgStorePropertyTo
       
   179  *  for examples.
       
   180  * 
       
   181  *  @see  KMsgStorePropertyTo
       
   182  */
       
   183 _LIT8( KMsgStorePropertyBcc,         "bcc" ); 
       
   184 
       
   185 /** The property key for the "replyTo" field. Its property value type should be EMsgStoreTypeAddress.
       
   186  *
       
   187  *  Note that this field can be "duplicated" to store multiple addresses. See KMsgStorePropertyTo
       
   188  *  for examples.
       
   189  * 
       
   190  *  @see  KMsgStorePropertyTo
       
   191  */
       
   192 _LIT8( KMsgStorePropertyReplyTo, "replyto" );
       
   193 
       
   194 /** Property for storing the subject line of a message.
       
   195  *  value type:  EMsgStoreTypeDes
       
   196  * 
       
   197  *  The following code adds the subject field to a message:
       
   198  * 
       
   199  *   </pre>
       
   200  *     message->AddPropertyL( KMsgStorePropertySubject, aSubject );
       
   201  *   </pre>
       
   202  */
       
   203 _LIT8( KMsgStorePropertySubject, "subject" );
       
   204 
       
   205 /** Generic property key for giving a container (folder, attachment, etc, a name).
       
   206  *  value type: EMsgStoreTypeDes
       
   207  */
       
   208 _LIT8( KMsgStorePropertyName, "name" );
       
   209 
       
   210 /** The character set property key.
       
   211  *  value type: EMsgStoreTypeDes8
       
   212  */
       
   213 _LIT8( KMsgStorePropertyCharset, "charset" );
       
   214 
       
   215 /** Property whose value indicates the content size of the message part.
       
   216  * value type:  EMsgStoreTypeUint32
       
   217  */
       
   218 _LIT8( KMsgStorePropertySize, "size" );
       
   219 
       
   220 /**
       
   221  * Property whose value indicates the downloaded size of a message part content.
       
   222  * value type:  EMsgStoreTypeUint32
       
   223  * 
       
   224  * If "retrieved_size" == "size" than the download of the message part content is complete.
       
   225  */
       
   226 _LIT8( KMsgStorePropertyRetrievedSize, "retrieved_size" );
       
   227 
       
   228 /*************************************************************************
       
   229  * 
       
   230  * RFC 2045, RFC 2183 and other content related properties
       
   231  * 
       
   232  ************************************************************************/
       
   233 
       
   234 /** The property key for the "content-type" field.  
       
   235  *  Its property value type EMsgStoreTypeDes
       
   236  *
       
   237  */
       
   238 _LIT8( KMsgStorePropertyContentType, "Content-Type" ); 
       
   239 
       
   240 /** The property key for the "content-description" field.  
       
   241  *  Its property value type EMsgStoreTypeDes
       
   242  *
       
   243  */
       
   244 _LIT8( KMsgStorePropertyContentDescription, "Content-Description" ); 
       
   245 
       
   246 /** The property key for the "content-disposition" field.  
       
   247  *  Its property value type EMsgStoreTypeDes
       
   248  *
       
   249  */
       
   250 _LIT8( KMsgStorePropertyContentDisposition, "Content-Disposition" ); 
       
   251 
       
   252 /** The property key for the "content-class" field.  
       
   253  *  Its property value type EMsgStoreTypeDes
       
   254  *
       
   255  */
       
   256 _LIT8( KMsgStorePropertyContentClass, "Content-Class" ); 
       
   257 
       
   258 /** The property key for the "content-id" field.  
       
   259  *  Its property value type EMsgStoreTypeDes
       
   260  *
       
   261  */
       
   262 _LIT8( KMsgStorePropertyContentId, "Content-Id" ); 
       
   263 
       
   264 /*************************************************************************
       
   265  * 
       
   266  * Intellisync specific properties 
       
   267  * 
       
   268  ************************************************************************/
       
   269 
       
   270 /** This is one of the Intellisync quick properties.  
       
   271  *  It's property value type should be EMsgStoreTypeTime.
       
   272  *
       
   273  *  @see KMsgStorePropertyReceivedAt
       
   274  */
       
   275 _LIT8( KMsgStorePropertyReplyBy,     "replyby" );
       
   276 
       
   277 /** This is one of the Intellisync quick properties.  
       
   278  *  It's property value type should be EMsgStoreTypeTime.
       
   279  *
       
   280  *  @see KMsgStorePropertyReceivedAt
       
   281  */
       
   282 _LIT8( KMsgStorePropertyCompletedAt, "completed" );
       
   283 
       
   284 /**
       
   285  * key:         mboxaddr.
       
   286  * duplicated:  Yes. Call FindProperty() in a loop to get all propertis with this key.
       
   287  * used By:     Message - the value contains the reply address 
       
   288  * value type:  EMsgStoreTypeAddress
       
   289  * 
       
   290  * @see         KMsgStorePropertyFrom
       
   291  */
       
   292 _LIT8( KMsgStorePropertyMboxAddr, "mboxaddr" );
       
   293 
       
   294 /**
       
   295  * key:         download.
       
   296  * used By:     Message Body or Attachment- the value indicates whether or not the content should be downloaded 
       
   297  * value type:  TBool
       
   298  * value range: ETrue or EFalse
       
   299  */
       
   300 _LIT8( KMsgStorePropertyDownload, "download" );
       
   301 
       
   302 
       
   303 /*************************************************************************
       
   304  * Message store internal properties. 
       
   305  ************************************************************************/
       
   306 
       
   307 /** The property key for the "iEmailAddress" field in the RMsgStoreAddress. 
       
   308  *
       
   309  *  @see  KMsgStorePropertyTo
       
   310  *
       
   311  */
       
   312 _LIT8( KMsgStorePropertyEmailAddress, "email_address" );           
       
   313 
       
   314 /** The property key for the "iDisplayName" field in the RMsgStoreAddress. 
       
   315  *
       
   316  *  @see  KMsgStorePropertyTo
       
   317  *
       
   318  */
       
   319 _LIT8( KMsgStorePropertyDisplayName, "display_name" );           
       
   320 
       
   321 
       
   322 /** Applies to folders. Indicates whether the folder is a local only. 
       
   323  *  Its property value type can be EMsgStoreTypeBool.
       
   324  *
       
   325  */
       
   326 _LIT8( KMsgStorePropertyLocal,       "local" ); 
       
   327 
       
   328 /** Flag that indicates that whether a message part is an embedded message
       
   329  */
       
   330 _LIT8( KMsgStorePropertyIsEmbeddedMsg, "is-embedded-msg");
       
   331 
       
   332 /** A TUint32 folder type property to identify the mailbox root folders.
       
   333  * used by:     any MsgStore client, the MsgStore itself does not use it internally.
       
   334  * value type:  TUint32.
       
   335  * value range: whatever the TMsgStoreFolderType enum defines.
       
   336  */
       
   337 _LIT8( KMsgStorePropertyFolderType, "folder_type");
       
   338 
       
   339 /** A TDesC type property to identify the displyname of a non-root folder
       
   340  * used by:     any MsgStore client, the MsgStore itself does not use it internally.
       
   341  * value type:  TDesC.  
       
   342  * Note: only subfolders should have this property.
       
   343  */
       
   344 _LIT8( KMsgStorePropertyFolderDisplayName, "folder_disp_name");
       
   345 
       
   346 /**
       
   347  * key:         calendar.
       
   348  * duplicated:  No.
       
   349  * used By:     Message - the value contains the body 
       
   350  * value type:  CMsgStorePropertyContainer that represents a body part
       
   351  * @see         Part
       
   352  * @see         KMsgStorePropertyKeyCalendar
       
   353  */
       
   354 _LIT8( KMsgStorePropertyMeetingRequest, "meetingRequest" );
       
   355 
       
   356 /**
       
   357  * key:         m.guid.
       
   358  * used By:     Calendar - the value contains guid
       
   359  * value type:  binary
       
   360  */
       
   361 _LIT8( KMsgStorePropertyMrGuid, "m.mrGuid" );
       
   362 
       
   363 /**
       
   364  * key:         m.meetingApptId.
       
   365  * used By:     Calendar - the value contains meeting id
       
   366  * value type:  TUint32
       
   367  */
       
   368 _LIT8( KMsgStorePropertyMrId, "m.mrId" );
       
   369 
       
   370 /**
       
   371  * key:         m.to.
       
   372  * used By:     Calendar - the value contains meetingTo
       
   373  * value type:  addressList
       
   374  */
       
   375 _LIT8( KMsgStorePropertyMrTo, "m.mrTo" );
       
   376 
       
   377 /**
       
   378  * key:         m.cc.
       
   379  * used By:     Calendar - the value contains meetingCc
       
   380  * value type:  addressList
       
   381  */
       
   382 _LIT8( KMsgStorePropertyMrCc, "m.mrCc" );
       
   383 
       
   384 /**
       
   385  * key:         m.creationDate.
       
   386  * used By:     Calendar - the value contains creation date
       
   387  * value type:  Date
       
   388  */
       
   389 _LIT8( KMsgStorePropertyMrCreationDate, "m.mrCreationDate" );
       
   390 
       
   391 /**
       
   392  * key:         m.sentDate.
       
   393  * used By:     Calendar - the value contains sent date
       
   394  * value type:  Date
       
   395  */
       
   396 _LIT8( KMsgStorePropertyMrSentDate, "m.mrSentDate" );
       
   397 
       
   398 /**
       
   399  * key:         m.type.
       
   400  * used By:     Calendar - the value contains type
       
   401  * value type:  TUint32 of TMsgStoreICalMethod, same as CCalBase's TICalMethod.
       
   402  */
       
   403 _LIT8( KMsgStorePropertyMrMethod, "m.mrMethod" );
       
   404 
       
   405 enum TMsgStoreICalMethod
       
   406 	{
       
   407 	EMsgStoreMethodNone,
       
   408 	EMsgStoreMethodPublish,
       
   409 	EMsgStoreMethodRequest,
       
   410 	EMsgStoreMethodReply, 
       
   411 	EMsgStoreMethodAdd,
       
   412 	EMsgStoreMethodCancel,
       
   413 	EMsgStoreMethodRefresh,
       
   414 	EMsgStoreMethodCounter,
       
   415 	EMsgStoreMethodDeclineCounter
       
   416 	};
       
   417 
       
   418 /**
       
   419  * Meeting request acceptance status.
       
   420  * value type: TUint32 of TMsgStoreICalStatus, same as CCalEntry's TStatus.
       
   421  */
       
   422 _LIT8( KMsgStorePropertyMrStatus, "m.mrStatus" );
       
   423 
       
   424 enum TMsgStoreICalStatus
       
   425 	{
       
   426 	EMsgStoreStatusTentative, 
       
   427 	EMsgStoreStatusConfirmed, 
       
   428 	EMsgStoreStatusCancelled, 
       
   429 	EMsgStoreStatusNullStatus
       
   430 	};
       
   431 
       
   432 
       
   433 /**
       
   434  * key:         m.readySyncGo.
       
   435  * used By:     Calendar - the value contains ready sync
       
   436  * value type:  TDesC
       
   437  */
       
   438 _LIT8( KMsgStorePropertyMrReadySyncGo, "m.mrReadySyncGo" );
       
   439 
       
   440 /**
       
   441  * key:         m.startDate.
       
   442  * used By:     Calendar - the value contains start date
       
   443  * value type:  Date
       
   444  */
       
   445 _LIT8( KMsgStorePropertyMrStartDate, "m.mrStartDate" );
       
   446 
       
   447 /**
       
   448  * key:         m.endDate.
       
   449  * used By:     Calendar - the value contains end date
       
   450  * value type:  Date
       
   451  */
       
   452 _LIT8( KMsgStorePropertyMrEndDate, "m.mrEndDate" );
       
   453 
       
   454 /**
       
   455  * key:         m.noTime.
       
   456  * used By:     Calendar - the value contains no time flag
       
   457  * value type:  TBool
       
   458  */
       
   459 _LIT8( KMsgStorePropertyMrNoTime, "m.mrNoTime" );
       
   460 
       
   461 /**
       
   462  * key:         m.private.
       
   463  * used By:     Calendar - the value contains private
       
   464  * value type:  TBool
       
   465  */
       
   466 _LIT8( KMsgStorePropertyMrPrivate, "m.mrPrivate" );
       
   467 
       
   468 /**
       
   469  * key:         m.reminder.
       
   470  * used By:     Calendar - the value contains reminder
       
   471  * value type:  TBool
       
   472  */
       
   473 _LIT8( KMsgStorePropertyMrReminder, "m.mrReminder" );
       
   474 
       
   475 /**
       
   476  * key:         m.reminderTime.
       
   477  * used By:     Calendar - the value contains reminder time offset
       
   478  * value type:  TUint32
       
   479  */
       
   480 _LIT8( KMsgStorePropertyMrReminderTime, "m.mrReminderTime" );
       
   481 
       
   482 /**
       
   483  * key:         m.location.
       
   484  * used By:     Calendar - the value contains location
       
   485  * value type:  TDesC
       
   486  */
       
   487 _LIT8( KMsgStorePropertyMrLocation, "m.mrLocation" );
       
   488 
       
   489 /**
       
   490  * key:         m.recurType.
       
   491  * used By:     Calendar - the value contains recurrence type
       
   492  * value type:  TUint32
       
   493  */
       
   494 _LIT8( KMsgStorePropertyMrRecurType, "m.mrRecurType" );
       
   495 
       
   496 /**
       
   497  * key:         m.frequency.
       
   498  * used By:     Calendar - the value contains
       
   499  * value type:  TUint32
       
   500  */
       
   501 _LIT8( KMsgStorePropertyMrFrequency, "m.mrFrequency" );
       
   502 
       
   503 /**
       
   504  * Daily recurrence rule's day of week.
       
   505  * value type:  TUint32 of TMsgStoreDayOfWeek flags.
       
   506  */
       
   507 _LIT8( KMsgStorePropertyMrDayOfWeekMask, "m.mrDayOfWeekMask" );
       
   508 
       
   509 enum TMsgStoreDayOfWeek
       
   510     {
       
   511     KMsgStoreDaySunday    = 0x01,
       
   512     KMsgStoreDayMonday    = 0x02,
       
   513     KMsgStoreDayTuesday   = 0x04,
       
   514     KMsgStoreDayWednesday = 0x08,
       
   515     KMsgStoreDayThursday  = 0x10,
       
   516     KMsgStoreDayFriday    = 0x20,
       
   517     KMsgStoreDaySaturday  = 0x40
       
   518     };
       
   519 
       
   520 /**
       
   521  * key:         m.recurEndDate.
       
   522  * used By:     Calendar - the value contains recurrence end date
       
   523  * value type:  Date
       
   524  */
       
   525 _LIT8( KMsgStorePropertyMrRecurEndDate, "m.mrRecurEndDate" );
       
   526 
       
   527 /**
       
   528  * Recurring for how many instances.
       
   529  * TUint32
       
   530  */
       
   531 _LIT8( KMsgStorePropertyMrRecurCount, "m.mrRecurCount" );
       
   532 
       
   533 /**
       
   534  * key:         m.busyStatus.
       
   535  * used By:     Calendar - the value contains busy status
       
   536  * value type:  TUint32
       
   537  */
       
   538 _LIT8( KMsgStorePropertyMrBusyStatus, "m.mrBusyStatus" );
       
   539 
       
   540 /**
       
   541  * key:         m.dayOfMonth.
       
   542  * used By:     Calendar - the value contains day of month
       
   543  * value type:  TUint32
       
   544  */
       
   545 _LIT8( KMsgStorePropertyMrDayOfMonth, "m.mrDayOfMonth" );
       
   546 
       
   547 /**
       
   548  * key:         m.contacts.
       
   549  * used By:     Calendar - the value contains contacts
       
   550  * value type:  TDesC[]
       
   551  */
       
   552 _LIT8( KMsgStorePropertyMrContacts, "m.mrContacts" );
       
   553 
       
   554 /**
       
   555  * key:         m.weekNumber.
       
   556  * used By:     Calendar - the value contains week numbers
       
   557  * value type:  TUint32
       
   558  */
       
   559 _LIT8( KMsgStorePropertyMrWeekNo, "m.mrWeekNumber" );
       
   560 
       
   561 /**
       
   562  * key:         m.timeZone.
       
   563  * used By:     Calendar - the value contains time zone
       
   564  * value type:  TDesC
       
   565  */
       
   566 _LIT8( KMsgStorePropertyMrTimeZone, "m.mrTimeZone" );
       
   567 
       
   568 /**
       
   569  * key:         m.additions.
       
   570  * used By:     Calendar - the value contains additions
       
   571  * value type:  Date[]
       
   572  */
       
   573 _LIT8( KMsgStorePropertyMrAdditions, "m.mrAdditions" );
       
   574 
       
   575 /**
       
   576  * key:         m.subfolder.
       
   577  * used By:     Calendar - the value contains subfolder
       
   578  * value type:  TDesC
       
   579  */
       
   580 //_LIT8( KMsgStorePropertyKeySubfolder, "m.subfolder" );
       
   581 
       
   582 /**
       
   583  * key:         m.silent.
       
   584  * used By:     Calendar - the value contains silent flag
       
   585  * value type:  TBool
       
   586  */
       
   587 _LIT8( KMsgStorePropertyMrSilent, "m.mrSilent" );
       
   588 
       
   589 /**
       
   590  * key:         m.delegateMail.
       
   591  * used By:     Calendar - the value contains delegate mail flag
       
   592  * value type:  TBool
       
   593  */
       
   594 _LIT8( KMsgStorePropertyMrDelegateMail, "m.mrDelegateMail" );
       
   595 
       
   596 /**
       
   597  * key:         m.exception.
       
   598  * used By:     Calendar - the value contains exception flag
       
   599  * value type:  TBool
       
   600  */
       
   601 _LIT8( KMsgStorePropertyMrException, "m.mrException" );
       
   602 
       
   603 /**
       
   604  * key:         m.exceptions.
       
   605  * used By:     Calendar - the value contains exceptions of dates
       
   606  * value type:  Date[]
       
   607  */
       
   608 _LIT8( KMsgStorePropertyMrExceptions, "m.mrExceptions" );
       
   609 
       
   610 /**
       
   611  * key:         m.meetingUpdate.
       
   612  * used By:     Calendar - the value contains meeting update flag
       
   613  * value type:  TBool
       
   614  */
       
   615 _LIT8( KMsgStorePropertyMrMeetingUpdate, "m.mrMeetingUpdate" );
       
   616 
       
   617 /**
       
   618  * key:         m.singleInvite.
       
   619  * used By:     Calendar - the value contains single invite flag
       
   620  * value type:  TBool
       
   621  */
       
   622 _LIT8( KMsgStorePropertyMrSingleInvite, "m.mrSingleInvite" );
       
   623 
       
   624 /**
       
   625  * key:         m.body.
       
   626  * used By:     Calendar - the value contains the body of meeting request
       
   627  * value type:  TDesC
       
   628  */
       
   629 _LIT8( KMsgStorePropertyMrCalBody, "m.mrCalBody" );
       
   630 
       
   631 /**
       
   632  * key:         m.dowPref.
       
   633  * used By:     Calendar - the value contains DOW pref
       
   634  * value type:  TUint32
       
   635  */
       
   636 _LIT8( KMsgStorePropertyMrDowPref, "m.mrDowPref" );
       
   637 
       
   638 /**
       
   639  * key:         m.unsupportedFields.
       
   640  * used By:     Calendar - the value contains unsupported meeting fields (round-tripped)
       
   641  * value type:  binary
       
   642  */
       
   643 _LIT8( KMsgStorePropertyMrUnsupportedFields, "m.mrUnsupportedFields" );
       
   644 
       
   645 /**
       
   646  * Sequence number, for iCal.
       
   647  * value type: TUint32
       
   648  */
       
   649 _LIT8( KMsgStorePropertyMrSeqNo, "m.mrSeqNo" );
       
   650 
       
   651 /**
       
   652  * iCal's Priority.
       
   653  * value type: TUint32
       
   654  */
       
   655 _LIT8( KMsgStorePropertyMrPriority, "m.mrPriority" );
       
   656 
       
   657 _LIT8( KMsgStorePropertyMrSubject, "m.mrSubject" );
       
   658 
       
   659 //Added for ActiveSync on behalf of Sanket Lopes.
       
   660 _LIT8( KMsgStorePropertyMrMonthOfYear, "m.mrMonthOfYear" );
       
   661 
       
   662 _LIT8( KMsgStorePropertyMrMonthDay, "m.mrMonthDay" );
       
   663 
       
   664 _LIT8( KMsgStorePropertyMrAllDay, "m.mrAllDayEvent" );
       
   665 
       
   666 /**
       
   667  * value type: TTime
       
   668  */
       
   669 _LIT8( KMsgStorePropertyMrRRID, "m.mrRecurrenceId" );
       
   670 
       
   671 _LIT8( KMsgStorePropertyMrResReq, "m.mrRequestResponce" );
       
   672 
       
   673 _LIT8( KMsgStorePropertyMrRequrrence, "m.mrRecurrence" );
       
   674 
       
   675 _LIT8( KMsgStorePropertyMrType, "m.mrResponceType" );
       
   676 
       
   677 
       
   678 /**
       
   679  * key:         v.VomitCode.
       
   680  * used By:     Smart Forwarding
       
   681  * value type:  TDesC
       
   682  */
       
   683 _LIT8( KMsgStorePropertyVomitCode, "v.VomitCode" );
       
   684 
       
   685 /**
       
   686  * key:         v.VomitCodePos.
       
   687  * used By:     Smart Forwarding
       
   688  * value type:  TUint32
       
   689  */
       
   690 _LIT8( KMsgStorePropertyVomitCodePos, "v.VomitCodePos" );
       
   691 
       
   692 /**
       
   693  * key:         isDefault
       
   694  * used By:     folder
       
   695  * value type:  TBool
       
   696  * value range: ETrue or EFalse
       
   697  */
       
   698 _LIT8(KMsgStorePropertyIsDefault, "isDefault");
       
   699 
       
   700 // Mailbox properties
       
   701 _LIT8(KMsgStorePropertyMailboxEmailAddress, "email-address");
       
   702 _LIT8(KMsgStorePropertyMailboxEmailPassword, "email-password");
       
   703 _LIT8(KMsgStorePropertyMailboxMailboxName, "mailbox-name");
       
   704 _LIT8(KMsgStorePropertyMailboxIncludeSignature, "include-signature");
       
   705 _LIT8(KMsgStorePropertyMailboxSignature, "signature");
       
   706 _LIT8(KMsgStorePropertyMailboxSyncReadStatus, "sync-read-status");
       
   707 
       
   708 /**
       
   709  * key:         read_only_size.
       
   710  * used By:     Email - the value contains the read-only size of a message part
       
   711  * value type:  TInt
       
   712  */
       
   713 _LIT8( KMsgStorePropertyReadOnlySize, "read_only_size" );
       
   714 
       
   715 
       
   716 /*************************************************************************
       
   717  *  TEMPORARY
       
   718  * Properties used by both message store and the Intellisync
       
   719  * 
       
   720  ************************************************************************/
       
   721 
       
   722 enum TEmailServerType
       
   723 {
       
   724     ESrvUnknown,
       
   725     ESrvExchange,
       
   726     ESrvDomino,
       
   727     ESrvGroupWise,
       
   728     ESrvImap,
       
   729     ESrvPop
       
   730 };
       
   731 
       
   732 /** The mailbox's server type (TEmailServerType: unknown, Exchange, Domino, Pop, etc.) 
       
   733  *   for the backend account.  
       
   734  *  It's property value type should be EMsgStoreTypeUint32.
       
   735  */
       
   736 
       
   737 _LIT8( KIsPropertyServerType, "is.mb.serverType" );
       
   738 
       
   739 /** The mailbox's SourceId for the backend account.  
       
   740  * It's property value type should be EMsgStoreTypeInt.
       
   741  */
       
   742 _LIT8( KIsPropertyEmailSourceId, "is.mb.emlSourceId" );
       
   743 
       
   744 /** The mailbox's server capability (Flags of TBackendServerCapabilites) for the backend account.  
       
   745  *  It's property value type should be EMsgStoreTypeUint32.
       
   746  */
       
   747 _LIT8( KIsPropertyCapabilities, "is.mb.capabilities" );
       
   748 
       
   749 #endif