emailservices/emailframework/inc/CFSMailPlugin.h
branchGCC_SURGE
changeset 55 cdd802add233
parent 53 bf7eb7911fc5
child 56 15bc1d5d6267
equal deleted inserted replaced
28:011f79704660 55:cdd802add233
   131      * @param aMailBoxId defines mailbox
   131      * @param aMailBoxId defines mailbox
   132      * @param aOperationObserver is client provided observer that
   132      * @param aOperationObserver is client provided observer that
   133      *        will receive progress notifications during the operation.
   133      *        will receive progress notifications during the operation.
   134      * @param aRequestId identifies asynchronous request if parallel
   134      * @param aRequestId identifies asynchronous request if parallel
   135      * requests exist
   135      * requests exist
       
   136      * @param aSilentConnection defines if connection is needed to be 
       
   137      *        silent connection or non-silent one (default).
   136      */
   138      */
   137      virtual void RefreshNowL( const TFSMailMsgId& aMailBoxId,
   139      virtual void RefreshNowL( const TFSMailMsgId& aMailBoxId,
   138                                MFSMailRequestObserver& aOperationObserver,
   140                                MFSMailRequestObserver& aOperationObserver,
   139                                TInt aRequestId ) = 0;
   141                                TInt aRequestId,
       
   142                                const TBool aSilentConnection=EFalse ) = 0;
   140 
   143 
   141     /**
   144     /**
   142      * Returns last synchronization operation status.
   145      * Returns last synchronization operation status.
   143      *
   146      *
   144      * @param aMailBoxId mailbox id
   147      * @param aMailBoxId mailbox id
   527      * @param aMessages ids of messages to be deleted
   530      * @param aMessages ids of messages to be deleted
   528      */
   531      */
   529      virtual void DeleteMessagesByUidL( const TFSMailMsgId& aMailBoxId,
   532      virtual void DeleteMessagesByUidL( const TFSMailMsgId& aMailBoxId,
   530                                         const TFSMailMsgId& aFolderId,
   533                                         const TFSMailMsgId& aFolderId,
   531                                         const RArray<TFSMailMsgId>& aMessages ) = 0;
   534                                         const RArray<TFSMailMsgId>& aMessages ) = 0;
   532 
   535      
       
   536 // <qmail>
       
   537      /**
       
   538       * deletes email defined by message id
       
   539       *
       
   540       * @param aMailBoxId id of the mailbox containing email
       
   541       * @param aFolderId email parent folder id
       
   542       * @param aMessages ids of messages to be deleted
       
   543       * @param aOperationObserver Observer for the operation 
       
   544       * @param aRequestId id of the operation
       
   545       * @return KErrNone if this method is supported, KErrNotSupported if not
       
   546       */
       
   547       virtual void DeleteMessagesByUidL( const TFSMailMsgId& aMailBoxId,
       
   548                                          const TFSMailMsgId& aFolderId,
       
   549                                          const RArray<TFSMailMsgId>& aMessages,
       
   550                                          MFSMailRequestObserver& aOperationObserver,
       
   551                                          const TInt aRequestId );
       
   552 // </qmail>
       
   553       
   533     /**
   554     /**
   534      * creates new email template into drafts folder
   555      * creates new email template into drafts folder
   535      *
   556      *
   536      * @param aMailBoxId id of the mailbox where new email is created
   557      * @param aMailBoxId id of the mailbox where new email is created
   537      * @return email object to be modified by user, ownership is transferred to user
   558      * @return email object to be modified by user, ownership is transferred to user