Update of /cvsroot/mahogany/M/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22323/include
Modified Files:
MailFolder.h
Log Message:
changed MailFolder::SaveMessageAsMBOX() to take ptr+len instead of a String (it is
wasteful as leads to unnecessary copy)
Index: MailFolder.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/MailFolder.h,v
retrieving revision 1.195
retrieving revision 1.196
diff -b -u -2 -r1.195 -r1.196
--- MailFolder.h 12 Jul 2004 20:53:19 -0000 1.195
+++ MailFolder.h 13 Aug 2004 21:57:21 -0000 1.196
@@ -321,9 +321,14 @@
Create a new file containing the message data in MBOX format.
- @param filename the name of the file to create (*will* overwrite)
+ If the file already exists, message is appended to it.
+
+ @param filename the name of the file to create or append to
@param contents the pointer to message contents, non NULL
+ @param len its length
@return true if everything went ok, false on error
*/
- static bool SaveMessageAsMBOX(const String& filename, const wxChar *contents);
+ static bool SaveMessageAsMBOX(const String& filename,
+ const void *contents,
+ size_t len);
//@}
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates