diff -r 139d4b7b2938 -r 99bcbff212ad emailservices/emailcommon/inc/CFSMailFolder.h --- a/emailservices/emailcommon/inc/CFSMailFolder.h Mon May 24 21:02:02 2010 +0300 +++ b/emailservices/emailcommon/inc/CFSMailFolder.h Fri May 28 13:56:43 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 *