emailservices/emailcommon/inc/CFSMailBox.h
changeset 68 83cc6bae1de8
parent 66 084b5b1f02a7
child 74 6c59112cfd31
equal deleted inserted replaced
67:459da34cdb45 68:83cc6bae1de8
    35 class CFSMailFolder;
    35 class CFSMailFolder;
    36 class CFSMailMessage;
    36 class CFSMailMessage;
    37 class CFSMailRequestHandler;
    37 class CFSMailRequestHandler;
    38 // </qmail>
    38 // </qmail>
    39 
    39 
       
    40 class EmailMRU;
       
    41 
    40 /**
    42 /**
    41  *  mailbox data handling
    43  *  mailbox data handling
    42  *
    44  *
    43  *  @lib FSFWCommonLib
    45  *  @lib FSFWCommonLib
    44  */
    46  */
   394      * mailbox connection status accessor
   396      * mailbox connection status accessor
   395      *
   397      *
   396      * @return connection status, online / offline
   398      * @return connection status, online / offline
   397      */
   399      */
   398 	    IMPORT_C TFSMailBoxStatus GetMailBoxStatus( );
   400 	    IMPORT_C TFSMailBoxStatus GetMailBoxStatus( );
       
   401 	    
       
   402     /**
       
   403      * mailbox capability check for user
       
   404      *
       
   405      * @param aCapa mailbox capability to be checked
       
   406      */
       
   407      IMPORT_C TBool HasCapability(const TFSMailBoxCapabilities aCapability) const; 
   399 
   408 
   400 
   409 
   401 public: // from  CExtendableEmail
   410 public: // from  CExtendableEmail
   402 
   411 
   403      /**
   412      /**
   423     /**
   432     /**
   424      * C++ default constructor.
   433      * C++ default constructor.
   425      */
   434      */
   426   	 CFSMailBox();
   435   	 CFSMailBox();
   427 
   436 
       
   437     /**
       
   438      * Function used internally to inform that Mru list related to this
       
   439      * mailbox should now be updated using the given recipient info. In
       
   440      * other words this function makes sure that the given recipients are
       
   441      * found from the common email mru list.
       
   442      *
       
   443      * @param aRecipients email recipients in TO-field
       
   444      * @param aCCRecipients email recipients in CC-field
       
   445      * @param aBCCRecipients email recipients in BCC-field
       
   446      */
       
   447     void UpdateMrusL(
       
   448         const RPointerArray<CFSMailAddress>& aRecipients,
       
   449         const RPointerArray<CFSMailAddress>& aCCRecipients,
       
   450         const RPointerArray<CFSMailAddress>& aBCCRecipients ) const;
       
   451 
   428  private: // data
   452  private: // data
   429 
   453 
   430     /**
   454     /**
   431      * request handler for plugin requests
   455      * request handler for plugin requests
   432      */
   456      */
   435 	/**
   459 	/**
   436      * mailbox folder list
   460      * mailbox folder list
   437      */
   461      */
   438 	 RPointerArray<CFSMailFolder> iFolders;
   462 	 RPointerArray<CFSMailFolder> iFolders;
   439 
   463 
       
   464    /**
       
   465     * MRU list
       
   466     */
       
   467    EmailMRU* iMru;
       
   468 
   440 };
   469 };
   441 
   470 
   442 #endif
   471 #endif