diff -r 9ba4404ef423 -r 759dc5235cdb emailservices/emailcommon/inc/CFSMailFolder.h --- a/emailservices/emailcommon/inc/CFSMailFolder.h Thu May 27 12:43:55 2010 +0300 +++ b/emailservices/emailcommon/inc/CFSMailFolder.h Fri Jun 11 13:27:14 2010 +0300 @@ -76,6 +76,20 @@ */ IMPORT_C void RemoveMessageL( const TFSMailMsgId aMessageId ); + // + /** + * removes given message from folder + * + * @param aMessageId id of message to be removed + * @param aObserver Observer for the operation completion + * + * @return id of the request, KErrFSMailPluginNotSupported if the protocol plugin this + * instance is attached to does not support the async method. + */ + IMPORT_C TInt RemoveMessageL( const TFSMailMsgId aMessageId, + MFSMailRequestObserver& aObserver ); + // + /** * lists subfolders contained by this folder *