Update of /cvsroot/mahogany/M/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26633/include
Modified Files:
MailFolder.h
Log Message:
added MailFolder::SaveMessageAsMBOX() overload taking String
Index: MailFolder.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/MailFolder.h,v
retrieving revision 1.196
retrieving revision 1.197
diff -b -u -2 -r1.196 -r1.197
--- MailFolder.h 13 Aug 2004 21:57:21 -0000 1.196
+++ MailFolder.h 13 Aug 2004 22:19:37 -0000 1.197
@@ -332,4 +332,16 @@
size_t len);
+ /**
+ Same as above but from a String.
+
+ Do not create a String just to call this function if you have a C
+ pointer, call the overload above directly as this avoids an unnecessary
+ copy of potentially big amounts of data!
+ */
+ static bool SaveMessageAsMBOX(const String& filename, const String& s)
+ {
+ return SaveMessageAsMBOX(filename, s.c_str(), s.length());
+ }
+
//@}
-------------------------------------------------------
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