emailservices/emailcommon/inc/CFSMailCommon.h
changeset 23 2dc6caa42ec3
parent 20 ecc8def7944a
child 49 00c7ae862740
equal deleted inserted replaced
20:ecc8def7944a 23:2dc6caa42ec3
   310 _LIT(KFSMailContentTypeParamCharset, " charset=");
   310 _LIT(KFSMailContentTypeParamCharset, " charset=");
   311 _LIT(KFSMailContentTypeTextCalendar, "text/calendar");
   311 _LIT(KFSMailContentTypeTextCalendar, "text/calendar");
   312 
   312 
   313 
   313 
   314 _LIT(KFSMailContentDispAttachment, " attachment");
   314 _LIT(KFSMailContentDispAttachment, " attachment");
       
   315 //<qmail>
       
   316 _LIT(KFSMailContentDispInline, "inline");
       
   317 //</qmail>
   315 _LIT(KFSMailContentDispParamFilename, " filename=");
   318 _LIT(KFSMailContentDispParamFilename, " filename=");
   316 
   319 
   317 /** mailbox synchronization states */
   320 /** mailbox synchronization states */
   318 enum TSSMailSyncState // Are all of these sensible as mailbox sync states (e.g. PasswordVerified)
   321 enum TSSMailSyncState // Are all of these sensible as mailbox sync states (e.g. PasswordVerified)
   319     {
   322     {
   337     PasswordVerified,
   340     PasswordVerified,
   338     PasswordNotVerified,
   341     PasswordNotVerified,
   339     PushChannelOff,
   342     PushChannelOff,
   340     PushChannelEstablished,
   343     PushChannelEstablished,
   341     PushChannelOffBecauseBatteryIsLow,
   344     PushChannelOffBecauseBatteryIsLow,
   342     OutOfDiskSpace
   345     OutOfDiskSpace,
       
   346     ServerConnectionError // <qmail> new error code for sync
   343     };
   347     };
   344 
   348 
   345 /**
   349 /**
   346  *  email framework exception event response callback
   350  *  email framework exception event response callback
   347  *
   351  *
   436         // aParam2: NULL
   440         // aParam2: NULL
   437         // aParam3: NULL
   441         // aParam3: NULL
   438         TFSEventMailboxOnline,
   442         TFSEventMailboxOnline,
   439 
   443 
   440         // Mailbox went offline
   444         // Mailbox went offline
   441         // aParam1: NULL
   445         // <qmail>
       
   446         // aParam1: TInt possible errorCode.
       
   447         //          Plugin may specify an error code here if it sees that connection was cut off unexpectedly;
       
   448         //          Client can then have a separate handling for this exception.
       
   449         //          KErrDisconnected should be used in situations where network coverage was dropped off unexpectedly.
       
   450         // </qmail>
   442         // aParam2: NULL
   451         // aParam2: NULL
   443         // aParam3: NULL
   452         // aParam3: NULL
   444         TFSEventMailboxOffline,
   453         TFSEventMailboxOffline,
   445 
   454 
   446         // Mailbox sync state changed
   455         // Mailbox sync state changed