emailservices/emailcommon/inc/CFSMailFolder.h
changeset 20 ecc8def7944a
parent 18 578830873419
child 30 759dc5235cdb
equal deleted inserted replaced
18:578830873419 20:ecc8def7944a
    65      *        First item in array is primary sort criteria.
    65      *        First item in array is primary sort criteria.
    66      *
    66      *
    67      * @return email list iterator, ownership is transferred to user
    67      * @return email list iterator, ownership is transferred to user
    68      */
    68      */
    69      IMPORT_C MFSMailIterator* ListMessagesL(
    69      IMPORT_C MFSMailIterator* ListMessagesL(
    70                     const TFSMailDetails aDetails,
    70                                 const TFSMailDetails aDetails,
    71                     const RArray<TFSMailSortCriteria>& aSorting);
    71                                 const RArray<TFSMailSortCriteria>& aSorting);
    72     /**
    72     /**
    73      * removes given message from folder
    73      * removes given message from folder
    74      *
    74      *
    75      * @param aMessageId id of message to be removed
    75      * @param aMessageId id of message to be removed
    76      */
    76      */
    89      * @param aMessageIds ids of messages to be fetched
    89      * @param aMessageIds ids of messages to be fetched
    90      * @param aDetails defines which details each message contains
    90      * @param aDetails defines which details each message contains
    91      * @param aObserver request observer for conveying fetching progress
    91      * @param aObserver request observer for conveying fetching progress
    92      *  events to user
    92      *  events to user
    93      */
    93      */
    94    IMPORT_C TInt FetchMessagesL(  const RArray<TFSMailMsgId>& aMessageIds,
    94      IMPORT_C TInt FetchMessagesL(  const RArray<TFSMailMsgId>& aMessageIds,
    95                     TFSMailDetails aDetails,
    95                                     TFSMailDetails aDetails,
    96                     MFSMailRequestObserver& aObserver );
    96                                     MFSMailRequestObserver& aObserver );
    97     /**
    97     /**
    98      * method to check if this folder allows copying from given folder type
    98      * method to check if this folder allows copying from given folder type
    99      *
    99      *
   100      * @param aFolderType folder type
   100      * @param aFolderType folder type
   101      */
   101      */
   110 
   110 
   111      /**
   111      /**
   112       * removes downloaded attachments from local/terminal memory 
   112       * removes downloaded attachments from local/terminal memory 
   113       */
   113       */
   114      IMPORT_C void RemoveDownLoadedAttachmentsL();
   114      IMPORT_C void RemoveDownLoadedAttachmentsL();
       
   115      
       
   116 public: // from  CExtendableEmail
   115 
   117 
       
   118      /** 
       
   119       * @see CExtendableEmail::ReleaseExtension
       
   120       */                                        
       
   121      IMPORT_C void ReleaseExtension( CEmailExtension* aExtension );
       
   122      
       
   123      /** 
       
   124       * @see CExtendableEmail::ExtensionL
       
   125       */
       
   126      IMPORT_C CEmailExtension* ExtensionL( const TUid& aInterfaceUid );
       
   127      
   116  protected:
   128  protected:
   117 
   129 
   118     /**
   130     /**
   119      * C++ default constructor.
   131      * C++ default constructor.
   120      */
   132      */
   123 private:
   135 private:
   124 
   136 
   125     /**
   137     /**
   126      * Two-phased constructor
   138      * Two-phased constructor
   127      */
   139      */
   128   void ConstructL( TFSMailMsgId aFolderId );
   140     void ConstructL( TFSMailMsgId aFolderId );
   129 
   141 
   130 private: // data
   142 private: // data
   131 
   143 
   132     /**
   144     /**
   133      * request handler for plugin requests
   145      * request handler for plugin requests
   134      */
   146      */
   135    CFSMailRequestHandler*   iRequestHandler;  
   147      CFSMailRequestHandler*     iRequestHandler;    
   136 
   148 
   137 };
   149 };
   138 
   150 
   139 #endif
   151 #endif