--- a/emailservices/emailcommon/inc/CFSMailBox.h Fri Sep 03 17:52:02 2010 +0300
+++ b/emailservices/emailcommon/inc/CFSMailBox.h Wed Sep 15 12:09:55 2010 +0300
@@ -37,6 +37,8 @@
class CFSMailRequestHandler;
// </qmail>
+class EmailMRU;
+
/**
* mailbox data handling
*
@@ -396,6 +398,13 @@
* @return connection status, online / offline
*/
IMPORT_C TFSMailBoxStatus GetMailBoxStatus( );
+
+ /**
+ * mailbox capability check for user
+ *
+ * @param aCapa mailbox capability to be checked
+ */
+ IMPORT_C TBool HasCapability(const TFSMailBoxCapabilities aCapability) const;
public: // from CExtendableEmail
@@ -425,6 +434,21 @@
*/
CFSMailBox();
+ /**
+ * Function used internally to inform that Mru list related to this
+ * mailbox should now be updated using the given recipient info. In
+ * other words this function makes sure that the given recipients are
+ * found from the common email mru list.
+ *
+ * @param aRecipients email recipients in TO-field
+ * @param aCCRecipients email recipients in CC-field
+ * @param aBCCRecipients email recipients in BCC-field
+ */
+ void UpdateMrusL(
+ const RPointerArray<CFSMailAddress>& aRecipients,
+ const RPointerArray<CFSMailAddress>& aCCRecipients,
+ const RPointerArray<CFSMailAddress>& aBCCRecipients ) const;
+
private: // data
/**
@@ -437,6 +461,11 @@
*/
RPointerArray<CFSMailFolder> iFolders;
+ /**
+ * MRU list
+ */
+ EmailMRU* iMru;
+
};
#endif